July 29, 2016, 16:15:31 Last Edit: August 11, 2016, 16:31:09 by Edmond Sicard
Hello,

I upgraded to Ubuntu 16.04 and GMB 1.1.15 sometimes (not always) hangs or crashes on quit.
I did not have this problem on Ubuntu 14.04

As it turns out there already is an issue on github: https://github.com/squentin/gmusicbrowser/issues/131

I can confirm the same problem on 16.04.1 LTS.

BTW, has Quentin stopped development of gMusicbrowser? There hasn't been an update in over a year!

Hi,
I have found a workaround for the segmentation fault.

On line 1839 of gmusicbrowser.pl (gmusicbrowser-1.1.15), comment out "exit".
For example:

  exec $Options{Shutdown_cmd} if $turnoff && $Options{Shutdown_cmd};
  # exit; # <= This causes segmentation fault.

PS. I am using gmusicbrowser on Linux Mint 18.

Thanks very much for the help, guys, and thank you Butty for the workaround (and details).
Seems to work great on Ubuntu 16.04 :)

Quote from: butty on January 25, 2017, 19:50:26
On line 1839 of gmusicbrowser.pl (gmusicbrowser-1.1.15), comment out "exit".

Where is the gmusicbrowser.pl file?

gmusicbrowser.pl is, in my case (Gentoo linux) actually /usr/bin/gmusicbrowser. I applied this edit (in my case the line number was slightly higher, but easy to spot) and it worked like a charm!

on xubuntu 18.04 the file is:
/usr/bin/gmusicbrowser

Yes, where is that file? Can any kind soul point it out?

Using gmusicbrowser in Ubuntu 16.04, and I can't for the life of me find it. I love this program and have used it for years, but these intermittent crashes ever since I upgraded from 14.04 to 16.04 are becoming annoying.

Found it. In Ubuntu 16.04, it's just named gmusicbrowser, and can be found in /usr/bin/

Thanks again to Butty for the workaround. It totally did the trick.