[haiku-bugs] Re: [Haiku] #5611: Impossible to terminate a blocked process

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Mon, 22 Mar 2010 00:16:09 -0000

#5611: Impossible to terminate a blocked process
---------------------------+------------------------------------------------
 Reporter:  fano           |       Owner:  axeld    
     Type:  bug            |      Status:  new      
 Priority:  normal         |   Milestone:  R1       
Component:  System/Kernel  |     Version:  R1/alpha1
 Keywords:                 |   Blockedby:           
 Platform:  All            |    Blocking:           
---------------------------+------------------------------------------------
Changes (by bonefish):

  * owner:  nobody => axeld
  * priority:  high => normal
  * component:  - General => System/Kernel


Comment:

 Can we please not mix things in this ticket. That a process cannot be
 killed (as opposed to quit) is an unacceptable kernel or driver bug. Let's
 focus on that. Detecting unresponsive applications is something else
 entirely and more of a missing feature (though applications -- at least
 the ones included in Haiku simply shouldn't hang in the first place). Feel
 free to open a new ticket for that, if there is none yet.

 You have set the version to "R1/alpha1". Is the problem reproducible with
 a more recent revision? A more detailed description of how your situation
 can be reproduced would be appreciated. At least I've never seen VLC or
 MediaPlayer hang in a way that they couldn't be killed (though,
 admittedly, I haven't used them very often). Stippi brought up UDF, though
 I can't see any mention of it in the ticket description. Were you playing
 back (media files from) a DVD?

 After you've established that a process cannot be killed (BTW, one can
 kill also using ProcessController (via the "Threads and CPU usage" menu))
 a stack trace of all threads of that application would be helpful for
 analyzing the problem. You can get those in the kernel debugger: Enter it
 via Alt-SysReq-D. Use the "teams" command to get a list of all running
 teams and find the ID of team in question. Use "threads <team ID>" to get
 the list of threads of the team. Use "bt <thread ID>" to get a stack trace
 for each thread. Leave the kernel debugger with the "co" command. After a
 few seconds all the output from the kernel debugger should have made it to
 /var/log/syslog. Append the file to the ticket. Thanks!

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

Other related posts: