Celestia 1.5 Mac OS Crashes with Large Scripts

Report bugs, bug fixes and workarounds here.
Topic author
hharris
Posts: 79
Joined: 23.02.2006
With us: 18 years 9 months
Location: Pasadena, CA 91104

Celestia 1.5 Mac OS Crashes with Large Scripts

Post #1by hharris » 10.03.2008, 00:26

I downloaded 1.5 for the Mac OS and discovered that now none of my large programs written over the past couple years work at all. They either immediately crash Celestia or simply exit after a brief pause The versions range in size to 150K to 180K. They all worked perfectly on the previous version.

I wrote a small program and it worked. I put a print statement at the beginning of my large program and got nothing making me think that this version can't handle large scripts. It appears to be crashing on loading. The small program now asks me if I'm sure I want to run this script, which it didn't do before. It doesn't even do that with large scripts.

All my scripts start with

celestia:requestsystemaccess()
wait(0)

I now have only one version of Celestia (1.5) in my system in the applications folder.

Any suggestions would be appreciated. Perhaps I'm forgetting to do something with this new version, but I can't think of what that might be.

Henry

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Re: Celestia 1.5 Mac OS Crashes with Large Scripts

Post #2by Vincent » 11.03.2008, 17:21

hharris wrote:The small program now asks me if I'm sure I want to run this script, which it didn't do before. It doesn't even do that with large scripts.

All my scripts start with

celestia:requestsystemaccess()
wait(0)

Henry,

You may want to try changing the ScriptSystemAccessPolicy entry from "ask" to "allow" in celestia.cfg. There is a bug with the celestia:requestsystemaccess() method in Celestia 1.5.0. This bug is fixed in the current SVN version of Celestia.
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Topic author
hharris
Posts: 79
Joined: 23.02.2006
With us: 18 years 9 months
Location: Pasadena, CA 91104

Post #3by hharris » 11.03.2008, 21:27

Vincent,

I tried changing celestia.cfg to "allow" and 1.5 still crashes immediately when reading the large file. Your recommendation is to go to the SVN version? This is a program I've been working on for several years that I want to distribute to the community in the near future.

Thanks for your help.

Henry

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #4by Vincent » 12.03.2008, 06:41

hharris wrote:Vincent,

I tried changing celestia.cfg to "allow" and 1.5 still crashes immediately when reading the large file.

Henry,

Could you send me your large script so that I can test it on my system?
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3


Return to “Bugs”