Skip to content
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

Freeze and crash after clicking Online Queries button #2548

Closed
worachate001 opened this issue Aug 3, 2022 · 52 comments
Closed

Freeze and crash after clicking Online Queries button #2548

worachate001 opened this issue Aug 3, 2022 · 52 comments
Assignees
Labels
importance: medium A bit annoying, minor miscalculation, but no crash infrastructure Infrastructure related issues qt Issues, related to Qt framework state: confirmed A developer can reproduce the issue
Milestone

Comments

@worachate001
Copy link
Member

Expected Behaviour

Stellarium open the browser to search for information of selected object.

Actual Behaviour

Program freeze and crash.

No error message in 0.22.* series. In version 1.22.2 this error appears in log file:

Could not find QtWebEngineProcess

Note: The plugin works properly in version 0.21.3.

Steps to reproduce

  1. Enable Online Queries plugin
  2. Click an object
  3. Click Online Queries button

System

  • Stellarium version: 0.22.1, 0.22.2, 1.22.2
  • Operating system: Linux Mint 21
@alex-w
Copy link
Member

alex-w commented Aug 3, 2022

Hmm… are you trying an AppImage or something else?

@alex-w alex-w added this to the 0.22.3 milestone Aug 3, 2022
@alex-w alex-w added this to Needs triage in Plugin via automation Aug 3, 2022
@alex-w alex-w moved this from Needs triage to To do in Plugin Aug 3, 2022
@alex-w alex-w added this to Needs triage in OS: Linux/UNIX via automation Aug 3, 2022
@worachate001
Copy link
Member Author

Hmm… are you trying an AppImage or something else?

Yes, the AppImage for 0.22.* (AppImage for 1.22.2 is not working).

@alex-w
Copy link
Member

alex-w commented Aug 3, 2022

OK, please check an AppImage from here: https://github.com/Stellarium/stellarium/actions/runs/2787633526 (please wait the finish of building)

@alex-w alex-w added the infrastructure Infrastructure related issues label Aug 3, 2022
@alex-w alex-w moved this from Needs triage to To do in OS: Linux/UNIX Aug 3, 2022
@alex-w alex-w moved this from To do to In progress in OS: Linux/UNIX Aug 3, 2022
@alex-w alex-w added the state: in progress The problem is in process of solution... label Aug 3, 2022
@alex-w alex-w moved this from To do to In progress in Plugin Aug 3, 2022
@alex-w alex-w self-assigned this Aug 3, 2022
@alex-w
Copy link
Member

alex-w commented Aug 3, 2022

@worachate001 has your Mint by default X11 session?

@worachate001
Copy link
Member Author

OK, please check an AppImage from here: https://github.com/Stellarium/stellarium/actions/runs/2787633526 (please wait the finish of building)

No different, still freeze and crash when running the AppImage.

@worachate001
Copy link
Member Author

@worachate001 has your Mint by default X11 session?

Yes.

@gzotti

This comment was marked as off-topic.

@alex-w

This comment was marked as off-topic.

@gzotti

This comment was marked as off-topic.

@gzotti

This comment was marked as off-topic.

@alex-w
Copy link
Member

alex-w commented Aug 3, 2022

I've removed preparation an AppImage packages now

@worachate001
Copy link
Member Author

I've removed preparation an AppImage packages now

I see, the problem still exists for normal Qt6 version?

@alex-w
Copy link
Member

alex-w commented Aug 3, 2022

Our PPA for U22.04 contain Qt5-based version of Stellarium. I can try update debianizer for Qt6-based Stellarium, but... I still use U20.04.

@gzotti could you share ldd ./stellarium from U22.04 for Qt6-based Stellarium?

@gzotti gzotti added the state: confirmed A developer can reproduce the issue label Aug 3, 2022
@github-actions
Copy link

github-actions bot commented Aug 3, 2022

Hello @worachate001! OK, developers can reproduce the issue. Thanks for the report!

@alex-w
Copy link
Member

alex-w commented Aug 3, 2022

@gzotti so, the problem in the code or in the packaging?

@gzotti
Copy link
Member

gzotti commented Aug 3, 2022

Bummer. Message is

Could not find QtWebEngineProcess.

I see several such reports. E.g.
https://stackoverflow.com/questions/67060913/pyinstaller-could-not-find-qtwebengineprocess-exe-for-pyqt5-web-application
pyinstaller/pyinstaller#3890

These describe PyQt issues. Some others indicate a program of this name has now to be installed. I confirm a crash on U22, but will need to investigate further.

@gzotti
Copy link
Member

gzotti commented Aug 3, 2022

Here is the ldd result ldd-stellarium-qt6.txt

@gzotti
Copy link
Member

gzotti commented Aug 3, 2022

No crash on Windows.

@gzotti
Copy link
Member

gzotti commented Aug 5, 2022

Very interesting:

apt install qt6-base
Package qt6-base not found.

Where else would those be configured? qt6-base may just be a meta-package calling others, but is currently not existing.

@t4saha
Copy link
Contributor

t4saha commented Sep 5, 2022

