Bug 1301875 - ncat dumps core when sent Ctrl+\
ncat dumps core when sent Ctrl+\
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: nmap (Show other bugs)
23
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Michal Hlavinka
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-26 04:17 EST by Ville Skyttä
Modified: 2016-01-28 04:33 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-01-28 04:33:57 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
gdb backtrace (6.61 KB, text/plain)
2016-01-26 04:17 EST, Ville Skyttä
no flags Details

  None (edit)
Description Ville Skyttä 2016-01-26 04:17:29 EST
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 04:22:09 EST
(Oops, it's Ctrl+\ I'm sending that triggers the coredump, not Ctrl+@)
Comment 2 Michal Hlavinka 2016-01-28 04:33:57 EST
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. """

Note You need to log in before you can comment on or make changes to this bug.