summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSemun Lee <sm79.lee@samsung.com>2016-09-08 13:03:23 +0900
committerSemun Lee <sm79.lee@samsung.com>2016-09-08 13:03:23 +0900
commite40a70a28697005e1e34edab14bf7f8e091d2a79 (patch)
treef091804ca804f71a95e9a22d100fa25b99e3b9b9
parenta58b4b3c5ca848c2d064591e579e830408f607e4 (diff)
downloadlaunchpad-e40a70a28697005e1e34edab14bf7f8e091d2a79.tar.gz
launchpad-e40a70a28697005e1e34edab14bf7f8e091d2a79.tar.bz2
launchpad-e40a70a28697005e1e34edab14bf7f8e091d2a79.zip
I found many Tizen Store applications have potential problem of symbol conflict as they include some glib symbols in its executable. We cannot deal this issue in general way. For workaround, they can be launched by removing RTLD_DEEPBIND flag from dlopen of executable file. Change-Id: I6635b7e14fb7e79d2895476c705f4f97eaecfcb9 Signed-off-by: Semun Lee <sm79.lee@samsung.com>
-rw-r--r--src/launchpad_loader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/launchpad_loader.c b/src/launchpad_loader.c
index 0b7c3a6..8559b73 100644
--- a/src/launchpad_loader.c
+++ b/src/launchpad_loader.c
@@ -298,8 +298,7 @@ static int __loader_terminate_cb(int argc, char **argv, void *user_data)
do_dlopen:
handle = dlopen(argv[LOADER_ARG_PATH],
- RTLD_LAZY | RTLD_GLOBAL
- | RTLD_DEEPBIND | RTLD_NODELETE);
+ RTLD_LAZY | RTLD_GLOBAL | RTLD_NODELETE);
if (handle == NULL) {
_E("dlopen failed(%s). Please complile with -fPIE and " \
"link with -pie flag", dlerror());