[GEM-dev] Pd crashing when closing Gem window with

Frank Barknecht fbar at footils.org
Tue Jun 27 11:15:59 CEST 2006


Hi, 

I want to close the GEM window using a key read with [gemkeyname]
however this crashes Pd. Using attached little patch, I get the
following GDB backtrace: 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210861888 (LWP 615)]
clock_set (x=0x0, setticks=1) at m_sched.c:55
55          if (x->c_settime >= 0)
(gdb) bt
#0  clock_set (x=0x0, setticks=1) at m_sched.c:55
#1  0xb79af312 in GemMan::getConstWindowInfo () from /usr/lib/pd/extra/Gem.pd_linux
#2  0x080aa8b6 in m_scheduler () at m_sched.c:355
#3  0x080b53fb in main (argc=12576, argv=0x3120) at s_entry.c:27

Clicking the destroy-message box by hand doesn't crash. Any ideas?

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
-------------- next part --------------
#N canvas 0 0 450 300 10;
#X obj 118 94 gemkeyname;
#X msg 105 180 create \, 1;
#X obj 183 136 select Escape;
#X msg 183 180 0 \, destroy;
#X obj 183 245 gemwin;
#X connect 0 1 2 0;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;


More information about the GEM-dev mailing list