From: Roger B. <ro...@ro...> - 2002-10-29 06:19:35
|
> I will be compiling up a debug version of UML to try and diagnose > further. Compiled up debug 2.4.19-5 using same config as UML site (except turning on debug options): (gdb) bt #0 0xa015fbb4 in __libc_read () #1 0xa3f50000 in ?? () #2 0xa0133784 in _switch_to (prev=0xa08e4000, next=0xa3f50000) at process_kern.c:233 #3 0xa000ebe8 in schedule () at sched.c:697 #4 0xa0016d6e in sys_wait4 (pid=85, stat_addr=0x9ffffa24, options=0, ru=0x0) at exit.c:594 #5 0xa013826f in execute_syscall (r=0xa08e4280) at syscall_kern.c:412 #6 0xa013842d in syscall_handler (sig=12, regs=0xa08e4280) at syscall_user.c:63 #7 0xa013a667 in sig_handler_common (sig=12, sc=0xa08e7d28) at trap_user.c:488 #8 0xa013a6e3 in sig_handler (sig=12, sc= {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 0, edi = 136437156, esi = 0, ebp = 2684352984, esp = 2684352948, ebx = 85, edx = 0, ecx = 2684353060, eax = 4294967258, trapno = 14, err = 7, eip = 1074853769, cs = 35, __csh = 0, eflags = 2097670, esp_at_signal = 2684352948, ss = 43, __ssh = 0, fpstate = 0xa08e7d80, oldmask = 469827584, cr2 = 135215032}) at trap_user.c:504 #9 <signal handler called> #10 0x4010f789 in ?? () #11 0x40022e9c in ?? () #12 0x080a04b3 in ?? () #13 0x080ceb13 in ?? () ---Type <return> to continue, or q <return> to quit--- #14 0x080796bc in ?? () #15 0x0807a10e in ?? () #16 0x0807b6a4 in ?? () #17 0x08079601 in ?? () #18 0x0807a10e in ?? () #19 0x08077025 in ?? () #20 0x08096a49 in ?? () #21 0x080959c3 in ?? () #22 0x0809530a in ?? () #23 0x0805381c in ?? () #24 0x08053269 in ?? () #25 0x400814ce in ?? () (gdb) info frame Stack level 0, frame at 0xa08e7abc: eip = 0xa015fbb4 in __libc_read; saved eip 0xa0133784 (FRAMELESS), called by frame at 0xa08e7abc source language unknown. Arglist at 0xa08e7abc, args: Locals at 0xa08e7abc, Previous frame's sp is 0x0 Saved registers: ebp at 0xa08e7abc, eip at 0xa08e7ac0 (gdb) info registers eax 0xfffffe00 -512 ecx 0xa08e7aef -1601275153 edx 0x1 1 ebx 0xe 14 esp 0xa08e7a9c 0xa08e7a9c ebp 0xa08e7abc 0xa08e7abc esi 0xe 14 edi 0xa08e4000 -1601290240 eip 0xa015fbb4 0xa015fbb4 eflags 0x200282 2097794 cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x0 0 fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 ---Type <return> to continue, or q <return> to quit--- fop 0x0 0 xmm0 0x00000000000000000000000000000000 xmm1 0x00000000000000000000000000000000 xmm2 0x00000000000000000000000000000000 xmm3 0x00000000000000000000000000000000 xmm4 0x00000000000000000000000000000000 xmm5 0x00000000000000000000000000000000 xmm6 0x00000000000000000000000000000000 xmm7 0x00000000000000000000000000000000 mxcsr 0x0 0 That was all against the 'rpm' process. Trying against the python process is even wierder, as gdb claims it doesn't exist. $ ps -ef | grep linux rogerb 31694 31682 0 22:18 pts/6 00:00:09 linux (rh80) [(tracing thread)] rogerb 31697 31694 0 22:18 pts/6 00:00:02 linux (rh80) [(kernel thread)] rogerb 31710 1 0 22:18 pts/6 00:00:00 linux (rh80) [(kernel thread)] rogerb 31712 1 0 22:18 pts/6 00:00:00 linux (rh80) [(kernel thread)] rogerb 31714 1 0 22:18 pts/6 00:00:00 linux (rh80) [(kernel thread)] rogerb 31716 1 0 22:18 pts/6 00:00:00 linux (rh80) [(kernel thread)] rogerb 31718 1 0 22:18 pts/6 00:00:00 linux (rh80) [(kernel thread)] rogerb 31719 1 0 22:18 pts/6 00:00:03 linux (rh80) [(kernel thread)] rogerb 31720 1 0 22:18 pts/6 00:00:00 linux (rh80) [(kernel thread)] rogerb 31722 1 0 22:18 pts/6 00:00:00 linux (rh80) [/usr/bin/python] rogerb 32162 1 0 22:19 pts/6 00:00:00 linux (rh80) [rpm] root 392 31071 0 22:41 pts/2 00:00:00 grep linux (gdb) att 31722 Attaching to program: /usr/bin/linux, process 31722 Couldn't get registers: No such process. Roger |