Discussion:
IO interpreter crashes with huge script file
rokkapk
2013-02-18 12:09:30 UTC
Permalink
Hello,

Is it a known feature that IO-language interpreter crashes when trying to run a huge script file? eg. 20k lines?

How to reproduce:

1. generate 20k lines script with random text
2. try to run that with Io
3. program crashes

Example stack trace of the crash:
http://pastebin.com/8vZBPnyC

What is the maximum size of the the program that can be run with Io?

Can the problem be avoided by using multiple smaller files of same total sum of lines?

Is there commercial support for Io-language available?

Kind Regards,
Petri
Steve Dekorte
2013-02-18 21:17:18 UTC
Permalink
Hi Petri,
Post by rokkapk
Is it a known feature that IO-language interpreter crashes when trying to run a huge script file? eg. 20k lines?
What is the maximum size of the the program that can be run with Io?
Can the problem be avoided by using multiple smaller files of same total sum of lines?
Thanks for the bug report. My first guess is it's a stack overflow in the parser.
As I'm not actively developing Io right now other than accepting push requests,
I'd recommend filing a bug report on github and using smaller files for now.

Do you mean if the whole program is in one large file? I'm not sure but having many normal
sized source files (not more than a few thousand lines each) should work fine.
Post by rokkapk
Is there commercial support for Io-language available?
I can offer it personally or recommend others on a per-hour basis.
Please send me a personal email if you are interested.

Cheers,
Steve

Loading...