Correction to that patch to prevent a stale pointer.
Peace, John Lindgren
--- dlmisc.0.c 2009-09-09 08:34:54.000000000 -0400 +++ dlmisc.c 2009-10-24 11:57:46.000000000 -0400 @@ -54,9 +54,13 @@ #else #ifdef HAVE_LIBDL if (name == NULL) { - Dl_info dlinfo; - if (dladdr(snd_dlopen, &dlinfo) > 0) - name = dlinfo.dli_fname; + static const char * self = NULL; + if (self == NULL) { + static Dl_info dlinfo; + if (dladdr(snd_dlopen, &dlinfo) > 0) + self = dlinfo.dli_fname; + } + name = self; } #endif #endif