On Tue, Jul 1, 2008 at 9:00 AM, Russ Cox <[EMAIL PROTECTED]> wrote: >> I have Ubuntu on a VPS (on Xen) and I'd like to install a Plan 9 >> server using 9vx. 9vx tip compiles, but segfaults after the "256M >> memory" line (as does the precompiled binary, in the same place). I am >> tunneling to local X11 on OS X 10.5.3. >> >> I don't know how to debug this properly, but here is gdb output >> similar to what I saw in another report. > > The seg faults are normal. 9vx handles them and continues. > To run under gdb you need to say > > handle SIGSEGV noprint nostop > > so that gdb will let it keep going. > > What behavior did you see when you weren't running under gdb? > If it was a panic, better to set a break point at panic.
No panic: the window appears and two lines print (the command-line arguments and the memory readout), then everything stops. When I use -X, the lines of assembly stop. This looks useless, but if I pause in gdb the backtrace is: #0 0xffffe410 in __kernel_vsyscall () #1 0x401f6647 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x40061839 in ?? () from /usr/lib/libX11.so.6 #3 0x08272970 in ?? () #4 0x00000001 in ?? () #5 0xffffffff in ?? () #6 0x40111b2c in ?? () from /usr/lib/libX11.so.6 #7 0x082723c0 in ?? () #8 0x40111b2c in ?? () from /usr/lib/libX11.so.6 #9 0x082723c0 in ?? () #10 0x00000000 in ?? () If I press keys, though, I get output like this, so I guess it's not completely frozen: memdraw 827b780 [4 57] [13 68] 8269da8 [1879113727 -613566757] 8269e60 [918 2] memdraw 827b780 [13 57] [22 68] 8269da8 [1879113727 -613566757] 8269e60 [918 2] memdraw 827b780 [22 60] [31 68] 8269da8 [1879113727 -613566757] 8269e60 [873 5] It never does anything as long as I wait, though. -- Tom Lieber http://AllTom.com/
