Main Menu

Fet Crashes

Started by davvidde, September 25, 2015, 05:28:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davvidde

I discover that FET crashes from vesion 5.27.1 to last when adding a very large number of constraint in the same dialog.
In my case, when I want to  to verify a timetable and add multple "an activity has a preferred starting time" constraint without exiting the dialog, FET crashes after about 100 inputs.
The same behaviour happens when I delete a very large number of the same constraint from a generated timetable.
I use the Mac version.

Davide.
Davide.

Liviu Lalescu

Thank you for your report!

Do you use Yush's precompiled version?

Could you attach a screen shot after crash? Also, tell me if it is assert failed or segmentation fault. Give me the file and line, if it is assert.

I tried to replicate: I generated on a file, locked all the activities, then entered the dialog "an activity has a preferred starting time" and removed about 600 constraints, leaving about 10 not removed. FET did not crash.

Could you give more details?

Volker Dirr

hmmm... sadly i can't reproduce that bug (With Linux version). I also can't see strange things (link much increasing memory). I will check tomorrow with valgrind. Maybe that helps me to detect that bug.

davvidde

Yes, I use Yush's precompiled version.
I've just attached some of the diagnostic reports from my mac.
I hope it will be useful.

Davide.
Davide.

Liviu Lalescu

#4
Thank you very much! Yes, the files helped me. I just released a new version (5.28.0). I tried to fix some bugs, but I might not have found all of them, or they may be Qt bugs.

Please let me know if you get other crashes and try to find exact ways to duplicate them. And keep the log files.

More details: from your log files, I found that if you add a constraint teacher not available for a teacher, remove it, and add another again for the same teacher, it crashes (on 5.27.9 and previous versions). Also, I made in 5.28.0 that you cannot modify a constraint activity preferred starting time (in the dialog to modify such constraints) so that it is duplicated with another activity preferred starting time. But I am not sure this was a crash bug.

davvidde

FET didn't crash when "activity preferred starting time" constraint is duplicated but reported it.
Davide.

Liviu Lalescu

Quote from: Davide Cottignoli on September 26, 2015, 03:01:34 PM
FET didn't crash when "activity preferred starting time" constraint is duplicated but reported it.

Yes. Now it won't allow you to add such duplicates. Hopefully it will not crash anymore, but I am not sure.

Liviu Lalescu

Does FET crash any more? Please inform me if it still will crash, in the future, and try to see how to duplicate such a crash.

davvidde

#8
At the moment I have not tested the FET new version because I need to compile it for mac. However tomorrow I will get a try with the Windows version in my Virtualbox win XP virtual machine.
Davide.

Liviu Lalescu

Thank you! I would prefer you to do the tests with the native Mac compiled version, as you did until now, but any test is good.

davvidde

#10
I compiled FET 5.28.0 from source with QT5.5 on my Mac with success. I tried to work with the file that caused the crash and this time FET has not crashed.
To make a complete package of the app after compilation what files need to be included with it? Only translation files or which others?
Inspecting the last FET official package distributed by Yush I found a folder named "Plugins" with 4 subfolders: there are many *.dylib files which I ignore the source but I suppose is from QT. Do you know what of them are really necessary and where can I find them?

Thanks.

Regards.
Davide.
Davide.

Liviu Lalescu

I'm sorry, but I don't know. Maybe ask Yush. Or maybe search for those file names on your hard disk. I think all of them are necessary.