Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when exit with maxsize form. #208

Closed
michael2009 opened this issue Oct 8, 2017 · 2 comments
Closed

Crash when exit with maxsize form. #208

michael2009 opened this issue Oct 8, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@michael2009
Copy link

michael2009 commented Oct 8, 2017

Core was generated by `./sngrep -I aaa.pcap'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fabb84f0cb9 in wnoutrefresh () from /usr/lib/libncursesw.so.5
(gdb) bt
#0  0x00007fabb84f0cb9 in wnoutrefresh () from /usr/lib/libncursesw.so.5
#1  0x00007fabb84f0f20 in wrefresh () from /usr/lib/libncursesw.so.5
#2  0x000000000040f780 in ncurses_deinit () at curses/ui_manager.c:149
#3  0x0000000000404ef9 in main (argc=<optimized out>, argv=<optimized out>) at main.c:413

002

The one issue with sngrep -I sip.pcap only . nerver issue with online cap

@Kaian
Copy link
Member

Kaian commented Oct 9, 2017

Hi @michael2009

Thanks for reporting. I was unable to reproduce this problem. According to the pasted backtrace, the problem is in ncurses_deinit, where we only call two ncurses functions (not implemented by us)..

// Clear screen before leaving                                              
refresh();                                                                  
// End ncurses mode                                                         
endwin();                                                                   

I have tried changing the window screen before exiting without success.

What distribution are you using?. What terminal emulator do you use?

Thanks for all the info!

@Kaian Kaian self-assigned this Oct 9, 2017
@Kaian Kaian added the crash label Oct 9, 2017
@Kaian Kaian added this to the next milestone Oct 9, 2017
@michael2009
Copy link
Author

ncurses bug !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants