[Openal-devel] openal-soft

Lukasz Pawelczyk havner at pld-linux.org
Fri Feb 8 14:50:57 PST 2008


Chris Robinson wrote:
> On Friday 08 February 2008 02:21:35 pm Jason Daly wrote:
>> Could you post that trace again?  I deleted the original message, but
>> now I might be running into the same problem.  I'm purposely not closing
>> the device because I still need to work around a limitation of the SI
>> for the moment.
> 
> Oh, geez, I see the problem. Hint: don't remove the device from the list when 
> you're going to search the list expecting it to be there..
> 
> Gonna do a few more fixes then push it to the GIT repo.

Thats good, cause I've been trying to get backtrace from other threads 
since an hour or so ... Failed.

First try:

$ gdb -q ./AvP.bin
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -w
Starting program: /home/havner/rpm/BUILD/avp/AvP.bin -w
Now exiting Aliens vs Predator!  At least it didn't crash!
AL lib: ALc.c:1242: exit() 1 device(s) and 1 context(s) NOT deleted

Program received signal SIGSEGV, Segmentation fault.
alcCloseDevice (pDevice=0x84fdf40) at 
/home/havner/openal-soft/Alc/ALc.c:1211
1211	        while(*list != pDevice)
(gdb) info thread
(gdb) thread apply all bt

All other tries failed as well, but came to strange idea. If there is no 
info on threads, maybe there are no threads running at that point.


$ gdb -q -batch -x gdb-cmds ./AvP.bin > gdb-out 2>&1
$ grep StartThread gdb-out | wc -l
36
$ grep StopThread gdb-out | wc -l
36

(files in attachment)
I dont know whether thats correct, but couldn't came with anything better.

-- 
Regards    Havner                     {jid,mail}:havner(at)pld-linux.org
                    "Quis custodiet ipsos custodes?"
-------------- next part --------------
add-symbol-file /usr/lib/libopenal.so.1 0xb7ae6000
watch StartThread
watch StopThread
run
thread apply all bt
-------------- next part --------------
Using host libthread_db library "/lib/libthread_db.so.1".
add symbol table from file "/usr/lib/libopenal.so.1" at
	.text_addr = 0xb7ae6000
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread
Now exiting Aliens vs Predator!  At least it didn't crash!
AL lib: ALc.c:1242: exit() 1 device(s) and 1 context(s) NOT deleted
Hardware watchpoint 1: StartThread
Hardware watchpoint 2: StopThread

Program received signal SIGSEGV, Segmentation fault.
0xb7b3d023 in ?? () from /usr/lib/libopenal.so.1


More information about the Openal-devel mailing list