Hi Dark Photon, thanks for sticking with this.
Alternatively, it could be that your program loads libGL.so into memory at runtime after startup via dlopen() / dlsym(). Running “strace | egrep ‘dlopen|dlsym’” might help confirm/refute whether they’re doing that.
I did not see in the strace where it calls for libGL. Runnig ldd /usr/bin/mintinstall returns: not a dynamic executable. I maybe running this command wrong.
you might run "env LD_DEBUG=all your_program
My linux chops are not enough to now how to run this.
Both apps that crash are python scripts.
From the strace, one where the app fails:
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5086, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
close(3) = 0
wait4(5086, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5086
getuid() = 1000
rt_sigaction(SIGINT, {SIG_IGN, , SA_RESTORER, 0x7f55f106a4b0}, {0x53d3a0, , SA_RESTORER, 0x7f55f1410390}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, , SA_RESTORER, 0x7f55f106a4b0}, {SIG_DFL, , 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7ffc6da1794c) = 5088
wait4(5088, OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
Segmentation fault
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5088
rt_sigaction(SIGINT, {0x53d3a0, , SA_RESTORER, 0x7f55f106a4b0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, , SA_RESTORER, 0x7f55f106a4b0}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5088, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
rt_sigaction(SIGINT, {SIG_DFL, , SA_RESTORER, 0x7f55f1410390}, {0x53d3a0, , SA_RESTORER, 0x7f55f106a4b0}, 8) = 0
brk(0x1833000) = 0x1833000
brk(0x1831000) = 0x1831000
exit_group(0) = ?
+++ exited with 0 +++
In line 9 after the wait, is where I have to enter my password, it opens and crashes and I get the seg fault in syslog.
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5450, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
close(3) = 0
wait4(5450, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5450
getuid() = 1000
rt_sigaction(SIGINT, {SIG_IGN, , SA_RESTORER, 0x7f5c6ec584b0}, {0x53d3a0, , SA_RESTORER, 0x7f5c6effe390}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, , SA_RESTORER, 0x7f5c6ec584b0}, {SIG_DFL, , 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], , 8) = 0
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7ffde08f80fc) = 5452
wait4(5452, OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
Killed
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5452
rt_sigaction(SIGINT, {0x53d3a0, , SA_RESTORER, 0x7f5c6ec584b0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, , SA_RESTORER, 0x7f5c6ec584b0}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, , NULL, 8) = 0
— SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5452, si_uid=1000, si_status=0, si_utime=0, si_stime=0} —
rt_sigaction(SIGINT, {SIG_DFL, , SA_RESTORER, 0x7f5c6effe390}, {0x53d3a0, , SA_RESTORER, 0x7f5c6ec584b0}, 8) = 0
brk(0x2561000) = 0x2561000
brk(0x255f000) = 0x255f000
exit_group(0) = ?
+++ exited with 0 +++
In line 9, same as above but after the password the app opens, stays open until I close it. No seg fault in syslog.
Could it be a problem with the python OpenGL bindings? Thanks