ntop crash "segfault ... error 4 in libntop-3.3.so .."

Bug #588049 reported by Niros Vaudis
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ntop (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ntop

ntop crashes after recieving an DHCP-request message.

After issuing an "ipconfig /renew" command on a Windows XP Client, ntop dies immedeately on Ubuntu 10.04 with error log:

"May 31 22:29:13 ubuntu kernel: [360480.454200] ntop[22556]: segfault at 101996caf ip 00007fbd21f59178 sp 00007fbd117b4140 error 4 in libntop-3.3.so[7fbd21f07000+6e000]"

The bug is known with ntop:

http://www.gossamer-threads.com/lists/ntop/users/22488
http://www.ntop.org/trac/changeset/3605

Workaround:
Setting the --disable-decoders flag stopped the crashes.
http://www.gossamer-threads.com/lists/ntop/users/22115

Please update ntop to latest version 3.3.10 or better 3.4pre3

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ntop 3:3.3-13
ProcVersionSignature: Ubuntu 2.6.32-22.33-server 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-server x86_64
NonfreeKernelModules: vmnet vmci vmmon
Architecture: amd64
Date: Mon May 31 21:17:37 2010
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: ntop

Revision history for this message
Niros Vaudis (nirosvaudis) wrote :
Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

Workaround: install the 3.4 version from

apt-add repository ppa:sylvain-garcia

then modify /etc/init.d/ntop
Line 96 add the flag -b *(this is the same as --disable-decoders)

(I started with line 95 to display the full modified command)
 start-stop-daemon --start --quiet --name $NAME --exec $DAEMON -- \
  -d -b -L -u $USER -P $HOMEDIR \

then restart ntop

sudo service ntop restart

it would be nice if the package maintainer would add the -b flag to the package. Or expain to me how to do it and I'll do it myself.

Revision history for this message
Ludovico Cavedon (cavedon) wrote :

The latest upstream version (4.0.3) is currently packaged for maverick or in my PPA for older Ubuntu versions:
https://launchpad.net/~cavedon/+archive/ppa

Thanks for taking the time to report the bug.

Changed in ntop (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.