[M3devel] Control-c tends to hang?
Jay K
jay.krell at cornell.edu
Sun Apr 11 16:30:44 CEST 2010
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/49d65756/attachment-0001.html>
More information about the M3devel
mailing list