[M3devel] Control-c tends to hang?
Jay K
jay.krell at cornell.edu
Mon Apr 12 01:50:14 CEST 2010
I upgraded to Debian 5.0 to fix the debugging, and now I haven't been able to get the hang to occur.
- Jay
From: jay.krell at cornell.edu
To: m3devel at elegosoft.com
Subject: Control-c tends to hang?
Date: Sun, 11 Apr 2010 14:30:44 +0000
I'm seeing that pressing control-C has a very high propensity to hang.
e.g.
release branch, LINUXLIBC6, pthreads
cd m3-libs/m3core
rm -rf LINUXLIBC6
/cm3/bin/cm3
wait for it to print a file or two
control-C
if it doesn't hang, again:
/cm3/bin/cm3
wait a second
control-c
It hangs about 25% of the time.
gdb is generally useless..I find that true generally lately:
Failed to read a valid object file image from memory.
(gdb) thread apply all bt
Thread 1 (Thread -1210542400 (LWP 4640)):
#0 0xb7eff410 in ?? ()
#1 0xbfd35868 in ?? ()
#2 0x00000002 in ?? ()
#3 0x00000000 in ?? ()
#0 0xb7eff410 in ?? ()
maybe to do with.. strace gdb:
open("/proc/5688/mem", O_RDONLY|O_LARGEFILE) = 6
pread64(6, 0xbfcd1d78, 52, 4294959104) = -1 EIO (Input/output error)
close(6) = 0
ptrace(PTRACE_PEEKTEXT, 5688, 0xffffe000, [0]) = -1 EIO (Input/output error)
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
write(2, "Failed to read a valid object fi"..., 53Failed to read a valid object
file image from memory.) = 53
Aha I thought I was running Debian 5.0, but only 4.0..maybe with a newer Debian/gdb.
(There was a known problem in older kernels with this signature, I didn't realize I was running old..)
- Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100411/eecfe4b6/attachment-0002.html>
More information about the M3devel
mailing list