View Issue Details

IDProjectCategoryView StatusLast Update
0001084SkyChart1-Softwarepublic14-03-29 17:55
Reportertestcy Assigned ToPatrick Chevalley  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSWindowsOS Version7
Product Version3.7 SVN 
Target Version3.10Fixed in Version3.9 SVN 
Summary0001084: skychart.exe has stopped working
DescriptionAfter installing the two latest catalogues (stars and dso) and beta SkyChart crashes when exiting every time.
Steps To ReproduceInstalled skychart-data-stars-3.8-2293-windows.exe and skychart-data-dso-3.8-2293-windows.exe and then skychart-3.7-2300-windows-x64.exe over previous beta. Run the program and then exit. First error message appears. Click OK and then second error message appears. Press OK and the window closes and opens again in a slightly different position. Continue pressing OK until a windows error message appears stating skychart.exe has stopped working.
TagsNo tags attached.

Activities

testcy

12-11-19 18:57

reporter  

error1.png (4,580 bytes)   
error1.png (4,580 bytes)   

testcy

12-11-19 18:58

reporter  

error2.png (20,745 bytes)   
error2.png (20,745 bytes)   

testcy

12-11-19 18:58

reporter  

error3.png (10,800 bytes)   
error3.png (10,800 bytes)   

Patrick Chevalley

12-11-19 20:17

administrator   ~0002283

I cannot reproduce the problem, even with all the changed catalog active.

Can you upload your skychart.ini file.

testcy

12-11-19 20:38

reporter   ~0002284

I renamed the skychart.ini file and run the program again. A new skychart.ini was created with default settings. Then I exited the program, but the same problem occurred. I am uploading the skychart.ini file, but I suspect the problem should be elsewhere. Should I try to do a fresh installation?

testcy

12-11-19 20:39

reporter  

skychart.ini (18,315 bytes)

Patrick Chevalley

12-11-20 07:47

administrator   ~0002285

I try again on a fresh Win64 machine, install the three files and all work fine.
I fear it will also work for you and the problem will never be fixed.

The best way to find and fix the problem is you install and run the debug version as explained in this page:
https://sourceforge.net/projects/skychart/files/0-beta/debug/

testcy

12-11-20 21:16

reporter   ~0002287

A fresh installation of the x64 version did not solve the problem and the same error messages continue to appear. I was also not able to download the debug version (download links did not work). However, I tried the x86 version and it worked without the error messages, so the problem seems to be related only with the x64 version.

Patrick Chevalley

12-11-21 07:25

administrator   ~0002288

