Title: Message
So the data segment (li values) are still being corrupted.  What we need to do is put a breakpoint on that data.  Unfortunately if you move it out of the function so that it's static and could be breakpointed, it wouldn't be the same code...  I'm not sure what to do.
 
-----Burton


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Scheidell
Sent: Monday, June 12, 2006 7:44 AM
To: [email protected]
Subject: RE: [Ntop] FBSD crash: how can I help?

without any freebsd patches:
 
again, need the rrd patch if rrdtool and headers already installed, else it won't even compile.
without rrdtool and patches, it seems to compile and run (crash) the same.
 
I will put in a ports_pr when all this is done.
even if all patches are not nessary anymore.
 
ps, does similar thing in 4.11.  didn't gdb it, time to go to work.
 
 Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8 (LWP 100125)]
0x2968539b in ?? () from /usr/local/lib/libmyrrd-3.2.so
 
 #0  0x2968539b in ?? () from /usr/local/lib/libmyrrd-3.2.so
No symbol table info available.
#1  0x00000059 in ?? ()
No symbol table info available.
#2  0x00000171 in ?? ()
No symbol table info available.
#3  0xbfa9da88 in ?? ()
No symbol table info available.
#4  0x29648c87 in gator (gif=0xa28c000, x=482, y=89) at rrd_graph.c:1566
        li = {0 <repeats 21 times>, 4, -1079389800, 700559972, -1079389376,
  -1079389824, 4, 0, 0, 0, 0, 0, 700428497, 492, 0, 0, 1969, 13626,
  -1079390392, 2005, 700428497, 492, 642, 0, 1969, 13626, 2006, 2005, 13140,
  -18000, 642, 0, 0, 0, 2006, 11, -1079387824, -18000, -1079390296, 700622252,
  700680096, 700678208, -1079390280, 700427472, -1079390296, -18000,
  700678208, -1079387824, -1079390280, -1079387824, 1150117200, 700622252, 4,
  -1079390176, -1079390056, 700431182, -1079390180, 0, -1079387824, -1, 0, 0,
  2006, 0, 0, -1079390128, -1079389988, 0, 700427300, -1079387824, 1150066800,
  1150066800, 0, 0, -1079389956, 0, 700427300, -1079387824, 1150117200,
  1150117200, 0, 0, 8, 12, 5, 106, 1, 162, 0, -18000, 700685200, 161, 0, 0, 8,
  12, 5, 106, 1, 162, 0, -18000, 700685200, 700431271, -1079387824, 700427300,
  0, 700622252, -1079389956, 0, -1079390008, 700431271, -1079387824,
  700427300, 0, -1079389956, 0, 700427300, 700427300, -1079387824, 2,
  -1079387824, -1079387880, 700431416, -1079387824, 700427300, 0, -1079389956,
  0, 0, 0, 0, 0, 0, 700427300, 1, 0 <repeats 28 times>, 700428497, 492, 0, 0,
  1969, 13626, 0, 2005, 13140, 4, 642, 0, 0, 0, 2006, 11, -1079386920, -18000,
  -1079389720, 700622252, 700680096, 700678208, -1079389704, 700427472,
  -1079389720, -18000, 700678208, -1079386920, -1079389704, -1079386920,
  1150115990, 700622252, 1, -1079389600, -1079389480, 700431182, -1079389604,
  0, -1079386920, 11, -1079386920, -18000, -1079389624, 700622252,
  700680096...}
        i = 0
        ii = 700697432
Previous frame identical to this frame (corrupt stack?)
info thread
  11 Thread 2 (LWP 100171)  0x299672af in pthread_testcancel ()
   from /usr/lib/libpthread.so.1
  10 Thread 7 (sleeping)  0x2995ee91 in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.1
  9 Thread 6 (sleeping)  0x2995ee91 in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.1
  8 Thread 5 (sleeping)  0x2995ee91 in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.1
  7 Thread 4 (runnable)  0x29baa3ab in kevent () from /lib/libc.so.5
  6 Thread 3 (runnable)  0x29c1c883 in memset () from /lib/libc.so.5
  5 Thread 10 (runnable)  0x29bab46b in gettimeofday () from /lib/libc.so.5
  4 Thread 9 (LWP 100102)  0x29bab46b in gettimeofday () from /lib/libc.so.5
* 3 Thread 8 (LWP 100281)  0x2968539b in ?? ()
   from /usr/local/lib/libmyrrd-3.2.so
  2 Thread 1 (sleeping)  0x2995ee91 in pthread_mutexattr_init ()
   from /usr/lib/libpthread.so.1
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to