[Bug 223165] Crash with pthread_condattr_destroy(NULL) on freebsd-11

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 25 07:52:55 UTC 2017


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

Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #2 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Conrad Meyer from comment #1)
The SUSv7tc2 description of the function explicitely says that the behavior is
undefined if the function is passed not a pointer to the previously initialized
condattr object.  So the internal acceptance of NULL does not really matter
much there.

Also, I am not sure why do you get SIGSEGV.

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


More information about the freebsd-threads mailing list