<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I upgraded to Debian 5.0 to fix the debugging, and now I haven't been able to get the hang to occur.<BR>
<BR>
- Jay<BR><BR> <BR>
<HR id=stopSpelling>
From: jay.krell@cornell.edu<BR>To: m3devel@elegosoft.com<BR>Subject: Control-c tends to hang?<BR>Date: Sun, 11 Apr 2010 14:30:44 +0000<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
I'm seeing that pressing control-C has a very high propensity to hang.<BR>e.g.<BR> release branch, LINUXLIBC6, pthreads<BR> cd m3-libs/m3core<BR> rm -rf LINUXLIBC6<BR> /cm3/bin/cm3<BR> wait for it to print a file or two<BR> control-C<BR> if it doesn't hang, again:<BR> /cm3/bin/cm3<BR> wait a second<BR> control-c<BR> It hangs about 25% of the time.<BR> <BR><BR> gdb is generally useless..I find that true generally lately:<BR>Failed to read a valid object file image from memory.<BR>(gdb) thread apply all bt<BR>Thread 1 (Thread -1210542400 (LWP 4640)):<BR>#0 0xb7eff410 in ?? ()<BR>#1 0xbfd35868 in ?? ()<BR>#2 0x00000002 in ?? ()<BR>#3 0x00000000 in ?? ()<BR>#0 0xb7eff410 in ?? ()<BR> <BR><BR>maybe to do with.. strace gdb:<BR>open("/proc/5688/mem", O_RDONLY|O_LARGEFILE) = 6<BR>pread64(6, 0xbfcd1d78, 52, 4294959104) = -1 EIO (Input/output error)<BR>close(6) = 0<BR>ptrace(PTRACE_PEEKTEXT, 5688, 0xffffe000, [0]) = -1 EIO (Input/output error)<BR>rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0<BR>write(2, "Failed to read a valid object fi"..., 53Failed to read a valid object<BR>file image from memory.) = 53<BR> <BR><BR>Aha I thought I was running Debian 5.0, but only 4.0..maybe with a newer Debian/gdb.<BR>(There was a known problem in older kernels with this signature, I didn't realize I was running old..)<BR> <BR><BR> - Jay<BR><BR><BR><BR><BR><BR> </body>
</html>