Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2012 03:40:57 GMT
From:      Changming Sun <cmsun@tudou.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164700: nettop suddenly core dump
Message-ID:  <201202020340.q123evBs027566@red.freebsd.org>
Resent-Message-ID: <201202020350.q123o9KL058072@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164700
>Category:       ports
>Synopsis:       nettop suddenly core dump
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 02 03:50:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Changming Sun
>Release:        9.0 release
>Organization:
Tudou.com
>Environment:
FreeBSD test27.localdomain 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Once a time, Whe I use nettop look at network activities, It core dumped !
# pkg_info -Ex nettop
nettop-0.2.3_2
[root@test27 /home]# gdb /usr/local/bin/nettop ./nettop.core   
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `nettop'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libncurses.so.8...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.8
Reading symbols from /lib/libpcap.so.8...(no debugging symbols found)...done.
Loaded symbols for /lib/libpcap.so.8
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/libslang.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libslang.so.2
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000000402872 in sl_init ()
[New Thread 801807c00 (LWP 105871/nettop)]
[New Thread 801807400 (LWP 103800/nettop)]
(gdb) info thr
  2 Thread 801807400 (LWP 103800/nettop)  0x0000000801371b2a in read () at read.S:3
* 1 Thread 801807c00 (LWP 105871/nettop)  0x0000000000402872 in sl_init ()
Current language:  auto; currently asm
(gdb) bt
#0  0x0000000000402872 in sl_init ()
#1  0x0000000000402eb6 in sl_init ()
#2  0x00000000004034d1 in sl_init ()
#3  0x00000000004038b6 in sl_init ()
#4  0x0000000800cd6274 in pthread_getprio () from /lib/libthr.so.3
#5  0x0000000000000000 in ?? ()
Cannot access memory at address 0x7fffffbfe000
(gdb) thr 2
[Switching to thread 2 (Thread 801807400 (LWP 103800/nettop))]#0  0x0000000801371b2a in read () at read.S:3
3       RSYSCALL(read)
(gdb) bt
#0  0x0000000801371b2a in read () at read.S:3
#1  0x0000000800cd8810 in read () from /lib/libthr.so.3
#2  0x0000000800ab70a8 in pcap_create () from /lib/libpcap.so.8
#3  0x0000000800ab47db in pcap_next () from /lib/libpcap.so.8
#4  0x00000000004039a7 in sl_init ()
#5  0x0000000000403f3f in sl_init ()
#6  0x000000000040187e in ?? ()
#7  0x000000080063f000 in ?? ()
#8  0x0000000000000000 in ?? ()
#9  0x0000000000000001 in ?? ()
#10 0x00007fffffffdd98 in ?? ()
#11 0x0000000000000000 in ?? ()
#12 0x00007fffffffdd9f in ?? ()
#13 0x00007fffffffddb9 in ?? ()
#14 0x00007fffffffddc4 in ?? ()
#15 0x00007fffffffdde1 in ?? ()
#16 0x00007fffffffddf4 in ?? ()
#17 0x00007fffffffde07 in ?? ()
#18 0x00007fffffffde11 in ?? ()
#19 0x00007fffffffde3f in ?? ()
#20 0x00007fffffffde4a in ?? ()
#21 0x00007fffffffde5f in ?? ()
#22 0x00007fffffffdeb6 in ?? ()
#23 0x00007fffffffdeca in ?? ()
#24 0x00007fffffffded6 in ?? ()
#25 0x00007fffffffdee0 in ?? ()
#26 0x00007fffffffdef1 in ?? ()
#27 0x00007fffffffdef9 in ?? ()
#28 0x00007fffffffdf04 in ?? ()
#29 0x00007fffffffdf11 in ?? ()
#30 0x00007fffffffdf3c in ?? ()
#31 0x00007fffffffdf54 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000003 in ?? ()
>How-To-Repeat:
I don't know.
>Fix:
I don't know.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202020340.q123evBs027566>