Bug 1301875

Summary: ncat dumps core when sent Ctrl+\
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: nmapAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-28 09:33:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
gdb backtrace none

Description Ville Skyttä 2016-01-26 09:17:29 UTC
Created attachment 1118399 [details]
gdb backtrace

$ ncat localhost 80  # or some other port where something's listening
^\Quit (core dumped)

(The ^\Quit above is a result of pressing Ctrl+@)

gdb backtrace attached.

Comment 1 Ville Skyttä 2016-01-26 09:22:09 UTC
(Oops, it's Ctrl+\ I'm sending that triggers the coredump, not Ctrl+@)

Comment 2 Michal Hlavinka 2016-01-28 09:33:57 UTC
This is expected behaviour. 

http://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html
"""    The SIGQUIT signal is similar to SIGINT, except that it’s controlled by a different key—the QUIT character, usually C-\—and produces a core dump when it terminates the process, just like a program error signal. You can think of this as a program error condition “detected” by the user. """