[PD] Gem: gemwin object creation problem (Segmentation fault)

Thomas Hoernlein hoernlts at idmt.fraunhofer.de
Wed Dec 14 10:24:18 CET 2005


B. Bogart wrote:
> hello,
> 
> Try:
> 
> gdb pd -lib Gem
> 
> and then load the patch.
> 
> When you get the segault you should see this in the terminal:
> 
> (gdb)
> 
> then do a "bt" and send us the result.
> 
> b.
> 
> 
> On Tue, December 13, 2005 1:53 pm, Thomas Hoernlein said:
> 
>>Hi,
>>
>>I'm using Gem version 0.90. It compiled without problems (mandriva
>>linux). When I try to place a gemwin object in pd, pd crashes.
>>pd: line 1: 31796 Segmentation fault
>>It tried versions 0.38-4 and 0.39.2 of pd with similar results. I never
>>had this problem with other pd objects though.
>>Did anyone have the same problem or has any ideas what I could do to fix
>>it? Maybe I'm missing something obvious.
>>
>>Thanks,
>>thomas

Hello,

the debugger shows the following results:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208138304 (LWP 3805)]
0x42500150 in glClearColor () from /usr/X11R6/lib/libGL.so.1

(gdb) bt
#0  0x42500150 in glClearColor () from /usr/X11R6/lib/libGL.so.1
#1  0x081629c0 in ?? ()
#2  0x081629c0 in ?? ()
#3  0xbfffd608 in ?? ()
#4  0x080550a3 in canvas_getcurrent () at g_canvas.c:142
#5  0x00000000 in ?? ()
#6  0x08164020 in ?? ()
#7  0xb7f67e40 in ?? () from /usr/local/lib/pd/extra/Gem.pd_linux
#8  0xbfffd638 in ?? ()
#9  0xb7f67e40 in ?? () from /usr/local/lib/pd/extra/Gem.pd_linux
#10 0x41a00000 in ?? ()
#11 0x081629c0 in ?? ()
#12 0xbfffd638 in ?? ()
#13 0xb7e6efd9 in gemwin::gemwin () from 
/usr/local/lib/pd/extra/Gem.pd_linux
#14 0xb7e6efd9 in gemwin::gemwin () from 
/usr/local/lib/pd/extra/Gem.pd_linux
#15 0xb7e6f062 in _classgemwin () from /usr/local/lib/pd/extra/Gem.pd_linux
#16 0x0809efa3 in pd_typedmess (x=0x12740, s=0x0, argc=0, argv=0x10) at 
m_class.c:732

seems to be a flaw with my libGL. Any ideas?

Thanks,
Thomas




More information about the Pd-list mailing list