Set simulation time dialog crash

Report bugs, bug fixes and workarounds here.
Topic author
DAllen
Posts: 4
Joined: 29.08.2006
With us: 18 years 2 months

Set simulation time dialog crash

Post #1by DAllen » 29.08.2006, 16:57

If you accelerate the time to much then try to rest it, it can crash. My guess is when set time dialog box loads it?€™s trying to fill the controls with the simulation time, but its to far out of bounds, and causes a crash.

Not sure how this happens but the crash occurs when the date in the upper right hand corner has negative numbers in it???

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

Re: Set simulation time dialog crash

Post #2by t00fri » 29.08.2006, 17:16

DAllen wrote:If you accelerate the time too much then try to rest it, it can crash. My guess is when set time dialog box loads it?€™s trying to fill the controls with the simulation time, but its to far out of bounds, and causes a crash.

Not sure how this happens but the crash occurs when the date in the upper right hand corner has negative numbers in it???


Celestia assumes users to apply a certain amount of common sense when playing with the controls ;-)

Bye Fridger
Image

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

Post #3by selden » 29.08.2006, 17:25

Even so, a program shouldn't crash because of user "error". Date wrap-around probably would be more reasonable (and may be what's having problems).
Selden

Topic author
DAllen
Posts: 4
Joined: 29.08.2006
With us: 18 years 2 months

Post #4by DAllen » 29.08.2006, 18:13

Common sense is for suckers. I should be a professional beta tester, if theirs away to make a program crash I can find it. :twisted:

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

Post #5by t00fri » 29.08.2006, 18:31

DAllen wrote:Common sense is for suckers. I should be a professional beta tester, if theirs away to make a program crash I can find it. :twisted:


Selden,

could you please explain to me what a "sucker" is? I am interested, since I do usually make use of my common sense ;-) . In a wider sense, I am even paid for applying my common sense...

Is a sucker less of an offense than a loser?

Incidentally, I claim I can crash any of the standard commercial programs with stupid control action via buffer overflows. Like Photoshop (proven) or Word and
...

As a theoretical physicist, I would say that people who
increase the time or acceleration to values where even children of average intelligence would claim breakdown of knowledge, just deserve the crash they are provoking ;-)

Bye Fridger
Image

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

Post #6by selden » 29.08.2006, 18:44

Fridger,

Indeed, in this context the word is not appropriate.

DAllen, please edit your message to avoid its use. (If you don't I'll have to delete the posting.)

On this forum, we do not appreciate people making fun of or putting down others, even when it's not intended seriously.
Selden

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

Post #7by chris » 29.08.2006, 18:50

selden wrote:DAllen, please edit your message to avoid its use. (If you don't I'll have to delete the posting.)

On this forum, we do not appreciate people making fun of or putting down others, even when it's not intended seriously.


I honestly don't think any offense was intended. But whatever . . . we really should do something about time overflow in Celestia. It shouldn't be that easy to crash the program.

--Chris

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

Post #8by selden » 29.08.2006, 18:54

Chris,

I'm sure the insult wasn't intended seriously, but it's easy to offend people unintentionally and unnecessarily.
Selden

Clorox
Posts: 16
Joined: 03.08.2006
With us: 18 years 3 months
Location: Katy, Texas

Post #9by Clorox » 27.09.2006, 22:34

My computer doesn't crash, just Iapetus gets ejected from orbit. :D
Calm down. NOW.

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #10by Cham » 27.09.2006, 23:43

Celestia MUST be "idiot safe". I'm using Celestia in the classroom, with 40 students playing with it and making all sorts of stupid mistakes, which can't be prevented nor predicted. After only few weeks of use, I already saw LOTS of amazingly stupid things from them. The program was installed on 24 old PCs and was overcharged with tons of addons.

One of those mistakes the students are doing ALL the time, is to run time at a very fast rate until they get in year 502456 (random date) !

Sorry Fridger, there is NO common sense in the real world, and Celestia must prevent nonsense to crash it.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

Avatar
Joe
Posts: 162
Joined: 29.02.2004
With us: 20 years 8 months
Location: United Kingdom

Post #11by Joe » 28.09.2006, 09:30

t00fri wrote:Celestia assumes users to apply a certain amount of common sense when playing with the controls


Fridger

I feel you are a bit over defensive about 'bugs' :? . What common sense a user can apply to avoid them?
If someone tumbles on something that is allegedly a bug and reports it, it should be welcomed, investigated and eliminated to make Celestia better and robust, that is one of the points of OpenSource, it is?

Bugs, real or not, cannot be ignored or denied without looking into the code. Some bugs reported long time ago in this forum are still there like:

http://www.shatters.net/forum/viewtopic.php?t=9865

where it is a fatal bug. Luckly it is not sitting in a main running pass, otherwise it will cause a dead loop. As a common programming practice, one should not do a comparison between two double or float values like this

Code: Select all

if (getVelocity() != targetVelocity)
Joe
8O

osx-vip
Posts: 1
Joined: 01.10.2006
With us: 18 years 1 month

Re: Set simulation time dialog crash

Post #12by osx-vip » 01.10.2006, 11:35

DAllen wrote:If you accelerate the time to much then try to rest it, it can crash. My guess is when set time dialog box loads it?€™s trying to fill the controls with the simulation time, but its to far out of bounds, and causes a crash.

