[GEM-dev] pd/Gem crashes on OSX, here comes the log!

ben at ekran.org ben at ekran.org
Wed Jan 21 18:18:34 CET 2004


Besides these seemingly scheduler related crashes I've also been getting
these gem-call related crashes. The most disturbing being the last one,
where pd/gem crashes trying to load a particular jpg, where others seem to
work fine, the jpg loads fine in other programs (including QT), and seems
not currupted.

I just tried the version of the jpg I put on pure-data and it still
crashes PD:

http://www.pure-data.org/Members/bbogart/feedback1.jpg/view

Give it a try...

Let me know if there is more debugging I can do to help.

Thanks,
Ben


Here is my crash log:

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x053ba520 in gldGetString ()
(gdb) where
#0  0x053ba520 in gldGetString ()
#1  0x053ba5a4 in gldGetString ()
#2  0x0536f9a0 in gldGetString ()
#3  0x02d30224 in pix_snap2tex::stopRendering() (this=0x2) at
src/Pixes/pix_snap2tex.cpp:258
#4  0x02c6fa00 in GemBase::gem_MessCallback(void*, _symbol*, int, _atom*)
(data=0x2000000, s=0x0, argc=48, argv=0x1800038) at
src/Base/GemBase.cpp:57
#5  0x00033844 in pd_typedmess ()
#6  0x00034740 in outlet_anything ()
#7  0x02c83eec in gemhead::stopRendering() (this=0x331730) at
src/Controls/gemhead.cpp:150
#8  0x02c7ab88 in GemMan::stopRendering() () at src/Base/GemMan.cpp:976
#9  0x02c86238 in gemwin::floatMessCallback(void*, float) (data=0x1800038,
state=0) at src/Controls/gemwin.cpp:101
#10 0x000345cc in outlet_float ()
#11 0x000367d0 in binbuf_eval ()
#12 0x000344d4 in outlet_bang ()
#13 0x00053c0c in trigger_list ()
#14 0x00053dc8 in trigger_float ()
#15 0x000345cc in outlet_float ()
#16 0x0002c7a0 in vradio_fout ()
#17 0x0002cafc in vradio_click ()
#18 0x0002cb9c in vradio_newclick ()
#19 0x0000803c in graph_click ()
#20 0x0001adac in canvas_doclick ()
#21 0x0001b2e4 in canvas_mousedown ()
#22 0x00033704 in pd_typedmess ()
#23 0x00033844 in pd_typedmess ()
#24 0x000367b8 in binbuf_eval ()
#25 0x0003b808 in socketreceiver_read ()
#26 0x0003b320 in sys_domicrosleep ()
#27 0x0003c184 in sys_pollgui ()
#28 0x00039c04 in m_scheduler ()
#29 0x000020cc in _start (argc=466652, argv=0x0, envp=0x1) at
/SourceCache/Csu/Csu-47/crt.c:267
#30 0x8fe1a700 in __dyld__dyld_start ()

ived signal EXC_BAD_ACCESS, Could not access memory.
0x053ba520 in gldGetString ()
(gdb) where
#0  0x053ba520 in gldGetString ()
#1  0x053ba5a4 in gldGetString ()
#2  0x0536f9a0 in gldGetString ()
#3  0x02d30224 in pix_snap2tex::stopRendering() (this=0x2) at
src/Pixes/pix_snap2tex.cpp:258
#4  0x02c6fa00 in GemBase::gem_MessCallback(void*, _symbol*, int, _atom*)
(data=0x2000000, s=0x0, argc=48, argv=0x1800038) at
src/Base/GemBase.cpp:57
#5  0x00033844 in pd_typedmess ()
#6  0x00034740 in outlet_anything ()
#7  0x02c83eec in gemhead::stopRendering() (this=0x32d590) at
src/Controls/gemhead.cpp:150
#8  0x02c7ab88 in GemMan::stopRendering() () at src/Base/GemMan.cpp:976
#9  0x02c86238 in gemwin::floatMessCallback(void*, float) (data=0x1800038,
state=0) at src/Controls/gemwin.cpp:101
#10 0x000345cc in outlet_float ()
#11 0x000367d0 in binbuf_eval ()
#12 0x000344d4 in outlet_bang ()
#13 0x00053c0c in trigger_list ()
#14 0x00053dc8 in trigger_float ()
#15 0x000345cc in outlet_float ()
#16 0x0002c7a0 in vradio_fout ()
#17 0x0002cafc in vradio_click ()
#18 0x0002cb9c in vradio_newclick ()
#19 0x0000803c in graph_click ()
#20 0x0001adac in canvas_doclick ()
#21 0x0001b2e4 in canvas_mousedown ()
#22 0x00033704 in pd_typedmess ()
#23 0x00033844 in pd_typedmess ()
#24 0x000367b8 in binbuf_eval ()
#25 0x0003b808 in socketreceiver_read ()
#26 0x0003b320 in sys_domicrosleep ()
#27 0x0003c184 in sys_pollgui ()
#28 0x00039c04 in m_scheduler ()
#29 0x000020cc in _start (argc=466652, argv=0x0, envp=0x1) at
/SourceCache/Csu/Csu-47/crt.c:267
#30 0x8fe1a700 in __dyld__dyld_start ()


