okay but there is more :(
as i said this also segfaults for image.load()
sometimes it also segfaults when i do an atlas.add()
threading just seems to be a real, real pain.... but as i dont want to
loose responsiveness when doing a big unsplittable task (like reading
a big json file with the simplejson lib) i have to use it, right?

(gdb) run test.py
Starting program: /usr/bin/python test.py
[Thread debugging using libthread_db enabled]
[New Thread 0x7fda192466e0 (LWP 4693)]
[New Thread 0x417ea950 (LWP 4694)]
before label/image

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fda192466e0 (LWP 4693)]
0x00007fda0808c72c in gdk_pixbuf_loader_write () from /usr/lib/
libgdk_pixbuf-2.0.so.0
(gdb) bt
#0  0x00007fda0808c72c in gdk_pixbuf_loader_write () from /usr/lib/
libgdk_pixbuf-2.0.so.0
#1  0x00007fda1823aaec in ffi_call_unix64 () from /usr/lib/python2.5/
lib-dynload/_ctypes.so
#2  0x00007fda1823a975 in ffi_call () from /usr/lib/python2.5/lib-
dynload/_ctypes.so
#3  0x00007fda18235907 in _CallProc (pProc=0x7fda0808c6f0
<gdk_pixbuf_loader_write>, argtuple=0x7fda191d9940, flags=<value
optimized out>, argtypes=0x0, restype=0x7e7eb0, checker=0x0) at /build/
buildd/python2.5-2.5.2/Modules/_ctypes/callproc.c:668
#4  0x00007fda1822f55f in CFuncPtr_call (self=0xebdf28,
inargs=0x7fda191d9940, kwds=0x0) at /build/buildd/python2.5-2.5.2/
Modules/_ctypes/_ctypes.c:3373
#5  0x0000000000417e33 in PyObject_Call (func=0x10395520,
arg=0xf5d844, kw=0x88f) at ../Objects/abstract.c:1861
#6  0x000000000048617a in PyEval_EvalFrameEx (f=0xe38d80,
throwflag=<value optimized out>) at ../Python/ceval.c:3784
#7  0x0000000000488c07 in PyEval_EvalFrameEx (f=0x941fd0,
throwflag=<value optimized out>) at ../Python/ceval.c:3659
#8  0x0000000000488c07 in PyEval_EvalFrameEx (f=0x8917e0,
throwflag=<value optimized out>) at ../Python/ceval.c:3659
#9  0x000000000048a406 in PyEval_EvalCodeEx (co=0x7fda1912ee40,
globals=<value optimized out>, locals=<value optimized out>,
args=0x7d6d10, argcount=1, kws=0x7d6d18, kwcount=0, defs=0xbf9260,
defcount=2, closure=0x0) at ../Python/ceval.c:2836
#10 0x0000000000488075 in PyEval_EvalFrameEx (f=0x7d6b90,
throwflag=<value optimized out>) at ../Python/ceval.c:3669
#11 0x000000000048a406 in PyEval_EvalCodeEx (co=0x7fda192367b0,
globals=<value optimized out>, locals=<value optimized out>, args=0x0,
argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
at ../Python/ceval.c:2836
#12 0x000000000048a522 in PyEval_EvalCode (co=0x10395520,
globals=0xf5d844, locals=0x88f) at ../Python/ceval.c:494
#13 0x00000000004abe2e in PyRun_FileExFlags (fp=0x75b010,
filename=0x7fff21267763 "test.py", start=<value optimized out>,
globals=0x77e520, locals=0x77e520, closeit=1, flags=0x7fff21266620)
at ../Python/pythonrun.c:1273
#14 0x00000000004ac0c9 in PyRun_SimpleFileExFlags (fp=0x75b010,
filename=0x7fff21267763 "test.py", closeit=1, flags=0x7fff21266620)
at ../Python/pythonrun.c:879
#15 0x00000000004145ad in Py_Main (argc=<value optimized out>,
argv=<value optimized out>) at ../Modules/main.c:523
#16 0x00007fda184611c4 in __libc_start_main () from /lib/libc.so.6
#17 0x0000000000413b29 in _start ()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to