Add the -g flag (it is - I *think* - already there).

Then start gdb

gdb /usr/bin/ntop
set args <your usual args>
run

when it bombs, do a stack trace
(info stack)

And, post all the usual information I ask for - see my 
7Jan2002 msg in the mail archive

-----Burton

If my cat allowed me to have an 
opinion, it would be here...
> I had ntop 2.0 working, and then one day it just stopped.  Since then, 
> I have recompiled twice, and even downloaded the latest from CVS.  
> Please help me with this.
> 
> [root@ip134-053-212-081 ntop]# ntop
> Wait please: ntop is coming up...
> 07/Feb/2002 06:32:10 Initializing IP services...
> SSL is present but https is disabled: use -W <https port> for enabling 
> it
> 07/Feb/2002 06:32:10 Initializing GDBM...
> 07/Feb/2002 06:32:10 Initializing network devices...
> 07/Feb/2002 06:32:10 ntop v.2.0.1 MT (SSL) [i686-pc-linux-gnu] 
> (02/07/02 01:19:44 AM build)
> 07/Feb/2002 06:32:10 Listening on [eth0]
> 07/Feb/2002 06:32:10 Copyright 1998-2002 by Luca Deri <[EMAIL PROTECTED]>
> 07/Feb/2002 06:32:10 Get the freshest ntop from http://www.ntop.org/
> 07/Feb/2002 06:32:10 Initializing...
> 07/Feb/2002 06:32:10 Loading plugins (if any)...
> 07/Feb/2002 06:32:10 Searching plugins in ./plugins
> Segmentation fault
> 
> I'd be most happy to recompile in debug mode for you so you can see the 
> problem, if you don't mind telling me how to recompile in debug mode.  
> Thanks for all of your help.
> 
> -Rick Farina
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listmanager.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to