Opened 6 years ago
Closed 6 years ago
#758 closed defect (fixed)
Killing barber makes vterm nonresponsive
Reported by: | Jakub Jermář | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 0.8.0 |
Component: | helenos/unspecified | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description (last modified by )
As of commit e131bd05cd3ced3b445c51035c8943d3ead77524, killing the barber app results in rendering the vterm window from which the kill was issued non-responsive.
Bisecting reveals that:
889cdb1c2046af9d31d314fa691773fa2e4f9119 is the first bad commit commit 889cdb1c2046af9d31d314fa691773fa2e4f9119 Author: Jakub Jermar <jakub@jermar.eu> Date: Sun Oct 28 22:36:49 2018 +0100 Always answer the IPC_M_PHONE_HUNGUP message
Change History (3)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in commit 790f3a3a7e4d0de0dc62be56505cd98a8966eaef. As the commit message explains, we must not answer the same call twice or bad things happen, such as answering a completely different call which uses the same handle.
Note:
See TracTickets
for help on using tickets.
Applying the following change fixes the issue:
The bad commit answers
call
twice and so does this fix. In the case of the bad commit, the call is answered before comp_window_close(), but I don't see why that is significant other than for timing reasons.