[Bug 220767] lang/beignet: hangs if consumer is not linked against libpthread after jemalloc 5.0.0 update
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220767 --- Comment #6 from Jason Evans <[email protected]> --- I don't have any specific ideas as to why this is happening. Bootstrapping jemalloc on FreeBSD is really tricky, because pthreads mutexes use malloc, and jemalloc has to jump through hoops to initialize its mutexes in multiple phases. It looks like beignet depends on the libpthread-stubs package. Is it possible that the stubs don't sufficiently stub out the libc-internal hooks that jemalloc uses to bootstrap? Here's a list of pthreads-related symbols jemalloc depends on (generated by building stand-alone jemalloc): _pthread_mutex_init_calloc_cb je_pthread_create_wrapper pthread_cond_init pthread_cond_signal pthread_cond_timedwait pthread_cond_wait pthread_create pthread_create_fptr pthread_join pthread_mutex_lock pthread_mutex_trylock pthread_mutex_unlock pthread_sigmask -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To unsubscribe, send any mail to "[email protected]"