Workshop examples crash

Posted By: yoriz

Workshop examples crash - 08/14/22 16:27

Newbie here, trying out Zorro. I started working my way through the workshops, but when I try to run workshop4.c it reports "Error 111: Crash in run: run() at bar 1190" (see screenshot attached). Same for workshop5.c

Documentation for error 111 suggests division by zero, stack overflow, array index out of bounds, etc. Since I am just running an unmodified example script, I assume that is not the case here.

System:
Zorro 2.50.2
Windows 10 (running in VirtualBox on Mac)
8 GB RAM
4 cores (Intel i7)

Please advice

Attached picture Screenshot 2022-08-14 at 18.22.45.png
Posted By: jcl

Re: Workshop examples crash - 08/15/22 14:21

I'd normally say: post your log, but when it happens with an unmodified script, the crash has obviously nothing to do with the script.

First, de-install Zorro, remove all files, then install Zorro again. Maybe you accidentally deleted or wrote over some essential file or something like that.

If that does not help, I'd suspect the VirtualBox. Get a different Windows emulator and try again. The usual emulator for Zorro is Wine.


Posted By: yoriz

Re: Workshop examples crash - 08/16/22 19:55

Deleting and reinstalling Zorro fixed the problem. However, when I installed more historical data (required for workshop 5) it crashed again with error 111. I removed the historical data and tried other historical data files until I found a combination that worked. Data files were downloaded here https://zorro-project.com/download.php and installed in the History/ directory.

Error 111 is not very descriptive. Apparently it can be triggered by incompatible data files. I understand everything in Zorro is optimized for speed so run-time checking is not preferred and a Segmentation Fault is thrown instead. However, perhaps Zorro can verify the data file once when it detects that a new one has been installed?

Anyway, I can now continue with the workshops. Thank you for your help
Posted By: jcl

Re: Workshop examples crash - 08/17/22 07:06

Error 111 is a hard crash. It cannot be caused by historical data from our website, in any combination, but it can be caused by other preceding errors.

From your description, I don't think that the problem is really fixed.
© 2024 lite-C Forums