* crash with pthreads after dlclose()
@ 2009-12-07 11:27 Mario Emmenlauer
0 siblings, 0 replies; only message in thread
From: Mario Emmenlauer @ 2009-12-07 11:27 UTC (permalink / raw)
To: pthreads-win32
Hi,
thank you for the pthreads-win32 project, its doing a great job
for us!
Currently we have an issue with a program crash on exit, which
seems to be related to pthreads. We are using FreeLibrary to close
a library, that uses pthreads internally. Since we do not call
pthreads directly, I don't know if I have to unregister/close/free
anything before calling FreeLibrary()?
The application crashes not at FreeLibrary(), but instead when it
exists normally.
Here is the top of the callstack, in case that helps:
pthreadVC2.dll!_ptw32_callUserDestroyRoutines() + 0xd8 bytes C
pthreadVC2.dll!_pthread_win32_thread_detach_np() + 0x2c bytes C
Thanks, and all the best,
Mario
--
Dipl. Inf. Mario Emmenlauer Office: +41-(0)44-430-1106
Bitplane AG Fax: +41-(0)44-430-1101
Badenerstrasse 682 mailto: mario * emmenlauer.de
CH-8048 Zurich http://www.marssoft.de / http://www.xuvtools.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-07 11:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-07 11:27 crash with pthreads after dlclose() Mario Emmenlauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).