[Bug 215826] C++ program signal handlers not called

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 9 10:46:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215826

--- Comment #1 from Dominic Fandrey <kami at freebsd.org> ---
Created attachment 178664
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178664&action=edit
Minimal testcase

I managed to produce a minimal example. Apparently raising an exception causes
the behaviour.

I reproduced the problem using the following VM image:
http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.0-CURRENT/amd64/20170105/

uname -a:
FreeBSD  12.0-CURRENT FreeBSD 12.0-CURRENT #0 r311461: Thu Jan  5 22:46:38 UTC
2017     root at releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Produce erroneous behaviour:
c++ test.cpp -o test && ./test

Produce expected behaviour:
c++ test.cpp -o test -lpthread && ./test

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


More information about the freebsd-bugs mailing list