When trying to load a particular jpg that no other program has an issue w/

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x8b16c1e4 in vec_yto32ARGBOne ()
(gdb) where
#0  0x8b16c1e4 in vec_yto32ARGBOne ()
#1  0x8b1719a8 in getyuvMB ()
#2  0x8b175cfc in jpegdecompress ()
#3  0x8b162624 in JPEG_DDrawBand ()
#4  0x90282784 in CallComponentFunctionCommon ()
#5  0x8b162f80 in JPEG_DComponentDispatch ()
#6  0x902814f0 in CallComponent ()
#7  0x8b59eb84 in ImageCodecDrawBand ()
#8  0x8b15edec in BaseCodec_DecompressWorkFunction ()
#9  0x902a4cac in InvokeComponentMPWorkFunctionUPP ()
#10 0x8b15f2a4 in BaseCodec_DecompressCallBack ()
#11 0x8b15f8b0 in Base_CDBandDecompress ()
#12 0x90282784 in CallComponentFunctionCommon ()
#13 0x8b15fec4 in Base_CDComponentDispatch ()
#14 0x902814f0 in CallComponent ()
#15 0x8b162fa0 in JPEG_DComponentDispatch ()
#16 0x902814f0 in CallComponent ()
#17 0x91bc6c8c in ImageCodecBandDecompress ()
#18 0x91bb6884 in DoBandedDecompress ()
#19 0x91bc5800 in ICMAction_aligned ()
#20 0x91bb9520 in ICMDeviceLoop ()
#21 0x91bbcf30 in DecompressSequenceFrameWhen ()
#22 0x91beb220 in DecompressSequenceFrameS ()
#23 0x8b30d204 in importGraphicDrawInternal ()
#24 0x8b30c8a4 in importGraphicDrawOrDecide ()
#25 0x90282768 in CallComponentFunctionCommon ()
#26 0x8b30af90 in ImportGraphicComponentDispatch ()
#27 0x902814f0 in CallComponent ()
#28 0x8b305458 in ImportJFIFComponentDispatch ()
#29 0x902814f0 in CallComponent ()
#30 0x91c00104 in GraphicsImportDraw ()
#31 0x02c7c878 in QTImage2mem(ComponentInstanceRecord*)
(inImporter=0xbfffecd0) at src/Base/GemPixImageLoad.cpp:262
#32 0x02c7c580 in image2mem(char const*) (filename=0xbfffee50
"/users/admin/bbogart/patches/texture_feedback/still1.jpg") at
src/Base/GemPixImageLoad.cpp:121
#33 0x02caf844 in pix_image::openMess(_symbol*) (this=0x338f90,
filename=0x33af20) at src/Pixes/pix_image.cpp:97
#34 0x00033730 in pd_typedmess ()
#35 0x00034740 in outlet_anything ()
#36 0x00033844 in pd_typedmess ()
#37 0x000367b8 in binbuf_eval ()
#38 0x00008f38 in message_symbol ()
#39 0x00034640 in outlet_symbol ()
#40 0x000e8f20 in playlist_output_current ()
#41 0x000e9cf4 in playlist_click ()
#42 0x0001adac in canvas_doclick ()
#43 0x0001b2e4 in canvas_mousedown ()
#44 0x00033704 in pd_typedmess ()
#45 0x00033844 in pd_typedmess ()
#46 0x000367b8 in binbuf_eval ()
#47 0x0003b808 in socketreceiver_read ()
#48 0x0003b320 in sys_domicrosleep ()
#49 0x0003c184 in sys_pollgui ()
#50 0x00039c04 in m_scheduler ()
#51 0x000020cc in _start (argc=466652, argv=0x0, envp=0x1) at
/SourceCache/Csu/Csu-47/crt.c:267
#52 0x8fe1a700 in __dyld__dyld_start ()







More information about the GEM-dev mailing list