{"action":"created","issue":{"url":"https://api.github.com/repos/PCMan/gtk3-nocsd/issues/11","labels_url":"https://api.github.com/repos/PCMan/gtk3-nocsd/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/PCMan/gtk3-nocsd/issues/11/comments","events_url":"https://api.github.com/repos/PCMan/gtk3-nocsd/issues/11/events","html_url":"https://github.com/PCMan/gtk3-nocsd/issues/11","id":111153141,"number":11,"title":"Simulink issue","user":{"login":"cassiodoroVicinetti","id":1621526,"avatar_url":"https://avatars.githubusercontent.com/u/1621526?v=3","gravatar_id":"","url":"https://api.github.com/users/cassiodoroVicinetti","html_url":"https://github.com/cassiodoroVicinetti","followers_url":"https://api.github.com/users/cassiodoroVicinetti/followers","following_url":"https://api.github.com/users/cassiodoroVicinetti/following{/other_user}","gists_url":"https://api.github.com/users/cassiodoroVicinetti/gists{/gist_id}","starred_url":"https://api.github.com/users/cassiodoroVicinetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassiodoroVicinetti/subscriptions","organizations_url":"https://api.github.com/users/cassiodoroVicinetti/orgs","repos_url":"https://api.github.com/users/cassiodoroVicinetti/repos","events_url":"https://api.github.com/users/cassiodoroVicinetti/events{/privacy}","received_events_url":"https://api.github.com/users/cassiodoroVicinetti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T10:35:36Z","updated_at":"2015-10-13T10:58:40Z","closed_at":null,"body":"I found an issue with Simulink, installed with MATLAB 2015b (launched with option `-desktop`).\r\n\r\nIn the main window, when I click \"Simulink Library\", it prints:\r\n\r\n>Can't reload '/opt/MATLAB/R2015b/bin/glnxa64/libmwsl_graphical_classes.so'\r\n\r\nWhen in the file explorer panel I double click a .slx file to open it, it prints:\r\n\r\n>Error using axes\r\n>While setting the 'Parent' property of 'Axes':\r\n>Can't load '/opt/MATLAB/R2015b/bin/glnxa64/libmwosgserver.so': dlopen: impossibile caricare altri oggetti con\r\n>un TLS statico\r\n>\r\n>*** MATLAB has encountered a Linux operating system bug; this bug will eventually cause MATLAB to crash. Do\r\n>not repeat the command which produced this error, as doing so might cause an immediate crash. Save your work\r\n>and restart MATLAB now.\r\n>\r\n>Error in msgbox (line 278)\r\n>AxesHandle=axes( ...\r\n>\r\n>Error in errordlg (line 47)\r\n>handle = msgbox(ErrorStringCell,DlgName,'error',Replace);\r\n>\r\n>Error in uiopen (line 194)\r\n>    errordlg(err);\r\n\r\nThis behaviour appears when I add `LD_PRELOAD` into the `.profile` file or I prepend it directly into the command to launch MATLAB. It doesn't appear if I only have the `70propagate-LD_PRELOAD` file (without `LD_PRELOAD` in `.profile`).\r\n\r\nMoreover, when I have `LD_PRELOAD` in `.profile`, even launching MATLAB with `GTK_CSD=1` doesn't work, but the only option is to remove `LD_PRELOAD` from `.profile` and restart the user session."},"comment":{"url":"https://api.github.com/repos/PCMan/gtk3-nocsd/issues/comments/147683092","html_url":"https://github.com/PCMan/gtk3-nocsd/issues/11#issuecomment-147683092","issue_url":"https://api.github.com/repos/PCMan/gtk3-nocsd/issues/11","id":147683092,"user":{"login":"chris-se","id":340058,"avatar_url":"https://avatars.githubusercontent.com/u/340058?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-se","html_url":"https://github.com/chris-se","followers_url":"https://api.github.com/users/chris-se/followers","following_url":"https://api.github.com/users/chris-se/following{/other_user}","gists_url":"https://api.github.com/users/chris-se/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-se/subscriptions","organizations_url":"https://api.github.com/users/chris-se/orgs","repos_url":"https://api.github.com/users/chris-se/repos","events_url":"https://api.github.com/users/chris-se/events{/privacy}","received_events_url":"https://api.github.com/users/chris-se/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T10:58:40Z","updated_at":"2015-10-13T10:58:40Z","body":"Without having had a chance to test this myself so far: could you try building `gtk3-nocsd` with\r\n```CFLAGS=\"-ftls-model=local-dynamic -O2 -g\" make```\r\nand try again with it preloaded? That should solve the problem; if it does, I'll add it to the Makefile directly."}}