View Issue Details

IDProjectCategoryView StatusLast Update
0001385SkyChart1-Softwarepublic15-01-05 13:57
Reporterluigic63 Assigned ToPatrick Chevalley  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSWindowsOS Version7
Product Version3.11 SVN 
Target Version4.0Fixed in Version3.11 SVN 
Summary0001385: Crash when day animation is activated in a far past epoch
DescriptionIf a day forward animation is activated in a far past enough epoch, the program crashes with a floating point error. As a consequence, skychart.ini file is written with something wrong, and the program does not work properly anymore.

SW ver. 3.11-svn-3065
Steps To Reproduce1 - Start the program
2 - Set the epoch 2500 b.C., 25 June, 05:30:00 (CET)
3 - Select animation by day
4 - Start animation
5 - Click on "Cancel", the program aborts
6 - Start the program, it does not work properly (see attached image).

In order to restore the normal functionality of the program:
7 - The already running "invisible" instance of skychart.exe must be killed
8 - The following files must be replaced with a backup copy:
    - cdc_trace.txt
    - cdc.db.
Additional InformationAt step (5), if you click on "Ok" the program does not abort, anyway it does not work properly, it is impossible to exit by means the normal procedure and the process skychart.exe must be killed.
TagsNo tags attached.

Activities

luigic63

14-12-29 18:05

reporter  

FPError_Anim_Past_Epoch_2.JPG (43,715 bytes)   
FPError_Anim_Past_Epoch_2.JPG (43,715 bytes)   

luigic63

14-12-30 17:08

reporter  

FPError_Anim_Past_Epoch.JPG (23,280 bytes)   
FPError_Anim_Past_Epoch.JPG (23,280 bytes)   

luigic63

15-01-01 17:17

reporter   ~0002984

Important: stuck or crash occurs if asteroids or comets are activated.

Patrick Chevalley

15-01-05 13:57

administrator   ~0002986

The problem is because the program try to use a recent comet element for this epoch. And an element for an hyperbolic orbit give very weird result after 4500 years.

This is fixed by revision 3068:
http://sourceforge.net/p/skychart/code/3068/

Issue History

Date Modified Username Field Change
14-12-29 18:05 luigic63 New Issue
14-12-29 18:05 luigic63 File Added: FPError_Anim_Past_Epoch_2.JPG
14-12-30 17:08 luigic63 File Added: FPError_Anim_Past_Epoch.JPG
15-01-01 17:17 luigic63 Note Added: 0002984
15-01-05 13:57 Patrick Chevalley Note Added: 0002986
15-01-05 13:57 Patrick Chevalley Assigned To => Patrick Chevalley
15-01-05 13:57 Patrick Chevalley Priority high => normal
15-01-05 13:57 Patrick Chevalley Status new => resolved
15-01-05 13:57 Patrick Chevalley Resolution open => fixed
15-01-05 13:57 Patrick Chevalley Fixed in Version 0.3.0 => 3.11 SVN
15-01-05 13:57 Patrick Chevalley Target Version 0.3.0 => 4.0