How to crash your Hurd system in 1, 2, 3 -- Mach panic: thread_invoke: thread [...] has unexpected state 14

2014-09-17 Thread Thomas Schwinge
Hi!

As a normal user:

$ rpctrace -o /tmp/expect.$$.rpctrace -s 9 /usr/bin/expect
panic: thread_invoke: thread e19dc7e8 has unexpected state 14
Debugger invoked: panic
[...]

Might be the same issue that Sergio once began to diagnose in
http://news.gmane.org/find-root.php?message_id=%3CCALWXaP_JFWJ21kAKurBiKpOBEXkLEXVVtb-oA3XZYkenhAtj2A%40mail.gmail.com%3E,
might be something else.  Anyway, it's reproducible for me.  (For you,
too?  Use of throw-away VM recommended.)


Grüße,
 Thomas


pgpuz2EXEuV3k.pgp
Description: PGP signature


Re: How to crash your Hurd system in 1, 2, 3 -- Mach panic: thread_invoke: thread [...] has unexpected state 14

2014-09-17 Thread Justus Winter
Hey Thomas :)

Quoting Thomas Schwinge (2014-09-17 21:25:35)
 Hi!
 
 As a normal user:
 
 $ rpctrace -o /tmp/expect.$$.rpctrace -s 9 /usr/bin/expect
 panic: thread_invoke: thread e19dc7e8 has unexpected state 14
 Debugger invoked: panic
 [...]
 
 Might be the same issue that Sergio once began to diagnose in
 http://news.gmane.org/find-root.php?message_id=%3CCALWXaP_JFWJ21kAKurBiKpOBEXkLEXVVtb-oA3XZYkenhAtj2A%40mail.gmail.com%3E,
 might be something else.  Anyway, it's reproducible for me.  (For you,
 too?  Use of throw-away VM recommended.)

Yes:

root@debian:~# rpctrace -o /tmp/expect.$$.rpctrace -s 9 /usr/bin/expect
panic: thread_invoke: thread a0c29540 has unexpected state 14
Debugger invoked: panic
Kernel Breakpoint trap, eip 0x8011f6a4
Stopped at  Debugger+0x13:  int $3
db trace
Debugger(801dd280,7,7a000,a08a1af8,802225c8)+13
panic(801e169c,801d6a2b,a0c29540,14,a0c29540)+76
host_slab_info(80137e70,a02d4054,2139e000,80242c80,a0c29540)+1b5
thread_invoke(a0c29540,8010803c,a09ac6b0,80126cad)+266
thread_block(8010803c,7a000,a1389000,80129059)+44
thread_halt_self(a0991610,80223000,a0c88e98,8010b639,959a000)+39
exception_no_server(a12ff000,801262f2,10,a0c29540,1)+47
exception_try_task(1,2,1a0dfdc,a0c29540,a08a2240)+2f
exception(1,2,1a0dfdc,8010992b,80244894)+41
i386_exception(1,2,1a0dfdc,a0c29540,a0c88f90)+37
user_page_fault_continue(2,a089ce00,0,a0888180,a0929e08)+6a
vm_fault(a08a2240,1a0d000,3,0,0,80109960,a0ae9ef0,a0c88fdc)+236
user_trap(a0ae9ef0,a09a0190,80126530,a0c88fe4,0)+1b1

no memory is assigned to address 01c0de9c

Justus