[haiku-bugs] Re: [Haiku] #8083: Screenshot does not launch until previous hanging app resolves

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Wed, 02 Nov 2011 08:41:34 -0000

#8083: Screenshot does not launch until previous hanging app resolves
-------------------------+----------------------------
   Reporter:  Disreali   |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:  - General  |    Version:  R1/Development
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+----------------------------

Comment (by axeld):

 This may sound a bit too complicated, but what you could do to help the
 issue would be to attach stack traces of the threads involved. That could
 be done like this, for example:
 * drop into the kernel debugger (by pressing alt-sysreq-d).
 * find out the team IDs of the applications using the "teams" command. You
 are looking for media_server, media_addon_server, Media, and Screenshot.
 Note the numbers down.
 * find out the threads of those teams using the "threads <teamID>"
 command. Note those down as well (there will be quite a lot, though).
 * Then, use the "sc <threadID>" command on each of the threads, and post
 the resulting stack traces here. I don't remember if "sc" contains info
 about the thread, so posting the whole debug session would be most
 helpful.
 * exist the debugger using "cont".

 Afterwards, you should find the debugging session in the /var/log/syslog
 file. You could try with a simple command once first, before you go
 through the whole thing, though :-)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8083#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: