speexenc segfaults on amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
speex (Ubuntu) |
Fix Released
|
Medium
|
Tollef Fog Heen |
Bug Description
Whenever I try to encode anything with speexenc it seg faults. The following is
last part of a strace;
mmap(NULL, 131072, PROT_READ|
0x2aaaaaac4000
read(3, "RIFF\322\
131072
write(2, "Encoding 32000 Hz audio using ul"..., 73Encoding 32000 Hz audio using
ultra-wideband (sub-band CELP) mode (mono)
) = 73
brk(0x549000) = 0x549000
open("foo.spx", O_WRONLY|
mmap(NULL, 8556253184, PROT_READ|
-1 ENOMEM (Cannot allocate memory)
brk(0x1fe52a000) = 0x549000
mmap(NULL, 8556388352, PROT_READ|
-1 ENOMEM (Cannot allocate memory)
mmap(NULL, 17112506368, PROT_READ|
= -1 ENOMEM (Cannot allocate memory)
brk(0x3fc50b000) = 0x549000
mmap(NULL, 17112641536, PROT_READ|
= -1 ENOMEM (Cannot allocate memory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Changed in speex: | |
status: | Unconfirmed → Confirmed |
Changed in edubuntu-addon-cd: | |
status: | New → Invalid |
This audio file segfaults speexenc on up-to-date dapper (amd64):
$ gdb speexenc linux-gnu" ...(no debugging symbols found) _db.so. 1".
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-
Using host libthread_db library "/lib/libthread
(gdb) set args lugradioshort.wav lugradioshort.spx
(gdb) r
Starting program: /usr/bin/speexenc lugradioshort.wav lugradioshort.spx
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Encoding 8000 Hz audio using narrowband mode (mono)
Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaafde954 in memcpy () from /lib/libc.so.6
(gdb) thread apply all bt
(gdb) q