Page 1 of 1

Crash when adding something to the scene

Posted: Tue May 03, 2016 1:46 pm
by portapipe
I really don't know what happened but with OS X el capitan QLC crash so much... and I'm in front of the customer...
This is the crash log:

http://pastebin.com/P0T06rSt

Hope this will figure out what is the issue.

Re: Crash when adding something to the scene

Posted: Tue May 03, 2016 1:56 pm
by plugz
Hello,

Workspace file ?

Steps to reproduce ?

Thank you

Re: Crash when adding something to the scene

Posted: Tue May 03, 2016 2:07 pm
by portapipe
How to reproduce it:
Show -> + Button to add anything to the show

Thanks

Re: Crash when adding something to the scene

Posted: Tue May 03, 2016 2:32 pm
by plugz
Thank you, I managed to reproduce the crash on QLC+4.10.3a. I''ll try to have a look when I have some time.

Re: Crash when adding something to the scene

Posted: Tue May 03, 2016 8:06 pm
by portapipe
Thanks, let me hope that this will be fixed :oops:

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 6:08 am
by portapipe
I did some tests and I found that If you open the file with a 4.8.5 qlc+ version you'll see some sequences to be in the chaser's folder, BUT the icon is of the sequences (plus I don't have any chaser). With 4.9 an above you'll didn't see that and I've worked with 4.10.3a all the time in a regular way (nothing odd, I have dimmers and bulbs).

Image

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 9:20 am
by plugz
Now fixed in GIT, thank you

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 9:28 am
by portapipe
Oh great! Can I ask what was the problem? Now I can download it or I have to wait?
Thanks!

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 10:06 am
by plugz
The problem is that some sequences in your workspace have been created with an ID smaller than the scene they are attached to, and QLC+ does not handle this well.

This also caused the display issues you saw in 4.8.5 (in the Function Manager).


portapipe wrote:Now I can download it or I have to wait?
You'll have to wait for the next TEST version to be out, I don't know when that will be.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 10:11 am
by portapipe
Oh I saw that numbers and it was weird but I don't know how QLC works behind the hood so... thanks, I'll wait.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 11:54 am
by portapipe
May I kindly ask for a new test version? I can test it for you. I'm in a middle of a huge project (not mine, so there is a customer) and without it I can't accomplish to my work. Is it possible?

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 12:24 pm
by plugz
I can't do this, only Massimo is able to. And only when he has time to build them.

I can try to fix your workspace though.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 12:31 pm
by portapipe
Well I think it should be a good idea, but the issue can happen again if I'll work on the file with 4.10.3a, am I right? There is a version that I can use until a test version will be available? A version without this bug?
Meanwhile thanks for your time

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 12:43 pm
by plugz
Still, here you go.

Sequences IDs have been raised up, and holes in function IDs have been filled with empty collections.

The issue will happen again if
- You delete a function
- You add a sequence.
Then the sequence will get the ID of the function you deleted, which may be too small.

As long as you don't delete any function, you won't have any issue.



Or you cant wait for a new version to be out.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 12:49 pm
by portapipe
So if I use for example a 4.8.5 version this error will be written again in the file? In the fixed one I mean... 'cause If I can get the newest version without this bug I can try to use that one without the fear of deleting anything.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 1:10 pm
by plugz
There is no fixed version yet.

You have 2 choices:
- you keep on using 4.10.3a and don't delete functions
- you wait for a fixed version to be available


I don't see the link with 4.8.5.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 1:22 pm
by portapipe
4.8.5 should not have this bug, that's why I'm mentioning it.
If I work with a version that doesn't have this issue I can work until the new version will be released.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 2:07 pm
by Patfrwar
hello

if you want to wait for the new version

you have 2 solutions

The simplest is to not remove the functions and rename it like: "[delete] _name of_the_function" or so to create a folder for each type of function named for esample : "To be Deleted" and placed in these folders the functions you want to remove. Like this when you have the correct version, you will just have to remove the contents of folders or the renamed functions.

the other solution can more complicated is to work with a text editor in the qxw file is actually an XML file.


best regards

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 2:45 pm
by portapipe
I'm scared to delete accidentally some functions (scene / sequences / chasers) in a quick action.
I have 45 minutes of every-second light change, one different from another, and I should delete accidentally something, that's why I'm asking about a version without this bug.
But we'll see, now I'm waiting for a customer decision about my work and well... I'll let you know :)
Meanwhile Thanks for your time guys.

Re: Crash when adding something to the scene

Posted: Wed May 04, 2016 4:26 pm
by portapipe
Thanks everyone for your help, never mind for the test version. Job ended before the deadline for me :ugeek: