[haiku-bugs] Re: [Haiku] #12306: Haiku won't shutdown

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Wed, 30 Sep 2015 08:34:13 -0000

#12306: Haiku won't shutdown
-----------------------+----------------------------
Reporter: vidrep | Owner: nobody
Type: bug | Status: new
Priority: blocker | Milestone: R1/beta1
Component: System | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------+----------------------------

Comment (by ttcoder):

shutdown-worker's backtrace locates it in rw_lock_wait(), sounds
consistent with with the `threads` command listing is as being stuck
waiting on an read-write lock

undertaker's backtrace is more interesting: it seems it acquired the same
lock indeed (since its bt is deep in "areas" functions and the lock it
presumably acquired does deal with areas) but never got around to
releasing it since it's sitting idle in `smp_send_broadcast_ici()`

I can't find it now, but unless I'm mixing up tickets I seem to recall one
of the screenshots you had posted showed you had 3 cores disabled (1, 2,
and 3) and only one (0) remaining active.

Maybe smp_send_broadcast_ici() fails whenever it's called with the other
cores disabled, which happens sometimes for you for some reason ?? Just
guessing, not kernel savvy, you need to get on the horn on IRC ..etc and
bribe/beg/steal a solution or at least a true analysis from a real kernel
dev, giving them a pointer to this backtrace stuff :-)

--
Ticket URL: <https://dev.haiku-os.org/ticket/12306#comment:22>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: