Hello,
Using the latest cooker, I found by mistake a segfault in cdialog.
I'm using cdialog-0.9a-8mdk from 8.2. Here comes the segfault, with backtrace
if that can help (this trace is made with cdialog compiled from source rpm,
and a modified makefile to have debug symbols).
Sorry I have no time to check further in the source..
# gdb ./dialog
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"...
(gdb) set args --title "Result of importing the key 705FC34F :" --msgbox "gpg:
requesting key 705FC34F from wwwkeys.pgp.net ...\
gpg: key 705FC34F: public key imported\
gpg: Total number processed: 1\
gpg: imported: 1 (RSA: 1)\
" 80 80
(gdb) run
Starting program: /usr/src/RPM/BUILD/cdialog-0.9a/./dialog --title "Result of
importing the key 705FC34F :" --msgbox "gpg: requesting key 705FC34F from
wwwkeys.pgp.net ...gpg: key 705FC34F: public key importedgpg: Total number processed:
1gpg: imported: 1 (RSA: 1)" 80 80
Program received signal SIGSEGV, Segmentation fault.
draw_box (win=0x7777206d, y=2036689783, x=1735405171, height=1701719664,
width=774774900, box=1735419694, border=1701519418) at util.c:496
496 wattrset (win, 0);
(gdb) backtrace
#0 draw_box (win=0x7777206d, y=2036689783, x=1735405171, height=1701719664,
width=774774900, box=1735419694, border=1701519418) at util.c:496
#1 0x40049764 in signgam () from /lib/libncurses.so.5
#2 0x71657220 in ?? ()
Cannot access memory at address 0x3a677067
# ldd ./dialog
libm.so.6 => /lib/libm.so.6 (0x40025000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40047000)
libc.so.6 => /lib/libc.so.6 (0x40088000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0x401c1000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
glibc-2.2.5-3mdk
libncurses5-5.2-23mdk
libgpm1-1.20.0-1mdk
Have a nice day,
Fabrice.
--
Fabrice MARIE
Senior R&D Engineer
Celestix Networks
http://www.celestix.com/
"Silly hacker, root is for administrators"
-Unknown