Ice Cream Calculator native crash when managing ingredients

Questions about Wine on macOS.
Locked
contextnerror
Level 2
Level 2
Posts: 13
Joined: Fri Mar 11, 2022 2:16 pm

Ice Cream Calculator native crash when managing ingredients

Post by contextnerror »

Wine version is currently 7.0.0, obtained from Gcenx's version for MacPorts. Running on High Sierra 10.13.6. Using Ice Cream Calculator V1.3, obtained from the mac page (https://icecreamcalc.com/mac-support/)

After trying and failing to get a functional dotnet install in several different ways, I ignored the directions on ICC's mac support page and ran the .exe from a fresh install of Wine with no modifications. Surprisingly, it worked, but a few things weren't quite right. The rightmost buttons on the "ingredients" window were cut off, and searching by brand or ID for "create ingredient" didn't work either. I explored the ingredients function for a while, until trying to paste something in the ingredients search field cause a crash. The terminal output of my entire session is stored here: https://pastebin.com/sZ3J2c0c

What exactly was the problem here, and does it have anything to do with lacking dotnet/corefonts? And what would be the best way to get a working version of dotnet45? Both installing via winetricks and manual instillation with the offline package failed, and I'm wondering if having "wine-mono" included in the MacPorts version has something to do with it.

Thanks.
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Ice Cream Calculator native crash when managing ingredients

Post by Gcenx »

Only quickly looked over the log but seems that you really need to use native .Net for that application.

The "wine-mono" package(s) your refer to just grab the shared wine-mono package and moves the files into place this being preferred over using the .msi installer as multiple wineprefix can make use of it without needing to be installed into each wineprefix. The same is also the case for "wine-gecko" package that will also have been installed
contextnerror
Level 2
Level 2
Posts: 13
Joined: Fri Mar 11, 2022 2:16 pm

Re: Ice Cream Calculator native crash when managing ingredients

Post by contextnerror »

Well, good to have it confirmed I guess. Unfortunately I can't seem to get .NET for the life of me. Using a fresh install of Winetricks, also obtained through Macports, and running

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.winedotnet winetricks -q dotnet45 corefonts
works up until the actual dotnet45 part, where it seems to get stuck in an infinite loop. Running wineserver -k causes the dotnet45 install to exit with an error. Afterwards, trying to run the command again has wineboot time out and wine "could not load kernel32.dll", at which point I usually need to completely uninstall/reinstall wine before things work again.

I can get more detailed logs if it would be helpful, but it might take a while due to the aforementioned reinstall.
contextnerror
Level 2
Level 2
Posts: 13
Joined: Fri Mar 11, 2022 2:16 pm

Re: Ice Cream Calculator native crash when managing ingredients

Post by contextnerror »

So I reinstalled wine and winetricks, and tried the .NET install again, this time version 4.5.2 and using a wine prefix name I had never used before. This is the terminal output, starting at the wine reinstall: https://pastebin.com/DWsQJN5A

It's been a few minutes now and I'm not getting any more output yet. Is the install done? Still downloading? I still have the terminal open to input more commands if needed, but I have no idea what to do here. Apparently I'm also lacking Kerberos and ntlm_auth.
contextnerror
Level 2
Level 2
Posts: 13
Joined: Fri Mar 11, 2022 2:16 pm

Re: Ice Cream Calculator native crash when managing ingredients

Post by contextnerror »

So it seems like my .net issues were probably related to the bug fixed in devel 7.6, because the install worked fine now. The program, however, will not run at all anymore.
Terminal output: https://pastebin.com/RtsbNBQz
Backtrace: https://pastebin.com/SLeM9SH6

I do see that SQLite is mentioned in the terminal, which was a new feature added in ICC 2.00 (https://icecreamcalc.com/history/). Could this be the source of the problem?
Locked