Bug#1040375: /usr/lib/x86_64-linux-gnu/simplescreenrecorder/libssr-glinject.so: Segmentation fault when used with anything
[BZZZZ]
> * What led up to the situation?
> Trying to "Record OpenGL" in simplescreenrecorder.
> * What exactly did you do (or not do) that was effective (or ineffective)?
> LD_PRELOAD=/usr/lib/x86_64-linux-gnu/simplescreenrecorder/libssr-glinject.so /usr/bin/true
It is unclear to me why you believe this should work. Can you tell me
where you got the idea to run the shared library like this?
Note, I am able to reproduce the crash. I only use the package by
starting simplescreenrecorder, so I have never seen the problem you are
reporting before, and do not understand when it would occur in normal
use. Can you explain?
I tried running from valgrind, but it did not work. I get the segfault,
but no information about where the segfault happen.
valgrind --trace-children=yes dash -c "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/simplescreenrecorder/libssr-glinject.so /usr/bin/true"
Same problem with gdb:
(gdb) set environment LD_PRELOAD /usr/lib/x86_64-linux-gnu/simplescreenrecorder/libssr-glinject.so
(gdb) run
Starting program: /usr/bin/true
During startup program terminated with signal SIGSEGV, Segmentation fault.
(gdb) bt
No stack.
(gdb)
I have no idea how to debug this.
--
Happy hacking
Petter Reinholdtsen
Reply to: