Mail Archives: geda-user/2017/03/01/23:03:39
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
- Raw text -