gmusicbrowser Forum

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

Title: Hangs on quit, or segmentation fault, on Ubuntu 16.04
Post by: Edmond Sicard on July 29, 2016, 21: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 26, 2017, 00: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 26, 2017, 00: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, 16: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, 07:00:06
On line 1839 of gmusicbrowser.pl (gmusicbrowser-1.1.15), comment out "exit".

Where is the
Code: [Select]
gmusicbrowser.pl file?