Celestia is freezing on me and crashing my computer!

Report bugs, bug fixes and workarounds here.
Topic author
NuclearVacuum
Posts: 41
Joined: 15.09.2008
Age: 34
With us: 16 years 2 months

Celestia is freezing on me and crashing my computer!

Post #1by NuclearVacuum » 03.11.2008, 13:57

I am working on a fictional version of our solar system, in which the sun is part of a far binary system. I am making the "SSB" the barycenter of both stars. However, when I try to start up Celestia, the program crashes. I have tried everything imaginable. I have checked and double checked my coding, and nothing is wrong. It can't be the Sun's programing, because in a separate program I am working on, the Sun is a future red giant (and that program works fine without crashing).

Please help me
Я люблю экзопланет

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Celestia is freezing on me and crashing my computer!

Post #2by chris » 03.11.2008, 17:43

NuclearVacuum wrote:I am working on a fictional version of our solar system, in which the sun is part of a far binary system. I am making the "SSB" the barycenter of both stars. However, when I try to start up Celestia, the program crashes. I have tried everything imaginable. I have checked and double checked my coding, and nothing is wrong. It can't be the Sun's programing, because in a separate program I am working on, the Sun is a future red giant (and that program works fine without crashing).

Could you post the stc file that causes the crash?

--Chris

Topic author
NuclearVacuum
Posts: 41
Joined: 15.09.2008
Age: 34
With us: 16 years 2 months

Re: Celestia is freezing on me and crashing my computer!

Post #3by NuclearVacuum » 03.11.2008, 18:07

Code: Select all

0 "Sol:Sun"
{
   OrbitBarycenter      "SSB"

   SpectralType      "G2V"
   AbsMag         4.83

   RotationPeriod      609.12  # 25.38 days
   Obliquity         7.25  # correct orientation relative to ecliptic
   EquatorAscendingNode   75.77  #
   RotationOffset      23.00  # standard meridian

   EllipticalOrbit {
      Period         579.914
      SemiMajorAxis      200.00   # mass ratio 1.09:0.92
      Eccentricity      0.4179
      Inclination         82.986
      AscendingNode      67.726
      ArgOfPericenter      3.772
      MeanAnomaly         200.119
   }
}

"Nemesis"
{
   OrbitBarycenter      "SSB"
   SpectralType      "K0V"
   AppMag         1.34

   EllipticalOrbit {
      Period         579.914
      SemiMajorAxis      250.00   # mass ratio 1.09:0.92
      Eccentricity      0.4179
      Inclination         82.986
      AscendingNode      67.726
      ArgOfPericenter      183.772
      MeanAnomaly         200.119
   }
}


I always take already existing code, and work from there (so this is still a work in progress STC file). Be careful and I hope we can fix this
Я люблю экзопланет

Topic author
NuclearVacuum
Posts: 41
Joined: 15.09.2008
Age: 34
With us: 16 years 2 months

Re: Celestia is freezing on me and crashing my computer!

Post #4by NuclearVacuum » 11.11.2008, 15:43

OK, now I am getting annoyed. I don't mind if this code can never work, I just want a reply after a week! Sorry, but I get annoyed :oops:
Last edited by NuclearVacuum on 12.02.2009, 16:17, edited 1 time in total.
Я люблю экзопланет

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Celestia is freezing on me and crashing my computer!

Post #5by selden » 11.11.2008, 18:36

There's no point in saying you're getting annoyed: that just gets others annoyed and less likely to help. Remember that Celestia is strictly a volunteer effort. You catch more flies with honey than with vinegar.

On my Windows computer, v1.5.1 hangs showing the initial banner window while it's trying to load your stc file.

This hang is fixed in v1.6. Instead Celestia displays the following error message in its console log:

Invalid star: absolute (not aparent) magnitude must be specified for star near origin

Changing AppMag to AbsMag eliminates the hang in v1.5.1. I'll leave it to you to calculate the correct AbsMag for your version of Nemesis.
Selden

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Celestia is freezing on me and crashing my computer!

Post #6by t00fri » 11.11.2008, 21:12

NuclearVacuum wrote:OK, now I am getting annoyed :evil: I don't mind if this code can never work, I just want a reply after a week!

I also studied the case and came to very similar conclusions as Selden. However, people misinterpreting this forum as a "call center" don't motivate me to write anything.

Actually Chris (Laurel) is on an intercontinental flight tonight and was very busy with preparations in the days before leaving.

Fridger
Image

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Celestia is freezing on me and crashing my computer!

Post #7by selden » 11.11.2008, 23:18

Fridger,

Please don't forget that this is a help forum. There is no place else for people to go for help with Celestia.

Sometimes Celestia's quirks can be quite frustrating, expecially for novices who have no way to separate Celestia's problems from those caused by the operating system or its graphics drivers.

NV,

You can see Celestia's "console log" by typing a <tilde> (~). On keyboards which support diacritical marks, you may need to type <tilde> <space>.

On many keyboards, <tilde> is the same as <shift> <accent-grave> (`)
Selden

Topic author
NuclearVacuum
Posts: 41
Joined: 15.09.2008
Age: 34
With us: 16 years 2 months

Re: Celestia is freezing on me and crashing my computer!

Post #8by NuclearVacuum » 12.11.2008, 02:20

I am truly sorry. I just got anxious that on one has written to me (like I was alone). Please don't take it seriously, I could never get mad at something so stupid like that :(
Я люблю экзопланет


Return to “Bugs”