9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] tip 9vx segfault on Ubuntu in Xen
@ 2008-07-01  2:53 Tom Lieber
  2008-07-01 13:00 ` Russ Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Lieber @ 2008-07-01  2:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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/



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-07-01 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-01  2:53 [9fans] tip 9vx segfault on Ubuntu in Xen Tom Lieber
2008-07-01 13:00 ` Russ Cox
2008-07-01 14:02   ` Tom Lieber
2008-07-01 14:13     ` Russ Cox
2008-07-01 15:02       ` Tom Lieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).