Mac: Add activity preferred room crashes

Started by maxi_mus, January 10, 2024, 04:30:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maxi_mus

Space - Activities - An activity has a preferred room - Add - Choose anything from a dropdown

crashes the program on Mac every time. Mac mini M2 Pro, latest OS. I'm not gonna test it on another Mac machine, gonna continue on Windows for the time being.

maxi_mus

Clarification: Only filtering causes the app to crash, choosing a single activity doesn't. Also, this isn't the only function where using the filters causes a crash.

So basically the functionality is still usable, but you have to choose every activity from the complete list.

Liviu Lalescu

#2
Thank you for your report!

What FET version are you using? What Qt? (See Help of FET, About Qt.)

I just tried on my GNU/Linux, no crash. So it might be a Qt for macOS (big!) problem.

Could you share more details? Like: segmentation fault or assertion failed? Crash log text file, or a small movie?

@Darren McDonald , @Volker Dirr , could you please test this if you have a Mac?

Volker Dirr

I sadly can't reprocude it.
Maybe attach your fet file or (if private or a not simplified minimum example) sent me by email and tell me a bit more detailed what filter i should use to ge a crash.

But more impartant is Livius request: Please do one more time and sent us a more detailed crash log. Is there an assert warning and/or a crash report? Did you compiled yourself or did you use Darrens compiled version. If you compiled yourself: What Qt version are you using?

maxi_mus

I'm using Darren's compiled version, latest version.

I'm not sure if the following is what you mean by crash report, if not, please give me a step by step instruction of what you need.

BTW: My FET file won't be of any help, you can just open a new file, define one subject and one activity, and then the crash is reproducible to me.

Liviu Lalescu

Yes, this is a useful file. It seems to be a segmentation fault, not an assert failed. It seems Qt-related. We need other people to check on their Mac.

maxi_mus

Hi. Has this error been reproduced? There is no newer/corrected Mac version available yet for download, is there?

Is it possible to download old versions of FET for Mac? I still have a laptop running 10.15

Liviu Lalescu

Hello,

I don't have a Mac => I cannot investigate.

I don't know why Darren did not answer.

I am just on the point of releasing a new version. I am not sure it will fix the bug, probably not.

See https://lalescu.ro/liviu/fet/forum/index.php?topic=2674.0 for older versions. But I prefer you to use the latest.

Darren McDonald

Hi all, sorry, I hadn't seen this thread until now. I also can't reproduce this issue, and I'm also on a Mac Mini M2 Pro.

Darren McDonald

Quote from: maxi_mus on January 10, 2024, 08:41:43 PMyou can just open a new file, define one subject and one activity, and then the crash is reproducible to me.

I've just tried, this, then gone to Space>Activities>An activity has a preferred room and selected Add. I'm then able to select Add constraint, at which point I get an Invalid Room alert – no crash.

maxi_mus

I just downloaded the latest version (6.16.0) and the bug is still there. Just to make completely sure I have described that bug so that it could be reproducible to you, I will list every single thing I do:

File - new - official - OK
Data - Subjects - Add - OK
Data - Activities - Add - (Select Subject from previous step) - Add
Space - Activities - An activity has a preferred room - Add - and then select the subject form the Filter at the top.

This immediately crashes FET every time. Space - Activities is just an example in the last step, you can use anything in either 'Time' or 'Space', selecting something from the filter will always crash FET.

It also has nothing to do with no teachers or no students existing yet at this point, the behavior is exactly the same with a lot of basic data entered.

If you guys want, I an even record a video.

Darren: just a suggestion, downloads from your page are extremely slow, perhaps that could be hosted externally?

Volker Dirr

Quote from: maxi_mus on January 31, 2024, 11:45:35 AMDarren: just a suggestion, downloads from your page are extremely slow, perhaps that could be hosted externally?

Well, that is also always a question of money. For example Livius and my site are only not too slow, since we spent every month our private money to pay the external hoster. So we work in spare time and code, support in the forum, pay for hoster, ...
If more guys donate a bit money, we could have enough money for better external hosters. I bet Darren never get a donation so far. I never get a donation so far and if you check Livius donation page, then you will probably notice that after subtraction the money for external hosters, a new computer, paying the bill for eclectic energy, buying a new computer, coding books, ... will end in totally more or less no income for 20+ years working.

maxi_mus

I would be very grateful if someone could try and reproduce this bug, I find it highly unlikely that it's affecting just me. Having to choose every activity individually is very cumbersome as the filters are not working.

Volker Dirr

Sadly i can't reproduce it. And i can't see a bug in the FET source. We need someone that can reproduce the bug and locate it.

Since you can reproduce the bug: Do you know how to compile FET yourself? Since if you can compile FET yourself, then you could run a debugger software on FET and locate the problem more detailed.
If you can compile yourself, then I can teach you how to run a debugger.

Darren McDonald

Quote from: maxi_mus on February 02, 2024, 10:40:23 AMI would be very grateful if someone could try and reproduce this bug, I find it highly unlikely that it's affecting just me. Having to choose every activity individually is very cumbersome as the filters are not working.

I think everyone here has tried (unsuccessfully) to reproduce this bug. Volker's suggestion is a good next step, but it seems like a rather isolated issue (since this involves very basic FET functionality, I think we would have heard about this from other FET users on macOS if it were more widespread). I've tried on two machines without issue (macOS Sonoma 14.2.1 on a Mac Mini M2 Pro, and on an M1 MacBook Pro).