[Bug 235211] dlopen/libthr appears broken

[email protected]
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235211

            Bug ID: 235211
           Summary: dlopen/libthr appears broken
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: threads
          Assignee: [email protected]
          Reporter: [email protected]

First observed with Lua and cqueue and reproduced on both 12.0-RELEASE as well
as -CURRENT. It was reported that this is a regression from 11 -> 12.

Fairly minimal test case [1]; an application that dlopen() an .so linked
against libthr and invokes a function in that .so that creates a new thread.
The new thread appears to be created (see [2] for truss output) but there we
stall without ever entering thread_start in the new thread.

[1] https://github.com/RhodiumToad/dynthr-test
[2] https://people.freebsd.org/~kevans/dynthr-broken.txt

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.