Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Jan 2017 10:46:29 +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-jXRp8VJCVo@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 #1 from Dominic Fandrey <kami@freebsd.org> ---
Created attachment 178664
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178664&action=
=3Dedit
Minimal testcase

I managed to produce a minimal example. Apparently raising an exception cau=
ses
the behaviour.

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

uname -a:
FreeBSD  12.0-CURRENT FreeBSD 12.0-CURRENT #0 r311461: Thu Jan  5 22:46:38 =
UTC
2017     root@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

--=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-jXRp8VJCVo>