Sunday, September 4, 2016

gmrun Segmentation fault, core dumped, on ubuntu 16.10

run gmrun with gdb it show that, it has problem with

(gdb) run
Starting program: /usr/bin/gmrun
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff72b6819 in g_type_is_a ()
   from /usr/lib/x86_64-linux-gnu/

so the easy way to get gmrun run, we copy the working version from older ubuntu version that work, such as xenial. because it is a small app, it is easy to copy.

1- copy  all the neccessary file from the machine that has working gmrun
/usr/bin/gmrun to ~/gmrun/bin
/lib/x86_64-linux-gnu/ ~/gmrun/lib

2- create library symbolic link with the following structure -> ->

3- tun gmrun with the following command
$ LD_LIBRARY_PATH=~/gmrun/lib/ ~/gmrun/bin/gmrun

No comments:

Post a Comment