[9fans] double sleep - Plan9

This is a discussion on [9fans] double sleep - Plan9 ; OK, it is hard to get this to repeat, and I lost it last time. But after running venti a while and doing a venti copy with vx32 as the dst I eventually get a double sleep in the io ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [9fans] double sleep

  1. [9fans] double sleep

    OK, it is hard to get this to repeat, and I lost it last time. But
    after running venti a while
    and doing a venti copy with vx32 as the dst I eventually get a double
    sleep in the
    io kproc.

    I'll try to get it to fail again :-)

    ron


  2. Re: [9fans] double sleep

    > OK, it is hard to get this to repeat, and I lost it last time. But
    > after running venti a while
    > and doing a venti copy with vx32 as the dst I eventually get a double
    > sleep in the
    > io kproc.
    >
    > I'll try to get it to fail again :-)


    Please run with -A so that if it happens again
    you can attach gdb and run "thread apply all where 20"

    Thanks.
    Russ



  3. Re: [9fans] double sleep

    Thread 8 (Thread -1759208560 (LWP 2898)):
    #0 0xb7f2e424 in __kernel_vsyscall ()
    #1 0x4e6f7a43 in poll () from /lib/libc.so.6
    #2 0x4117fa99 in ?? () from /usr/lib/libX11.so.6
    #3 0x4117fe7f in _XRead () from /usr/lib/libX11.so.6
    #4 0x411816bb in _XReadEvents () from /usr/lib/libX11.so.6
    #5 0x4116a7ab in XNextEvent () from /usr/lib/libX11.so.6
    #6 0x080a08d9 in _xproc (v=0x0) at 9vx/x11/x11-kernel.c:108
    #7 0x08056c1b in linkproc () at 9vx/trap.c:484
    #8 0x00000000 in ?? ()

    Thread 7 (Thread -1768916080 (LWP 2899)):
    #0 0x4e701723 in __call_pselect6 () from /lib/libc.so.6
    #1 0x4e6fa723 in pselect () from /lib/libc.so.6
    #2 0x0805611a in timerkproc (v=0x0) at 9vx/time.c:187
    #3 0x08056c1b in linkproc () at 9vx/trap.c:484
    #4 0x00000000 in ?? ()

    Thread 6 (Thread -1778623600 (LWP 2900)):
    #0 0xb7f2e424 in __kernel_vsyscall ()
    #1 0x4e7d7206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
    #2 0x080534d2 in runproc () at 9vx/sched.c:237
    #3 0x0808df2b in sched () at 9vx/a/proc.c:165
    #4 0x080523f1 in squidboy (v=0x828e248) at 9vx/main.c:723
    #5 0x4e7d344b in start_thread () from /lib/libpthread.so.0
    #6 0x4e70180e in clone () from /lib/libc.so.6

    Thread 5 (Thread -1792275568 (LWP 2901)):
    #0 0xb7f2e424 in __kernel_vsyscall ()
    #1 0x4e7d7206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
    #2 0x080534d2 in runproc () at 9vx/sched.c:237
    #3 0x0808df2b in sched () at 9vx/a/proc.c:165
    #4 0x080523f1 in squidboy (v=0x829f930) at 9vx/main.c:723
    #5 0x4e7d344b in start_thread () from /lib/libpthread.so.0
    #6 0x4e70180e in clone () from /lib/libc.so.6

    Thread 4 (Thread -1808557168 (LWP 2902)):
    #0 0xb7f2e424 in __kernel_vsyscall ()
    #1 0x4e7da008 in accept () from /lib/libpthread.so.0
    #2 0x0804f227 in so_accept (fd=35, raddr=0x96105f64,
    rport=0x96105f6a) at 9vx/devip-posix.c:102
    #3 0x0804e3c2 in ipopen (c=0x82e0b38, omode=2) at 9vx/devip.c:303
    #4 0x08050b6b in kserve (kc=0x93239b50) at 9vx/kprocdev.c:98
    #5 0x0805155a in kserver (v=0x827d788) at 9vx/kprocdev.c:155
    #6 0x08056c1b in linkproc () at 9vx/trap.c:484
    #7 0x00000000 in ?? ()

    Thread 3 (Thread -1832952944 (LWP 2903)):
    #0 0xb7f2e424 in __kernel_vsyscall ()
    #1 0x4e7da008 in accept () from /lib/libpthread.so.0
    #2 0x0804f227 in so_accept (fd=37, raddr=0x930f8f64,
    rport=0x930f8f6a) at 9vx/devip-posix.c:102
    #3 0x0804e3c2 in ipopen (c=0x82ee158, omode=2) at 9vx/devip.c:303
    #4 0x08050b6b in kserve (kc=0x915a7b50) at 9vx/kprocdev.c:98
    #5 0x0805155a in kserver (v=0x82c6810) at 9vx/kprocdev.c:155
    #6 0x08056c1b in linkproc () at 9vx/trap.c:484
    #7 0x00000000 in ?? ()

    Thread 2 (Thread -1846604912 (LWP 2904)):
    #0 0xb7f2e424 in __kernel_vsyscall ()
    #1 0x4e7d7206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
    #2 0x080534d2 in runproc () at 9vx/sched.c:237
    #3 0x0808df2b in sched () at 9vx/a/proc.c:165
    #4 0x080523f1 in squidboy (v=0x82e6040) at 9vx/main.c:723
    #5 0x4e7d344b in start_thread () from /lib/libpthread.so.0
    #6 0x4e70180e in clone () from /lib/libc.so.6

    Thread 1 (Thread -1208953152 (LWP 2897)):
    #0 0xb7f2e424 in __kernel_vsyscall ()
    #1 0x4e7d7206 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
    #2 0x08053646 in idlehands () at 9vx/sched.c:237
    #3 0x0808cc06 in _runproc () at 9vx/a/proc.c:542
    #4 0x0805343a in runproc () at 9vx/sched.c:118
    #5 0x0808df2b in sched () at 9vx/a/proc.c:165
    #6 0x0805277b in main (argc=, argv= optimized out>) at 9vx/main.c:202
    #0 0xb7f2e424 in __kernel_vsyscall ()


    It died quickly this time.

    Thanks

    ron


+ Reply to Thread