[Tizen 5.5 / GLIBC 2.24] Workaround for GLIBC bug
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 10 Apr 2020 05:32:13 +0000 (14:32 +0900)
committerwooksong <wook16.song@samsung.com>
Fri, 10 Apr 2020 07:27:22 +0000 (16:27 +0900)
GLIBC dlclose bug
https://bugzilla.redhat.com/show_bug.cgi?id=1264556#c42
is haunting us again with Tizen 5.5 backports.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/nnstreamer/nnstreamer_subplugin.c

index 41d2848..d5770d4 100644 (file)
@@ -239,8 +239,9 @@ _close_handle (gpointer data)
  * The corresponding error message is:
  * Inconsistency detected by ld.so: dl-close.c: 811:
  * _dl_close: Assertion `map->l_init_called' failed!
+ * Note that Tizen 5.5 / GLIBC 2.24 has the same bug!
  */
-#if defined(__GLIBC__) && (__GLIBC__ == 2) && (__GLIBC_MINOR__ <= 23)
+#if defined(__GLIBC__) && (__GLIBC__ == 2) && (__GLIBC_MINOR__ <= 24)
   return;                       /* Do not call close and return */
 #else
   g_module_close ((GModule *) data);