cvs-head dec 19th, on linux 2.4/debian woody
(gdb) run -u ntop -w 192.168.2.1:3000 -p /etc/ntop/protocol.list -P /var/lib/ntop -a /var/lib/ntop/access.log -i eth1,sit1,tun3,tun4,tun7,tun9 -t 4 -O /var/log/ntop/ -M -m 192.168.2.0/24
Starting program: /export/opt/bin/ntop -u ntop -w 192.168.2.1:3000 -p /etc/ntop/protocol.list -P /var/lib/ntop -a /var/lib/ntop/access.log -i eth1,sit1,tun3,tun4,tun7,tun9 -t 4 -O /var/log/ntop/ -M -m 192.168.2.0/24
[New Thread 16384 (LWP 1597)]
19/Dec/2003 21:43:41 **WARNING** Trailing slash removed from argument '/var/log/ntop/'
19/Dec/2003 21:43:41 ntop v.2.2.97 MT (SSL) [i586-pc-linux-gnu (debian Linux 3.0)] (12/19/03 09:25:54 PM build)
19/Dec/2003 21:43:41 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]>
19/Dec/2003 21:43:41 Get the freshest ntop from http://www.ntop.org/
19/Dec/2003 21:43:41 Initializing ntop
19/Dec/2003 21:43:41 Initializing IP services
19/Dec/2003 21:43:41 PROTO_INIT: Processing protocol file: '/etc/ntop/protocol.list', size: 424
19/Dec/2003 21:43:41 Initializing network devices
19/Dec/2003 21:43:41 Checking requested device 'eth1'
19/Dec/2003 21:43:41 Adding network device eth1
19/Dec/2003 21:43:41 Interface 'eth1' (netmask 255.255.255.0) computed network size is 606 hosts
19/Dec/2003 21:43:41 MEMORY: ipTrafficMatrix base (no TrafficEntry) for interface 'eth1' is 1.45MB
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1597)]
0x4b60ced3 in getLocalHostAddressv6 (addrs=0x805b200, device=0x8059a78 "eth1") at util.c:446
446 tmp->next = NULL;
(gdb) bt full
#0 0x4b60ced3 in getLocalHostAddressv6 (addrs=0x805b200, device=0x8059a78 "eth1") at util.c:446
ih = (struct iface_handler *) 0x8059d10
ii = (struct iface_if *) 0x0
ia = (struct iface_addr *) 0x0
tmp = (NtopIfaceAddr *) 0x0
count = 1
addr_pos = 0
#1 0x4b5efb9e in addDevice (deviceName=0x8059ab8 "eth1", deviceDescr=0x8059ab8 "eth1") at initialize.c:1299
i = 4
deviceId = 0
mallocLen = 282356
memlen = 2424
tmpDevice = (NtopInterface *) 0x4bd74008
oldDevice = (NtopInterface *) 0x0
workDevices = 0x0
myName = "\0\200]K21:4�4UK\0\200]K8�]K ���U�TK\234\201]K\001\0\0\0\001\0\0\0~�TK+\0\0\0\025\0\0\0\023\0\0\0\v\0\0\0�/bK��]K��]K8+bK�\0\0"
column = 0x0
ebuf = '\0' <repeats 332 times>, "V\216TK", '\0' <repeats 20 times>, "R�]K��]KP\234]K\0\200]K\031\0\0\0誽K�4UK\234\201]K\216�]K��k\200TK\216�]K5��\b��]K��(8UK\002\0\0\0\001\0\0\0\0\0\0\0\001", '\0' <repeats 51 times>, "5��\b\020���\0\200]K", '\0' <repeats 12 times>, "19/D"
#2 0x4b5f0949 in initDevices (devices=0x8056030 "eth1,sit1,tun3,tun4,tun7,tun9") at initialize.c:1562
nwInterface = 0x0
workDevices = 0x8059ab8 "eth1"
strtokState = 0x8059abd "sit1,tun3,tun4,tun7,tun9"
warnedVirtual = 0
tmpDev = 0x8059ab8 "eth1"
tmpDescr = 0x0
found = 0
intfc = 0
ebuf = "\0���/�{K�\214\223K\0\0\0\0h\0\0\0��{K\0\200\223K\200\233\005\b�����B\211K�\214\223K\200\233\005\b\234\201]KYB\211K\001\0\0\0~�TK\0\0\0\08+bK�\0\0\0��������� _K\200\233\005\b8+bK�\0\0\0d _K8+bK�TKz�aK\0\0\0\0X _K\0\200]K\230���\221J_K\220���z�aK\0\002\0\0�F_K8+bK\0\0\0\0\0\0\0c\0\0\0n\003\0\0\0500|", '\0' <repeats 35 times>, "h\0\0\0i ���m\217TK\a"...
#3 0x4b5e66c3 in initNtop (devices=0x8056030 "eth1,sit1,tun3,tun4,tun7,tun9") at globals-core.c:510
No locals.
#4 0x0804c5c6 in main (argc=20, argv=0xb8b9f924) at main.c:1151
i = 20
rc = 0
---Type <return> to continue, or q <return> to quit---
userSpecified = 1
effective_argc = 20
effective_argv = (char **) 0x8056e88
ifStr = '\0' <repeats 195 times>
lastTime = 1071866621
cmdLineBuffer = 0x0
readBuffer = 0x0
readBufferWork = 0x0
fd = (FILE *) 0x78e530f
fileStat = {st_dev = 577746112724895005, __pad1 = 21263, st_ino = 134514084, st_mode = 3099195376,
st_nlink = 1263876136, st_uid = 6, st_gid = 1270721392, st_rdev = 4294967296, __pad2 = 48082, st_size = 1266903840,
st_blksize = 1266869024, st_blocks = 1264421224, st_atime = 25, __unused1 = 1270721256, st_mtime = 1263875244,
__unused2 = 1263876212, st_ctime = 134516960, __unused3 = 3099195552, __unused4 = 1263830301, __unused5 = 0}
Regards
Julien _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
