Opened 10 years ago
Closed 4 years ago
#13076 closed defect (wontfix)
Use GNU Pth and sigaltstack() for signal handling
Reported by: | jdemeyer | Owned by: | jdemeyer |
---|---|---|---|
Priority: | minor | Milestone: | sage-duplicate/invalid/wontfix |
Component: | c_lib | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | Jeroen Demeyer | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | #12873 | Stopgaps: |
Description (last modified by )
Currently, the Sage signal handling code does not handle stack overflows gracefully. Fix this using sigaltstack()
.
In fact, change the whole design of the signal handling to use GNU Portable Threads which is quite natural once you see it. It immediately also gives a much better solution to #12873.
Apply 13076_sig_pth.patch
Install the new spkg http://boxen.math.washington.edu/home/jdemeyer/spkg/gnu_pth-2.0.7.p0.spkg
Attachments (2)
Change History (16)
comment:1 Changed 10 years ago by
- Description modified (diff)
- Summary changed from Use sigaltstack() for signal handling to Use sigaltstack()/setcontext() for signal handling
comment:2 Changed 10 years ago by
- Dependencies set to #12873
comment:3 Changed 10 years ago by
- Description modified (diff)
comment:4 Changed 10 years ago by
- Status changed from new to needs_review
Changed 10 years ago by
comment:5 Changed 10 years ago by
Never mind, this is totally not supported on OS X 10.4.
comment:6 Changed 10 years ago by
- Status changed from needs_review to needs_work
comment:7 Changed 10 years ago by
- Description modified (diff)
- Summary changed from Use sigaltstack()/setcontext() for signal handling to Use GNU Pth and sigaltstack()
comment:8 Changed 10 years ago by
- Description modified (diff)
Changed 10 years ago by
comment:9 Changed 9 years ago by
- Summary changed from Use GNU Pth and sigaltstack() to Use GNU Pth and sigaltstack() for signal handling
comment:10 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:11 Changed 8 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:12 Changed 8 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:13 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:14 Changed 4 years ago by
- Milestone changed from sage-6.4 to sage-duplicate/invalid/wontfix
- Resolution set to wontfix
- Reviewers set to Jeroen Demeyer
- Status changed from needs_work to closed
Cleaning old tickets...
Note: See
TracTickets for help on using
tickets.
Not very well tested yet, but seems to work on Linux and OS X 10.6.