public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ^C and new signal-aware snapshot
@ 2013-03-15 11:42 Ryan Johnson
  0 siblings, 0 replies; only message in thread
From: Ryan Johnson @ 2013-03-15 11:42 UTC (permalink / raw)
  To: cygwin

Hi all,

I found a problem (or unintended effect? or WJM feature?) with the new 
change that makes gdb work with cygwin signals:

1. start sqlite3
2. ^z
3. jobs -p
4. in separate terminal window, gdb -p $PID
5. c
6. in first window, fg
7. in gdb window, gdb should have caught SIGCONT, c
8. gdb and sqlite3 are now deadlocked (neither responds to ^c or ^z), 
you have to kill gdb to escape.

I realize that messing with SIGCONT is a good way to confuse the app, 
but (a) I didn't want to (surprise!) and (b) is there a way to make the 
penalty for forgetting to ignore SIGCONT a little less draconian?

Thanks,
Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-15 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-15 11:42 ^C and new signal-aware snapshot Ryan Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).