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

Ubuntu 22: Crash when creating a plot window #12160

Open
magnesj opened this issue Feb 13, 2025 · 2 comments
Open

Ubuntu 22: Crash when creating a plot window #12160

magnesj opened this issue Feb 13, 2025 · 2 comments
Labels
BugInRelease Bug in an official release

Comments

@magnesj
Copy link
Member

magnesj commented Feb 13, 2025

Description

Ubuntu 22.04
Qt 6.2.4

ResInsight is installed using apt-get as described here https://resinsight.org/getting-started/download-and-install/linux-installation/

ResInsight starts correctly. Import of 3D model works as expected. Creating an empty plot in the plot main window causes ResInsight to crash.

Possibly related bug in Qt https://bugreports.qt.io/browse/QTBUG-117944

Dump from terminal using gdb

GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /bin/ResInsight...
(No debugging symbols found in /bin/ResInsight)
(gdb) r
Starting program: /usr/bin/ResInsight 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff0800640 (LWP 31164)]
[New Thread 0x7fffefa00640 (LWP 31165)]
[New Thread 0x7fffece00640 (LWP 31166)]
[New Thread 0x7fffdbe00640 (LWP 31167)]
[New Thread 0x7fffe0e00640 (LWP 31168)]
[New Thread 0x7fffdb400640 (LWP 31169)]
[New Thread 0x7fffdaa00640 (LWP 31170)]
[New Thread 0x7fffda000640 (LWP 31171)]
qt.svg: Cannot open file ':/window-management.svg', because: No such file or directory
qt.svg: Cannot open file ':/window-management.svg', because: No such file or directory
qt.svg: Cannot open file ':/SnapShotSaveViews.svg', because: No such file or directory
qt.svg: Cannot open file ':/SnapShotSaveViews.svg', because: No such file or directory
qt.svg: Cannot open file ':/SouthView.svg', because: No such file or directory
qt.svg: Cannot open file ':/SouthView.svg', because: No such file or directory
qt.svg: Cannot open file ':/NorthView.svg', because: No such file or directory
qt.svg: Cannot open file ':/NorthView.svg', because: No such file or directory

qt.svg: Cannot open file ':/ComboBoxUp.svg', because: No such file or directory
qt.svg: Cannot open file ':/ComboBoxDown.svg', because: No such file or directory
qt.svg: Cannot open file ':/ComboBoxDown.svg', because: No such file or directory
qt.svg: Cannot open file ':/ComboBoxUp.svg', because: No such file or directory
qt.svg: Cannot open file ':/ComboBoxUp.svg', because: No such file or directory

Thread 1 "ResInsight" received signal SIGSEGV, Segmentation fault.
0x00007ffff615ac1e in QIcon::actualSize(QSize const&, QIcon::Mode, QIcon::State) const () from /lib/x86_64-linux-gnu/libQt6Gui.so.6
(gdb) 
 
@magnesj magnesj added the BugInRelease Bug in an official release label Feb 13, 2025
@jonjenssen
Copy link
Collaborator

Is libqt6svg6 and its dependencies included in the installer packages when you install it this way?

@roliveira
Copy link

Hi @jonjenssen, it is installed, please have a look below:

user@vm-0:~/Desktop$ apt list libqt6svg6 
Listing... Done
libqt6svg6/jammy,now 6.2.4-1ubuntu1 amd64 [installed,automatic]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BugInRelease Bug in an official release
Projects
None yet
Development

No branches or pull requests

3 participants