On Tue, 19 Jan 2010 18:52:11 +0100, FÖLDY Lajos wrote:
> On Tue, 19 Jan 2010, Bruce Bowler wrote:
>
>> I guess, for the time begin, since I'm completely out of ideas, not to
>> mention lost, I'm stuck without the full benefit of idlwave...
>
> You can try 'strace' to trace system calls and signals before the crash:
>
> strace -f -o output.strace /usr/bin/emacs-x11 myprog.pro
>
> regards,
> Lajos
Well, after a weeks break, I'm back at this problem. I did that and now
have a 750K output file. Most of that is, I'm sure, meaningless, but
there's certainly useful information but I'm "relatively ignorant" of how
to read it. Are there tools to help distill the info? Anyone care to
take a look at the last 50-100 lines?
(here's the last 120 or so lines, in case you do, with some snippage
after the sigsegv. oh and watch out for line wrapping)
Thanks!
Bruce
5409 read(4, "\26:\331\23I\1\240\3I\1\240\3\0\0\0\0\2\0\0\0\20\0\352\0\0
\0\0\277I\1\240\3"..., 4096) = 96
5409 read(4, 0x85d47d4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
5409 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
5409 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
5409 select(5, [4], [4], NULL, NULL) = 1 (out [4])
5409 writev(4, [{"=\0\4\0t\0\240\3\2\0\352\0\20\0\4\1", 16}], 1) = 16
5409 read(4, 0x85d47d4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
5409 read(4, 0x85d47d4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
5409 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
5409 select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout)
5409 read(4, 0x85d47d4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
5409 --- SIGALRM (Alarm clock) @ 0 (0) ---
5409 gettimeofday({1264427927, 265461}, NULL) = 0
5409 sigreturn() = ? (mask now [])
5409 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
5636 getgid32() = 100
5636 access("/bin/arch", X_OK) = 0
5636 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
5636 pipe([3, 4]) = 0
5636 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
5636 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
5636 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
5636 _llseek(255, -1682, [9700], SEEK_CUR) = 0
5636 clone( <unfinished ...>
5409 select(5, [4], [4], NULL, NULL) = 1 (out [4])
5409 writev(4, [{"\\\0\5\0 \0\0\0\6\0\352\0grey75\0\0", 20}], 1) = 20
5409 --- SIGIO (I/O possible) @ 0 (0) ---
5409 sigreturn() = ? (mask now [])
5409 select(5, [4], [], NULL, NULL) = 1 (in [4])
5409 read(4, "\1i8\24\0\0\0\0\277\277\277\277\277\277\277\277\277\277\277
\277\24\0\0\0X\4\0\0008\7\234\10", 4096) = 32
5636 <... clone resumed> child_stack=0, flags=CLONE_CHILD_CLEARTID|
CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7fe7708) = 5645
5645 close(255) = 0
5645 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
5645 rt_sigaction(SIGTSTP, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
5645 rt_sigaction(SIGTTIN, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
5645 rt_sigaction(SIGTTOU, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
5645 rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
5645 rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_IGN, [], 0}, 8) = 0
5645 rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {0x807bad0, [], 0}, 8) = 0
5645 rt_sigaction(SIGCHLD, {0x807bad0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
5645 rt_sigaction(SIGINT, {0x808f660, [], 0}, {SIG_DFL, [], 0}, 8) = 0
5645 dup2(4, 1) = 1
5645 close(4) = 0
5645 close(3) = 0
5645 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
5645 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
5645 rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x808f660, [], 0}, 8) = 0
5645 rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
5645 rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {0x807bad0, [], 0}, 8) = 0
5645 execve("/bin/arch", ["/bin/arch"], [/* 129 vars */] <unfinished ...>
5636 rt_sigprocmask(SIG_SETMASK, [], <unfinished ...>
5409 read(4, <unfinished ...>
5636 <... rt_sigprocmask resumed> NULL, 8) = 0
5409 <... read resumed> 0x85d47d4, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
5636 rt_sigaction(SIGCHLD, {0x807bad0, [], 0}, <unfinished ...>
5409 select(5, [4], [4], NULL, NULL <unfinished ...>
5636 <... rt_sigaction resumed> {0x807bad0, [], 0}, 8) = 0
5409 <... select resumed> ) = 1 (out [4])
5636 close(4 <unfinished ...>
5409 writev(4, [{"T\0\4\0 \0\0\0\277\277\277\277\277\277ey", 16}], 1
<unfinished ...>
5636 <... close resumed> ) = 0
5409 <... writev resumed> ) = 16
5636 read(3, <unfinished ...>
5409 --- SIGIO (I/O possible) @ 0 (0) ---
5409 sigreturn() = ? (mask now [])
5409 select(5, [4], [], NULL, NULL) = 1 (in [4])
5409 read(4, "\1i9\24\0\0\0\0\277\277\277\277\277\277\234\10\277\277\277
\0\20\0\0\0X\4\0\0008\7\234\10", 4096) = 32
5409 read(4, 0x85d47d4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
5409 select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout)
5409 read(4, 0x85d47d4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
5409 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
5409 select(5, [4], [4], NULL, NULL <unfinished ...>
5645 <... execve resumed> ) = 0
5409 <... select resumed> ) = 1 (out [4])
5409 writev(4, [{"\\\0\5\0 \0\0\0\5\0\277\277black5\0\0", 20}], 1) = 20
5409 --- SIGIO (I/O possible) @ 0 (0) ---
5409 sigreturn() = ? (mask now [])
5409 select(5, [4], [], NULL, NULL <unfinished ...>
5645 brk(0 <unfinished ...>
5409 <... select resumed> ) = 1 (in [4])
5645 <... brk resumed> ) = 0x8051000
5409 read(4, <unfinished ...>
5645 access("/etc/ld.so.preload", R_OK <unfinished ...>
5409 <... read resumed> "\1i:\24\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\24\0\0
\0X\4\0\0008\7\234\10", 4096) = 32
5645 <... access resumed> ) = -1 ENOENT (No such file or
directory)
5409 read(4, <unfinished ...>
5645 open("/etc/ld.so.cache", O_RDONLY <unfinished ...>
5409 <... read resumed> 0x85d47d4, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
5645 <... open resumed> ) = 3
5409 select(5, [4], [4], NULL, NULL <unfinished ...>
5645 fstat64(3, <unfinished ...>
5409 <... select resumed> ) = 1 (out [4])
5645 <... fstat64 resumed> {st_mode=S_IFREG|0644, st_size=92727, ...}) =
0
5409 writev(4, [{"T\0\4\0 \0\0\0\0\0\0\0\0\0ac", 16}], 1 <unfinished ...>
5645 mmap2(NULL, 92727, PROT_READ, MAP_PRIVATE, 3, 0 <unfinished ...>
5409 <... writev resumed> ) = 16
5645 <... mmap2 resumed> ) = 0xb7fe9000
5409 --- SIGIO (I/O possible) @ 0 (0) ---
5645 close(3 <unfinished ...>
5409 sigreturn( <unfinished ...>
5645 <... close resumed> ) = 0
5409 <... sigreturn resumed> ) = ? (mask now [])
5645 open("/lib/libc.so.6", O_RDONLY <unfinished ...>
5409 select(5, [4], [], NULL, NULL <unfinished ...>
5645 <... open resumed> ) = 3
5409 <... select resumed> ) = 1 (in [4])
5645 read(3, <unfinished ...>
5409 read(4, <unfinished ...>
5645 <... read resumed> "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0
\0@h\1\0004\0\0\0"..., 512) = 512
5409 <... read resumed> "\1i;\24\0\0\0\0\0\0\0\0\0\0\234\10\0\0\0\0\20\0
\0\0X\4\0\0008\7\234\10", 4096) = 32
5645 fstat64(3, <unfinished ...>
5409 read(4, <unfinished ...>
5645 <... fstat64 resumed> {st_mode=S_IFREG|0755, st_size=1806256, ...})
= 0
5409 <... read resumed> 0x85d47d4, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
5409 select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout)
5409 read(4, 0x85d47d4, 4096) = -1 EAGAIN (Resource temporarily
unavailable)
5409 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
5409 brk(0x891b000) = 0x891b000
5409 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
--
+-------------------+--------------------------------------- ------------+
Bruce Bowler | Never eat more than you can lift. - Miss Piggy
1.207.633.9600 |
bbowler@bigelow.org |
+-------------------+--------------------------------------- ------------+
|