Author Topic: Hangs on quit, or segmentation fault, on Ubuntu 16.04  (Read 1372 times)

Edmond Sicard

  • Newbie
  • *
  • Posts: 9
    • View Profile
Hangs on quit, or segmentation fault, on Ubuntu 16.04
« 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
« Last Edit: August 11, 2016, 21:31:09 by Edmond Sicard »

rizlaw

  • Jr. Member
  • **
  • Posts: 23
    • View Profile
Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
« Reply #1 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!

butty

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
« Reply #2 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.

samaris

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Hangs on quit, or segmentation fault, on Ubuntu 16.04
« Reply #3 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 :)