bugThe libunwind project - Bugs: bug #43752, Libunwind with...

 
 

bug #43752: Libunwind with --enable-cxx-exceptions does not preserve signal mask

Submitted by:  Uri Shachar <ushachar>
Submitted on:  Thu 04 Dec 2014 03:11:28 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 04 Dec 2014 03:11:28 PM UTC, original submission:

When linking against Ubuntu standard libunwind (which is compiled with --enable-cxx-exceptions, based on the libunwind 1.1 release), throwing exceptions causes the process signal mask to be altered.

attached a sample program that demonstrates the issue.

Setting ucp->uc_sigmask in getcontext.S seems to fix the issue - but there is a comment in the file saying that this is intentionally not done....

Uri Shachar <ushachar>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #32593:  test_hang.cpp added by ushachar (2KiB - text/x-c++src - Attached sample program that demonstrates the issue + output)
file #32594:  output.txt added by ushachar (401B - text/plain - Attached sample program that demonstrates the issue + output)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by djwatson24 (Updated the item)
  • -unavailable- added by ushachar (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 Jan 2017 05:29:48 PM UTCdjwatson24Open/ClosedOpen=>Closed
    Thu 04 Dec 2014 03:11:28 PM UTCushacharAttached File-=>Added test_hang.cpp, #32593
      Attached File-=>Added output.txt, #32594

    Back to the top


    Powered by Savane 3.1-cleanup1