After symbolic link the QtWebEnginee Resources it still crashed. New Error :
xkbcommon: ERROR: Couldn't find file "rules/evdev" in include paths
log.txt

@t4saha
Copy link
Contributor

t4saha commented Sep 5, 2022

export QT_XKB_CONFIG_ROOT=$RUNTIME/usr/share/X11/xkb fixes the xkbcommon error.

@alex-w
Copy link
Member

alex-w commented Sep 17, 2022

Hmm… the compilation on macOS via CLI having problems too when webengine is enabled :(

@alex-w alex-w added the importance: medium A bit annoying, minor miscalculation, but no crash label Sep 17, 2022
@gzotti
Copy link
Member

gzotti commented Sep 17, 2022

Compilation fails? Then some Mac-specific module may be missing. If only running fails, see qt6.conf above.

@alex-w
Copy link
Member

alex-w commented Sep 17, 2022

Compilation fails? Then some Mac-specific module may be missing. If only running fails, see qt6.conf above.

Yes, compilation fails via CLI, but not within QtCreator :-/

@alex-w alex-w modified the milestones: 1.0, 1.1 Sep 26, 2022
@alex-w alex-w modified the milestones: 1.1, 1.2 Oct 29, 2022
@ilkant
Copy link

ilkant commented Dec 17, 2022

Stellarium-1.1-c47a4d8-x86_64.AppImage
Kubuntu 22.10
Qt 5.15.6

When I pushed bottom of screen button show online query window, Stellarium window disappeared. No error messages in log.txt file and screen.

I write this comment because I found this thread and wanted not write a new thread about this.

@gzotti
Copy link
Member

gzotti commented Dec 17, 2022

Despite mentioning Qt5.15, this is likely related to the discussion above.

@ilkant
Copy link

ilkant commented Dec 20, 2022

I tested compiled Stellarium (on my Kubuntu 22.10).

This is Stellarium 1.1 (v1.22.4-94821fc [master])
Compiled using GCC 12.2.0
Qt runtime version: 6.3.1
Qt compilation version: 6.3.1
Addressing mode: 64-bit

The online query window appeared to Stellarium screen and program didn't crash or disappear. And the online window worked with Wikipedia ane AAVSO.

Constellations (lines and names) did not work with this translated Stellarium. But that's another matter (bug or feature).

@alex-w alex-w modified the milestones: 1.2, 23.1 Dec 24, 2022
@alex-w
Copy link
Member

alex-w commented Mar 14, 2023

@ilkant could you test binary package from our PPA: https://launchpad.net/~stellarium/+archive/ubuntu/stellarium-beta ?

@ilkant
Copy link

ilkant commented Mar 15, 2023

@ilkant could you test binary package from our PPA: https://launchpad.net/~stellarium/+archive/ubuntu/stellarium-beta ?

I downloaded stellarium-qt6_23.0.0-upstream2.0-202303121537_ubuntu22.10.1_amd64.deb and stellarium-qt6-data_23.0.0-upstream2.0-202303121537_ubuntu22.10.1_all.deb. I installed them with dpkg -i on Kubuntu 22.10. Stellarium started ok and online query window worked ok. Here is log.txt
Stellarium_log.txt

@alex-w alex-w removed the state: in progress The problem is in process of solution... label Mar 16, 2023
@alex-w alex-w closed this as completed Mar 16, 2023
OS: Linux/UNIX automation moved this from In progress to Done Mar 16, 2023
Plugin automation moved this from In progress to Done Mar 16, 2023
@alex-w alex-w added the state: published The fix has been published for testing in weekly binary package label Mar 19, 2023
@github-actions
Copy link

Hello @worachate001!

Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@ilkant
Copy link

ilkant commented Mar 20, 2023

I downloaded appimage of version 23.1RC2 / 23.0-1be40f4 (2023-03-19) Stellarium-23.0-1be40f4-qt5-x86_64.AppImage](https://github.com/Stellarium/stellarium-data/releases/download/weekly-snapshot/Stellarium-23.0-1be40f4-qt5-x86_64.AppImage)

I exported observation list. And then I removed one observation from list. That item was in the middle part of the list. And then I saved the list in the editor of the list.

Then I imported previously exported list from disk with import. The removed item (Plejades) didn't appear in the list.

The Export list and Import list buttons were english text. There are not translations to them?

@gzotti
Copy link
Member

gzotti commented Mar 20, 2023

So presumably Observation Lists now work as expected.
Translation is done not by the (at most, trilingual?) developers, but by the international community on Transifex...

@ilkant
Copy link

ilkant commented Mar 20, 2023

Stellarium AppImage crashes when trying to open online query dialog from bottom button. But not tarballs and own compiled Stellarium.

Stellarium_log_v23-0-78-0780711.txt

@alex-w alex-w removed the state: published The fix has been published for testing in weekly binary package label Mar 27, 2023
@github-actions
Copy link

Hello @worachate001!

Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
importance: medium A bit annoying, minor miscalculation, but no crash infrastructure Infrastructure related issues qt Issues, related to Qt framework state: confirmed A developer can reproduce the issue
Projects
Plugin
  
Done
Development

No branches or pull requests

5 participants