dlopen(), atexit() crash on FreeBSD (testcase included)

2007-12-31 Thread Markus Hoenicka
#include #include void exithandler(void); void hellodriver(void) { printf("hello driver\n"); fflush(stdout); atexit(exithandler); } void exithandler(void) { printf("now exiting\n"); fflush(stdout); } --8<- -- Markus Hoenicka [EM

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2007-12-31 Thread Markus Hoenicka
esign as you say. Thanks anyway to you, and to Jason Evans, for your replies. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ___

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2007-12-31 Thread Markus Hoenicka
g to be cute but the Firebird folks. I'm just trying to use their client library in a dlopen()ed module, and I was investigating whether something can be done from the FreeBSD end. I've also forwarded Alexander's reply to the Firebird folks for consideration. regards, Markus -- Mark

Re: dlopen(), atexit() crash on FreeBSD (testcase included)

2008-01-01 Thread Markus Hoenicka
nd runs ok. I'm wondering if this just so happens to work, or if Linux uses some weird mechanism to keep the installed routines accessible. But again, there is no need to investigate this any further, I'm just curious by design. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-p