Hallo!
Don't know if this depends on my graphic card, but I only wanted to report it ...
When I destroy the gemwin, I get a crash. (on debian, latest gem from cvs compiled against latest pd from millers site)
here the gdb backtrace: ---------8<-------------------- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1211365152 (LWP 15718)] 0xb730b820 in ?? () (gdb) bt #0 0xb730b820 in ?? () #1 0xb7901cec in glXDestroyContext () from /usr/lib/libGL.so.1 #2 0xb7903df0 in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1 #3 0xb7904083 in glXMakeCurrent () from /usr/lib/libGL.so.1 #4 0xb7a9cba4 in GemMan::destroyWindow () from /usr/lib/pd/extra/Gem.pd_linux #5 0xb7a9d305 in GemMan::render () from /usr/lib/pd/extra/Gem.pd_linux #6 0x080b1fa3 in sched_tick (next_sys_time=83107840) at m_sched.c:355 #7 0x080b2c76 in m_scheduler () at m_sched.c:460 #8 0x080b5e5a in sys_main (argc=4, argv=0xbf838284) at s_main.c:316 #9 0x080bf0ff in main (argc=Cannot access memory at address 0x0 ) at s_entry.c:27 (gdb) ---------8<--------------------
the backtrace with valgrind: ---------8<-------------------- ==16489== Jump to the invalid address stated on the next line ==16489== at 0x5422820: ??? ==16489== by 0x47EADEF: glXMakeContextCurrent (in /usr/lib/libGL.so.1.2) ==16489== by 0x47EB082: glXMakeCurrent (in /usr/lib/libGL.so.1.2) ==16489== by 0x4530BA3: GemMan::destroyWindow() (in /usr/lib/pd/extra/Gem.pd_linux) ==16489== by 0x4531304: GemMan::render(void*) (in /usr/lib/pd/extra/Gem.pd_linux) ==16489== by 0x80B1FA2: sched_tick (m_sched.c:355) ==16489== Address 0x5422820 is not stack'd, malloc'd or (recently) free'd ==16489== ==16489== Process terminating with default action of signal 11 (SIGSEGV) ==16489== Access not within mapped region at address 0x5422820 ==16489== at 0x5422820: ??? ==16489== by 0x47EADEF: glXMakeContextCurrent (in /usr/lib/libGL.so.1.2) ==16489== by 0x47EB082: glXMakeCurrent (in /usr/lib/libGL.so.1.2) ==16489== by 0x4530BA3: GemMan::destroyWindow() (in /usr/lib/pd/extra/Gem.pd_linux) ==16489== by 0x4531304: GemMan::render(void*) (in /usr/lib/pd/extra/Gem.pd_linux) ==16489== by 0x80B1FA2: sched_tick (m_sched.c:355) ---------8<--------------------
LG Georg