Re: gettext in on_signal caused infinite loop

1999-12-26 Thread Marc Lehmann

On Sun, Dec 26, 1999 at 06:31:10AM +0900, SHIRASAKI Yasuhiro 
<[EMAIL PROTECTED]> wrote:
> Should we remove _() from there?

The right thing is to remove superfluous code when it makes problems ;)

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



Re: gettext in on_signal caused infinite loop

1999-12-26 Thread SHIRASAKI Yasuhiro

>>#4  0x810b5c0 in on_signal (sig_num=11) at main.c:471
>Signal 11 is a segfault (what Windows would have called an Access
>Violation, or GPF). We should fix that segfault...

Yes, I know that. The problem is that segfault happens in the
signal handler for segfault itself. _() for segfault message
was worked well in many situation, but once something wrong
happened, it causes infinite loop.

--
SHIRASAKI Yasuhiro : Experimental Particle Physics, JLC Team
Graduate School of Science, TOHOKU University 980-8578 Japan.



Re: gettext in on_signal caused infinite loop

1999-12-25 Thread Steinar H. Gunderson

On Sun, Dec 26, 1999 at 06:31:10AM +0900, SHIRASAKI Yasuhiro wrote:
>#4  0x810b5c0 in on_signal (sig_num=11) at main.c:471

Signal 11 is a segfault (what Windows would have called an Access
Violation, or GPF). We should fix that segfault...

/* Steinar */
-- 
Homepage: http://members.xoom.com/sneeze/



gettext in on_signal caused infinite loop

1999-12-25 Thread SHIRASAKI Yasuhiro

Hi,

_() in the gimp signal handler sometimes caused infinite loop:

#0  0x2836ae7a in dcgettext__ () from /usr/local/lib/libintl.so.1
#1  0x2836b73d in dgettext__ () from /usr/local/lib/libintl.so.1
#2  0x2836b75e in gettext__ () from /usr/local/lib/libintl.so.1
#3  0x2836aca4 in gettext () from /usr/local/lib/libintl.so.1
#4  0x810b5c0 in on_signal (sig_num=11) at main.c:471
#5  0xbfbfffac in ?? ()
#6  0x2836b73d in dgettext__ () from /usr/local/lib/libintl.so.1
#7  0x2836b75e in gettext__ () from /usr/local/lib/libintl.so.1
#8  0x2836aca4 in gettext () from /usr/local/lib/libintl.so.1
#9  0x810b5c0 in on_signal (sig_num=11) at main.c:471
#10 0xbfbfffac in ?? ()
(snip)
#1 0xbfbfffac in ?? ()
#10001 0x2836b73d in dgettext__ () from /usr/local/lib/libintl.so.1
#10002 0x2836b75e in gettext__ () from /usr/local/lib/libintl.so.1
#10003 0x2836aca4 in gettext () from /usr/local/lib/libintl.so.1
#10004 0x810b5c0 in on_signal (sig_num=11) at main.c:471
(snip)

Should we remove _() from there?

--
SHIRASAKI Yasuhiro : Experimental Particle Physics, JLC Team
Graduate School of Science, TOHOKU University 980-8578 Japan.