That was output to stdout, so I missed it when grepping from logs.
It was just a line saying:

Floating point exception

:-(

Tomorrow I'll post GDB output.

Regards,

Marco

----- Original Message ----- 
From: "Burton M. Strauss III" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 17, 2003 5:36 PM
Subject: RE: [Ntop] Bug Report: Crash with 'Floating Point Exception' PR_6F6Q79X


> Ok, but where's the data from the 'Floating Point Exception'???
> 
> Run it under gdb and capture the bt full output at the point of failure.
> Post that...
> 
> 
> 
> Thanks!
> 
> -----Burton
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Marco
> Lusini
> Sent: Monday, February 17, 2003 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] Bug Report: Crash with 'Floating Point Exception'
> 
> 
> ----------------------------------------------------------------------------
> ---
>   n t o p   v e r s i o n  '2.1.57 SourceForge rpm'  b u g   r e p o r t
> 
> From:  Marco Lusini
> 
> EMail: [EMAIL PROTECTED]
> 
> Date:  2003-02-17 15:49:41 GMT
> 
> ----------------------------------------------------------------------------
> ---
> Summary
> Ntop quits running after few minutes, with a Floating point exception.
> 
> 
> 
> 
> OS: RedHat Linux  version: 7.3 with automake/conf from 8.0
> 
> ntop from: rebuilt from SourceForge RPM (rpm, source, ports, etc.)
> 
> Hardware:  CPU:           i86 (i86, SPARC, etc.)
>            # Processors:  2
>            Memory:        1 GB
> Network:
>      Network Interface  0  eth1
>      Ethernet:        3215
>      Broadcast:         93
>      Multicast:         22
>      IP:              3187
>           Mfg: ____________________  Model: ____________________
>           NIC Speed: 10/100/1000/Other  Bus: PCI ISA USB Firewire Other
>           Location:  Public Internet / LAN / WAN
>           Bandwidth: Dialup  DSL/CableModem  fT1  T1  10Mbps T3 100Mbps+
>           # Hosts (machines): __________
> 
>      Network Interface  1  NetFlow-device
>      Ethernet:       80108
>      Broadcast:          6
>      Multicast:          2
>      IP:             80108
>           Mfg: ____________________  Model: ____________________
>           NIC Speed: 10/100/1000/Other  Bus: PCI ISA USB Firewire Other
>           Location:  Public Internet / LAN / WAN
>           Bandwidth: Dialup  DSL/CableModem  fT1  T1  10Mbps T3 100Mbps+
>           # Hosts (machines): __________
> 
> ----------------------------------------------------------------------------
> ---
> Log extract
> 
> Feb 17 16:05:03 pcm-mon ntop[20834]: Extending hash size
> [1024->2048][deviceId=1]
> Feb 17 16:05:03 pcm-mon ntop[20836]: Extending hash size
> [32->512][deviceId=0]
> Feb 17 16:05:10 pcm-mon ntop[20836]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20834, pbuf.c:572]
> Feb 17 16:05:13 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> Feb 17 16:05:24 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> Feb 17 16:05:33 pcm-mon ntop[20836]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20834, pbuf.c:572]
> Feb 17 16:05:45 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> Feb 17 16:06:27 pcm-mon ntop[20836]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20834, pbuf.c:572]
> Feb 17 16:06:31 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> Feb 17 16:06:59 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> Feb 17 16:07:18 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> Feb 17 16:07:42 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> Feb 17 16:07:44 pcm-mon ntop[20836]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20834, pbuf.c:572]
> Feb 17 16:07:52 pcm-mon ntop[20836]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20834, pbuf.c:572]
> Feb 17 16:07:53 pcm-mon ntop[20834]: WARNING: releaseMutex() call with an
> UN-LOCKED mutex
> [pbuf.c:572] last unlock [pid 20836, pbuf.c:572]
> 
> 
> ----------------------------------------------------------------------------
> ---
> Problem Description
> 
> Ntop quits running after few minutes, with a Floating point exception.
> I noticed the same behaviour with 2.1.55-1, but didn't investigate too
> much.Today I
> upgraded to 2.1.57-0 and, having seen that ntop still crashes, used command
> line to launch
> ntop, so I was able to see the exception.
> 
> 
> I use a standard RedHat Linux 7.3, with automake/autoconf from 8.0.I rebuild
> almost every
> package on my servers from source RPM.RRDTool is rrdtool-1.0.40-1.7.3 from
> www.rrdtool.org.
> ----------------------------------------------------------------------------
> ---
> 
> ntop version.....2.1.57 SourceForge rpm
> Built on.....02/17/03 02:16:01 PM
> OS.....i686-pc-linux-gnu
> Process Id.....27953
> 
> 
> Command line
> 
> Started as....ntop @/etc/ntop.conf
> 
> Resolved to....ntop
>             -u
>             ntop
>             -P
>             /var/lib/ntop
>             -w
>             3000
>             -m
>             10.16.0.0./255.255.0.0,194.242.231.0/255.255.255.0
>             -s
>             -F
>             Rete147='net 10.16.147.0/24',Rete150='net
> 10.16.150.0/24',Rete4='net
> 10.16.4.0/24'
>             -p
>             /etc/ntop.protocols
> 
> 
> Command line parameters are:
> 
> -a | --access-log-path.....(default)   (nil)
> -b | --disable-decoders.....(default)   No
> -c | --sticky-hosts.....(default)   No
> -d | --daemon.....No
> -e | --max-table-rows.....(default)   128
> -f | --traffic-dump-file.....(default)   (nil)
> -g | --track-local-hosts.....(default)   Track all hosts
> -o | --no-mac.....(default)   Trust MAC Addresses
> -i | --interface   (effective).....eth1
> -k | --filter-expression-in-extra-frame.....(default)   No
> -l | --pcap-log.....(default)   (nil)
> -m | --local-subnets   (effective).....10.16.0.0/16, 194.242.231.0/24
> -n | --numeric-ip-addresses.....(default)   No
> -p | --protocols...../etc/ntop.protocols
> -q | --create-suspicious-packets.....(default)   Disabled
> -r | --refresh-time.....(default)   120
> -s | --no-promiscuous.....Yes
> -t | --trace-level.....(default)   3
> -u | --user.....ntop (uid=100, gid=11)
> -w | --http-server.....(default)   Active, all interfaces, port 3000
> -z | --disable-sessions.....(default)   No
> -B | --filter-expression.....(default)   none
> -D | --domain.....pcm.it
> -E | --enable-external-tools.....(default)   No
> -F | --flow-spec.....Rete147
> -K | --enable-debug.....(default)   No
> -L | --use-syslog.....daemon
> -M | --no-interface-merge   (effective).....(parameter -M set, Interfaces
> separate) No
> -O | --pcap-file-path.....(default)   /var/ntop
> -P | --db-file-path...../var/lib/ntop
> -U | --mapper.....(default)   (nil)
> -W | --https-server.....Uninitialized
> --throughput-chart-type.....(default)   Area
> --ignore-sigpipe.....(default)   No
> --ssl-watchdog.....(default)   No
> --dynamic-purge-limits.....(default)   No
> --reuse-rrd-graphics.....(default)   No
> --p3p-cp.....(default)   none
> --p3p-uri.....(default)   none
> --xmlfileout.....(default)   (none)
> --xmlfilesnap.....(default)   (none)
> --xmlfilein.....(default)   (none)
> --disable-stopcap.....(default)   No
> 
> 
> Note:    (effective)   means that this is the value after ntop has processed
> the
> parameter.
> (default)   means this is the default value, usually (but not always) set by
> a #define in
> globals-defines.h.
> 
> 
> 
> Run time/Internal
> 
> External tool: lsof.....(no -E parameter): Disabled
> Web server URL.....http://any:3000
> SSL Web server (https://).....Not Active
> XML dump (dump.xml).....Supported
> GDBM version.....This is GDBM version 1.8.0, as of May 19, 1999.
> OpenSSL Version.....OpenSSL 0.9.6b [engine] 9 Jul 2001
> zlib version.....1.1.3
> Protocol Decoders.....Enabled
> Fragment Handling.....Enabled
> Tracking only local hosts.....No
> # IP Protocols Being Monitored.....20
> # Protocol slots.....950
> # IP Ports Being Monitored.....951
> # Ports slots.....1902
> # Handled SIGPIPE Errors.....0
> # Handled HTTP Requests.....10
> Devices (Network Interfaces).....2
> Domain name (short).....it
> 
> 
> Memory allocation - data segment
> 
> arena limit, getrlimit(RLIMIT_DATA, ...).....-1
> Allocated blocks (ordblks).....3
> Allocated (arena).....11858816
> Used (uordblks).....11856120
> Free (fordblks).....2696
> 
> 
> Memory allocation - mmapped
> 
> Allocated blocks (hblks).....5
> Allocated bytes (hblkhd).....5545984
> 
> 
> Memory Usage
> 
> IP to country flag table (entries).....44591
> IP to country flag table (bytes).....1347120 (1.3 MB)
> Bytes per entry.....30.2
> 
> 
> Host Memory Cache
> 
> Limit.....#define MAX_HOSTS_CACHE_LEN 512
> Current Size.....0
> Maximum Size.....0
> # Entries Reused.....0
> 
> 
> MAC/IPX Hash tables
> 
> Special MAC Hash Size.....93
> Special MAC Hash Collisions (load).....2
> IPX/SAP Hash Size.....179
> IPX/SAP Hash Collisions (load).....0
> Vendor MAC Hash Size.....10257
> Vendor MAC Hash Collisions (load).....585
> Total Hash Collisions (Vendor/Special) (lookup).....8
> 
> 
> Packet queue
> 
> Queued to Process.....0
> Maximum queue.....0
> 
> 
> Host/Session counts - global
> 
> Purge idle hosts.....Enabled
> Purged hosts.....0
> Maximum hosts to purge per cycle.....512
> DEFAULT_MAXIMUM_HOSTS_PURGE_PER_CYCLE.....512
> Terminated Sessions.....169
> 
> Host/Session counts - Device 0 (eth1)
> Actual Hash Size.....32
> Stored hosts.....20 [62 %]
> Sessions.....23
> Max Num. Sessions.....26
> 
> Host/Session counts - Device 1 (NetFlow-device)
> Actual Hash Size.....1024
> Stored hosts.....701 [68 %]
> Sessions.....0
> Max Num. Sessions.....0
> 
> 
> Address counts
> 
> Current Queue.....588
> Maximum Queued.....588
> Total Queued.....707
> Resolved with DNS.....95
> Kept Numeric.....24
> Found in Cache.....0
> DNS responses sniffed.....0
> 
> 
> Thread counts
> 
> Active.....7
> Dequeue.....1
> Children (active).....2
> Directory (search) order
> 
> Data Files......<br>/usr/share/ntop<br>
> Config Files......<br>/etc/ntop<br>/etc<br>
> Plugins....../plugins<br>/usr/lib/ntop/plugins<br>
> 
> 
> Compile Time: ./configure
> 
> .../configure
> parameters.....i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/
> usr/bin --sbin
> dir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/inclu
> de --libdir=/u
> sr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/
> com --mandir=/
> usr/share/man --infodir=/usr/share/info --enable-optimize --enable-sslv3 --w
> ith-rrd-root=/
> opt/rrdtool --enable-i18n --enable-xml
> Built on (Host).....i386-redhat-linux-gnu
> Built for (Target).....i386-redhat-linux-gnu
> compiler
> (cflags).....i386-redhat-linux-gcc -g -DLINUX -O2 -g -Wshadow -Wpointer-arit
> h -Wmissing-pr
> ototypes -Wmissing-declarations -Wnested-externs -fPIC -DHAVE_CONFIG_H
> include
> path.....-I/usr/include/pcap -I/usr/include -I/usr/src/redhat/BUILD/ntop-2.1
> ..57/gdchart0.9
> 4c -I/usr/include/libxml2/libxml -I/usr/include/glib-1.2 -I/usr/lib/glib/inc
> lude -I/usr/in
> clude/libgdome
> system
> libraries.....-lgdome -lxml2 -lgdome -lxml2 -lglib -lpthread -lresolv -lnsl 
> -lpng -lgd -lc
>  -lm -lz -lssl -lpcap -lgdbm -lcrypto -ldl -lc -lc -lc -lcrypt -L/usr/lib -l
> pcap -L/usr/li
> b -lgdbm -L/usr/src/redhat/BUILD/ntop-2.1.57/gdchart0.94c -lgdchart -L/usr/i
> nclude/libxml2
> /libxml -L/usr/include/glib-1.2 -L/usr
> install path...../usr
> GNU C (gcc) version.....2.96 20000731 (Red Hat Linux 7.3 2.96-113) (2.96.0)
> 
> 
> Internationalization (i18n)
> 
> i18n enabled.....Yes
> HAVE_LOCALE_H.....present
> HAVE_LANGINFO_H.....present
> Locale directory (version.c)...../usr/lib/locale
> Languages - per request (Accept-Language:).....globals-defines.h: #define
> MAX_LANGUAGES_REQUESTED 4
> Languages supported - maximum.....globals-defines.h: #define
> MAX_LANGUAGES_SUPPORTED 8
> Languages supported - actual .....1
> Default language.....en_US
> 
> 
> Compile Time: Debug settings in globals-defines.h
> 
> DEBUG.....no
> ADDRESS_DEBUG.....no
> DNS_DEBUG.....no
> DNS_SNIFF_DEBUG.....no
> FTP_DEBUG.....no
> GDBM_DEBUG.....no
> HASH_DEBUG.....no
> HOST_FREE_DEBUG.....no
> HTTP_DEBUG.....no
> IDLE_PURGE_DEBUG.....no
> MEMORY_DEBUG.....no
> NETFLOW_DEBUG.....no
> SEMAPHORE_DEBUG.....no
> SESSION_TRACE_DEBUG.....no
> SSLWATCHDOG_DEBUG.....no
> STORAGE_DEBUG.....no
> UNKNOWN_PACKET_DEBUG.....no
> 
> 
> Compile Time: globals-define.h
> 
> PARM_PRINT_ALL_SESSIONS.....no
> PARM_PRINT_RETRANSMISSION_DATA.....no
> PARM_FORK_CHILD_PROCESS.....yes (normal)
> CGI Scripts.....globals-defines.h: #define PARM_USE_CGI
> Alternate row colors.....globals-defines.h: /* #define PARM_USE_COLOR */
> Buggy gethostbyaddr() - use alternate implementation.....globals-defines.h:
> /* #define
> PARM_USE_HOST */
> MAKE_ASYNC_ADDRESS_RESOLUTION.....yes
> MAKE_WITH_SSLWATCHDOG.....yes
> MAKE_WITH_SSLWATCHDOG_RUNTIME (derived).....yes
> Bad IP Address table size.....globals-defines.h: #define
> MAX_NUM_BAD_IP_ADDRESSES 3
> Bad IP Address timeout (seconds).....#define
> PARM_WEDONTWANTTOTALKWITHYOU_INTERVAL 300
> Minimum refresh interval (seconds).....#define
> PARM_MIN_WEBPAGE_AUTOREFRESH_TIME 15
> Maximum # of Protocols to show in graphs.....#define MAX_NUM_PROTOS 64
> Maximum # of routers (Local Subnet Routers report).....#define
> MAX_NUM_ROUTERS 512
> Maximum # of network interface devices.....#define MAX_NUM_DEVICES 32
> Maximum # of processes for lsof report.....#define
> MAX_NUM_PROCESSES_READLSOFINFO 1024
> Maximum network size (hosts per interface).....#define MAX_SUBNET_HOSTS 1024
> Allocated # of passive FTP sessions.....#define
> MAX_PASSIVE_FTP_SESSION_TRACKER 384
> Inactive passive FTP session timeout (seconds).....#define
> PARM_PASSIVE_SESSION_MINIMUM_IDLE 60
> 
> 
> Compile Time: Hash Table Sizes
> 
> Initial size.....#define CONST_HASH_INITIAL_SIZE 32
> After 1st extend.....#define CONST_HASH_MINIMUM_SIZE 512
> Intermediate increase factor.....#define CONST_HASH_INCREASE_FACTOR 2
> Factor growth until.....#define CONST_HASH_FACTOR_MAXIMUM 4096
> Then grow (linearly) by.....#define CONST_HASH_TERMINAL_INCREASE 4096
> 
> 
> Compile Time: globals-define.h
> 
> Chart Format.....globals-report.h: #define CHART_FORMAT ".png"
> 
> 
> Compile Time: config.h
> 
> CFG_CONFIGFILE_DIR - config file directory...../etc/ntop
> CFG_DATAFILE_DIR - data file directory...../usr/share/ntop
> CFG_DBFILE_DIR - database file directory...../var/ntop
> MAKE_WITH_SSLV3_SUPPORT.....yes
> HAVE_ALLOCA_H.....present
> HAVE_ARPA_INET_H.....present
> HAVE_ARPA_NAMESER_H.....present
> HAVE_BACKTRACE.....present
> HAVE_CRYPT_H.....present
> HAVE_CTIME_R.....present
> HAVE_DIRENT_H.....present
> HAVE_DLFCN_H.....present
> HAVE_DL_H.....absent
> HAVE_ERRNO_H.....present
> HAVE_ETHERTYPE_H.....absent
> HAVE_FCNTL_H.....present
> HAVE_GDBM_H.....present
> MAKE_WITH_GDCHART.....yes
> HAVE_GETIPNODEBYADDR.....absent
> HAVE_GETOPT_H.....present
> HAVE_GETOPT_LONG.....present
> HAVE_IF_H.....absent
> HAVE_INTxx_T Signed ints.....64 present, 32 present, 16 present,8 present
> HAVE_U_INTxx_T Unsigned ints.....64 present, 32 present, 16 present,8
> present
> HAVE_LIBC.....present
> HAVE_LIBC_R.....absent
> HAVE_LIBDL.....present
> HAVE_LIBGDBM.....present
> HAVE_LIBKSTAT.....absent
> HAVE_LIBNSL.....present
> HAVE_LIBPCAP.....present
> HAVE_LIBPOSIX4.....absent
> HAVE_LIBPTHREAD.....present
> HAVE_LIBPTHREADS.....absent
> HAVE_LIBRESOLV.....present
> HAVE_LIBSOCKET.....absent
> HAVE_LIBWRAP (TCP Wrappers).....absent
> HAVE_LOCALTIME_R.....present
> HAVE_NCURSES_H.....present
> HAVE_NETDB_H.....present
> HAVE_NETINET_IF_ETHER_H.....present
> HAVE_NETINET_IN_H.....present
> HAVE_NETINET_IN_SYSTM_H.....present
> HAVE_NETINET_IP_H.....present
> HAVE_NETINET_IP_ICMP_H.....present
> HAVE_NETINET_TCP_H.....present
> HAVE_NETINET_UDP_H.....present
> HAVE_NET_BPF_H.....absent
> HAVE_NET_ETHERNET_H.....present
> HAVE_NET_IF_H.....present
> HAVE_OPENSSL.....present
> HAVE_PTHREAD_H.....present
> HAVE_PWD_H.....present
> HAVE_READLINE.....absent
> HAVE_READLINE_READLINE_H.....present
> HAVE_REGEX.....present
> HAVE_SCHED_H.....absent
> HAVE_SECURITY_PAM_APPL_H.....present
> HAVE_SEMAPHORE_H.....present
> HAVE_SHADOW_H.....present
> HAVE_SIGNAL_H.....absent
> HAVE_SNPRINTF.....present
> HAVE_STDIO_H.....present
> HAVE_STDLIB_H.....present
> HAVE_STRING_H.....present
> HAVE_STRSEP.....absent
> HAVE_STRTOK_R.....present
> HAVE_SYSLOG_H / HAVE_SYS_SYSLOG_H.....present / present
> HAVE_SYS_IOCTL.....absent
> HAVE_SYS_LDR_H.....absent
> HAVE_SYS_SCHED_H.....absent
> HAVE_SYS_SELECT_H.....present
> HAVE_SYS_SOCKET_H.....present
> HAVE_SYS_SOCKIO_H.....absent
> HAVE_SYS_STAT_H.....present
> HAVE_SYS_TIME_H.....present
> HAVE_SYS_TYPES_H.....present
> HAVE_SYS_UN_H.....present
> HAVE_SYS_WAIT_H.....present
> HAVE_TCPD_H.....present
> HAVE_UNISTD_H.....present
> MAKE_WITH_ZLIB (HTTP gzip compression).....yes
> HAVE_ZLIB.....present
> HAVE_ZLIB_H.....present
> CFG_MULTITHREADED.....yes
> MAKE_WITH_IGNORE_SIGPIPE.....no
> CFG_NEED_GETDOMAINNAME (getdomainname(2) function).....yes
> CFG_NEED_INET_ATON.....no
> NTOP_xxxxxx_ENDIAN (Hardware Endian).....little
> CFG_PLUGIN_DIR (plugin file directory...../usr/lib/ntop/plugins
> CFG_RUN_DIR (run file directory)...../var/ntop
> STDC_HEADERS (ANSI C header files).....yes
> 
> 
> 
> ----------------------------------------------------------------------------
> ---
> Note: The generated id below should be unique. It's essentially a random 6
> or 7
>       character tracking tag for each problem report.  Since it's generated
> on
>       your machine, we can't just use an ever increasing number global
> number.
> 
>       While it should be unique, it is not traceable back to a specific user
> or
>       machine.  If it makes you uncomfortable just delete it.
> 
> 'Unique' BugReportId: '6F6Q79X'
> 
> ----------------------------------------------------------------------------
> ---
> 
> 
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to