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

--- Comment #1 from Dominic Fandrey <[email protected]> ---
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     [email protected]:/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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to