hmm is pbuf.c part of ntop or part of libpcap? i'm no expert on ntop's inner workings but it looks to me like this could be a faulty libpcap... perhaps try rebuilding libpcap from source on that box, and make sure that the ntop build uses that instead of.. whatever it is that it has now?
--- Mike Tremaine <[EMAIL PROTECTED]> wrote: > Gave Ntop 2.2.2 a test drive on Solaris 8, after some ./configure fun > (see > ntop-dev list) I got it compiled but was not able to start it. > > Here is the gdb session. > > [EMAIL PROTECTED] ~/ntop_cvs/ntop [35] gdb /tools/ntop/bin/ntop > GNU gdb 5.0 > Copyright 2000 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 "sparc-sun-solaris2.8"... > (gdb) run -P /tools/ntop/var -u ntop -i hme1 -L -w 2999 > Starting program: /tools/ntop/bin/ntop -P /tools/ntop/var -u ntop -i > hme1 -L -w 2999 > [New LWP 1] > [New LWP 2] > [New LWP 3] > Wait please: ntop is coming up... > [New LWP 4] > [New LWP 5] > [New LWP 6] > [New LWP 7] > [New LWP 8] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to LWP 4] > processIpPkt (bp=0x7ef7dcd6 "E", h=0x7ef7fcf0, length=1514, > ether_src=0x4000 > <Address 0x4000 out of bounds>, > ether_dst=0x7ef7dcfe "\002d�\030", actualDeviceId=0, vlanId=1480) > at > pbuf.c:902 > 902 u_char *tcp_data = (u_char *)((int)tcp + tcp->th_off > * 4); > (gdb) backtrace > #0 processIpPkt (bp=0x7ef7dcd6 "E", h=0x7ef7fcf0, length=1514, > ether_src=0x4000 <Address 0x4000 out of bounds>, > ether_dst=0x7ef7dcfe "\002d�\030", actualDeviceId=0, vlanId=1480) > at > pbuf.c:902 > #1 0x7f81be44 in processPacket (_deviceId=0x0, h=0x7ef7fcf0, > p=0x7ef7dcc8 > "") at pbuf.c:2514 > #2 0x7f81a0a8 in dequeuePacket (notUsed=0x7f846580) at pbuf.c:1645 > > > If more information is needed I could attach the info form ntop 2.2 > problem > report? > > > > Mike Tremaine > [EMAIL PROTECTED] > http://www.stellarcore.net > > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop ===== ------------------- Scott M. Stone <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Taos - The SysAdmin Company (http://www.taos.com) Cisco Certified Network Associate Sun Solaris Certified Systems Administrator _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
