View Issue Details

IDProjectCategoryView StatusLast Update
0001053SkyChart1-Softwarepublic14-03-29 17:55
ReporterAndrew Hood Assigned ToPatrick Chevalley  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSWindowsOS Version7
Product Version3.7 SVN 
Target Version3.10Fixed in Version3.9 SVN 
Summary0001053: file open dialog crashes CdC
DescriptionEvery file open dialog now crashes CdC.
Steps To ReproduceI can't be sure when this started but it definitely happened with 2254. I have just tried it again with 2278 and this still happens. It does not matter with file open dialog it is, they all make CdC non-responsive and Windows eventually says it is not responding.

I tried deleting the skychart.ini before starting. When I went to add my observatory horizon line it crashed. Previously the major nuisance was with the solar system objects dialogs trying to use my previously downloaded comet and asteroid lists.

Trying to select a previously downloaded DSS image also crashes CdC.
Additional InformationI'll download the debug version and see if it provides any further hints.
TagsNo tags attached.

Relationships

child of 0000858 resolvedPatrick Chevalley Problems that prevent the release of a stable Win64 build 

Activities

Andrew Hood

12-10-08 09:18

reporter   ~0002235

Debug version also crashes the same way. Windows reports:
Log Name: Application
Source: Application Error
Date: 08/10/2012 6:07:42 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: toshiba-PC
Description:
Faulting application name: skychart.exe, version: 0.0.0.0, time stamp: 0x00000000
Faulting module name: skychart.exe, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000012691
Faulting process id: 0x3488
Faulting application start time: 0x01cda5238d09accd
Faulting application path: C:\Program Files\Ciel\skychart.exe
Faulting module path: C:\Program Files\Ciel\skychart.exe
Report Id: d99f0679-1116-11e2-ae82-e0ca943148cf

Patrick Chevalley

12-10-08 12:51

administrator   ~0002238

I cannot reproduce the problem, all the file dialog work fine using the 2278 beta on my Windows 7 64bit.

Can you get gdb_72_x64.exe and run the debug version with gdb as explained at the bottom of this page:
https://sourceforge.net/projects/skychart/files/0-beta/debug

I assume you run the Skychart 64bit installer, if you install the 32bit version it's OK but use gdb_72_i386.exe

Andrew Hood

12-10-08 13:44

reporter  

0001053.zip (930 bytes)

Andrew Hood

12-10-08 13:47

reporter   ~0002240

Last edited: 12-10-08 13:51

Patrick, gdb doesn't say much. This crash was when I tried to use the file selection dialog in setup->observatory->horizon->local horizon file name

I'll try a few other ones and see if they all fall over in the same way.

I tried a few more and they are all dieing in comctl32.dll

Patrick Chevalley

12-10-08 17:53

administrator   ~0002242

Last edited: 12-10-08 17:56

Thank you for the trace.

It say enough to have a better idea of the problem. The exception is raised when the dialog build the MRU list.

The problem is probably related to this one:
http://www.hu.freepascal.org/lists/fpc-devel/2012-June/029126.html
http://bugs.freepascal.org/view.php?id=12742

To summarizes, a Windows function raise an exception that is intended to be processed by the internal dialog, but because of the way the fpc compiler handle the exception it is wrongly reported to the application.

I add this issue to the list of the specific Win64 issue I cannot solve at the moment.

In the mean time you are best to install the 32bit version (skychart-3.7-2278-windows.exe)
There is no problem to install the 32bit version over the 64bit without uninstalling.

Andrew Hood

12-10-09 02:32

reporter   ~0002244

Patrick, the 32-bit version does not support running IRIDFLAR.EXE

Can you make it use DOSBOX if installed on 64 bit boxes? Even if that means making the user download and install DOSBOX.

Apart from that it is OK.

Patrick Chevalley

12-10-09 07:51

administrator   ~0002246

You are right, the choice to use dosbox is done at the compilation time depending on the architecture.
This must be done at run time and dosbox always include also in 32bit windows. This is not a problem as this is a very small file.

Patrick Chevalley

12-10-09 13:56

administrator   ~0002247

revision 2279 make iridflar to run with dosbox from the win32 version running on 64bits OS.
http://skychart.svn.sourceforge.net/viewvc/skychart?view=revision&revision=2279

Patrick Chevalley

13-05-04 17:28

administrator   ~0002525

This is fixed in beta version 3.9.

Issue History

Date Modified Username Field Change
12-10-08 08:53 Andrew Hood New Issue
12-10-08 09:18 Andrew Hood Note Added: 0002235
12-10-08 12:51 Patrick Chevalley Note Added: 0002238
12-10-08 12:51 Patrick Chevalley Assigned To => Patrick Chevalley
12-10-08 12:51 Patrick Chevalley Status new => feedback
12-10-08 12:51 Patrick Chevalley Target Version 0.3.0 => 3.8
12-10-08 13:44 Andrew Hood File Added: 0001053.zip
12-10-08 13:47 Andrew Hood Note Added: 0002240
12-10-08 13:47 Andrew Hood Status feedback => assigned
12-10-08 13:48 Andrew Hood Note Edited: 0002240
12-10-08 13:51 Andrew Hood Note Edited: 0002240
12-10-08 17:53 Patrick Chevalley Note Added: 0002242
12-10-08 17:55 Patrick Chevalley Note Edited: 0002242
12-10-08 17:56 Patrick Chevalley Note Edited: 0002242
12-10-08 17:59 Patrick Chevalley Relationship added child of 0000858
12-10-08 17:59 Patrick Chevalley Target Version 3.8 => 5.0
12-10-09 02:32 Andrew Hood Note Added: 0002244
12-10-09 07:51 Patrick Chevalley Note Added: 0002246
12-10-09 13:56 Patrick Chevalley Note Added: 0002247
13-05-04 17:28 Patrick Chevalley Note Added: 0002525
13-05-04 17:28 Patrick Chevalley Status assigned => resolved
13-05-04 17:28 Patrick Chevalley Resolution open => fixed
13-05-04 17:28 Patrick Chevalley Fixed in Version 0.3.0 => 3.9 SVN
13-05-04 17:28 Patrick Chevalley Target Version 5.0 => 3.10
14-03-29 17:55 Patrick Chevalley Status resolved => closed