https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082014-04-16T13:00:07ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #2663: Strange behaviour when loading a library twice.https://bugs.dragonflybsd.org/issues/2663?journal_id=119252014-04-16T13:00:07Zshamaz
<ul></ul><p>UPD: Please ignore my own library, as MAP_FIXED flag in FreeBSD just overwrites existing mapping. Try any library which was linked against pthreads.</p>
<p>For some reason the constructor of libthread_xu.so will be called twice which will give you an error:</p>
<p>Fatal error 'Cannot allocate red zone for initial thread' at line 275 in file /usr/src/lib/libthread_xu/thread/thr_init.c (errno = 12)</p> DragonFlyBSD - Bug #2663: Strange behaviour when loading a library twice.https://bugs.dragonflybsd.org/issues/2663?journal_id=119312014-04-17T16:23:16Zshamaz
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Fix committed: 0dc5e56d98ab5fc55416a204886f8b132cc9b7f1</p>