Bug 472786

Summary: Select search immediately after starting Kstars often results in Kstars crashing.
Product: [Applications] kstars Reporter: davidjbennett
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: 3.6.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kstars log file after the crash.

Description davidjbennett 2023-07-29 22:27:55 UTC
Created attachment 160617 [details]
kstars log file after the crash.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Start Kstars from desktop icon by double clicking it.
2. Immediately select the search Icon from the main menu bar (3rd icon from the left)
3. 

OBSERVED RESULT
Kstars immediately closes with no warnings.  This does not always happen however and I cannot pre-determine when it will crash. You can repeat above procedure again once or several times more until search works with no crash. 


EXPECTED RESULT
Display the search Dialog

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Attached is the kstars log file when kstars crashes.  When it does not crash the log file has an additional DEBG line: 0 StarBlocks freed from StarBlockFactory at the end of the log file. 
Starting Kstars immediately followed by a search must be a common user action.