Hi,

Thanks. That already points in the direction of a dangling callback 
pointer. Could you maybe install a few debug packages and repeat this? That 
will give some more insight in the exact methods called:

- libpulse0-dbg
- python-dbg (check that it is the version you are using to run it, so 2.7 
or 3.4)

Thanks in advance.

Rob

Op vrijdag 20 maart 2015 03:22:58 UTC+1 schreef Jannis Adamek:
>
> Sure I can ;)
>
>
> jannis@jannis-ThinkPad-Z61p:~/Dropbox/Pyglet/examples/astraea$ gdb --args 
>> python  /home/jannis/Dropbox/Pyglet/examples/astraea/astraea.py
>> GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
>> Copyright (C) 2014 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later <
>> http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "x86_64-linux-gnu".
>> Type "show configuration" for configuration details.
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>.
>> Find the GDB manual and other documentation resources online at:
>> <http://www.gnu.org/software/gdb/documentation/>.
>> For help, type "help".
>> Type "apropos word" to search for commands related to "word"...
>> Reading symbols from python...(no debugging symbols found)...done.
>> (gdb) r
>> Starting program: /usr/bin/python 
>> /home/jannis/Dropbox/Pyglet/examples/astraea/astraea.py
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> [New Thread 0x7fffef1aa700 (LWP 5523)]
>> [New Thread 0x7fffe133f700 (LWP 5536)]
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread 0x7fffe133f700 (LWP 5536)]
>> 0x00007ffff60c5729 in ffi_closure_unix64_inner () from 
>> /usr/lib/x86_64-linux-gnu/libffi.so.6
>> (gdb) 
>>
>>
>  Than:
>
> (gdb) t a a bt
>>
>> Thread 3 (Thread 0x7fffe133f700 (LWP 5536)):
>> #0  0x00007ffff60c5729 in ffi_closure_unix64_inner () from 
>> /usr/lib/x86_64-linux-gnu/libffi.so.6
>> #1  0x00007ffff60c5c44 in ffi_closure_unix64 () from 
>> /usr/lib/x86_64-linux-gnu/libffi.so.6
>> #2  0x00007fffe6be3c92 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libpulse.so.0
>> #3  0x00007fffe6be4679 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libpulse.so.0
>> #4  0x00007fffe677b2fe in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/
>> libpulsecommon-4.0.so
>> #5  0x00007fffe677b67b in pa_pdispatch_run () from 
>> /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so
>> #6  0x00007fffe6bc9012 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libpulse.so.0
>> #7  0x00007fffe677f44c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/
>> libpulsecommon-4.0.so
>> #8  0x00007fffe6bdcaec in pa_mainloop_dispatch () from 
>> /usr/lib/x86_64-linux-gnu/libpulse.so.0
>> #9  0x00007fffe6bdceda in pa_mainloop_iterate () from 
>> /usr/lib/x86_64-linux-gnu/libpulse.so.0
>> #10 0x00007fffe6bdcf80 in pa_mainloop_run () from 
>> /usr/lib/x86_64-linux-gnu/libpulse.so.0
>> #11 0x00007fffe6beafe3 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/libpulse.so.0
>> #12 0x00007fffe678ef08 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/
>> libpulsecommon-4.0.so
>> #13 0x00007ffff7bc4182 in start_thread (arg=0x7fffe133f700) at 
>> pthread_create.c:312
>> #14 0x00007ffff78f147d in clone () at 
>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
>>
>> Thread 2 (Thread 0x7fffef1aa700 (LWP 5523)):
>> #0  pthread_cond_wait@@GLIBC_2.3.2 () at 
>> ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
>> #1  0x00007ffff19942a3 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
>> #2  0x00007ffff1993be7 in ?? () from 
>> /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
>> #3  0x00007ffff7bc4182 in start_thread (arg=0x7fffef1aa700) at 
>> pthread_create.c:312
>> #4  0x00007ffff78f147d in clone () at 
>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
>>
>> Thread 1 (Thread 0x7ffff7fdb740 (LWP 5505)):
>> #0  0x000000000052c3fc in PyEval_EvalFrameEx ()
>> #1  0x000000000052cf32 in PyEval_EvalFrameEx ()
>> #2  0x000000000056d0aa in ?? ()
>> #3  0x0000000000502be0 in PyObject_CallFunction ()
>> #4  0x00000000005a3844 in ?? ()
>> ---Type <return> to continue, or q <return> to quit---
>> #5  0x00000000004a8f8b in PyObject_SetAttr ()
>> #6  0x000000000052d3d9 in PyEval_EvalFrameEx ()
>> #7  0x000000000052cf32 in PyEval_EvalFrameEx ()
>> #8  0x000000000056d0aa in ?? ()
>> #9  0x000000000052e1e6 in PyEval_EvalFrameEx ()
>> #10 0x000000000052cf32 in PyEval_EvalFrameEx ()
>> #11 0x000000000052cf32 in PyEval_EvalFrameEx ()
>> #12 0x000000000052cf32 in PyEval_EvalFrameEx ()
>> #13 0x000000000052cf32 in PyEval_EvalFrameEx ()
>> #14 0x000000000052cf32 in PyEval_EvalFrameEx ()
>> #15 0x000000000055c594 in PyEval_EvalCodeEx ()
>> #16 0x00000000005b7392 in PyEval_EvalCode ()
>> #17 0x0000000000469663 in ?? ()
>> #18 0x00000000004699e3 in PyRun_FileExFlags ()
>> #19 0x0000000000469f1c in PyRun_SimpleFileExFlags ()
>> #20 0x000000000046ab81 in Py_Main ()
>> #21 0x00007ffff7818ec5 in __libc_start_main (main=0x46ac3f <main>, 
>> argc=2, argv=0x7fffffffe4d8, init=<optimized out>, fini=<optimized out>, 
>> rtld_fini=<optimized out>, 
>>     stack_end=0x7fffffffe4c8) at libc-start.c:287
>> #22 0x000000000057497e in _start ()
>>
>
>
> (gdb) info threads
>>   Id   Target Id         Frame 
>> * 3    Thread 0x7fffe133f700 (LWP 5536) "threaded-ml" 0x00007ffff60c5729 
>> in ffi_closure_unix64_inner () from /usr/lib/x86_64-linux-gnu/libffi.so.6
>>   2    Thread 0x7fffef1aa700 (LWP 5523) "python" 
>> pthread_cond_wait@@GLIBC_2.3.2 () at 
>> ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
>>   1    Thread 0x7ffff7fdb740 (LWP 5505) "python" 0x000000000052c3fc in 
>> PyEval_EvalFrameEx ()
>>
>
>
> I hope that helps and pleas tell me if you want me to run more tests. :) 
>
>>  
>
>
>  
>  
>
>  
>  
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to