Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: pbudden on April 20, 2018, 05:04:12 AM

Title: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: pbudden on April 20, 2018, 05:04:12 AM
Hi, I just went to launch xLights and get the splash screen then nothing on screen apart from an error report from Ubuntu after a few mins.
it is reporting a SIGSEGV in XQueryExtension()

I don't see any logs created from xLights

Did the usual stuff. make sure all is updated and reboot for clean machine and the same.

Is this known and being looked at?

TIA
Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: keithsw1111 on April 20, 2018, 05:36:39 AM
Upgrade to 11?  XLights always produces logs. Not always crash reports.


Sent from my iPhone using Tapatalk
Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: pbudden on April 20, 2018, 05:47:03 AM
Chris Debenham has not yet released 2018.11 for Ubuntu yet.
I will see if I can upgrade manually

Thanks
Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: debenham on April 24, 2018, 12:43:18 AM
Have you tried the appimage file from https://www.adebenham.com/xlights-linux/ ?
I have 2018.11 up there - I hit some problems with the Ubuntu packages so they haven't been regenerated yet

Sent from my Pixel 2 XL using Tapatalk

Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: debenham on April 25, 2018, 09:36:03 PM
I've fixed up the build and so 2018.11+ is up in the ubuntu repo
Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: pbudden on April 30, 2018, 09:36:40 AM
Hi Chris,

Thank you for updating the package.
I am still having the same issue with 2018.11 with a segfault.

The AppImage runs but is unstable and crashes when I change things.
At this time I have done the usual things:
ensure everything is up to date
reboot machine
make a new user and environment only for xLights
uninstall and reinstall the package.

I am arranging another machine for a clean install of Ubuntu, but I don't really want to reload my laptop.

This is the only application that is  failing, but I am the only one that seems to have the issue, which means I must have an issue with my install.  I have no idea how to go about working out what dependency is failing.

Can anyone with deeper skills point me in the right direction please..

TIA

Paul Budden
Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: debenham on April 30, 2018, 04:23:51 PM
What desktop are you using? (ie gnome/unity/kde/cinnamon)
Also - do you know if you are using Xorg or Wayland?  To figure this out run 'ps -ef|grep Xorg' and see if it is running.
Can you run xLights from a terminal window with the -d option to try and get a bit of extra debug info?
Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: debenham on May 01, 2018, 06:54:55 PM
Closing the loop on this issue - it was due to Ubuntu using Wayland.
It was fixed up going back to the login screen and choosing 'Gnome on Xorg' or similar from the session chooser (at least that option showed up on my system in the past)
Title: Re: SegFault in xLights 2018.10 Ubuntu 17.10
Post by: pbudden on May 02, 2018, 05:12:11 AM
Thank you Chris.
After moving away from Wayland all seems to be rock stable now.
Appreciate your advice and guidance.