From: "Tom Lieber" <alltom@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: [9fans] tip 9vx segfault on Ubuntu in Xen
Date: Mon, 30 Jun 2008 22:53:05 -0400 [thread overview]
Message-ID: <326364c20806301953k7fa2ebf9i1c7f3049a210bf39@mail.gmail.com> (raw)
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/
next reply other threads:[~2008-07-01 2:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 2:53 Tom Lieber [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=326364c20806301953k7fa2ebf9i1c7f3049a210bf39@mail.gmail.com \
--to=alltom@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).