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

#5611: Impossible to terminate a blocked process
 Reporter:  fano       |       Owner:  nobody   
     Type:  bug        |      Status:  new      
 Priority:  high       |   Milestone:  R1       
Component:  - General  |     Version:  R1/alpha1
 Keywords:             |   Blockedby:           
 Platform:  All        |    Blocking:           
 If a process is blocked it seems there is no way to stop it!

 For example I've see this with MediaPlayer and VLC today, this process
 hangs and you can close the windows, but the process not really terminate,
 it continue to run.
 The icon in twitcher is present as is in Process Controller, and if you do
 a ps, you see it.

 Sadly if I choose "Quit Application" in twitcher or "Quit an application"
 or (very bad I've to do this) kill -9 PID on terminal, the process
 continue the execution as nothing happened.

 Sorry to say this seems Windows like (a lot!) process is blocked and the
 user request terminatination and nothing happens!

 The only way to terminate the application in this case is to reboot the
 machine, then an Alert appears saying "the application XXX is blocked
 maybe in a modal panel. You want to quit it?" If i choose to kill, now it
 terminates and the system is rebooted.

 Obviusly the right beahvior is:

 If the user want to terminates a blocked application all the way to
 terminate it should suceed! Not only when the system is rebooted, it is
 not important what was happening.

 Maybe if an application is blocked (and the OS should know it) should be
 terminated automatically.

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

Other related posts: