Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2017 14:54:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215826] C++ program signal handlers not called
Message-ID:  <bug-215826-8-euPBP37KlE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215826-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215826-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215826

--- Comment #2 from Dominic Fandrey <kami@freebsd.org> ---
Created attachment 178670
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178670&action=
=3Dedit
Show sigprocmask, before and after exception

This is a version of the test case that outputs the sigprocmask before and
after an exception.

Output on the same system as before:

# c++ mask.cpp -o mask && ./mask
main/try/sigprocmask: 00000000000000000000000000000000
main/catch/sigprocmask: 0xfffef007ffffffffffffffffffffffff
Raising signal: SIGINT
Returning despite signal!
# c++ mask.cpp -o mask -lpthread && ./mask
main/try/sigprocmask: 00000000000000000000000000000000
main/catch/sigprocmask: 00000000000000000000000000000000
Raising signal: SIGINT

#

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215826-8-euPBP37KlE>