X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Thu, 2 Mar 2017 05:03:41 +0100 (CET) X-X-Sender: igor2 AT igor2priv To: geda-user AT delorie DOT com X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: [geda-user] [dev] [pcb] bugreport: segfault Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Reply-To: geda-user AT delorie DOT com Hi pcb devs, 1. configuer for command window 2. open command window with ':' 3. close command window with the window manager, NOT with the close button 4. open command window wit ':' 5. segfault For referece: fixed in pcb-rnd r7331. Related: the gtk HID has a few of these: gtk signal conected to a signal handler callback with differet signature (e.g. not enough parameters, sometimes (void) function called with (GtkWidget *, gpointer)). It is an undefined behavior in C99 (6.5.2.2, paragraph 6). I believe this is dangerous practice - I've already fixed a few of these in pcb-rnd, I recommend revising the signal handlers in mainline too. Regards, Igor2