New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes of Stellarium 1.1 (1.22.4 based on Qt 6.4) #2874
Comments
Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us. |
Duplicate of #2821. However, with note that an ASCOM simulator is enough to cause crashes. |
Please note that when the crash has been reproduced with an ASCOM simulator, I was not using Sharpcap. |
This is a good task for the community to participate in the contribution into Stellarium. Who wants to help us? |
What kind of participation do you want me to help ? |
Somebody with an interest and motivation in removing INDI/ASCOM/SharpCap/DeviceHub-related problems must look into them. It probably requires some changes in the code, so building from source is a prerequisite, then checking the code of the ASCOM/INDI-related parts of the Telescope plugin. Knowledge about running a debugger may be advantageous. |
@smoinard18, I don't know if that may help. I had the same problem with 1.1.1-QT6-W64. Crashing with an Ascom telescope. Crashes may occur randomly or immediately if I used Alt-Tab. Problem is gone since I use 1.1.1-QT5-W64. You could try by our own. Platform and operating system: What kind of graphics card do you have? Driver version? Which version of Stellarium causes problems: |
I am having the same issue. Since updating to v1.1, Stellarium will crash after 1-2 minutes when running, especially after a sync. Are the previous version avaiable for download so I can further test? |
Yes. All releases are available when following the "All releases" link on stellarium.org. |
Hello, |
@Kev1909 you should try 1.1.1-QT5-W64. it solved my problem |
@Kev1909 the same request to you: can you try Qt5-based version 1.1 (https://github.com/Stellarium/stellarium/releases/download/v1.1/stellarium-1.1.1-qt5-win64.exe) ? We have several reports regarding Qt6-based builds when changing between Stellarium and NINA/SharpCap etc, and we tend to believe them. OK, error registered. However, probably no developer currently seems to have enough spare time to ever go observing. My own demands were always fulfilled with my old little drive, LX200 protocol (no chance to experience ASCOM or INDI issues), external autoguider (no chance to see NINA/SharpCap issues), and my DSLR's auto timer. Going back to a previous version is one option for users, but no step towards solving the problem. (Probably Stellarium 0.14 or 0.16 was good enough for driving telescopes in the 2020s.) Knowing that the problem lies in the actual Qt5/Qt6 transition would be a little but valuable piece of information for the community. |
@ouiouiblog thank you for this confirmation! |
Ok I will try it and give u feedback. Thank you both! |
@gzotti You are right! Qt5 runs without any crashes and works well! Thank You. FYI: The crashes in Qt6 happens only when I connected to to Telescope and jump between diffenrent windows. Kind regards |
OK. So, telescope users with problems should use Qt5-based builds. And one of them should feel invited to fix this. |
I have this issue too... recent version of ASCOM EQMOD and Stellarium with EQ5 Mount Goto it seems crashing when switch open windows. |
you should try 1.1.1-QT5-W64. it solved my problem |
thanks! this version works in this case, but i have a different problem... idk if it is the same related issue... if i make slew and sync with the eqmod aligment tool, after the second "sync" button press SynScan geors back to non PC direct mode and Stellarium freezes, or nearly freezes cause it seems to be ultra slow with the time refreshing only every few minutes. so first "Sync" works, second not |
I want to help with this issue. First, it is easy to reproduce, without specific equipment.
Crash: The error occurs when an OpenGL state is being refreshed, or re-created? I added some debug with timestamps to ASCOMDevice.cpp, and found that right before the crash, ASCOMDevice::isDeviceConnected() looks like it is called twice, concurrently. |
Adding to hints of duplicated objects, when building in "Debug" mode, the following exception is triggered, instead of the error above:
This error only occurs if an ASCOM simulated telescope is active. Code from StelPainter.cpp::
#endif` |
Please check the fresh version (development snapshot) of Stellarium: |
Hi @alex-w , |
Please post the log for this new version. |
Hello @smoinard18! Please check the fresh version (development snapshot) of Stellarium: |
Hello! I ckecked the new RC4-Version (stellarium-23.2-13f21ff-qt6-win64.exe)... Here is the Windows-Error-Log: Faulting application name: stellarium.exe, version: 23.2.264.0, time stamp: 0x650bf3c0 |
So then... |
Hi! No, the problem only occurs with Stellarium with QT6. SharpCap was not in use. Once I started using Stellarium with QT5, I had no more problems. Best regards! |
So, I have now tested the new version 23.3 (Qt 6.5.2) again under Windows 10... As soon as I use the telescope plugin, Stellarium crashes after a short time (sometimes shortly after connecting to the telescope, sometimes only after I have performed several SYNCs): But every time it is only a matter of time! Windows-Log: _Problem Date status Description Problem signature Extra information about the problem I've attached the Stellarium log, but it doesn't document the actual crash... I hope it's of some help. No other programs were involved in the process (except GS Server). With the Qt5 version I couldn't provoke any crashes! Greetings! |
Hello @smoinard18! Please check the latest stable version of Stellarium: |
Hmm, I'm pondering right now and when I look at problem #2821, my experience tells me that there could be a connection between the two problems: So maybe the problem is more general and occurs when you switch back and forth between different windows or (sub)frames!? |
Hi Georg! The GSS is an alternative driver to EQMOD, with which you can control the telescope via ASCOM, especially for Skywatcher mounts. All I can say is that since I started using the Qt5 version, I hardly have any problems anymore. But as I said: The problem already existed with EQMOD... |
OK. We can be sure "Qt6" and "ASCOM" are involved. But I cannot trigger a crash with the ASCOM telescope simulator. |
Maybe it is necessary for another program to have a connection to the mount in addition to Stellarium? |
I cannot test equipment which I don't have. Of course I switched between Stellarium and other software, had it in the background for hours, occasionally switched back, never had a crash. Someone else, someone with observing needs, programming skills, a fitting telescope, and enough spare time should feel invited to hunt this down. |
Correction! In addition to the ASCOM driver (e.g. GSS or EQMOD), no other program is necessary! I can now reliably reproduce the crash of the Qt6 version, but I don't really know the reason yet. No mount is connected! Its only a simulation! I have just installed the latest Ot6 version...
After that, a few clicks in any other program window (GSS, browser, ...) are enough to cause Stellarium to crash (even in the background). Maybe it's due to the settings in the Stellarium telescope control? Here are my settings: Telescopes - Options: Configure Telescope: That's all! Maybe you can reproduce it using the settings? |
Interesting! As long as I don't establish a connection to the ASCOM driver, Stellarium runs without any problems! Here are the last entries in the log file before the crash: connectionType: TelescopeControl::ConnectionASCOM initString: "C8-AZEQ5:ASCOM:J2000:ASCOM.GS.Sky.Telescope:true" |
Further insight: Stellarium also crashes when connected to the ASCOM telescope simulator "ScopeSim.Telescope" or the "ASCOM.Simulator.Telescope", even if the GSS is not running! This narrows down the search a bit! I also unchecked all the checkboxes in the telescope options as a test, with no result! |
The following settings also have no influence on crash behavior: Connection delay So the problem must be somewhere in an incompatibility of Qt6 with some ASCOM configuration! And as long as you don't briefly switch to another program window after connecting to ASCOM, there will be no crash! |
OK, I have meanwhile seen a silent exit once, but could not reproduce it later. The debugger pointed me to a system library source file I have never even heard of. (So it's nothing simple in our sources.) I have no time these weeks for further experiments, though. You have two options:
|
Hello,
Multiple craches while connected to a ASCOM telescope (real EQ6R-pro ASCOM, or simulated ASCOM). Works well few minutes and crashed randomly while capturing video on another software, no special action in Stellarium.
Hope the following informations will help... Returning to 0.22.1.
Note that the provided log has been generated with a simulated ASCOM telescope (same crashes with a real connected telescope).
Platform and operating system:
Windows 11 Pro 21H2 build 22000.181.0, 64bits up to date
What kind of graphics card do you have? Driver version?
Intel Iris Plus Graphics. Driver Intel 27.20.100.9365
Which version of Stellarium causes problems:
stellarium-1.1.1-qt6-win64.exe - Stellarium 1.1 (1.22.4 based on Qt 6.4)
The LOGFILE:
See joined file log.txt
Stef
log.txt
The text was updated successfully, but these errors were encountered: