View Issue Details

IDProjectCategoryView StatusLast Update
0000412SkyChart1-Softwarepublic09-02-07 17:58
ReporterPatrick Lailly Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSLinuxOS Version2.6
Product Version3.0.1.4 
Target Version3.0.1.6Fixed in Version3.0.1.5 SVN 
Summary0000412: freeze for view of 5° or less
DescriptionMy install is new. However the program makes an invalid floating point operation when I ask angle of view of 5° or less (see screenshot attached). I have tried to reinstall the program and to work with as fiew catalogs as possible but the error reproduces systematicly.
TagsNo tags attached.
Attached Files
skychart_5°.png (71,161 bytes)   
skychart_5°.png (71,161 bytes)   
backtrace_develop_version.txt (9,790 bytes)   
backtrace_develop_version.txt (9,790 bytes)   
cartesduciel.ini (13,766 bytes)

Activities

Patrick Chevalley

08-11-17 15:11

administrator   ~0000762

That's strange, I never see the text of the error message out of the box!
On your screenshot there is also no top menu, do it appear with larger field ?

Can you try with the devel. version? I just put fresh tar,deb,rpm last night:
http://www.ap-i.net/skychart/fr/version_de_developpement

If there is still the problem click the "debug" link on this page and install the debug binaries, run with gdb and attach the backtrace to Mantis.
It is also useful if you attach your ~/.cartesduciel.ini file here.

Patrick Lailly

08-11-19 23:46

reporter   ~0000763

First, to answer your question : "On your screenshot there is also no top menu, do it appear with larger field ? " the answer is yes but I did not make extensive tests.
Also I fully agree with the strange character of the apparent bug. More specifically I have completed the install of CDC on two similar computers (wiht hopefully the same OS) without encountering any difficulty. Therefore I priviliege the assumption that I did something wrong for the install that makes problem.

However I have followed your instructions and obtained the following results :
-with the development version the program just crashes (the window disappears) when I ask for a view of 5°
-I have run the program (development version) using dbg and when I ask an angle of view of 5° nothing happens (the view remains as it was before). You will find the back trace attached in mantis as well as the .cartesduciel.ini file.
I hope I do not disturb you for something that is likely caused by a mistake from my side. I am also sorry for my late answer : this week has been very busy. Also I will be away from this computer next week.

Patrick Chevalley

08-11-20 10:12

administrator   ~0000764

Thank you for your testing.
Form the backtrace the problem occur when it try to plot the North label on the horizon line.
There is a clipping problem and the text position is X = -10577, Y = -34489, far outside of the screen.
Probably your Gtk version on this computer do not accept the Y value because it is outside of the signed small integer range.

I will add clipping to this function.

Patrick Chevalley

08-11-20 13:32

administrator   ~0000766

Revision 1149 add checking to not plot text too far out of the screen:
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1149

This change will be include to the next week snapshot, please try it when you return to this computer and reopen this issue if there is still a problem.

Be sure you don't disturb me, solving all this specific issue help to improve the software quality.

Issue History

Date Modified Username Field Change
08-11-16 10:31 Patrick Lailly New Issue
08-11-16 10:31 Patrick Lailly File Added: skychart_5°.png
08-11-17 15:11 Patrick Chevalley Note Added: 0000762
08-11-17 15:11 Patrick Chevalley Assigned To => Patrick Chevalley
08-11-17 15:11 Patrick Chevalley Status new => feedback
08-11-17 15:11 Patrick Chevalley Target Version 0.3.0 => 3.0.1.6
08-11-19 23:46 Patrick Lailly Note Added: 0000763
08-11-19 23:48 Patrick Lailly File Added: backtrace_develop_version.txt
08-11-19 23:49 Patrick Lailly File Added: cartesduciel.ini
08-11-20 10:12 Patrick Chevalley Note Added: 0000764
08-11-20 13:32 Patrick Chevalley Status feedback => resolved
08-11-20 13:32 Patrick Chevalley Fixed in Version 0.3.0 => 3.0.1.5 SVN
08-11-20 13:32 Patrick Chevalley Resolution open => fixed
08-11-20 13:32 Patrick Chevalley Note Added: 0000766
09-02-07 17:58 Patrick Chevalley Status resolved => closed