[Bug: 21.5-b28] open a gzipped file w/ jka-compr gives modified buffer

Vladimir G. Ivanovic vgivanovic at comcast.net
Wed Mar 12 23:45:24 EDT 2008


Yes, this behavior has been present for quite a while, but I'm not 
sure that it's a bug. The buffer (a compressed file) has been modified 
(contents replaced with an uncompressed version).

Still it's annoying because, I for one, rarely do anything other than 
check a *.tgz file's contents and then kill the buffer.

--- Vladimir

on 03/12/2008 07:51 PM Stephen J. Turnbull said the following:
> ================================================================
> Dear Bug Team!
> 
> To reproduce, start in a context wherre the os-utils package is
> installed: xemacs -vanilla.  Then
> 
> M-x load-library RET jka-compr RET
> M-: (jka-compr-install) RET
> C-x C-f some-gzipped-file.gz RET
> 
> I used the xemacs-truss.out.gz file that Thomas Mittelstaend sent
> yesterday, as well as a couple of other .gz's.  All showed the
> symptom.
> 
> 
> ================================================================
> 
> System Info to help track down your bug:
> ---------------------------------------
> 
> uname -a: Linux uwakimon 2.6.20.7 #2 SMP PREEMPT Tue Apr 24 21:32:05 JST 2007 x86_64 Dual Core AMD Opteron(tm) Processor 265 AuthenticAMD GNU/Linux
> 
> ../configure  '--with-mule' '--with-widgets=athena' '--with-dialogs=athena' '--with-athena=3d' '--with-bignum=gmp' '--with-database=none,berkdb' '--with-debug' '--with-error-checking=none' '--with-xft=emacs,tabs,gauges,menubars' '--with-union-type' '--with-system-packages=/usr/local/lib/xemacs'
> 
> 
> XEmacs 21.5-b28 "fuki" 2785829fe37c configured for `x86_64-unknown-linux'.
> 
> Compilation Environment and Installation Defaults:
>   Source code location:              /playpen/src/XEmacs/xemacs
>   Installation prefix:               /usr/local
>   Operating system description file: `s/linux.h'
>   Not using any machine description file
>   Compiler version:                  gcc (GCC) 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9)
>     - GCC specs file:                /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/specs
>     - Compiler command:              gcc   -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g  
>   libc version:                      2.7
>   Relocating allocator for buffers:  no
>   GNU version of malloc:             yes
>     - Using Doug Lea's new malloc from the GNU C Library.
> 
> Window System:
>   Compiling in support for the X window system:
>     - X Windows headers location:                 /usr/X11R6/include
>     - X Windows libraries location:               /usr/X11R6/lib
>     - Handling WM_COMMAND properly.
>     - Using fontconfig to manage fonts.
>     - Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
>   Compiling in support for the Athena widget set:
>     - Athena headers location:                    X11/Xaw3d
>     - Athena library to link:                     Xaw3d
>   Using Lucid menubars.
>     - Using Xft to render antialiased fonts in menubars.
>       WARNING: This feature will be replaced with a face.
>   Using Lucid scrollbars.
>   Using Athena dialog boxes.
>   Using Athena native widgets.
>     - Using Xft to render antialiased fonts in tab controls.
>       WARNING: This feature will be replaced with a face.
>     - Using Xft to render antialiased fonts in progress bars.
>       WARNING: This feature will be replaced with a face.
>       WARNING: This feature not yet implemented; setting ignored.
> 
> TTY:
>   Compiling in support for ncurses.
>   Compiling in support for GPM (General Purpose Mouse).
> 
> Images:
>   Compiling in support for GIF  images (builtin).
>   Compiling in support for XPM  images.
>   Compiling in support for PNG  images.
>   Compiling in support for JPEG images.
>   Compiling in support for TIFF images.
> 
> Sound:
>   Compiling in support for sound (native).
>   Compiling in support for ALSA (Advanced Linux Sound Architecture).
> 
> Databases:
>   Compiling in support for Berkeley database.
>   Compiling in support for LDAP.
>   Compiling in support for PostgreSQL.
>     - Using PostgreSQL header file:  libpq-fe.h
>     - Using PostgreSQL V7 bindings.
> 
> Internationalization:
>   Compiling in support for Mule (multi-lingual Emacs).
>   Compiling in support for XIM (X11R5+ I18N input method).
>     - Using raw Xlib to provide XIM support.
>   Compiling in support for Canna on Mule.
> 
> Mail:
>   Compiling in support for "file" mail spool file locking method.
> 
> Other Features:
>   Inhibiting IPv6 canonicalization at startup.
>   Compiling in support for dynamic shared object modules.
>   Compiling in support for more number types using the GNU MP library.
>   Using the union type for Lisp_Objects.
>   WARNING: ---------------------------------------------------------
>   WARNING: This tends to trigger compiler bugs, especially when
>   WARNING: combined with MULE and ERROR_CHECKING.  Crashes have
>   WARNING: been seen with various versions of GCC (up to about 2.95),
>   WARNING: and recently with Visual C++ as well (mid-2003).
>   WARNING: More recent versions may be safer, or not.
>   WARNING: ---------------------------------------------------------
>   Using the new GC mark algorithms (KKCC).
>   WARNING: ---------------------------------------------------------
>   WARNING: The new algorithms are experimental. They are enabled by
>   WARNING: default for this release. Use `--disable-kkcc' to
>   WARNING: turn it off.
>   WARNING: ---------------------------------------------------------
>   Using the new portable dumper.
>   Dumping into executable.
>   Compiling in support for extra debugging code.
> 
> 
> 
> Load-Path Lisp Shadows:
> ----------------------
> (/usr/local/lib/xemacs/xemacs-packages/lisp/cedet-common/working
> /usr/local/lib/xemacs/xemacs-packages/lisp/semantic/working
> /usr/local/lib/xemacs/xemacs-packages/lisp/cedet-common/sformat
> /usr/local/lib/xemacs/xemacs-packages/lisp/semantic/sformat
> /usr/local/lib/xemacs/xemacs-packages/lisp/comint
> /usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/comint
> /usr/local/lib/xemacs/mule-packages/lisp/mule-base/ethio-util
> /playpen/src/XEmacs/xemacs/+optimized/lisp/mule/ethio-util
> /usr/local/lib/xemacs/mule-packages/lisp/mule-base/china-util
> /playpen/src/XEmacs/xemacs/+optimized/lisp/mule/china-util
> /usr/local/lib/xemacs/mule-packages/lisp/mule-base/japan-util
> /playpen/src/XEmacs/xemacs/+optimized/lisp/mule/japan-util
> /usr/local/lib/xemacs/mule-packages/lisp/mule-base/korea-util
> /playpen/src/XEmacs/xemacs/+optimized/lisp/mule/korea-util
> /usr/local/lib/xemacs/mule-packages/lisp/mule-base/cyril-util
> /playpen/src/XEmacs/xemacs/+optimized/lisp/mule/cyril-util
> /usr/local/lib/xemacs/mule-packages/lisp/mule-base/viet-util
> /playpen/src/XEmacs/xemacs/+optimized/lisp/mule/viet-util
> /usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
> /playpen/src/XEmacs/xemacs/+optimized/lisp/easy-mmode
> /usr/local/lib/xemacs/mule-packages/lisp/mule-ucs/unicode
> /playpen/src/XEmacs/xemacs/+optimized/lisp/unicode
> /usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
> /playpen/src/XEmacs/xemacs/+optimized/lisp/build-report
> /usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
> /playpen/src/XEmacs/xemacs/+optimized/lisp/regexp-opt)
> 
> Internationalization Settings:
> -------------------------
> 
> Environment:
> 
>   Value of LC_ALL      : nil
>   Value of LC_COLLATE  : nil
>   Value of LC_CTYPE    : nil
>   Value of LC_MESSAGES : nil
>   Value of LC_MONETARY : nil
>   Value of LC_NUMERIC  : nil
>   Value of LC_TIME     : nil
>   Value of LANG        : nil
> 
> Lisp locale settings:
> 
>   current-language-environment      => "English"
>   default-buffer-file-coding-system => iso-8859-1
>   default-process-coding-system     => (undecided . iso-8859-1)
>   (current-locale)                  => "C"
>   keyboard-coding-system            => utf-8
>   terminal-coding-system            => utf-8
>   (coding-priority-list)            =>
>     (iso-8-1 utf-16-little-endian-bom utf-16-bom utf-8-bom iso-7
>     no-conversion utf-8 iso-8-2 iso-8-designate iso-lock-shift
>     shift-jis big5 utf-16-little-endian utf-16 ucs-4)
> 
> Coding system aliases:
> 
>   'native                              is aliased to iso-8859-1
>   'file-name                           is aliased to native
>   'mswindows-multibyte-system-default  is not a coding system alias
> 
> 
> Installed XEmacs Packages:
> -------------------------
> (zenirc ver: 1.16 upstream: 2.112)
> (xwem ver: 1.22 upstream: lg at xwem.org--2005/xwem--main--2.1--versionfix-1)
> (xslt-process ver: 1.12 upstream: 1.2.1)
> (xslide ver: 1.09 upstream: 0.2.2)
> (xlib ver: 1.14 upstream: lg at xwem.org--2005/xlib--main--2.1--version-0)
> (xetla ver: 1.02 upstream: steve at eicq.org--2005/xetla--main--1.1--version-0)
> (xemacs-devel ver: 1.77 upstream: No-Upstream-Ver)
> (xemacs-base ver: 2.15 upstream: No-Upstream-Ver)
> (x-symbol ver: 1.1 upstream: 4.5.1)
> (w3 ver: 1.34 upstream: 4.0pre47)
> (vm ver: 7.26 upstream: 7.19)
> (viper ver: 1.61 upstream: 3.09)
> (view-process ver: 1.13 upstream: 2.4)
> (vhdl ver: 1.22 upstream: 3.33.12)
> (vc ver: 1.45 upstream: No-Upstream-Ver)
> (tramp ver: 1.4 upstream: 2.0.56)
> (tpu ver: 1.14 upstream: 4.2X)
> (tm ver: 1.38 upstream: No-Upstream-Ver)
> (time ver: 1.14 upstream: 1.17)
> (textools ver: 1.15 upstream: No-Upstream-Ver)
> (text-modes ver: 1.95 upstream: No-Upstream-Ver)
> (texinfo ver: 1.3 upstream: No-Upstream-Ver)
> (supercite ver: 1.21 upstream: 3.55x3)
> (strokes ver: 1.1 upstream: No-Upstream-Ver)
> (speedbar ver: 1.28 upstream: 1.0pre4)
> (slider ver: 1.15 upstream: 0.3x1)
> (sieve ver: 1.18 upstream: No-Upstream-Ver)
> (sh-script ver: 1.23 upstream: 2.0f)
> (sgml ver: 1.11 upstream: No-Upstream-Ver)
> (semantic ver: 1.2 upstream: 2.0pre4)
> (scheme ver: 1.17 upstream: No-Upstream-Ver)
> (ruby-modes ver: 1.02 upstream: 1.6.8)
> (rmail ver: 1.14 upstream: No-Upstream-Ver)
> (riece ver: 1.23 upstream: 3.1.2)
> (reftex ver: 1.34 upstream: 4.21)
> (re-builder ver: 1.05 upstream: 1.20)
> (python-modes ver: 1.1 upstream: 426)
> (psgml ver: 1.45 upstream: 1.3.2)
> (ps-print ver: 1.11 upstream: 6.5.6)
> (prog-modes ver: 2.16 upstream: No-Upstream-Ver)
> (pgg ver: 1.06 upstream: 0.1)
> (perl-modes ver: 1.11 upstream: No-Upstream-Ver)
> (pcomplete ver: 1.04 upstream: 1.1.6)
> (pcl-cvs ver: 1.68 upstream: R-2_9_9)
> (pc ver: 1.28 upstream: No-Upstream-Ver)
> (os-utils ver: 1.4 upstream: No-Upstream-Ver)
> (oo-browser ver: 1.05 upstream: 4.08)
> (ocaml ver: 0.06 upstream: 3.06)
> (net-utils ver: 1.54 upstream: N/A)
> (mine ver: 1.16 upstream: 1.9)
> (mh-e ver: 1.31 upstream: 7.4.2)
> (mew ver: 1.19 upstream: 1.94.2)
> (mailcrypt ver: 2.14 upstream: 3.5.8)
> (mail-lib ver: 1.79 upstream: No-Upstream-Ver)
> (jde ver: 1.51 upstream: 2.3.5.1)
> (ispell ver: 1.32 upstream: 3.6)
> (ilisp ver: 1.34 upstream: 5.12.0)
> (igrep ver: 1.16 upstream: 2.111)
> (idlwave ver: 1.32 upstream: 5.1)
> (ibuffer ver: 1.09 upstream: No-Upstream-Ver)
> (hyperbole ver: 1.17 upstream: 5.0)
> (hm--html-menus ver: 1.24 upstream: 5.9)
> (haskell-mode ver: 1.11 upstream: 2.1)
> (guided-tour ver: 0.51 upstream: No-Upstream-Ver)
> (gnus ver: 1.92 upstream: 5.10.8)
> (gnats ver: 1.17 upstream: 3.101)
> (games ver: 1.17 upstream: 1.04)
> (fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
> (fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
> (forms ver: 1.15 upstream: 2.37)
> (footnote ver: 1.16 upstream: 0.18x)
> (eudc ver: 1.4 upstream: 1.32)
> (eterm ver: 1.17 upstream: No-Upstream-Ver)
> (eshell ver: 1.12 upstream: 2.4.1)
> (escreen ver: 1.01 upstream: 1.16)
> (emerge ver: 1.11 upstream: No-Upstream-Ver)
> (elib ver: 1.13 upstream: 1.0)
> (eieio ver: 1.05 upstream: 1.0pre4)
> (efs ver: 1.34 upstream: 1.24)
> (edt ver: 1.14 upstream: No-Upstream-Ver)
> (edit-utils ver: 2.38 upstream: No-Upstream-Ver)
> (ediff ver: 1.74 upstream: 2.75)
> (edebug ver: 1.22 upstream: No-Upstream-Ver)
> (ede ver: 1.0 upstream: 1.0pre4)
> (ecrypto ver: 0.2 upstream: 2.0)
> (ecb ver: 1.22 upstream: 2.31)
> (easypg ver: 1.02 upstream: 0.0.16)
> (docbookide ver: 0.08 upstream: 0.1)
> (dired ver: 1.19 upstream: 7.16)
> (dictionary ver: 1.16 upstream: 1.8)
> (debug ver: 1.18 upstream: No-Upstream-Ver)
> (cookie ver: 1.15 upstream: No-Upstream-Ver)
> (cogre ver: 1.0 upstream: 0.5)
> (clearcase ver: 1.1 upstream: /main/laptop/165)
> (cedet-common ver: 1.0 upstream: 1.0pre4)
> (cc-mode ver: 1.45 upstream: 5.30.10)
> (calendar ver: 1.34 upstream: No-Upstream-Ver)
> (calc ver: 1.26 upstream: 2.02fX3)
> (c-support ver: 1.22 upstream: No-Upstream-Ver)
> (build ver: 1.14 upstream: 2.02)
> (bbdb ver: 1.32 upstream: 2.35)
> (auctex ver: 1.48 upstream: 11.55)
> (apel ver: 1.33 upstream: 10.6)
> (ada ver: 1.14 upstream: 2.27)
> (skk ver: 1.24 upstream: 10.62a)
> (mule-ucs ver: 1.16 upstream: 0.84)
> (mule-base ver: 1.52 upstream: No-Upstream-Ver)
> (lookup ver: 1.15 upstream: 1.0)
> (leim ver: 1.27 upstream: No-Upstream-Ver)
> (latin-unity ver: 1.2 upstream: 1.20)
> (egg-its ver: 1.27 upstream: No-Upstream-Ver)
> (edict ver: 1.16 upstream: 0.9.9)
> 
> 
> 
> Installed Modules:
> -----------------
> 
> 
> Features:
> --------
> 
> (xemacsbug shadow latin-unity-tables latin-euro-standards
> latin-euro-latin10 latin-euro-latin9 latin-euro-latin8
> latin-euro-latin7 latin-unity-vars latin-unity gnus-msg gnus-art mm-uu
> mml2015 pgg-def mm-view gnus-sum nnoo gnus-group gnus-undo nnmail
> mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win gnus
> vm-reply vm-mark vm-virtual vm-delete vm-minibuf vm-macro timezone
> vm-page vm-mime vm-save tapestry vm-toolbar vm-sort vm-summary
> vm-thread vm-message vm-menu vm-folder vm-misc vm-mouse vm-window
> outline font-latex latex tex cc-mode cc-fonts cc-menus cc-cmds
> cc-styles cc-align cc-engine cc-vars cc-defs dired-faces dired-xemacs
> dired info add-log tempo psgml-html sgml-mode psgml mercurial
> view-less view tramp-vc vc-rcs vc diff-mode make-mode makefile vc-git
> parse-time vc-cvs gnus-ems gnus-xmas wid-edit desktop dotxemacs-init
> gnuserv jka-compr tramp-smb tramp efs-cu regexp-opt shell comint ring
> password format-spec timer-funcs trampver tex-site font-lock filladapt
> edmacro advice advice-preload message messagexmas mml mml-sec
> mml-smime smime dig mm-decode mm-bodies mm-encode mailcap lpr
> mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums mail-abbrevs sendmail
> rfc822 nnheader nnheaderxm gnus-util netrc time-date mm-util
> mail-prsvr mail-utils mailheader canlock sha1 executable hex-util
> mwheel vm-motion vm-undo vm-autoload vm-vars highlight-headers
> cus-face vm-startup vm-version vm vc-hooks vc-xemacs zenirc-autoloads
> xwem-autoloads xslt-process-autoloads xslide-autoloads xlib-autoloads
> xetla-autoloads xemacs-devel-autoloads xemacs-base-autoloads
> x-symbol-autoloads w3-autoloads vm-autoloads viper-autoloads
> view-process-autoloads vhdl-autoloads vc-autoloads tramp-autoloads
> tpu-autoloads tm-autoloads time-autoloads textools-autoloads
> text-modes-autoloads texinfo-autoloads supercite-autoloads
> strokes-autoloads speedbar-autoloads slider-autoloads sieve-autoloads
> sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
> ruby-modes-autoloads rmail-autoloads riece-autoloads reftex-autoloads
> re-builder-autoloads python-modes-autoloads psgml-autoloads
> ps-print-autoloads prog-modes-autoloads pgg-autoloads
> perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
> pc-autoloads os-utils-autoloads oo-browser-autoloads ocaml-autoloads
> net-utils-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
> mew-autoloads mailcrypt-autoloads mail-lib-autoloads jde-autoloads
> ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
> ibuffer-autoloads hyperbole-autoloads hm--html-menus-autoloads
> haskell-mode-autoloads guided-tour-autoloads gnus-autoloads
> gnats-autoloads games-autoloads fsf-compat-autoloads
> fortran-modes-autoloads forms-autoloads footnote-autoloads
> eudc-autoloads eterm-autoloads eshell-autoloads escreen-autoloads
> erc-autoloads emerge-autoloads elib-autoloads eieio-autoloads
> efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
> edebug-autoloads ede-autoloads ecrypto-autoloads ecb-autoloads
> easypg-autoloads docbookide-autoloads dired-autoloads
> dictionary-autoloads debug-autoloads cookie-autoloads cogre-autoloads
> clearcase-autoloads cedet-common-autoloads cc-mode-autoloads
> calendar-autoloads calc-autoloads c-support-autoloads build-autoloads
> bbdb-autoloads auctex-autoloads apel-autoloads ada-autoloads
> skk-autoloads mule-ucs-autoloads mule-base-autoloads lookup-autoloads
> leim-autoloads latin-unity-autoloads egg-its-autoloads edict-autoloads
> mule-autoloads auto-autoloads auto-show fontl-hooks canna-leim tibetan
> slovenian czech romanian lao devanagari indian cyrillic code-cmds
> gutter-items menubar-items x-menubar mode-motion mouse behavior itimer
> auto-save lisp-mode easymenu easy-mmode iso8859-1 page buff-menu
> lib-complete loadhist cus-file derived newcomment rsz-minibuf env
> text-props fontconfig frame obsolete cus-start custom widget cl-extra
> cl cl-19 packages backquote unicode font-mgr lucid-scrollbars
> cut-buffer xft-fonts lucid-menubars athena-dialogs x c-balloon-help
> tty-frames tty toolbar native-sound alsa-sound scrollbar
> unix-processes multicast network-streams subprocesses bigfloat ratio
> bignum number-types modules menu-accelerator-support menubar
> berkeley-db md5 xemacs xim mule gutter tiff png gif jpeg xpm xbm
> lisp-float-type file-coding linux dialog devices window-system base64)
> 
> 
> Recent keystrokes:
> -----------------
> 
> y . SPC SPC T h e SPC o t h e r SPC r e p o C-x k RET 
> y e s RET SPC SPC SPC ESC O B SPC ESC O B SPC V B # 
> q ESC O B ESC O B SPC ESC O B SPC ESC O B s RET d ESC 
> O B s RET d ESC O B s RET d ESC O B 2 s RET 2 d # g 
> C-x s y n ESC x r e p o r t - x e m TAB b TAB BS R
> ET
> 
> 
> Recent messages (most recent first):
> -----------------------------------
> 
> Loading xemacsbug...done
> Loading xemacsbug...
> Wrote /home/steve/INBOX
> Stuffing attributes... done
> Stuffing 100% complete...
> Stuffing 75% complete...
> Stuffing 50% complete...
> Stuffing 25% complete...
> Ordering updates...
> 4 messages to stuff
> Stuffing attributes...
> No new mail.
> Checking for new mail...
> Deleted messages expunged.
> Decoding MIME message... done
> Decoding MIME message...
> Expunging...
> End of message 1017 from Cron Daemon
> 2 messages saved to /home/steve/VM/daemons/CURRENT
> End of message 1016 from Cron Daemon
> 
> 
> 
> _______________________________________________
> XEmacs-Beta mailing list
> XEmacs-Beta at xemacs.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
> 


-- 

Vladimir G. Ivanovic


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20080312/647796fc/signature.pgp


More information about the XEmacs-Beta mailing list