Author Topic: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X  (Read 3696 times)

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« on: June 19, 2015, 01:59:46 PM »
I can get anywhere between 1 & 3 clicks on sequenced effects within the grid before the program crashes and OS X produces a crash report, snippet below for the crashed thread.  Rolled back to 4.1.6 and there are no problems with clicking effects.

Crashed Thread:        9

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
*** error for object 0x10dd94437: pointer being realloc'd was not allocated


Thread 9 Crashed:
0   libsystem_kernel.dylib           0x00007fff9d1ce286 __pthread_kill + 10
1   libsystem_c.dylib                0x00007fff95979b53 abort + 129
2   libsystem_malloc.dylib           0x00007fff92eb53cd realloc + 385
3   xLights.xLights                  0x000000010dd9445b wxString::AsChar(wxMBConv const&) const + 107
4   xLights.xLights                  0x000000010d8f58ac xLightsFrame::RenderEffectFromMap(Effect*, int, int, SettingsMap const&, PixelBufferClass&, bool&, bool, RenderEvent*) + 54044
5   xLights.xLights                  0x000000010d91ac22 RenderJob::Process() + 4114
6   xLights.xLights                  0x000000010d8a0d5f JobPoolWorker::Entry() + 47
7   xLights.xLights                  0x000000010dde8f9f wxThread::CallEntry() + 15
8   xLights.xLights                  0x000000010dde88b6 wxThreadInternal::PthreadStart(wxThread*) + 2662
9   libsystem_pthread.dylib          0x00007fff9a29b268 _pthread_body + 131
10  libsystem_pthread.dylib          0x00007fff9a29b1e5 _pthread_start + 176
11  libsystem_pthread.dylib          0x00007fff9a29941d thread_start + 13

Thread 10:

Thread 9 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x0000000116aabb78  rdx: 0x0000000000000000
  rdi: 0x000000000001095f  rsi: 0x0000000000000006  rbp: 0x0000000116aabba0  rsp: 0x0000000116aabb78
   r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x000000010dd94437  r13: 0x0000000000000005  r14: 0x0000000116ab2000  r15: 0x0000000000000001
  rip: 0x00007fff9d1ce286  rfl: 0x0000000000000206  cr2: 0x00007fff7e98efd8
 
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133
Kevin Pankratz
Blaine MN

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #1 on: June 19, 2015, 02:09:34 PM »
Can you attache the xlights report?   I cannot reproduce this, but it could be specific to a certain effect type or something.   
Daniel Kulp
Framingham, MA

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #2 on: June 19, 2015, 02:52:26 PM »
xLights is not generating a debug report with this crash, otherwise I would attach it for you.  Some sequences won't produce the crash when I click on a certain effect, but another sequence with the same effect will.  No rhyme or reason.  Most effects on my sequence grid will crash the program right now when I simply click on them.  So this version is not usable at all for me.

I'm running xLights this weekend on my wife's MacBook Air and I can try it on my iMac when we return on Sunday.  Not sure if that would make a difference or not?

I did re-render and save the files, but it didn't help.  Playback on the layout tab works fine.
Kevin Pankratz
Blaine MN

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #3 on: June 19, 2015, 06:46:46 PM »
Well then attach your sequence XML file and the xlights_rgbeffects.xml and xlights_networks.xml files in a zip file to this thread.  I'm not getting any crashes when clicking on effects.

Sean is gone for 4 days and did that release right before he left so you will probably need to stick with the previous version for a few days even if we find a fix.

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #4 on: June 19, 2015, 08:36:54 PM »
Here are my files.  I did test creating a new sequence and added effects that were crashing the program.  I'm able click until my fingers are sore and no crash.  As soon as I load a previously saved sequence and click on a effect, crash.
Kevin Pankratz
Blaine MN

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #5 on: June 19, 2015, 10:34:17 PM »
I tried your file and couldn't get it to crash on Windows.  I'll see if Dan gets a chance to try it out on Mac or I'll have to get my Mac setup up to date to try it later.

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #6 on: June 20, 2015, 02:10:06 AM »
I'm having a crashing issue in 4.1.7 also.
Everytime I try to save any sequence, the program crashes.
I have attached the crash report as a pdf
I am using a Mac by the way

Going back to 4.1.6 in the meantime

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #7 on: June 20, 2015, 06:35:50 AM »
I see nothing but 39 blank pages in that PDF file.

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #8 on: June 20, 2015, 03:05:29 PM »
I see nothing but 39 blank pages in that PDF file.

Oh, that's weird. Don't know what happened there, sorry.
I'll try again


Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #9 on: June 22, 2015, 09:59:54 PM »
Anything useful in the crash report I posted?
I have not been able to use 4.1.7 at all on any of my macs due to the software crashing on saving.
Even re-downloading the software with a new install didn't help.
4.1.6 is working fine so Im using that at present.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #10 on: June 23, 2015, 07:33:58 AM »
Nothing I could figure out.  I responded about my theory on the crashes in another thread.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #11 on: June 23, 2015, 09:09:10 AM »
I just stuck a new "4.1.7b" build for the Mac up.  I made a few changes that may help and a couple that I *KNOW* were causing the Mac build to crash when flipping tabs.   Please give that a try and see if it helps.   If not, I'll likely need new stack traces along with the xlights_* files and sequence XML files.
Daniel Kulp
Framingham, MA

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: 4.1.7 Crashes Upon Clicking Effect in Sequence Grid - OS X
« Reply #12 on: June 23, 2015, 07:01:08 PM »
Working for me now.  Thanks Dan.
Kevin Pankratz
Blaine MN