View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000399 | SkyChart | 1-Software | public | 08-09-28 14:16 | 09-02-07 17:58 |
| Reporter | marc fokker | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x86 | OS | Windows | OS Version | XP |
| Target Version | 3.0.1.6 | Fixed in Version | 3.0.1.5 SVN | ||
| Summary | 0000399: Only Administrator on WinXP is successful to start CdC | ||||
| Description | With a simple user-account on Windows XP I am not able to run CdC, starting up takes for ever. All I get is an CdC screen with menu bar, short-cut buttons and the 'Cartes du Ciel / SkyChart' startup-window on top of al applications accompanied by the hourglass. The program doesn't respond. There is no problem to run it with an Administrator-account. | ||||
| Additional Information | Is it related tot the 392-issue? (That was a Linux-case) | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
|
debug results in file 'debug_cdc_20080921.txt' attached. |
|
|
Hi Marc, CdC is designed to work as non-admin, this work without problem for me on Vista. Do you use the debug version of the snapshot to produce the debug trace? I not see anything related to cdc. If not please rerun with the debug version. The trace show a DNS query intercepted by "Spyware Doctor". Maybe you can try to deactivate the antispyware. |
|
|
Hi Patrick, I created a non-admin account on my WinXP laptop. The new CdC-version runs fine there too. Shall I be the only one with this problem? On my workstation nothing improved after I killed the SpywareDoctor and killed the McAfee Anitvirus and firewall protection. Later I added manually the new CdC version with full Internet access, also this didn't help. And yes, I did run the GNU gdb together with de debug version of CdC. I will send the new trace without the Spyware Doctor running. When I Enter the 'bt' command, the gdb writes a line to the command-window which says: Previous frame inner to this frame (corrupt stack?) Could this give you some helpful information? Best regards, Marc |
|
|
Marc, the trace is still not very useful, this is not a surprise if gdb suspect a corrupt stack. Do this computer has Internet access ? some of the message remind me a very old souvenir when the tcp/ip stack was not installed by default on Windows 95. Can you try this: - edit the file My Documents\cartes du ciel\cartesduciel.ini - locate the line AutostartServer=1 - replace by AutostartServer=0 - locate dbtype= , be sure it specify dbtype=1 - save and launch skychart |
|
|
I checked cartesduciel.ini today. Unfortuneatly I found that the settings were allready exactly like your suggestions: AutostartServer=0 dbtype=1 Starting with those settings results in a program that doesn't respond. Whatever the settings, of those two values, the result is pretty much the same, except that when dbtype=0, the program complains about the sql-database. |
|
|
OK, the only solution is I send you a special version that produce a detailed trace of the startup process to identify where it crash. Can you look if the file My Documents\cartes du ciel\cdc_trace.txt contain anything and upload it here. |
|
|
Only 3 lines in cdc_trace.txt. Here they are: 2008-10-17T17:23:27.531 Start trace 2008-10-17T17:23:27.531 Try language: nl_NL, nl 2008-10-17T17:23:27.546 Language: nl Nederlands |
|
|
With the 2008-06-22 version there was a line that says CdC connects with the SQL database. It is missing here.. |
|
|
Today snapshot is ready at http://www.ap-i.net/skychart/snapshot/ It produce a more detailed trace, please post the file here and screenshot of any error message show on screen. |
|
|
Thank you, Patrick. I downloaded it and tested it. There are (and were in the previous versions) no error messages on the screen. The screen starts and freezes without anything in the map. I 'll upload a screendump. This is what's in the cdc_trace.txt: 2008-10-18T18:49:01.843 Start trace 2008-10-18T18:49:01.843 Language 2008-10-18T18:49:01.859 Try language: nl_NL, nl 2008-10-18T18:49:01.859 Language: nl Nederlands 2008-10-18T18:49:01.859 Telescope 2008-10-18T18:49:01.859 Multidoc 2008-10-18T18:49:01.875 Size control 2008-10-18T18:49:01.875 Load zlib 2008-10-18T18:49:01.875 Load plan404 2008-10-18T18:49:01.875 Bitmap 2008-10-18T18:49:01.875 Load timezone 2008-10-18T18:49:01.875 Exit Tf_main.FormCreate 2008-10-18T18:49:01.906 Create splash 2008-10-18T18:49:01.921 Show splash 2008-10-18T18:49:01.953 Create f_position 2008-10-18T18:49:01.953 Create f_search 2008-10-18T18:49:01.953 Create f_zoom 2008-10-18T18:49:01.953 Create f_getdss 2008-10-18T18:49:02.359 Loadlibrary libgetdss.dll 2008-10-18T18:49:02.359 Library ok 2008-10-18T18:49:02.375 Create f_manualtelescope 2008-10-18T18:49:02.375 Create f_detail 2008-10-18T18:49:02.375 Create f_info 2008-10-18T18:49:02.375 Create f_calendar 2008-10-18T18:49:02.390 Create Tf_image 2008-10-18T18:49:02.390 Create f_printsetup 2008-10-18T18:49:02.390 Create f_print 2008-10-18T18:49:02.390 Main Init 2008-10-18T18:49:02.406 Enter Tf_main.Init 2008-10-18T18:49:02.406 SetDefault 2008-10-18T18:49:02.406 ReadDefault 2008-10-18T18:49:02.421 Create DB 2008-10-18T18:49:02.421 Telescope plugin 2008-10-18T18:49:02.421 Background Image 2008-10-18T18:49:02.437 Constellation 2008-10-18T18:49:02.453 Connect DB 2008-10-18T18:49:02.453 DB connected 2008-10-18T18:49:02.468 Verbonden met SQL database C:\Documents and Settings\Marc\Mijn documenten\Cartes du Ciel\database\cdc.db 2008-10-18T18:49:02.468 FITS 2008-10-18T18:49:02.468 Cursor 2008-10-18T18:49:02.468 Compass 2008-10-18T18:49:02.468 Timezone 2008-10-18T18:49:10.453 Create default chart 2008-10-18T18:49:10.828 Start server 2008-10-18T18:49:10.828 Init calendar 2008-10-18T18:49:10.828 Read params 2008-10-18T18:49:10.828 Exit Tf_main.Init 2008-10-18T18:49:10.828 Application Run 2008-10-18T18:49:10.843 Enter Tf_main.FormShow 2008-10-18T18:49:10.843 Exit Tf_main.FormShow |
|
|
Really strange, all look normal from the trace. Can you try to totally remove the directory C:\Documents and Settings\Marc\Mijn documenten\Cartes du Ciel\ Then launch the program, the new version contain more error detection the first time it create this directory. |
|
|
Just one think more to be sure: Is the 8 seconds delay between "Timezone" and "Create default chart" was because it show the release notes ? |
|
|
Hi Patrick, Yes, I think the 8 seconds is because of showing the release notes. I removed the C:\Documents and Settings\Marc\Mijn documenten\Cartes du Ciel\ (OK, in fact renamed) directory. The first time I start it, it crashes immediately after showing a short time the release notes. The good part: it creates the directories. According to the trace, it doesn't get further than "Initialize DB" And now the funny part: The second time I start CdC, it makes a complete working startup. All settings are default of course, but as far I tested it, it runs fine. I also found that the 311 and the 335 bugs (USNO-A star information in fields smaller than 1 degree) seem to be resolved! Running the program for the third time (with the directories and ini-file from the previously started CdC-session in place) results in the familiar program-freeze. Starting up now takes forever. Running it more often also results in a freeze while starting. To succesfully start CdC, the best thing I can do is to remove the ini-file. Then the program starts OK, of course without al my settings. I did add the three different trace-files. |
|
|
Hi Patrick, Bad news: Meanwhile I reproduced this problem on two more workstations :-( |
|
|
Hi, I try to reproduce the problem on Vista and XP, create new non-admin account but I still cannot reproduce the problem. But I receive email message from Antoni Clavel that run a similar problem. I do a new snapshot today that add much more detail to the trace at the moment the chart is draw. Can you try this new version and post the trace. Can you also post the cartesduciel.ini file at the different step (after first run, after it work on second run, and after the third run). |
|
|
Marc, I hope to found the reason for this problem. This is because in Netherlands you use the dot as thousand separator. CdC use the dot as decimal separator but not force the value for the thousand. When the program read a value from the .ini file is is wrongly interpreted as a very big value. For instance the default star size partsize=1.20000004768372 is interpreted as partsize=120000004768372 and it may take years to compute such a big flare. I will put a new snapshot with the correction shortly. As a temporary solution you can change the number format in the Windows regional setting. |
|
|
The new snapshot that fix this issue is available. http://www.ap-i.net/skychart/snapshot/ Fixed by Revision 1063: http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1063 |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 08-09-28 14:16 | marc fokker | New Issue | |
| 08-09-28 15:03 | marc fokker | Note Added: 0000667 | |
| 08-09-28 15:03 | marc fokker | File Added: debug_cdc_20080921.txt | |
| 08-09-30 10:05 | Patrick Chevalley | Note Added: 0000670 | |
| 08-09-30 10:05 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 08-09-30 10:05 | Patrick Chevalley | Status | new => feedback |
| 08-09-30 15:13 | marc fokker | File Added: debug2_cdc_20080921.txt | |
| 08-09-30 15:13 | marc fokker | Note Added: 0000671 | |
| 08-10-17 13:44 | Patrick Chevalley | Note Added: 0000697 | |
| 08-10-17 13:44 | Patrick Chevalley | Target Version | 0.3.0 => 3.0.1.6 |
| 08-10-17 17:01 | marc fokker | Note Added: 0000706 | |
| 08-10-17 17:07 | Patrick Chevalley | Note Added: 0000707 | |
| 08-10-17 17:29 | marc fokker | Note Added: 0000708 | |
| 08-10-17 17:35 | marc fokker | Note Added: 0000709 | |
| 08-10-18 17:31 | Patrick Chevalley | Note Added: 0000712 | |
| 08-10-18 18:55 | marc fokker | Note Added: 0000714 | |
| 08-10-18 18:56 | marc fokker | File Added: CdC_not_responding.jpg | |
| 08-10-18 20:02 | Patrick Chevalley | Note Added: 0000715 | |
| 08-10-18 20:07 | Patrick Chevalley | Note Added: 0000716 | |
| 08-10-19 21:28 | marc fokker | Note Added: 0000719 | |
| 08-10-19 21:34 | marc fokker | File Added: cdc_trace_1_crash_while_starting.txt | |
| 08-10-19 21:34 | marc fokker | File Added: cdc_trace_2_succesfully_run.txt | |
| 08-10-19 21:35 | marc fokker | File Added: cdc_trace_3_freeze_while_starting.txt | |
| 08-10-19 21:35 | marc fokker | Note Edited: 0000719 | |
| 08-10-25 22:51 | marc fokker | Note Added: 0000720 | |
| 08-11-02 20:43 | Patrick Chevalley | Note Added: 0000742 | |
| 08-11-03 16:40 | Patrick Chevalley | Note Added: 0000743 | |
| 08-11-03 19:25 | Patrick Chevalley | Status | feedback => resolved |
| 08-11-03 19:25 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.0.1.5 SVN |
| 08-11-03 19:25 | Patrick Chevalley | Resolution | open => fixed |
| 08-11-03 19:25 | Patrick Chevalley | Note Added: 0000744 | |
| 09-02-07 17:58 | Patrick Chevalley | Status | resolved => closed |