From unknown Fri Aug 15 21:25:18 2025 X-Loop: don@donarmstrong.com Subject: bug#49: 23.0.60; TRAMP fails to copy a gzip'ed file Reply-To: Peter Dyballa , 49@debbugs.gnu.org Resent-From: Peter Dyballa Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Mar 2008 16:15:08 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 49 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12051652934627 (code B ref -1); Mon, 10 Mar 2008 16:15:08 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Mar 2008 16:08:13 +0000 Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m2AG864k004621 for ; Mon, 10 Mar 2008 09:08:08 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUHAHD51EfO+JwVQWdsb2JhbACQdAEBAR4IElaXVIEH X-IronPort-AV: E=Sophos;i="4.25,474,1199682000"; d="scan'208";a="15794930" Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 10 Mar 2008 12:07:43 -0400 Received: from pastel.home ([206.248.156.21]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id QTR35143 for ; Mon, 10 Mar 2008 12:07:43 -0400 Received: by pastel.home (Postfix, from userid 20848) id 57DF1805A; Mon, 10 Mar 2008 12:07:43 -0400 (EDT) Resent-Message-ID: Resent-To: submit@debbugs.gnu.org Resent-From: Stefan Monnier Resent-Date: Mon, 10 Mar 2008 12:07:43 -0400 X-Original-To: monnier@iro.umontreal.ca Delivered-To: monnier@iro.umontreal.ca Received: from perlin.iro.umontreal.ca (perlin.iro.umontreal.ca [132.204.24.51]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 6592F2CF730 for ; Mon, 10 Mar 2008 09:57:09 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by perlin.iro.umontreal.ca (Postfix) with ESMTP id 10213148218 for ; Mon, 10 Mar 2008 09:57:03 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYiUw-0002kI-Qv for monnier@iro.umontreal.ca; Mon, 10 Mar 2008 09:57:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYiUc-0002i5-Hp for emacs-devel@gnu.org; Mon, 10 Mar 2008 09:56:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYiUa-0002hT-Hf for emacs-devel@gnu.org; Mon, 10 Mar 2008 09:56:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYiUa-0002hO-DZ for emacs-devel@gnu.org; Mon, 10 Mar 2008 09:56:40 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYiUa-0003Fq-0u for emacs-devel@gnu.org; Mon, 10 Mar 2008 09:56:40 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JYiUZ-0006l3-MD for emacs-pretest-bug@gnu.org; Mon, 10 Mar 2008 09:56:39 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JYiUW-0003EY-EQ for emacs-pretest-bug@gnu.org; Mon, 10 Mar 2008 09:56:39 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JYiUV-0003Do-Tk for emacs-pretest-bug@gnu.org; Mon, 10 Mar 2008 09:56:36 -0400 Received: (qmail invoked by alias); 10 Mar 2008 13:56:32 -0000 Received: from Fcc0b.f.ppp-pool.de (EHLO [192.168.1.2]) [195.4.204.11] by mail.gmx.net (mp055) with SMTP; 10 Mar 2008 14:56:32 +0100 X-Authenticated: #27706302 X-Provags-ID: V01U2FsdGVkX18sIE9xL8ksWAZZlAa4DwHtT7YY8RygEphQzx+NX/ T5q8fcGWW6qdqU Mime-Version: 1.0 (Apple Message framework v753) Content-Transfer-Encoding: quoted-printable Message-Id: <6351A346-5EE7-4B65-9742-B16C56D689A4@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: emacs-pretest-bug@gnu.org From: Peter Dyballa Date: Mon, 10 Mar 2008 14:56:30 +0100 X-Mailer: Apple Mail (2.753) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Hello! Visiting /var/log on a remote server with TRAMP and SSH protocol I =20 want to copy a gzip'ed messages log file. I can view it remotely. =20 When I copy from the remote dired buffer to a local one, TRAMP writes =20= of: compressing tramp.29438xtJ.gz...done Wrote /tmp/tramp.29438xtJ.gz Wrote /var/tmp/vServer/messages-20080221.gz Copy: 1 of 1 Copy: 1 file uncompressing messages-20080221.gz... Remote and local size are equal. When I visit the local copy in =20 dired, jka-compr produces a giant temporary file =20 (#messages-20080221.gz#), in which the first 355 lines look OK while =20 the following 166,000 are pure rubbish, and this error message in =20 *jka-compr-error*: Error while executing "gzip -c -q -d < /var/tmp/vServer/=20 messages-20080221.gz" =09 =09 gzip: stdin: unexpected end of file This also happens when I launch GNU Emacs with -Q ... In any case y in dired mode says: 'gzip compressed data, was =20 "messages-20080221", from Unix' In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d =20 scroll bars) of 2008-03-09 on Latsche.local Windowing system distributor `The XFree86 Project, Inc', version =20 11.0.40400000 configured using `configure '--without-pop' '--without-sound' '--=20 with-xft' '--with-libotf' '--with-dbus' '--with-x-toolkit=3Dathena' '--=20= enable-font-backend' '--enable-locallisppath=3D/Library/Application =20 Support/Emacs/calendar23:/Library/Application Support/Emacs/caml:/=20 Library/Application Support/Emacs:/sw/share/emacs21/site-lisp/elib' =20 'PKG_CONFIG_PATH=3D/sw/lib/freetype219/lib/pkgconfig:/sw/lib/=20 fontconfig2/lib/pkgconfig:/sw/lib/pkgconfig:/sw/lib/system-openssl/=20 lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/=20 pkgconfig:/usr/local/clamXav/lib/pkgconfig:/usr/X11R6/lib/pkgconfig' =20 'CPPFLAGS=3D-no-cpp-precomp -D__BIND_NOSTATIC -I/sw/lib/fontconfig2/=20 include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/=20 freetype2 -idirafter /usr/X11R6/include' 'CFLAGS=3D-ggdb -gfull -=20 bind_at_load -Wno-pointer-sign -pipe -fPIC -mcpu=3D7450 -mtune=3D7450 -=20= mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -freorder-blocks-=20 and-partition -fno-crossjumping' 'LDFLAGS=3D-bind_at_load -dead_strip -=20= multiply_defined suppress -L/sw/lib/fontconfig2/lib -L/sw/lib/=20 freetype219/lib'' Important settings: value of $LC_ALL: C value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: TeX-PDF-mode: t shell-dirtrack-mode: t show-paren-mode: t display-time-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t -- Mit friedvollen Gr=FC=DFen Pete Die Zeit wird kommen, da unsere Nachkommen sich wundern werden, wie =20 wir so wunderbare Dinge einfach gewusst haben konnten. (Ein Optimist nach Lucius Ann=E6us Seneca) From unknown Fri Aug 15 21:25:18 2025 X-Loop: don@donarmstrong.com Subject: bug#49: 23.0.60; TRAMP fails to copy a gzip'ed file Reply-To: Stefan Monnier , 49@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Mar 2008 16:55:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 49 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 49-submit@emacsbugs.donarmstrong.com id=B49.12051675699625 (code B ref 49); Mon, 10 Mar 2008 16:55:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-0.5 required=4.0 tests=AWL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 49) by emacsbugs.donarmstrong.com; 10 Mar 2008 16:46:09 +0000 Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m2AGk3Nd009619 for <49@emacsbugs.donarmstrong.com>; Mon, 10 Mar 2008 09:46:04 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhQHAMMC1UfO+JwVQWdsb2JhbACQdAEBAR4IEphcgQc X-IronPort-AV: E=Sophos;i="4.25,474,1199682000"; d="scan'208";a="15796569" Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 10 Mar 2008 12:45:40 -0400 Received: from pastel.home ([206.248.156.21]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id QTD90139; Mon, 10 Mar 2008 12:45:39 -0400 Received: by pastel.home (Postfix, from userid 20848) id DBEBD805A; Mon, 10 Mar 2008 12:45:39 -0400 (EDT) From: Stefan Monnier To: Peter Dyballa Cc: Michael Albinus , emacs-pretest-bug@gnu.org, 49@debbugs.gnu.org Message-ID: References: <6351A346-5EE7-4B65-9742-B16C56D689A4@gmx.de> <0A425FC8-F47F-488D-99FB-FA357B21C856@gmx.de> Date: Mon, 10 Mar 2008 12:45:39 -0400 In-Reply-To: <0A425FC8-F47F-488D-99FB-FA357B21C856@gmx.de> (Peter Dyballa's message of "Mon, 10 Mar 2008 17:06:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> What happens if you apply >> cksum on both the remote file and its local copy? > On the remote Linux server it's: 1268136719 956556 messages-20080221.gz > In HFS+ it's: 2116220391 956556 messages-20080221.gz > In UFS it's: 2116220391 956556 messages-20080221.gz Can you compare the two files to see which bytes are different? Stefan