Maybe Sourceforge direct your debug download to an offline mirror.
You can try to set another mirror(click on "or try another mirror."
Or use this direct link that work for me:
http://heanet.dl.sourceforge.net/project/skychart/0-beta/debug/2012-11-19/bin-windows-x64-debug-2300.zip
http://heanet.dl.sourceforge.net/project/skychart/0-beta/debug/gdb_72_x64.exe

testcy

12-11-21 19:11

reporter   ~0002293

The debug version does not seem to work as I get the following error:

C:\Program Files\Ciel>gdb_72_x64.exe skychart.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
This binary was built by Equation Solution <http://www.Equation.com>...
Reading symbols from C:\Program Files\Ciel/skychart.exe...done.
(gdb) run
Starting program: C:\Program Files\Ciel/skychart.exe
[New Thread 2452.0x4d4]

Program received signal SIGSEGV, Segmentation fault.
0x00000001800142d4 in ?? () from C:\Windows\system32\guard64.dll
(gdb)

However, with the debug version (after replacing the exe files) I don't get the error messages.

Patrick Chevalley

12-11-21 19:29

administrator   ~0002294

This is very strange because the debug version is the result of the same compilation as the normal file. Just the normal file is striped to remove the debug symbols.

The crash in debug is in guard64.dll , this file is part of Comodo Internet Security. Can you try to disable this software and try again?

testcy

12-11-21 19:40

reporter   ~0002295

I could disable it, but now with the debug version I don't get the error messages, so what should I look for?

testcy

12-11-23 16:28

reporter   ~0002296

Last edited: 12-11-23 18:02

I started receiving the same error messages with the debug version too. So I uninstalled Comodo Internet Security (disabling it did not work) and tried again. These are the results I got:

C:\Program Files\Ciel>gdb_72_x64.exe skychart.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
This binary was built by Equation Solution <http://www.Equation.com>...
Reading symbols from C:\Program Files\Ciel/skychart.exe...done.
(gdb) run
Starting program: C:\Program Files\Ciel/skychart.exe
[New Thread 1436.0x13b4]
[New Thread 1436.0x4bc]
[New Thread 1436.0x12f8]
[New Thread 1436.0xa48]
[New Thread 1436.0xd4c]
[New Thread 1436.0xc48]

Program received signal SIGSEGV, Segmentation fault.
0x0000000076b8b3cb in USER32!GetClipboardSequenceNumber ()
   from C:\Windows\system32\user32.dll
(gdb) bt
#0 0x0000000076b8b3cb in USER32!GetClipboardSequenceNumber ()
   from C:\Windows\system32\user32.dll
#1 0x000000000407f4b0 in ?? ()
#2 0x0000000076b1fc15 in USER32!SetClipboardData ()
   from C:\Windows\system32\user32.dll
#3 0x000000000407f4c0 in ?? ()
#4 0x000007fefdb02f98 in ole32!CoGetObjectContext ()
   from C:\Windows\system32\ole32.dll
#5 0x0000000000000000 in ?? ()
(gdb) quit
A debugging session is active.

        Inferior 1 [process 1436] will be killed.

Quit anyway? (y or n) y

C:\Program Files\Ciel>

Patrick Chevalley

12-11-24 10:51

administrator   ~0002298

Thank you for the debug trace.
Unfortunately there is no reference to any of my code and I have no idea what it can do with the clipboard when the program close.

Can you do another test run?
- open the command prompt the same as for running in debug.
- cd "C:\Program Files\Ciel"
- skychart.exe --verbose
- after the program crash look at the end of the file cdc_trace.txt located in the user data directory: http://www.ap-i.net/skychart/en/documentation/directories_and_files

This should look like this:

2012-11-24T10:33:46.500 Stop TCP/IP servers
2012-11-24T10:33:47.563 Exiting ...
2012-11-24T10:33:47.594 Destroy Tf_main
2012-11-24T10:33:47.656 Destroy Cursor
2012-11-24T10:33:47.656 Destroy end
2012-11-24T10:33:47.672 Destroy chart Chart_1
2012-11-24T10:33:47.781 End Destroy chart

testcy

12-11-24 18:35

reporter   ~0002301

2012-11-24T19:31:39.786 Start trace
2012-11-24T19:31:39.786 Privatedir: C:\Users\User\AppData\Local\Skychart
2012-11-24T19:31:39.786 Appdir: C:\Program Files\Ciel
2012-11-24T19:31:39.786 Language
2012-11-24T19:31:39.787 Try language: en_GB, en
2012-11-24T19:31:39.789 Language: en English
2012-11-24T19:31:39.790 Multiframe
2012-11-24T19:31:39.790 Size control
2012-11-24T19:31:39.790 Load zlib
2012-11-24T19:31:39.790 Load plan404
2012-11-24T19:31:39.791 Load cdcwcs
2012-11-24T19:31:39.791 Bitmap
2012-11-24T19:31:39.791 Load timezone
2012-11-24T19:31:39.792 Exit Tf_main.FormCreate
2012-11-24T19:31:39.812 Create splash
2012-11-24T19:31:39.842 Show splash
2012-11-24T19:31:39.843 Create f_position
2012-11-24T19:31:39.845 Create f_search
2012-11-24T19:31:39.847 Create f_zoom
2012-11-24T19:31:39.848 Create f_getdss
2012-11-24T19:31:39.851 Loadlibrary libgetdss.dll
2012-11-24T19:31:39.851 libgetdss.dll not found
2012-11-24T19:31:39.851 Create f_manualtelescope
2012-11-24T19:31:39.852 Create f_detail
2012-11-24T19:31:39.852 Create f_info
2012-11-24T19:31:39.854 Create f_calendar
2012-11-24T19:31:39.862 Create Tf_image
2012-11-24T19:31:39.863 Create f_printsetup
2012-11-24T19:31:39.864 Create f_print
2012-11-24T19:31:39.865 Main Init
2012-11-24T19:31:39.865 Enter Tf_main.Init
2012-11-24T19:31:39.865 SetDefault
2012-11-24T19:31:39.865 ReadDefault
2012-11-24T19:31:39.870 InitDS2000
2012-11-24T19:31:39.870 Create DB
2012-11-24T19:31:39.870 Background Image
2012-11-24T19:31:39.871 Constellation
2012-11-24T19:31:39.878 Connect DB
2012-11-24T19:31:39.881 DB connected
2012-11-24T19:31:39.883 Connected to the SQL database C:\Users\User\AppData\Local\Skychart\database\cdc.db
2012-11-24T19:31:39.883 Cursor
2012-11-24T19:31:39.884 Compass
2012-11-24T19:31:39.885 Starshape file
2012-11-24T19:31:39.885 Timezone
2012-11-24T19:31:39.885 Init calendar
2012-11-24T19:31:39.885 Create default chart
2012-11-24T19:31:39.886 Create new chart
2012-11-24T19:31:39.903 SkyChart : Init chart
2012-11-24T19:31:39.921 Chart Chart_1: Refresh
2012-11-24T19:31:39.921 Chart Chart_1: Get refresh lock
2012-11-24T19:31:39.922 Chart Chart_1: Init 508x338
2012-11-24T19:31:39.922 Chart Chart_1: Draw map
2012-11-24T19:31:39.923 SkyChart Chart_1: Full Refresh
2012-11-24T19:31:39.923 SkyChart Chart_1: Init
2012-11-24T19:31:39.923 SkyChart Chart_1: Init observatory
2012-11-24T19:31:39.923 SkyChart Chart_1: Init time
2012-11-24T19:31:39.923 SkyChart Chart_1: Init chart
2012-11-24T19:31:39.923 SkyChart Chart_1: Init coordinates
2012-11-24T19:31:39.925 SkyChart Chart_1: Compute planet position
2012-11-24T19:31:39.926 SkyChart Chart_1: end Compute planet position
2012-11-24T19:31:39.926 SkyChart Chart_1: Init labels
2012-11-24T19:31:39.926 SkyChart Chart_1: Init colors
2012-11-24T19:31:39.926 SkyChart Chart_1: Open catalogs
2012-11-24T19:31:39.927 SkyChart Chart_1: Init catalogs
2012-11-24T19:31:39.927 SkyChart Chart_1: begin drawing
2012-11-24T19:31:39.927 SkyChart Chart_1: draw milky way
2012-11-24T19:31:39.990 SkyChart Chart_1: draw alt/az EQ grid
2012-11-24T19:31:39.990 SkyChart Chart_1: draw horizon
2012-11-24T19:31:40.002 SkyChart Chart_1: draw deepsky objects
2012-11-24T19:31:40.011 SkyChart Chart_1: draw outlines
2012-11-24T19:31:40.011 SkyChart Chart_1: draw nebula outlines
2012-11-24T19:31:40.051 SkyChart Chart_1: draw comets
2012-11-24T19:31:40.052 SkyChart Chart_1: draw grid
2012-11-24T19:31:40.081 SkyChart Chart_1: draw constellation figures
2012-11-24T19:31:40.088 SkyChart Chart_1: draw stars
2012-11-24T19:31:40.238 SkyChart Chart_1: draw double stars
2012-11-24T19:31:40.238 SkyChart Chart_1: draw variable stars
2012-11-24T19:31:40.238 SkyChart Chart_1: draw asteroids
2012-11-24T19:31:40.245 SkyChart Chart_1: draw orbit path
2012-11-24T19:31:40.245 SkyChart Chart_1: draw planets
2012-11-24T19:31:40.245 SkyChart Chart_1: draw labels
2012-11-24T19:31:40.245 SkyChart Chart_1: Optimize labels
2012-11-24T19:31:40.246 SkyChart Chart_1: Labels optimized
2012-11-24T19:31:40.289 SkyChart Chart_1: draw chart border
2012-11-24T19:31:40.289 SkyChart Chart_1: end drawing
2012-11-24T19:31:40.289 SkyChart Chart_1: end Refresh
2012-11-24T19:31:40.289 Chart Chart_1: Draw map end
2012-11-24T19:31:40.290 Chart Chart_1: Release refresh lock
2012-11-24T19:31:40.290 ImageSetFocus
2012-11-24T19:31:40.291 Chart Chart_1: Refresh end
2012-11-24T19:31:40.291 Read params
2012-11-24T19:31:40.291 Start server
2012-11-24T19:31:40.291 Exit Tf_main.Init
2012-11-24T19:31:40.292 Application Run
2012-11-24T19:31:40.295 Chart_1 ChartResize
2012-11-24T19:31:40.295 Chart_1 ChartResize
2012-11-24T19:31:40.305 Enter Tf_main.FormShow
2012-11-24T19:31:40.307 Exit Tf_main.FormShow
2012-11-24T19:31:40.310 ImageSetFocus
2012-11-24T19:31:40.313 Listen on port: 3292
2012-11-24T19:31:40.319 Chart_1 Paint
2012-11-24T19:31:40.334 Chart_1 Paint
2012-11-24T19:31:40.409 Enter Tf_main.InitTimerTimer
2012-11-24T19:31:40.409 Exit Tf_main.InitTimerTimer
2012-11-24T19:31:40.721 Chart Chart_1: RefreshTimer
2012-11-24T19:31:40.721 Chart Chart_1: Refresh
2012-11-24T19:31:40.721 Chart Chart_1: Get refresh lock
2012-11-24T19:31:40.724 Chart Chart_1: Init 1849x894
2012-11-24T19:31:40.725 Chart Chart_1: Draw map
2012-11-24T19:31:40.725 SkyChart Chart_1: Full Refresh
2012-11-24T19:31:40.726 SkyChart Chart_1: Init
2012-11-24T19:31:40.726 SkyChart Chart_1: Init observatory
2012-11-24T19:31:40.726 SkyChart Chart_1: Init time
2012-11-24T19:31:40.726 SkyChart Chart_1: Init chart
2012-11-24T19:31:40.726 SkyChart Chart_1: Init coordinates
2012-11-24T19:31:40.727 SkyChart Chart_1: Compute planet position
2012-11-24T19:31:40.727 SkyChart Chart_1: end Compute planet position
2012-11-24T19:31:40.727 SkyChart Chart_1: Init labels
2012-11-24T19:31:40.728 SkyChart Chart_1: Init colors
2012-11-24T19:31:40.729 SkyChart Chart_1: Open catalogs
2012-11-24T19:31:40.730 SkyChart Chart_1: Init catalogs
2012-11-24T19:31:40.730 SkyChart Chart_1: begin drawing
2012-11-24T19:31:40.730 SkyChart Chart_1: draw milky way
2012-11-24T19:31:40.771 SkyChart Chart_1: draw alt/az EQ grid
2012-11-24T19:31:40.771 SkyChart Chart_1: draw horizon
2012-11-24T19:31:40.826 SkyChart Chart_1: draw deepsky objects
2012-11-24T19:31:40.827 SkyChart Chart_1: draw outlines
2012-11-24T19:31:40.828 SkyChart Chart_1: draw nebula outlines
2012-11-24T19:31:40.883 SkyChart Chart_1: draw comets
2012-11-24T19:31:40.884 SkyChart Chart_1: draw grid
2012-11-24T19:31:40.915 SkyChart Chart_1: draw constellation figures
2012-11-24T19:31:40.923 SkyChart Chart_1: draw stars
2012-11-24T19:31:40.940 SkyChart Chart_1: draw double stars
2012-11-24T19:31:40.940 SkyChart Chart_1: draw variable stars
2012-11-24T19:31:40.940 SkyChart Chart_1: draw asteroids
2012-11-24T19:31:40.946 SkyChart Chart_1: draw orbit path
2012-11-24T19:31:40.946 SkyChart Chart_1: draw planets
2012-11-24T19:31:40.946 SkyChart Chart_1: draw labels
2012-11-24T19:31:40.946 SkyChart Chart_1: Optimize labels
2012-11-24T19:31:40.947 SkyChart Chart_1: Labels optimized
2012-11-24T19:31:40.978 SkyChart Chart_1: draw chart border
2012-11-24T19:31:40.978 SkyChart Chart_1: end drawing
2012-11-24T19:31:40.978 SkyChart Chart_1: end Refresh
2012-11-24T19:31:40.978 Chart Chart_1: Draw map end
2012-11-24T19:31:40.979 Chart Chart_1: Release refresh lock
2012-11-24T19:31:40.981 Chart Chart_1: Refresh end
2012-11-24T19:31:40.982 Chart_1 Paint
2012-11-24T19:31:47.305 Chart_1 Paint
2012-11-24T19:31:48.780 Stop TCP/IP server
2012-11-24T19:31:49.791 Exiting ...
2012-11-24T19:31:49.824 Destroy Tf_main
2012-11-24T19:31:49.848 Destroy Cursor
2012-11-24T19:31:49.848 Destroy end
2012-11-24T19:31:49.855 Destroy chart Chart_1
2012-11-24T19:31:49.863 End Destroy chart

Patrick Chevalley

12-11-25 09:11

administrator   ~0002302

So the last line of my code execute properly and the crash occur later in the program finalization.

Can you check if your skychart.exe file is not corrupt.
You can get the md5sum program for windows here: http://www.pc-tools.net/win32/md5sums/
Put the md5sum.exe in the Ciel directory and run: md5sum.exe skychart.exe

debug version:
skychart.exe size=48122180 md5=5ee27495166c93be3b10cb63e42904dc

normal version:
skychart.exe size=9989120 md5=f2e8fc34371739fb6850c34406d439d7

testcy

12-11-25 16:43

reporter   ~0002310

The skychart.exe file is not corrupt. With the debug version the error messages appear randomly and not always as with the normal version.

testcy

12-11-27 16:20

reporter   ~0002311

I was hoping that the error messages could stop in the latest version, but unfortunately they did not (in 2301). I am now thinking to switch to the 32bit version to try that too.

testcy

12-11-29 17:13

reporter   ~0002324

I just read that there is no 64bit version for the stable 3.6, so I guess I will have to use the 32bit version for now and maybe a future beta will work for me.

Patrick Chevalley

12-12-09 09:58

administrator   ~0002345

Yes, win64 is only beta because of the many problem I can not fix with this version.
They are summarized here: http://www.ap-i.net/mantis/view.php?id=858

I close the problem as not reproducible, because it look like you are alone with this problem despite 77 download of the win64 last beta and 100 for the previous one.

Maybe I also stop to upload a win64 beta to avoid confusion and let win64 testing only for people who compile from the source code.

testcy

13-05-04 05:32

reporter   ~0002518

Last edited: 13-05-04 05:33

The problem started to appear again with the latest beta build (skychart-3.9-2513-windows.exe). The problem happens with the 32bit version now as this is what I am using. I was unable to reproduce the exact steps to make the problem happen every time, but when the problem does happen I can not close the error window not even with end task.

Patrick Chevalley

13-05-04 13:33

administrator   ~0002519

This time I can reproduce the problem and this is fixed by revision 2526:
http://sourceforge.net/p/skychart/code/2526/

This is probably not related to the original problem as this time it crash before the "Destroy end" message and it was easy to trace in debugger.

Issue History

Date Modified Username Field Change
12-11-19 18:57 testcy New Issue
12-11-19 18:57 testcy File Added: error1.png
12-11-19 18:58 testcy File Added: error2.png
12-11-19 18:58 testcy File Added: error3.png
12-11-19 20:17 Patrick Chevalley Note Added: 0002283
12-11-19 20:17 Patrick Chevalley Assigned To => Patrick Chevalley
12-11-19 20:17 Patrick Chevalley Status new => feedback
12-11-19 20:17 Patrick Chevalley Target Version 0.3.0 => 3.8
12-11-19 20:38 testcy Note Added: 0002284
12-11-19 20:38 testcy Status feedback => assigned
12-11-19 20:39 testcy File Added: skychart.ini
12-11-20 07:47 Patrick Chevalley Note Added: 0002285
12-11-20 07:47 Patrick Chevalley Status assigned => feedback
12-11-20 21:16 testcy Note Added: 0002287
12-11-20 21:16 testcy Status feedback => assigned
12-11-21 07:25 Patrick Chevalley Note Added: 0002288
12-11-21 07:25 Patrick Chevalley Status assigned => feedback
12-11-21 19:11 testcy Note Added: 0002293
12-11-21 19:11 testcy Status feedback => assigned
12-11-21 19:29 Patrick Chevalley Note Added: 0002294
12-11-21 19:29 Patrick Chevalley Status assigned => feedback
12-11-21 19:40 testcy Note Added: 0002295
12-11-21 19:40 testcy Status feedback => assigned
12-11-23 16:28 testcy Note Added: 0002296
12-11-23 18:02 testcy Note Edited: 0002296
12-11-24 10:51 Patrick Chevalley Note Added: 0002298
12-11-24 10:52 Patrick Chevalley Status assigned => feedback
12-11-24 18:35 testcy Note Added: 0002301
12-11-24 18:35 testcy Status feedback => assigned
12-11-25 09:11 Patrick Chevalley Note Added: 0002302
12-11-25 09:11 Patrick Chevalley Status assigned => feedback
12-11-25 16:43 testcy Note Added: 0002310
12-11-25 16:43 testcy Status feedback => assigned
12-11-27 16:20 testcy Note Added: 0002311
12-11-29 17:13 testcy Note Added: 0002324
12-12-09 09:58 Patrick Chevalley Note Added: 0002345
12-12-09 09:58 Patrick Chevalley Status assigned => resolved
12-12-09 09:58 Patrick Chevalley Resolution open => unable to reproduce
12-12-09 09:58 Patrick Chevalley Target Version 3.8 => 0.3.0
13-05-04 05:32 testcy Note Added: 0002518
13-05-04 05:32 testcy Status resolved => feedback
13-05-04 05:32 testcy Resolution unable to reproduce => reopened
13-05-04 05:33 testcy Note Edited: 0002518
13-05-04 13:33 Patrick Chevalley Note Added: 0002519
13-05-04 13:33 Patrick Chevalley Status feedback => resolved
13-05-04 13:33 Patrick Chevalley Resolution reopened => fixed
13-05-04 13:33 Patrick Chevalley Fixed in Version 0.3.0 => 3.9 SVN
13-05-04 13:33 Patrick Chevalley Target Version 0.3.0 => 3.10
14-03-29 17:55 Patrick Chevalley Status resolved => closed