using newt problem: SIGENV at newtWinMenu()
Lucas Brasilino <[email protected]>
| Newsgroups | gmane.linux.redhat.devel |
|---|---|
| Organization | Emprel - Empresa Municipal de Informatica |
| Message-ID | <[email protected]> |
Hi all:
I'm using newt-0.51.0 on RH8.0 and gcc 3.2.2.
I've got a SIGENV when using newtWinMenu().
I'm making a infinitive loop showing a
menu (with newtWinMenu(), of course) until
the user choose "Cancel", which loop breaks
out then I call newtFinished().
But, when the loop calls newtWinMenu() for the
third time, it get SIGENV.
I tried using newtPopWindow(), which also SIGENV.
Here goes debugging:
Program received signal SIGSEGV, Segmentation fault.
0x4207469e in _int_malloc () from /lib/i686/libc.so.6
(gdb) where
#0 0x4207469e in _int_malloc () from /lib/i686/libc.so.6
#1 0x42073d81 in malloc () from /lib/i686/libc.so.6
#2 0x4001db81 in newtVerticalScrollbar (left=-1, top=-1, height=8,
normalColorset=13, thumbColorset=14) at scrollbar.c:47
#3 0x4001c208 in newtListbox (left=-1, top=-1, height=8, flags=5)
at listbox.c:116
#4 0x4002031a in newtWinMenu (title=0x80492ef "Menu",
text=0x80492d5 "Escolha as opções abaixo:", suggestedWidth=50,
flexDown=5,
flexUp=5, maxListHeight=8, items=0x80516b8, listItem=0xbffff400,
button1=0x80492d2 "Ok") at windows.c:154
#5 0x0804907d in NRSUT_menu (item=12, mc=0x804a4d8, sc=0x804a4c8) at
util.c:70
#6 0x08048b79 in main (argc=1, argv=0x3) at main.c:40
#7 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6
Any help, tip, whatever?? :)
thanks a lot in advance!
--
[]'s
Lucas Brasilino
[email protected]
http://www.recife.pe.gov.br
Emprel - Empresa Municipal de Informatica (pt_BR)
Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078