Bug 457858

Summary: Crash on startup
Product: [Applications] kstars Reporter: davidebarruncho
Component: generalAssignee: Rob <rlancaste>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 3.6.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:

Description davidebarruncho 2022-08-14 02:52:29 UTC
After a fresh macos 11.6.8 (20G730) install, the app crashes on startup.

Bellow is the crash report:

Process:               kstars [6151]
Path:                  /Applications/kstars.app/Contents/MacOS/kstars
Identifier:            ???
Version:               3.6.0 (3.6.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           kstars [6151]
User ID:               501

Date/Time:             2022-08-14 03:34:01.561 +0100
OS Version:            macOS 11.6.8 (20G730)
Report Version:        12
Anonymous UUID:        F6F5BE14-D174-4BFA-8649-A2B6CA3185BC

Sleep/Wake UUID:       24FC7F59-26D6-4F42-9303-F33D8280CBA1

Time Awake Since Boot: 50000 seconds
Time Since Wake:       50000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
terminating with uncaught exception of type std::out_of_range: unordered_map::at: key not found
abort() called

(...)

Since it's too long and I get an error about max characters. This is a pastebin will the full crash report (https://pastebin.com/MYwfKpcF).

Kind Regards
Comment 1 Rob 2022-08-27 05:07:07 UTC
It has taken me some time to work through several issues, but I think the 3.6.0 is now a pretty good one.  Please check to see if it is improved.  Based on what you said here, I suspect you had the issue that was caused by the loading code for the asteroids.dat file.  That issue was fixed yesterday and is now in both the current DMG on the Kstars kde website and the nightly releases.  So please check and I hope it is all better now.
Comment 2 davidebarruncho 2022-09-01 09:26:58 UTC
I can now open the new version without crashing which is good news :)

But still haven't got any clear sky lately to test.