Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#240 closed bug (fixed)

Shutting down doesn't work when an application hangs

Reported by: axeld Owned by: bonefish
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When you run Chart in direct window mode it will hang when closed (or during shutdown). The shutdown process correctly halts and asks me if I wanted to kill that application, but when I do so, nothing happens anymore. The kill button hides, and the "Cancel Shutdown" button has no effect whatsoever. Tested with hrev16557.

Change History (6)

comment:1 by j_freeman@…, 18 years ago

I confirm this bug, which has existed for several revisions now. The Shutdown/Restart functionality is a little shaky in general.

comment:2 by axeld, 18 years ago

While the application can be killed now (didn't work before because of a bug in wait_for_thread()), the shutdown process should ignore apps that cannot be killed for whatever reason.

comment:3 by bonefish, 18 years ago

Status: newclosed

comment:4 by bonefish, 18 years ago

Resolution: fixed

comment:5 by bonefish, 18 years ago

In revision 16778 we send a SIGKILL instead of calling kill_team(). So the shutdown process can no longer hang when killing a team (at least theoretically).

comment:6 by axeld, 18 years ago

Dunno why kill_thread() waited for the thread to be killed, but it no longer does this; I've reverted your change to ShutdownProcess.cpp, as it's no longer necessary.

Note: See TracTickets for help on using tickets.