-
-
Notifications
You must be signed in to change notification settings - Fork 856
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
stellarium-1.1.1-qt6-win64.exe quits when using SharpCap #2821
Comments
Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us. |
Maybe the same issue:
|
It was suggested on Cloudy Nights that I check and make sure the apps I'm using for EAA are not set to "Run as Administrator". I will check Gemini Telescope.NET, SharpCap and Stellarium tomorrow to see how they are run. I've not set any of the apps to "Run as Administrator" unless they install that way by default. |
I've checked all the apps I run for EAA and none are set to run as administrator. I did look around in the Event Manager and came up with a couple of Windows Application logs. One if for 1.22.3.1292 and the other is for 1.22.4.0. WindowsErrorLog_Stellarium_10242022.txt |
Can confirm same issue - haven't had a chance to re-produce, but seems similar, Sharpcap, EQMod, Minimise - Gone! Will test this weekend. |
Hello! I can confirm this, too. I use Stellarium version 1.22.4 in combination with actual SharpCap 4.0 and EQMod 2.00v and Windows 10. Best regards! |
I'm not sure if this is related but Stellarium 0.22.2 quit last night. I don't think this has happened before. The log is attached. |
Here are the extracted problem details from Windows Maintenance: Description Problem signature Extra information about the problem |
This is a good task for the community to participate in the contribution into Stellarium. Who wants to help us? |
Please check the fresh version (development snapshot) of Stellarium: |
Several Qt6/TelescopeControl issues have been solved before 23.3. We would like to clean-out a large group of related issue reports which are hard to reproduce without actual telescopes or external software. If no follow-up to this happens by November 1, 2023, we will close this as tentatively solved. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
It's not solved :-( (#3430) |
Georg, thank you for reopening this issue. I was not sure what to do since the issue was closed before I tested the G11G, SharpCap and Stellarium together. I need clear skies to do testing and it's been quite cloudy lately. It's very hard for me to follow all the weekly snapshots so is there a way for someone to notify me when you have a Qt6 snapshot ready to test? Since the Qt6 does not yet work do you recommend I try the 23.3 Qt5 version until this is fixed? |
Usually every week, or at least if there was developer activity (which is usually the case) there are weekly snapshots. We had hoped that the two fixes applied in July also would have closed this one. However, without being tortured (or at least affected) by your issues I will likely not be able to trace this one. If somebody else provides a solution, there will be a new notification in this issue thread. Sure, as long as the Qt6 build has a problem, using the else same-numbered Qt5 build is the workaround. Going back to an older version is not recommended. |
I don't have any telescope nor Windows, so please give me some details:
|
Hello, So for now I can only talk about my own experiences: Regarding number 1: SharpCap is NOT connected with Stellarium. It is a live stacking program to capture camera images. Regarding number 2: Yes, SharpCap is always connected to the mount for me: for GOTOs and platesolving. Regarding number 3: I have to answer this question as YES because, as I said, SharpCap is always connected to the mount. I can't answer whether it will crash if there is no connection! Regarding number 4: In my experience, adjustments to the mount are not absolutely necessary. It's more like this: A quick switch to the SharpCap window and back to Stellarium is enough to cause the program to crash. In my opinion it may not be a specific problem with SharpCap, but rather a general problem with the parallel running telescope control plugin (#2874), possibly also the GUI, since I I've also recently had crashes with Qt5. Best regards |
Stop! Did you connect to the mount from Stellarium and from SharpCap in the same time? |
That's exactly how it is! |
When using ASCOM that should not be an issue - it allows Multiple programs to connect at the same time. I regularly have used it this way, whether capturing in Sharpcap or N.I.N.A -etc. I can add some more to this from my own recent Experience too. A PC I rebuilt for imaging with, it is an AMD Threadripper 1950x 64GB RAM, Radeon 5700xt GPU - so not shy on resources. Windows 10, installed latest Stellarium - I think 23.something - Open Stellarium...set everything up to work same as previous builds - ALL GOOD. Controlling scope, Capturing fine...Crash...oh wait what ?!? This time at least it wasn't crashing JUST from slewing...it was random. In the end - Iooked at the download file to notice it was QT6 - and recalled there should be a QT5 - so did a bit of poking around, Bingo, there was a QT5 of the same version. |
I guess we need to employ a stack tracer for Windows builds. Otherwise such issues will take quite a long time to debug. |
I tried the 23.3 Qt6 version at the request of Georg and it did not work. Luckily it's only Stellarium that quits and the other ASCOM programs continue running (CPWI, PHD2, SharpCap). I use SharpCap the same way as StarFlea. Stellarium is my planetarium application for viewing the sky and selecting objects to Go-To, at which point I use SharpCap. It's the switching between SharpCap and Stellarium that seems to cause Stellarium to quit. The Qt5 version works fine. |
exactly same symptoms as me - randomly, but predominately that. It sort of wouldn't be an issue if setting an image, and getting hours of shots on it before moving on. Mine was a bit embarassing the other night when it happened, as it was a public event where we would take a few shots of an object, then move along to the next object... Meaning having to flick to Stellarium each time, but the moment you did it would crash. But if I went from Stellarium to sharpcap, then back again to stellarium fairly quickly, not an issue. Seems to be that time plays a factor in the crashing - maybe a memory leak somewhere... |
As I already said in thread #2874 the problem is probably not specifically related to SharpCap but rather to a window change to any program. Apparently there is an inoperability between Qt6 and ASCOM (and possibly also OpenGL). I use ASCOM platform 6.6SP2.
The Qt5 version does not show this behavior. In addition, there is no problem as long as no connection to ASCOM is established. Maybe one of you has another idea? Perhaps some of you can also reproduce this or can narrow down the problem even further? |
I now ran the Microsoft Debug Diagnostic Tool during the crash and analyzed the whole thing with DebugDiag Analysis. An access violation occurs in the module Qt6OpenGL.dll Just a wild guess, but could there be a problem redrawing the main Stellarium window? As long as no other program window is open, or as long as you don't switch to another program window and return to the Stellarium window, there is no crash. I have attached the complete diagnostic file as a PDF. |
This like as if some event happened in Right? If yes, then what event could come to Another guess is that this is a result of memory corruption, so some Valgrind-like tool would be needed to debug this. |
Good idea, but what kind of event would that be? I noticed something strange: The crash only seems to occur as soon as I connect an ASCOM telescope via the telescope control and briefly bring any program window (e.g. Notepad) to the foreground via the Windows taskbar and then via the Windows taskbar bring Stellarium back to the foreground or the other program to the background. The problem may occur if ...
I'm confused! Unfortunately I have no knowledge of Qt6 or C++. My programming focus is more on Java and Swing... |
If you could build Stellarium in debug mode (i.e. passing |
Let's see, I first have to work in and inform myself with the basics... But a stupid question: Is it possible to include Qt6.6 in Stellarium? |
You can just install Qt6.6 and build Stellarium based on that. If you need a feature that is only available with Qt6.6, it would add a new requirement, which can however be fulfilled on Windows quite easily. |
Hello @kantn8r! Please check the fresh version (development snapshot) of Stellarium: |
Hello @kantn8r! Please check the latest stable version of Stellarium: |
This may be a duplicate of Issue #2724 but it's possible this is not related to the Telescope Control plugin.
Expected Behaviour is for Stellarium to work when using SharpCap, just as 0.22.2 works.
Actual Behaviour is Stellarium 1.22.3 and 1.22.4 start up fine, Telescope Control plugin loads fine, Gemini Telescope.NET is selected and connected fine, and mount is slewed to the first target fine. Then as soon as I switch to SharpCap and make any mount adjustments, Stellarium quits. This can be repeated over and over.
Initially I thought this was related to the Telescope Control plugin but perhaps it is something else.
The steps described above can reproduce the problem every time.
A log file from a prior 1.22.3 session was posted in Issue #2724
The text was updated successfully, but these errors were encountered: