X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Fri, 31 Jul 2015 09:41:13 +0200 (CEST) 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] pcb gtk hid bug? 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 developers, there's a translate_accelerator() in ghid-main-menu.c; it loops through a table to replace keywords with other keywords. Unfortunately when a keyword is not found, and the Message() is thrown, the text pointer is not modified and the loop restarts at the same position. This leads to an infinite loop when the first word is not recognized. I could reproduce this with replacing "Shift" with "random" in gpcb-menu.res - pcb hanged during startup. I am not sure about git versions, but looking at the source code of pcb-20140316, it seems to be affected. Regards, Igor2