gmusicbrowser Forum

Main board => Questions => Topic started by: Edmond Sicard on July 29, 2016, 16:15:31

Title: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: Edmond Sicard on July 29, 2016, 16:15:31
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 (https://github.com/squentin/gmusicbrowser/issues/131)
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: rizlaw on January 25, 2017, 19:16:18
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!
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: butty on January 25, 2017, 19:50:26
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.
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: samaris on May 14, 2017, 11:30:54
Thanks very much for the help, guys, and thank you Butty for the workaround (and details).
Seems to work great on Ubuntu 16.04 :)
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: ivan3dart on June 05, 2018, 02:00:06
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?
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: diem on January 02, 2019, 18:15:37
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!
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: suhtek on March 21, 2019, 09:31:27
on xubuntu 18.04 the file is:
/usr/bin/gmusicbrowser
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: Kalimer on June 12, 2019, 12:43:26
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.
Title: Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: Kalimer on June 12, 2019, 18:42:55
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.