delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/03/01/23:03:39

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: <alpine.DEB.2.00.1703020448110.7286@igor2priv>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019