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. Starting program: /home/tom/vx32/src/9vx/9vx -F -u glenda [Thread debugging using libthread_db enabled] [New Thread 1076381360 (LWP 19044)] [New Thread 1635380112 (LWP 19047)] [New Thread 1645087632 (LWP 19048)] [New Thread 1654795152 (LWP 19049)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1076381360 (LWP 19044)] 0x08099acc in sysexec (arg=0x602852d0) at 9vx/a/sysproc.c:386 386 tos->cyclefreq = m->cyclefreq; (gdb) bt #0 0x08099acc in sysexec (arg=0x602852d0) at 9vx/a/sysproc.c:386 #1 0x08057abc in trap (ureg=0x60b48ee0) at 9vx/trap.c:222 #2 0x08058968 in touser (initsp=0xfffffa4) at 9vx/vx32.c:284 #3 0x08052421 in init0 () at 9vx/main.c:487 #4 0x00000000 in ?? () (gdb) info thread 4 Thread 1654795152 (LWP 19049) 0xffffe410 in __kernel_vsyscall () 3 Thread 1645087632 (LWP 19048) 0xffffe410 in __kernel_vsyscall () 2 Thread 1635380112 (LWP 19047) 0xffffe410 in __kernel_vsyscall () * 1 Thread 1076381360 (LWP 19044) 0x08099acc in sysexec (arg=0x602852d0) at 9vx/a/sysproc.c:386 (gdb) info threads 4 Thread 1654795152 (LWP 19049) 0xffffe410 in __kernel_vsyscall () 3 Thread 1645087632 (LWP 19048) 0xffffe410 in __kernel_vsyscall () 2 Thread 1635380112 (LWP 19047) 0xffffe410 in __kernel_vsyscall () * 1 Thread 1076381360 (LWP 19044) 0x08099acc in sysexec (arg=0x602852d0) at 9vx/a/sysproc.c:386 -- Tom Lieber http://AllTom.com/