Author Topic: Animated GIF causes fatal crash when used with 'Image' model (Linux)  (Read 882 times)

Offline DoctorWizard

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Doctor Wizard's Giant Musical Holiday Light Show
So I was thinking about how I might be able to model motorized moving things, such as disco balls and those swirly Gemmy projectors, and self-blinking things such as meteor tubes.  I thought to try an animated GIF, or better yet, an animated PNG (*.apng) since PNG also gives an alpha channel in addition to transparency.

Sigh.  It didn't work.  It will load a .apng without crashing, but only uses the first frame.  An animated .gif however, causes an immediate fatal crash every time in the Linux release 2019.8.  Tried multiple .gif's and .apng's in case perhaps one of them was corrupted.

Ideally it would be awesome if you could fully support these formats including the animation, alpha channel and transparency.

Offline ghormann

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Animated GIF causes fatal crash when used with 'Image' model (Linux)
« Reply #1 on: March 06, 2019, 04:18:12 PM »
For awareness, there is an open issue where animated gifs crash under linux.

https://github.com/smeighan/xLights/issues/1323

Greg

Offline ghormann

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Animated GIF causes fatal crash when used with 'Image' model (Linux)
« Reply #2 on: March 06, 2019, 04:35:02 PM »
Actually, can you
1) Are you compiling your self or using appImage
2) Share your house model
3) Share your animated image.


I just tested with 2019.15, complied myself on Uubuntu 18.04.02.  I tested the animated image in the issue linked above and it worked fine.

Greg.

Offline DoctorWizard

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Doctor Wizard's Giant Musical Holiday Light Show
Re: Animated GIF causes fatal crash when used with 'Image' model (Linux)
« Reply #3 on: March 07, 2019, 07:03:09 PM »
Loads most of my test gif's without crashing using the 2019.14 appimage.  (Still doesn't animate though.  Sigh.)  With 2 of my test gif's get the message "unable to load suchandsuch.gif" but those 2 are pretty big with lots of frames.

Offline ghormann

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Animated GIF causes fatal crash when used with 'Image' model (Linux)
« Reply #4 on: March 08, 2019, 04:03:24 PM »
I've only tried a few, but the ones I tried animate.

If you have a reasonable size that loads but doesn't animate, you'll have to share so that someone can try to reproduce.

Greg