Package: mp3gain
Version: 1.4.6-6
Severity: normal

If mp3gain can normalize the first file successfully, it does not check anymore 
if 
he has write permissions to write the remaining files, and then gives back a 
segfault when it try to write.


Here is the output, always reproductible:

$ ls -gG *.mp3
-rw-r--r-- 1 3825708 2007-09-28 01:31 001.mp3
-r--r--r-- 1 1805696 2007-09-28 01:31 002.mp3
$ mp3gain -r *.mp3
001.mp3
Applying mp3 gain change of -7 to 001.mp3...
002.mp3
Applying mp3 gain change of -3 to 002.mp3...
Segmentation fault
$


Extra info:
The first time I saw this bug it was different; may be the output can help. 
Note 
that "BalaoMagico" and "capella" are folders, and I had the exact same 
permission 
scheme as above:



$ mp3gain -r *
04. Spider Murphy Gang - Ich Schau Dich An.mp3
Applying mp3 gain change of -4 to 04. Spider Murphy Gang - Ich Schau Dich 
An.mp3...
BalaoMagico
capella
Hinosaopaulo.mp3
Applying mp3 gain change of -3 to Hinosaopaulo.mp3...
*** glibc detected *** mp3gain: double free or corruption (out): 0x08448218 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7e71cf5]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7e75790]
/lib/i686/cmov/libc.so.6(fclose+0x134)[0xb7e60684]
mp3gain[0x804a536]
mp3gain[0x804baa3]
mp3gain[0x804eb6f]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7e1e050]
mp3gain[0x8048bf1]
======= Memory map: ========
08048000-08060000 r-xp 00000000 08:06 221637     /usr/bin/mp3gain
08060000-08061000 rw-p 00017000 08:06 221637     /usr/bin/mp3gain
08061000-08468000 rw-p 08061000 00:00 0          [heap]
b7c00000-b7c21000 rw-p b7c00000 00:00 0
b7c21000-b7d00000 ---p b7c21000 00:00 0
b7e07000-b7e08000 rw-p b7e07000 00:00 0
b7e08000-b7f4a000 r-xp 00000000 08:06 494726     /lib/i686/cmov/libc-2.6.1.so
b7f4a000-b7f4b000 r--p 00142000 08:06 494726     /lib/i686/cmov/libc-2.6.1.so
b7f4b000-b7f4d000 rw-p 00143000 08:06 494726     /lib/i686/cmov/libc-2.6.1.so
b7f4d000-b7f50000 rw-p b7f4d000 00:00 0
b7f50000-b7f73000 r-xp 00000000 08:06 559167     /lib/i686/cmov/libm-2.6.1.so
b7f73000-b7f75000 rw-p 00023000 08:06 559167     /lib/i686/cmov/libm-2.6.1.so
b7f82000-b7f8c000 r-xp 00000000 08:06 638041     /lib/libgcc_s.so.1
b7f8c000-b7f8d000 rw-p 00009000 08:06 638041     /lib/libgcc_s.so.1
b7f8d000-b7f90000 rw-p b7f8d000 00:00 0
b7f90000-b7fac000 r-xp 00000000 08:06 619372     /lib/ld-2.6.1.so
b7fac000-b7fae000 rw-p 0001b000 08:06 619372     /lib/ld-2.6.1.so
bfdfd000-bfe12000 rw-p bfdfd000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Aborted
$ ls -gG
total 35571
-rw-r--r-- 1 3591382 2007-09-28 01:16 04. Spider Murphy Gang - Ich Schau Dich 
An.mp3
drwxr-xr-x 3      88 2007-09-28 00:38 BalaoMagico
drwxr-xr-x 2    1160 2007-09-28 00:42 capella
-r-xr-xr-x 1 1805696 2007-09-28 00:40 Hinosaopaulo.mp3
[...]



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mp3gain depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries

mp3gain recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to