irontec / sngrep

Ncurses SIP Messages flow viewer
GNU General Public License v3.0
1.02k stars 187 forks source link

Sngrep Version 1.6.0 doesn't get killed and keep running in background after terminal close #487

Closed eyle closed 6 months ago

eyle commented 6 months ago

Hello everyone,

I have an issue with sngrep version 1.6.0 that occurs 100% of the time, When someone opens sngrep and quit it by closing the terminal or any way that ain't quitting it the standard way (exit,ctrl+C), The sngrep keeps running in background.

The problem is that sngrep keeps running in backgroupd and has a big spike of cpu(Normal usage is around 0.3% ) , the process itself start taking so much cpu that it causes issue on the machine itself (he's taking 100% of cpu , when it adds up, this is problematic.

Here is the image of the process still up and taking too much cpu: image

Normal usage is around 0.6% of cpu when it's running correctly

When i downgrade to version 1.5.0 from sources, the issue dissapear, so probably came with version 1.6.0.

When i go with version 1.5.0, i have issues reading sip header Identity in Sip invites (Stirshaken in France) , The value in it seems not correct vs Homer and tcpdump, It's another issue that only happens in 1.5.0 :( .

I am on : Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm

Any help would be greatly appreciated

eyle commented 6 months ago

i just notice it has been fixed on version 1.7.0, i'll close this.