threading and dlopen()

2007-12-18 Thread Markus Hoenicka
Hi, please bear with me if the issue below sounds familiar[1]. I've done some more experiments to find out why the firebird client library crashes on my box. If you're familiar with threads and dynamic linking, please read on. I'm trying to fix the libdbi driver for the firebird database engine

Re: threading and dlopen()

2007-12-18 Thread Heiko Wundram (Beenic)
Am Dienstag, 18. Dezember 2007 21:34:33 schrieb Markus Hoenicka: My (limited) analysis makes me think this is some sort of a threading issue aggravated by the fact that the code is dlopen()ed (remember the same code works ok if compiled into a standalone app). BTW the firebird client library

Re: threading and dlopen()

2007-12-18 Thread Markus Hoenicka
Heiko Wundram (Beenic) writes: Have you tried compiling your program with gcc -fpic -pthread ... ? I don't have any more insight into this problem, at least as I'm not using dbi and as such am not able to reproduce it, but I'd guess that if your program doesn't conform to the