9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] sigsegv in 9vx
Date: Wed, 25 Nov 2009 18:11:11 -0800	[thread overview]
Message-ID: <13426df10911251811n60fbf510xe5301bde0446c96b@mail.gmail.com> (raw)

Sorry if this is the wrong mailing list.

I can get a 100% reproducible panic in 9vx by doing this:
9fs sources
cd /sys
dircp /n/sources/plan9/sys/src src

* 6 Thread 0x7f585f527950 (LWP 4507)  panic (fmt=0x46e01d "sigsegv on cpu%d")
    at 9vx/stub.c:517
  5 Thread 0x7f5864528950 (LWP 4369)  0x00000032ac2deaa2 in select ()
   from /lib64/libc.so.6
  4 Thread 0x7f5863a26950 (LWP 4370)  0x00000032ace0ee7b in sigwait ()
   from /lib64/libpthread.so.0
  3 Thread 0x7f5862f24950 (LWP 4371)  0x00000032ace0b309 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  2 Thread 0x7f5861d1b950 (LWP 4372)  0x00000032ace0e311 in recv ()
   from /lib64/libpthread.so.0
  1 Thread 0x7f5875ed96f0 (LWP 4367)  0x00000032ace0b309 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0

(gdb) thread apply all wher

Thread 6 (Thread 0x7f585f527950 (LWP 4507)):
#0  panic (fmt=0x46e01d "sigsegv on cpu%d") at 9vx/stub.c:517
#1  0x000000000040ae84 in sigsegv (signo=11, info=0x7f5863024c60,
    v=0x7f5863024b30) at 9vx/main.c:528
#2  <signal handler called>
#3  0x0000000000000000 in ?? ()
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5864528950 (LWP 4369)):
#0  0x00000032ac2deaa2 in select () from /lib64/libc.so.6
#1  0x0000003cdbc08af6 in ?? () from /usr/lib64/libxcb.so.1
#2  0x0000003cdbc09fc2 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x0000003cdb44cc57 in ?? () from /usr/lib64/libX11.so.6
#4  0x0000003cdb44cfc5 in ?? () from /usr/lib64/libX11.so.6
#5  0x0000003cdb4337e8 in XNextEvent () from /usr/lib64/libX11.so.6
#6  0x00000000004573ef in _xproc (v=<value optimized out>)
    at 9vx/x11/x11-kernel.c:141
#7  0x000000000040fab6 in linkproc () at 9vx/trap.c:498
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5863a26950 (LWP 4370)):
#0  0x00000032ace0ee7b in sigwait () from /lib64/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#1  0x000000000040f05f in timerkproc (v=<value optimized out>)
    at 9vx/time.c:168
#2  0x000000000040fab6 in linkproc () at 9vx/trap.c:498
#3  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5862f24950 (LWP 4371)):
#0  0x00000032ace0b309 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x000000000040c6bb in psleep (p=<value optimized out>) at 9vx/sched.c:215
#2  0x000000000040c8ba in runproc () at 9vx/sched.c:144
#3  0x0000000000443275 in sched () at 9vx/a/proc.c:165
#4  0x000000000040ace1 in squidboy (v=<value optimized out>) at 9vx/main.c:750
#5  0x00000032ace073da in start_thread () from /lib64/libpthread.so.0
#6  0x00000032ac2e62bd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5861d1b950 (LWP 4372)):
#0  0x00000032ace0e311 in recv () from /lib64/libpthread.so.0
#1  0x00000000004081ec in so_recv (fd=34, d=0x7f585809ffa0, n=8192, f=-1)
    at 9vx/devip-posix.c:210
#2  0x0000000001000272 in ?? ()
#3  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5875ed96f0 (LWP 4367)):
---Type <return> to continue, or q <return> to quit---
#0  0x00000032ace0b309 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/libpthread.so.0
#1  0x000000000040c6bb in psleep (p=<value optimized out>) at 9vx/sched.c:215
#2  0x000000000040caba in idlehands () at 9vx/sched.c:46
#3  0x00000000004430e6 in _runproc () at 9vx/a/proc.c:542
#4  0x0000000000443275 in sched () at 9vx/a/proc.c:165
#5  0x000000000040b8df in main (argc=-1950506784, argv=<value optimized out>)
    at 9vx/main.c:216
517	{

I've got the 9vx on ice if anyone was other ideas for the search.

ron



                 reply	other threads:[~2009-11-26  2:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=13426df10911251811n60fbf510xe5301bde0446c96b@mail.gmail.com \
    --to=rminnich@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).