This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hang on CTRL-C (was Re: livelock on sigfe)


On 2013-04-01 PM 2:03, Christopher Faylor wrote:
On Mon, Apr 01, 2013 at 11:53:38AM +0900, jojelino wrote:
On 2013-03-17 AM 1:44, Christopher Faylor wrote:
No, not really.  The caller in this case isn't interesting.  The number
of threads executing is interesting.

cgf

there is another debug session. I was trying to CTRL+C to mintty session
in which make process was running. process hanged with livelock.


make process got CTRL+C, and the hanged was clang.exe. and these two was on mintty session.

Sorry for being so precise in my request that you provide information
on threads. It sure would be nice to see what thread 3 was doing via
a backtrace.

cgf


Here it is. this was created when gdb attached the process.
(gdb) i threads
  Id   Target Id         Frame
* 3    Thread 4516.0xc78 0x7c95a22a in ntdll!DbgBreakPoint ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
  2    Thread 4516.0x1310 0x7c96845c in ntdll!KiFastSystemCallRet ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
  1    Thread 4516.0x1e88 0x7c96845c in ntdll!KiFastSystemCallRet ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c95a22a in ntdll!DbgBreakPoint ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c97fc68 in ntdll!DbgUiRemoteBreakin ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x00000005 in ?? ()
#3  0x88617518 in ?? ()
#4  0xffffffff in ?? ()
#5 0x7c9680e0 in ntdll!_CIpow () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#6  0x7c97fc80 in ntdll!DbgUiRemoteBreakin ()
   from /cygdrive/c/WINDOWS/system32/ntdll.dll
#7  0x00000000 in ?? ()
(gdb)

--
Regards.
--
Regards.


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]