segfaults



Unrelated to my other strace, I had a segfault today that looked very  
similar to what I usually get.. here are the relevant parts of the  
trace (fd 9 was last opened at /etc/passwd, readonly- WAY earlier).  
Notice how it tries to write to fd 9, and right after fd 9 becomes  
unavailable for reading:
---
write(9, "+\4\1\0", 4)                  = 4
read(9, 0xbffff9e0, 32)                 = -1 EAGAIN (Resource  
temporarily unavai
lable)
select(10, [9], NULL, NULL, NULL)       = 1 (in [9])
read(9, "\1\0c?\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\24\0\0\0\30\214"...,  
32) = 32
close(13)                               = 0
close(12)                               = 0
unlink("/tmp/orbit-comotion/linc-6712-0-41bfaf379c86") = 0
close(17)                               = 0
writev(20, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(20)                               = 0
writev(18, [{"GIOP\1\2\1\5\0\0\0\0", 12}], 1) = 12
close(18)                               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(9, "\33\4\2\0\0\0\0\0", 8)        = 8
write(9, " \4\2\0\0\0\0\0", 8)          = 8
write(9, "+\4\1\0", 4)                  = 4

read(9, 0xbffff434, 32)                 = -1 EAGAIN (Resource  
temporarily unavai
lable)
select(10, [9], NULL, NULL, NULL)       = 1 (in [9])
read(9, "\1\0f?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\24\0\0\0\30\214"...,  
32) = 32
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| 
SIGCHLD, chil
d_tidptr=0x41cd36a8) = 28812
waitpid(28812, [WIFEXITED(s) && WEXITSTATUS(s) == 0], 0) = 28812
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn()                             = ? (mask now [SEGV])
exit_group(1)                           = ?
---


Again, no idea what's actually going on, but I'd appreciate more  
pointers. Show me in the right direction and I'll go there...

0K

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]