Have a debian box that had some issues running the debian package
(ntop would die silently), so I built from source. 3.3rc2 looks pretty
nice, and ran fine for 5 days+.  Here is what I could muster up. Hope
this helps, and let me know if there are any other gdb commands I
should issue if it were to happen again.

uname -a
Linux  2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux


Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1297196112 (LWP 14284)]
0xb7f98410 in ?? ()
(gdb) bt full
#0  0xb7f98410 in ?? ()
No symbol table info available.
#1  0xb2ae3d98 in ?? ()
No symbol table info available.
#2  0xb79ff174 in ?? () from /usr/local/lib/libntopreport-3.3rc2
No symbol table info available.
#3  0xb2ae3d40 in ?? ()
No symbol table info available.
#4  0xb72832c8 in send () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5  0xb7936794 in _sendStringLen (theString=0xb08e8690 "", len=1406,
   allowSSI=1) at http.c:1032
       bytesSent = 0
       rc = <value optimized out>
       retries = 0
       ssiStart = 0x0
       ssiEnd = <value optimized out>
       temp = <value optimized out>
       econnresetcount = 0
#6  0xb793a83d in handleHTTPrequest (from=
             {hostFamily = 10, addr = {_hostIp4Address = {s_addr =
0}, _hostIp6Address = {in6_u = {u6_addr8 =
"[EMAIL PROTECTED]", u6_addr16 =
{0, 0, 0, 0, 9, 0, 50496, 14}, u6_addr32 = {0, 0, 9, 968000}}}}}) at
http.c:2298
       theDate = "Fri, 05 Jul 2002 10:37:04
GMT\000\000\000\000\000\000ÀQ(r)²\210bù·\211\001\221·"
       buffer = 0xb08e8690 ""
       len = 11
       mimeType = <value optimized out>
       theTime = 1025879824
       rc = 0
       i = 3
       postLen = 0
       usedFork = <value optimized out>
       requestedURL = "/favicon.ico", '\0' <repeats 499 times>
       pw = '\0' <repeats 63 times>
       agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11", '\0' <repeats 163
times>
       referer = '\0' <repeats 255 times>
       workLanguage = '\0' <repeats 255 times>
       requestedURLCopy = 0xb06cd218 "\200\224|°\220en°.ico"
       httpRequestedAt = {tv_sec = 1178646050, tv_usec = 228803}
       gzipBytesSent = 0
       tmpStr = '\0' <repeats 511 times>
       isPostMethod = 0
#7  0xb7974a8d in handleWebConnections (notUsed=0x0) at webInterface.c:8930
       wait_time = {tv_sec = 9, tv_usec = 968000}
       rc = <value optimized out>
       mask = {__fds_bits = {32768, 0 <repeats 31 times>}}
       mask_copy = {__fds_bits = {32768, 0 <repeats 31 times>}}
       topSock = 15
#8  0xb7163240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#9  0xb72823de in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.



(gdb) list
305     #endif
306
307     /* That's the meat */
308     #ifdef WIN32
309     int ntop_main(int argc, char *argv[]) {
310     #else
311     int main(int argc, char *argv[]) {
312     #endif
313       int i, rc, userSpecified;
314       char ifStr[196] = {0};


(gdb) info threads
 11 Thread -1322841168 (LWP 14287)  0xb7f98410 in ?? ()
 10 Thread -1314329680 (LWP 14286)  0xb7f98410 in ?? ()
 9 Thread -1305936976 (LWP 14285)  0xb7f98410 in ?? ()
* 8 Thread -1297196112 (LWP 14284)  0xb7f98410 in ?? ()
 7 Thread -1288799312 (LWP 14283)  0xb7f98410 in ?? ()
 6 Thread -1280406608 (LWP 14282)  0xb7f98410 in ?? ()
 5 Thread -1272013904 (LWP 14281)  0xb7f98410 in ?? ()
 4 Thread -1263621200 (LWP 14280)  0xb7f98410 in ?? ()
 3 Thread -1255228496 (LWP 14279)  0xb7f98410 in ?? ()
 2 Thread -1246835792 (LWP 14278)  0xb7f98410 in ?? ()
 1 Thread -1224407360 (LWP 14275)  0xb7f98410 in ?? ()


(gdb) info stack

#0  0xb7f98410 in ?? ()
#1  0xb2ae3d98 in ?? ()
#2  0xb79ff174 in ?? () from /usr/local/lib/libntopreport-3.3rc2
#3  0xb2ae3d40 in ?? ()
#4  0xb72832c8 in send () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7936794 in _sendStringLen (theString=0xb08e8690 "", len=1406,
   allowSSI=1) at http.c:1032
#6  0xb793a83d in handleHTTPrequest (from=
             {hostFamily = 10, addr = {_hostIp4Address = {s_addr =
0}, _hostIp6Address = {in6_u = {u6_addr8 =
"[EMAIL PROTECTED]", u6_addr16 =
{0, 0, 0, 0, 9, 0, 50496, 14}, u6_addr32 = {0, 0, 9, 968000}}}}}) at
http.c:2298
#7  0xb7974a8d in handleWebConnections (notUsed=0x0) at webInterface.c:8930
#8  0xb7163240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb72823de in clone () from /lib/tls/i686/cmov/libc.so.6
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to