Hello, When running a software that uses zlib from a shell run from softbeep. The resulting file is corrupted. I have attached the full Debian bug report log for this bug (Bug #294693).
Please preserve the CC to [EMAIL PROTECTED] when replying, so that the Debian bug tracking system will file their reply with the original report. Debian Bug report logs - #294693 softbeep: softbeep causes darcs (zlib1g?) corruption From: Joe Edmonds <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: softbeep: softbeep causes darcs (zlib1g?) corruption Date: Thu, 10 Feb 2005 21:43:02 -0800 Package: softbeep Version: 0.3-10 Severity: normal If I run "darcs record" from a shell run from softbeep, the compressed patch it creates is corrupted. Maybe this is due to a bad interaction between softbeep and zlib1g (and darcs?)? To reproduce, you'll need to install the darcs package and then execute command sequence [2] below. Note that [1] works OK and [3], which tells darcs not to compress the patch also works OK. [1] # make sure you're not running inside softbeep mkdir darcstest cd darcstest date > file1.txt darcs init darcs add file1.txt echo [EMAIL PROTECTED] > _darcs/prefs/author darcs record -a -m test --skip-long-comment zless _darcs/patches/*.gz [2] softbeep bash mkdir darcstest cd darcstest date > file1.txt darcs init darcs add file1.txt echo [EMAIL PROTECTED] > _darcs/prefs/author darcs record -a -m test --skip-long-comment zless _darcs/patches/*.gz [3] softbeep bash mkdir darcstest cd darcstest date > file1.txt darcs init darcs add file1.txt echo [EMAIL PROTECTED] > _darcs/prefs/author darcs record -a -m test --skip-long-comment --dont-compress less _darcs/patches/*.gz # darcs names uncompressed patches .gz too -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (990, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages softbeep depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- no debconf information From: Ahmed El-Mahmoudy <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: softbeep: softbeep causes darcs (zlib1g?) corruption Date: Sat, 27 Jan 2007 14:05:13 +0200 I found another way to produce the problem, instead of running: softbeep bash I set this environment variable: LD_PRELOAD="$LD_PRELOAD /usr/lib/softbeep/libsoftbeep.so" It seems that this is what actually causes the problem. From: أحمد المحمودي <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: It is related to zlib1g indeed ! Date: Sun, 17 Feb 2008 08:45:43 +0200 Hello, A while ago I run 'dia' from terminal window, in which LD_PRELOAD was set to /usr/lib/softbeep/libsoftbeep.so. When I saved the resulting file in compressed format (gzipped XML file), it got corrupted indeed ! That does not happen when I do not set LD_PRELOAD to /usr/lib/softbeep/libsoftbeep.so. Same thing for mutt, I can't open any email in a terminal in which LD_PRELOAD is set to /usr/lib/softbeep/libsoftbeep.so. Although I do not really understand how this relates to zlib. -- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net) GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C 156E D325 C3C8 9DCA 0B27 -- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net) GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C 156E D325 C3C8 9DCA 0B27 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]