-
-
Notifications
You must be signed in to change notification settings - Fork 842
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
23.3: Crash on startup (Fedora) #3429
Comments
There may be a problem with importing minor bodies. Please try to remove (or rename first if it is important!) your data/ssystem_minor.ini to force resetting to default. |
This made no difference. |
Likely because of 3d1fe8b. |
Removing that line doesn't fix the crash. |
Please try rename ~/.stellarium and check it again |
No luck. |
Where we can see spec file for RPM? |
Thanks! This is weird. Could you share build log? |
Indeed. :) |
Testing with fresh installation of Fedora 39 beta. I can confirm the crash with Wayland. Login with the option 'GNOME on Xorg' with a successful launch (but have to install Nvidia driver on my machine). |
@worachate001 Did the previous version also crash? |
I have a backup copy of ~/.stellarium created during development in Manjaro and I just did some experiments in Fedora 38/39 beta (both give similar results). Wayland
X11
Note: Nvidia driver is needed in my machine for proper graphical display. |
@worachate001 could you prepare and run debug edition of stellarium without previous settings under wayland? |
Never do it, any direction for a beginner? |
If the program crashes on the second run too, could you share two config files: one that results in a crash, and another that doesn't? |
The general instructions: https://github.com/Stellarium/stellarium/blob/master/BUILDING.md Configuration: Run under DBG after installing: |
@10110111 I just did another experiment by editing config.ini at this line.
The default value is 'true', changing it to 'false' is really helping Stellarium to launch under Wayland. Setting to full screen while running the program doesn't lead to a crash but if you save the setting, it will crash again in the next launch. |
See below. |
Hello @limburgher! OK, developers can reproduce the issue. Thanks for the report! |
@worachate001 could you play with code around lines 418-435 in main.cpp? |
@alex-w I'm trying. BTW, running with gbd shows this:
The fact that I can run Stellarium-23.3-qt5-x86_64.AppImage with no crash at start, it's likely related to Qt6/Wayland. |
Could you show a deeper stack trace? |
@10110111 I use bt command and got this:
Program crashes at SplashScreen::finish(&mainWin); And bt-full.txt |
This hints that |
Yes, I enter this: and can launch Stellarium with no crash at startup. |
Well, this actually seems to make sense: a fullscreen window doesn't have window decorations (as doesn't the splash screen), so there would be no instance of |
@worachate001 please try to add |
@alex-w This may be a bad solution, since, from the sound of it, it will remove window decorations completely, which is undesirable in windowed mode. |
Yes, it works. But as @10110111 pointed out. If you switch to windowed mode, you cannot resize or move the window if you need to (may not be a problem for users who only stay in full-screen mode). |
OK, this bug is definitely in Qt, and probably we should mark this report as |
Please reference the QT bug here when it exists so we can all follow along. Thank you! |
Any news? If it is nothing we can solve, it's not our bug, it's also not in 23.4, but s.o. could report it to Qt. If we can help Wayland users by setting some environment variables, this info should go into the FAQ ("recent problems"). |
No progress on my part. I have been super busy preparing 2024 almanac for local astronomical society. |
This appears to be fixed on Qt 6.6.0. |
My latest attempt to compile and run Stellarium in Fedora 39 with Wayland is going well. |
Expected Behaviour
Stellarium starts normall.
Actual Behaviour
See attached backtrace
Steps to reproduce
Build on Fedora 39, launch
System
Logfile
gdb.txt
log.txt
The text was updated successfully, but these errors were encountered: