I hope this is the right list for this kind of question, please forgive if not.

I've been starting to debug ntopng because I'm having trouble with stability on 
Mountain Lion and something really annoying keeps happening while running under 
gdb, which is making it hard to debug the real issue I keep having (more on 
that later.)

I keep getting "SIGPIPE, Broken pipe errors" when I connect with a browser. It 
doesn't happen for every request but if I work on it for more than 10 minutes, 
it will happen.

I'm starting gdb using:

> sudo gdb ./ntopng

I'm running with the following command:

(gdb) run -i en3 -m "our-local-subnets" -s -v -n 1 -w 3001

Here's the error I see:

23/Jul/2013 13:37:38 [HTTPserver.cpp:239] [HTTP] /lua/get_hosts_data.lua 
[/Users/tsimmons/Documents/ntop/src/scripts/lua/get_hosts_data.lua]

Program received signal SIGPIPE, Broken pipe.
0x00007fff8f232386 in __semwait_signal ()
(gdb) backtrace
#0  0x00007fff8f232386 in __semwait_signal ()
#1  0x00007fff907fb800 in nanosleep ()
#2  0x00007fff907fb68a in sleep ()
#3  0x000000010003b434 in main (argc=11, argv=0x7fff5fbffc08) at main.cpp:206
(gdb)

It looks like in ./third-party/mongoose/mongoose.c:5255 SIGPIPE should be 
ignored, but I'm wondering where else this might need to be set?

Thanks &
Cheers,

Toby
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to