﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	field_blocks	field_dependson	field_seealso
805	Debug session not cleaned up if debugger gets killed	Jiri Svoboda		"Any number of tasks might have a phone Pn open to a target task T's kbox. At most one of them has an open debugging session (the debugger D). If a Pn is hung up, we call kbox_proc_phone_hungup(), which detects using call->sender == TASK->udebug.debugger that the sending task is D and it cleans up the debug session, unfreezing T.

Now if we kill D in the middle of a debugging session, ipc_cleanup() -> phone_cap_cleanup_cb -> ipc_phone_hangup which sends hangup_call which has ->sender initialized to NULL.

This causes a problem since kbox_proc_phone_hungup() will see call->sender (NULL) != TASK->udebug.debugger and will not clean up the debugging session, leaving the task frozen."	defect	new	major		helenos/unspecified	mainline		udebug				
