On Fri, Jan 27, 2006 at 02:05:18PM +0100, Mario Lang wrote: > Package: libsoundtouch1c2 > Version: 1.3.0-2 > Severity: important > > I got the following backtrace from gdb when running > a small command-line app of mine (yatm[1]) and > adjusting the pitch (via SoundTouch::setPitch). > Calls to SoundTouch::setPitch work most of the time, > but then again, they produce this random segfault > at times. From the bt, this looks like a bug inside > of SoundTouch to me.
Hi, It doesn't look good at least. I don't know if I will have the time and knowledge to discover what is going wrong, but from the backtrace it looks like the memory corruption happens before the segmentation fault. This means that it could also be happing in the application. G?nter > > ---<snip>--- > *** glibc detected *** malloc(): memory corruption: 0x00000000005bdb50 *** > > Program received signal SIGABRT, Aborted. > [Switching to Thread 46912519386256 (LWP 11969)] > 0x00002aaaabb4cdf0 in raise () from /lib/libc.so.6 > (gdb) bt > #0 0x00002aaaabb4cdf0 in raise () from /lib/libc.so.6 > #1 0x00002aaaabb4e2a0 in abort () from /lib/libc.so.6 > #2 0x00002aaaabb829ae in __fsetlocking () from /lib/libc.so.6 > #3 0x00002aaaabb8923a in free () from /lib/libc.so.6 > #4 0x00002aaaabb8a68b in malloc () from /lib/libc.so.6 > #5 0x00002aaaab745fe8 in operator new () from /usr/lib/libstdc++.so.6 > #6 0x00002aaaab7460d9 in operator new[] () from /usr/lib/libstdc++.so.6 > #7 0x00002aaaab169cd2 in soundtouch::AAFilter::calculateCoeffs () > from /usr/lib/libSoundTouch.so.1 > #8 0x00002aaaab16c68d in soundtouch::SoundTouch::calcEffectiveRateAndTempo () > from /usr/lib/libSoundTouch.so.1 > #9 0x0000000000402a5e in pollKeyboard (seekfunc=0x402e50 <seek_sndfile>) > at yatm.cc:112 > #10 0x000000000040377f in play_sndfile (fd=<value optimized out>, > tempo=<value optimized out>, begin=<value optimized out>) at yatm.cc:1010 > #11 0x00000000004046fc in main (argc=<value optimized out>, > argv=<value optimized out>) at yatm.cc:269 > > > [1] http://delysid.org/yatm.html > > (The actual version of yatm that triggered this bug is not > public yet, but I can provide the sources if you need them.) > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.15-rt2 > Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) > > Versions of packages libsoundtouch1c2 depends on: > ii libc6 2.3.5-12 GNU C Library: Shared libraries > an > ii libgcc1 1:4.0.2-7 GCC support library > ii libstdc++6 4.0.2-7 The GNU Standard C++ Library v3 > > libsoundtouch1c2 recommends no packages. > > -- no debconf information > > -- > CYa, > Mario -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]