Not sure how this happens but the crash occurs when the date in the upper right hand corner has negative numbers in it???


Beside me such problem!
_____________________________________________________________

Avatar
LordFerret M
Posts: 737
Joined: 24.08.2006
Age: 68
With us: 18 years 3 months
Location: NJ USA

Post #13by LordFerret » 03.10.2006, 02:48

DAllen wrote:... make a program crash I can find it.


Used to be my job.


I'm not quite understanding the action here. You have time greatly accelerated, and while still accelerated you're trying to reset date/time?

I'm running v1.4.1, and I frequently upon finding binary systems speed up time to observe their motion. Quite often I've run the date/time range out to immense stretches, but I've never created a crash doing so... then again, before setting date/time back to "now", I set Celestia back to "normal". If that helps any.

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #14by Malenfant » 03.10.2006, 04:47

Like Joe said, a bug is a bug - assuming that users will use a program in a vaguely-defined "common sense" way is no excuse for leaving it there.

And more often than not, a likelihood that a bug will show up has nothing to do with the assumed intelligence of the users. It doesn't matter who reports it or how it's found or how obvious or hidden it is, the bug still needs to be dealt with.

Meanwhile I think if we are going to be forced to refrain from harmless colloquialisms for fear of offending some hypersensitive reader then things are getting a bit ridiculous. This is the internet, you need a much thicker skin than that to survive here, and we shouldn't have to walk on eggshells to write posts.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

hank
Developer
Posts: 645
Joined: 03.02.2002
With us: 22 years 9 months
Location: Seattle, WA USA

Post #15by hank » 10.10.2006, 17:41

Malenfant wrote:Like Joe said, a bug is a bug...
Sure. But there are bugs and there are bugs. Not all bugs have equal importance. Developer resources are limited, so bug fixes must be prioritized. Bugs that aren't likely to occcur in normal use are generally less urgent than those that are.

Malenfant wrote:Meanwhile I think if we are going to be forced to refrain from harmless colloquialisms for fear of offending some hypersensitive reader then things are getting a bit ridiculous. This is the internet, you need a much thicker skin than that to survive here, and we shouldn't have to walk on eggshells to write posts.

I agree with you on that.

- Hank

BrainDead
Posts: 238
Joined: 27.08.2005
With us: 19 years 2 months
Location: Germantown, OH

Post #16by BrainDead » 11.10.2006, 12:21

t00fri wrote:Is a sucker less of an offense than a loser?

As a theoretical physicist, I would say that people who
increase the time or acceleration to values where even children of average intelligence would claim breakdown of knowledge, just deserve the crash they are provoking ;-)


I LOVE ya Doc...

Please keep your insights coming. So refreshing to hear an honest opinion
in an otherwise political universe. :wink:
Brain-Dead Bob

Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.1

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #17by Malenfant » 11.10.2006, 14:24

BrainDead wrote:
t00fri wrote:Is a sucker less of an offense than a loser?

As a theoretical physicist, I would say that people who
increase the time or acceleration to values where even children of average intelligence would claim breakdown of knowledge, just deserve the crash they are provoking ;-)

I LOVE ya Doc...

Please keep your insights coming. So refreshing to hear an honest opinion
in an otherwise political universe. :wink:


I don't think that sort of thing should be encouraged at all.

Fact is, someone reported a valid bug - the program shouldn't be crashing when set to fast speed. Maybe it's not an "important" bug (though even Chris said that something should be done about it), but making snarky remarks at people who report them isn't remotely constructive, and just implies that developers aren't taking bug reports as seriously as they should. And if people who are using this program are going to get sanctimonious responses like that (from anybody), then they're not exactly going to be encouraged to report any more.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

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

Post #18by t00fri » 11.10.2006, 16:15

While I always appreciate Malenfant's "corrective actions" ;-) , my above remark actually had a (semi-)serious content. Certainly more serious than what Malenfants critique implied.

The above bug, in fact, is known to me since > 3 years and I bet to a number of other devs, too... So why is it still there??

In case of Celestia we often have to cope with 2 formally unrelated aspects when attempting to block-off such kinds of "bugs".

i) astrophysics/cosmology: That's the hard part in the present case! Obviously there should be a sensible limit for the acceleration, which is particularly hard to implement into Celestia as it is at present. The reason is that Celestia's underlying framework is (still) unable to cope with cosmological time and space scales!

Obviously the values that were used to provoke the crash were VERY deep in the cosmological regime ;-)

ii) coding: that's trivial, just limit the max value by something that still does not yet produce the crash (the origin of which is quite obvious).

+++++++++++++++++++++++
The catch is that merely implementing the fix according to ii), the overall situation in a sense agravates!
+++++++++++++++++++++++

People without much science background can now dial such non-sensical acceleration without experiencing a crash, which until the fix acted at least as kind of an "emergency break", indicating drastically (crash) that people are moving in a physically nonsensical regime... ;-)

I hope that my explanation illustrates that my above remark involved quite a bit more previous reflection about this long familiar problem, than suggested by Malenfant's reply...
Image

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #19by Malenfant » 11.10.2006, 18:55

So this has actually been fixed in the latest code now?
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #20by Christophe » 11.10.2006, 19:46

Malenfant wrote:So this has actually been fixed in the latest code now?


Yes! Well, at least it doesn't crash anymore. What is displayed however remains bogus.
Christophe


Return to “Bugs”