On Tue, 5 Oct 2010 13:58:48 +0000
Jacob Meuser <jake...@sdf.lonestar.org> wrote:

> On Tue, Oct 05, 2010 at 12:33:44PM +0200, Jonathan Armani wrote:
> > On Tue, 5 Oct 2010 08:49:54 +0200 (CEST)
> > Antoine Jacoutot <ajacou...@bsdfrog.org> wrote:
> > 
> > > On Mon, 4 Oct 2010, Pascal Stumpf wrote:
> > > 
> > > > Come on, people. Is there really no one who cares to even try it? Maybe 
> > > > I should have mentioned you can race as Puffy and blow up Linux karts. 
> > > 
> > > Here's a fixed port.
> > > I cannot test as my hardware is too slow, let me know if this works for 
> > > you.
> > > 
> > > -- 
> > > Antoine
> > 
> > Segfault here on i386, recompiled with debug and only trace I got :
> > 
> > (gdb) bt
> > #0  0x0c1b78ca in _alDestroySource () from /usr/local/lib/libopenal.so.1.0
> > #1  0x2b40fe68 in __func__.4241 () from /usr/lib/libpthread.so.12.1
> > #2  0x00000000 in ?? ()
> 
> I get similar on amd64.  double free()?  concurrency issue?
> _alDestroySource() free()s several things.
> 
> you can work around it by disabling sound (music and sfx).
> 
> -- 
> jake...@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
> 
> 

It segfault when I try to disable the music too.

(gdb) thread apply all bt

Thread 4 (process 31980, thread 0x87f26000):
#0  0x0c1b78ca in _alDestroySource () from /usr/local/lib/libopenal.so.1.0
#1  0x2b40fe68 in __func__.4241 () from /usr/lib/libpthread.so.12.1
#2  0x00000000 in ?? ()

Thread 3 (process 31980, thread 0x87f26400):
#0  _thread_kern_sched (scp=0x0) at 
/usr/src/lib/libpthread/uthread/uthread_kern.c:482
#1  0x0b4225ef in _thread_kern_sched_state_unlock (state=PS_MUTEX_WAIT, 
lock=0x8a2c9ab0, 
    fname=0x2b40fe68 "/usr/src/lib/libpthread/uthread/uthread_mutex.c", 
lineno=497) at /usr/src/lib/libpthread/uthread/uthread_kern.c:581
#2  0x0b42071c in pthread_mutex_lock (mutex=0x82aac340) at 
/usr/src/lib/libpthread/uthread/uthread_mutex.c:496
#3  0x0c1b44fb in _alLockMutex () from /usr/local/lib/libopenal.so.1.0
#4  0x0c1b44e6 in _alLockMutex () from /usr/local/lib/libopenal.so.1.0
#5  0x0c1caa48 in FL_alcLockContext () from /usr/local/lib/libopenal.so.1.0
#6  0x85b9eef8 in ?? ()
#7  0x0b4224cc in _thread_kern_sig_undefer () at 
/usr/src/lib/libpthread/uthread/uthread_kern.c:997
Previous frame inner to this frame (corrupt stack?)
#0  0x0c1b78ca in _alDestroySource () from /usr/local/lib/libopenal.so.1.0


-- 
Jonathan Armani

Reply via email to