segfault in ratop
Carter Bullard
carter at qosient.com
Mon Aug 1 11:24:41 EDT 2011
Brian,
If you don't mind trying argus-clients-3.0.5.18 to see if it doesn't solve your problem.
http://qosient.com/argus/dev/argus-clients-latest.tar.gz
This will be released as argus-clients-3.0.6 in a month or so.
If not a good solution for you, send more email.
Carter
On Aug 1, 2011, at 11:21 AM, Brian Candler wrote:
> I've just compiled argus 3.0.4 and argus-clients 3.0.4.1 under ubuntu 11.04
> x86_64.
>
> When I run ratop, it gives an immediate segfault. Here's the backtrace when
> running under gdb:
>
> Program received signal SIGSEGV, Segmentation fault.
> fileno (fp=0x0) at fileno.c:37
> 37 fileno.c: No such file or directory.
> in fileno.c
> (gdb) bt
> #0 fileno (fp=0x0) at fileno.c:37
> #1 0x00007ffff72c3b23 in rl_resize_terminal () from /lib/libreadline.so.6
> #2 0x00000000004092b6 in RaInitCurses ()
> #3 0x000000000040a4d8 in ArgusClientInit ()
> #4 0x0000000000415a8a in main ()
> (gdb)
>
> This suggests a problem with curses, and indeed ratop -M nocurses doesn't
> crash (although I don't see it outputting anything useful either)
>
> The following curses-related packages are installed on my system:
>
> $ dpkg-query -l | grep -i curses
> ii lib32ncurses5 5.7+20101128-1 shared libraries for terminal handling (32-bit)
> ii lib32ncursesw5 5.7+20101128-1 shared libraries for terminal handling (wide character support) (32-bit)
> ii libcdk5 5.0.20060507-3 C-based curses widget library
> ii libncurses5 5.7+20101128-1 shared libraries for terminal handling
> ii libncurses5-dev 5.7+20101128-1 developer's libraries for ncurses
> ii libncursesw5 5.7+20101128-1 shared libraries for terminal handling (wide character support)
> ii mtr-tiny 0.80-1 Full screen ncurses traceroute tool
> ii ncurses-base 5.7+20101128-1 basic terminal type definitions
> ii ncurses-bin 5.7+20101128-1 terminal-related programs and man pages
>
> And ratop linkage:
>
> $ ldd /usr/local/bin/ratop
> linux-vdso.so.1 => (0x00007fff3cfff000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f65fa88b000)
> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f65fa673000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f65fa454000)
> libncurses.so.5 => /lib/libncurses.so.5 (0x00007f65fa210000)
> libreadline.so.6 => /lib/libreadline.so.6 (0x00007f65f9fce000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f65f9c39000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f65fab36000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f65f9a35000)
>
> Any suggestions for how I can pin down the problem?
>
> Thanks,
>
> Brian Candler.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20110801/86422e5e/attachment.bin>
More information about the argus
mailing list