tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Qt6
On Mon, Jul 11, 2022 at 11:51:41PM +0200, Niclas Rosenvik wrote:
> assertion "pthread__tsd_destructors[key] != NULL" failed: file
> "/usr/src/lib/libpthread/pthread_tsd.c", line 177, function
> "pthread__add_specific" Abort (core dumped)
Please show a backtrace.
This assertion means: pthread__add_specific() is called with a key that
has not been created properly (and this is most likely called from
pthread_setspecific() with the key passed from the caller).
The manual says:
Undefined behavior may follow if either function is called with a key
value not obtained from pthread_key_create(3), or if the call is made
after key has been deleted with pthread_key_delete(3). [..]
Since it only happens when you quit the program, my guess would be some
cleanup calling pthread_key_delete() and later some other code still using
the key.
Martin
Home |
Main Index |
Thread Index |
Old Index