Opened 4 years ago

Closed 3 years ago

#1255 closed defect (fixed)

Parallel signal dispatch may corrupt the stack limit

Reported by: evhan Owned by:
Priority: major Milestone: someday
Component: core libraries Version: 4.10.x
Keywords: signals threads Cc: Joerg.Wittenberger@…
Estimated difficulty:

Description

As reported by Jörg and discussed in this chicken-hackers thread, when multiple signals are dispatched in parallel it's possible for C_stack_limit to be assigned an invalid value due to a race in C_raise_interrupt.

7216501 addressed the issue to a degree, but not entirely. A proper fix will likely require some synchronization around this section of code.

Change History (1)

comment:1 Changed 3 years ago by sjamaan

Resolution: fixed
Status: newclosed

I think this has been addressed by 5d2a17 / f2ed421 / 10ef6f6

Note: See TracTickets for help on using tickets.