Hope this helps ;-) <root>: gdb 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 /var/ntop -u ntop Starting program: /usr/local/bin/ntop -P /var/ntop -u ntop
[New LWP 1] [New LWP 2] [New LWP 3] [New LWP 4] 16/Sep/2003 08:22:11 ntop v.2.2.94 MT (SSL) [sparc-sun-solaris2.8] (09/15/03 02:36:46 PM build) 16/Sep/2003 08:22:11 Copyright 1998-2003 by Luca Deri <[EMAIL PROTECTED]> 16/Sep/2003 08:22:11 Get the freshest ntop from http://www.ntop.org/ 16/Sep/2003 08:22:11 Initializing ntop 16/Sep/2003 08:22:12 Added: hme0 16/Sep/2003 08:22:12 Resetting traffic statistics for device hme0 16/Sep/2003 08:22:12 Initializing gdbm databases 16/Sep/2003 08:22:12 Now running as requested user 'ntop' (7765:453) 16/Sep/2003 08:22:12 VENDOR: Loading MAC address table. 16/Sep/2003 08:22:12 VENDOR: Checking './specialMAC.txt.gz' 16/Sep/2003 08:22:12 VENDOR: Checking '/usr/local/etc/ntop/specialMAC.txt.gz' 16/Sep/2003 08:22:12 VENDOR: File '/usr/local/etc/ntop/specialMAC.txt.gz' does not need to be reloaded 16/Sep/2003 08:22:12 VENDOR: Checking './oui.txt.gz' 16/Sep/2003 08:22:12 VENDOR: Checking '/usr/local/etc/ntop/oui.txt.gz' 16/Sep/2003 08:22:12 VENDOR: File '/usr/local/etc/ntop/oui.txt.gz' does not need to be reloaded 16/Sep/2003 08:22:12 **WARNING** AS: Unable to open file 'AS-list.txt.gz'. 16/Sep/2003 08:22:12 I18N: This instance of ntop does not support multiple languages 16/Sep/2003 08:22:12 IP2CC: Looking for IP address <-> Country code mapping file 16/Sep/2003 08:22:12 IP2CC: reading file '/usr/local/etc/ntop/p2c.opt.table.gz' 16/Sep/2003 08:22:16 IP2CC: 49056 records read 16/Sep/2003 08:22:16 Initializing external applications 16/Sep/2003 08:22:16 Initializing semaphores, mutexes and threads 16/Sep/2003 08:22:16 NOTE: atfork() handler registered for mutexes, rc 0 16/Sep/2003 08:22:16 THREADMGMT: Started thread (4) for network packet analyser 16/Sep/2003 08:22:16 THREADMGMT: Packet processor thread running... 16/Sep/2003 08:22:16 THREADMGMT: Idle host scan thread running... [New LWP 5] 16/Sep/2003 08:22:16 THREADMGMT: Started thread (5) for idle hosts detection 16/Sep/2003 08:22:16 THREADMGMT: Started thread (7) for DNS address resolution 16/Sep/2003 08:22:16 Calling plugin start functions (if any) 16/Sep/2003 08:22:16 Sniffying... 16/Sep/2003 08:22:16 INIT: Created pid file (/var/ntop/ntop.pid) 16/Sep/2003 08:22:16 Listening on [hme0,hme0] 16/Sep/2003 08:22:16 Now running as requested user 'ntop' (7765:453) 16/Sep/2003 08:22:16 Loading Plugins 16/Sep/2003 08:22:16 Searching for plugins in /usr/local/lib/ntop/plugins 16/Sep/2003 08:22:16 ICMP: Welcome to icmpWatchPlugin. (C) 1999 by Luca Deri 16/Sep/2003 08:22:17 LASTSEEN: Welcome to LastSeenWatchPlugin. (C) 1999 by Andrea Marangoni Program received signal SIGSEGV, Segmentation fault. 0x191c4 in pcap_snapshot () (gdb) bt full #0 0x191c4 in pcap_snapshot () No symbol table info available. #1 0x1a21c in pcap_compile () No symbol table info available. #2 0xff11c50c in loadPlugin ( dirName=0xfe902b18 "\376\217%\270\376\217% \320\376\217&x\376\217&\200\376\217&\270", pluginName=0x0) at plugin.c:242 pluginPath = "/usr/local/lib/ntop/plugins/lastSeenPlugin.so", ' \000' <repeats 35 times>, "\376\343\234H\376\343\324\244\000\ 000\000K\000\000\000\004", '\000' <repeats 17 times>, ", \340\240\000\000\000\000\376\343\234H\000\004\263\366\376\343`\000\000\000\0 00K\377\276\3650\376\334\242p", '\000' <repeats 24 times>, "16/Sep/2\377\024T\340\000\000\000\000\000\030\363<\000\000\b\000\377\276 \365([EMAIL PROTECTED], \340\240\377\022\376\020\000\030\363e\377\276\361 ([EMAIL PROTECTED] \276\365\220\377\021\307\234\000\000\000\002\000\000"... tmpBuf = "ip", '\000' <repeats 1021 times> i = 1 pluginPtr = (void *) 0xfe8e0314 pluginEntryFctnPtr = (void *) 0x0 pluginInfo = (PluginInfo *) 0xfe902b18 key = "pluginStatus.icmpWatchPlugin", '\000' <repeats 35 times> value = "0", '\000' <repeats 14 times> rc = 0 newFlow = (FlowFilterList *) 0xc0f18 #3 0xff11c808 in loadPlugins () at plugin.c:325 dirPath = "/usr/local/lib/ntop/plugins", '\000' <repeats 57 times>, "\377;\0050\000\001\"\241\000\000\000\000\377>\e\210\377 >\e\210\000\000\000\221", '\000' <repeats 60 times>, "16/Sep/2003 08:22:16", '\000' <repeats 31 times>, "\020\000\000\000\026\000\00 0\000\b\000\000\000\020\000\000\000\b\000\000\000g\000\000\000\002\000\000\001\002\000\000\000\000\000\000\000\025" dp = (struct dirent *) 0x2ce108 idx = 2941192 directoryPointer = (DIR *) 0x2ce0a0 #4 0x15164 in main (argc=1024, argv=0x1c4) at main.c:1151 i = 2 rc = -1 userSpecified = 1 effective_argc = 155400 effective_argv = (char **) 0x4d600 ifStr = "hme0,hme0", '\000' <repeats 186 times> lastTime = 1063664531 cmdLineBuffer = 0x0 readBuffer = 0x0 readBufferWork = 0x88430 "" fd = (FILE *) 0xffbef780 fileStat = {st_dev = 4282260360, st_pad1 = {0, 0, -12713984}, st_ino = 78872, st_mode = 2147483648, st_nlink = 4282255224, st_uid = -12712080, st_gid = 96292, st_rdev = 0, st_pad2 = {-4261840, 269496}, st_size = 0, st_pad3 = 0, st_atim = {tv_sec = 65536, tv_nsec = 8192}, st_mtim = {tv_sec = 0, tv_nsec = -4261340}, st_ctim = { tv_sec = 0, tv_nsec = 8192}, st_blksize = -19287640, st_blocks = -12706936, st_fstype = "\000\004\034\344\000\0012\300\000\000\000\000\000\003\265@", st_pad4 = { 78500, 5, 272588, 273324, 32, -18628704, 8, 269588}} Regards Brett From: Chris Turbeville <[EMAIL PROTECTED]> on 15/09/2003 07:49 AM EST To: [EMAIL PROTECTED] (Brett Meehan) cc: Subject: Re: Ntop Solaris 8 We're going to need a backtrace I am afraid. Get the gdb package and run ntop like this: gdb ntop run <ntop parms> then when you get the segv you should have a gdb prompt. Just type: bt full and send the output to us. -Chris *******************Confidentiality and Privilege Notice******************* This email is intended only to be read or used by the addressee. It is confidential and may contain legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. Qantas Airways Limited ABN 16 009 661 901 Visit Qantas online at http://www.qantas.com.au _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
