Ubuntu 22: Crash when creating a plot window
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)
Is libqt6svg6 and its dependencies included in the installer packages when you install it this way?
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]
Seeing something similar. All icons are missing in GUI.
ii resinsight 2025.04-1~jammy amd64 ResInsight - the 3D reservoir viewer and post processor
libqt6svg6 is installed.
ii libqt6svg6:amd64 6.2.4-1ubuntu1 amd64 Qt 6 SVG library
Suggestions?
Still a problem on the latest jammy build.
$ dpkg -l resinsight Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-=================-============-======================================================= ii resinsight 2025.04.1-1~jammy amd64 ResInsight - the 3D reservoir viewer and post processor
(I'm the one responsible for the ppa):
The Ubuntu 22.04 packages are patched as ResInsight requires a newer qt to build, and likely some of my patchery is not quite up to the job. I've been trying to keep it on life support as long as possible, but I think now is the time to call it quits. I don't have time to investigate the crashes, and I don't think the ResInsight team has the capacity either.
The Ubuntu 22.04 packages are patched as ResInsight requires a newer qt to build, and likely some of my patchery is not quite up to the job. I've been trying to keep it on life support as long as possible, but I think now is the time to call it quits. I don't have time to investigate the crashes, and I don't think the ResInsight team has the capacity either.
Does the Ubuntu 24.04.2 (Noble Numbat) version work?
Yes.
Sendt fra Outlook for Androidhttps://aka.ms/AAb9ysg
From: torehl @.> Sent: Thursday, May 22, 2025 5:05:02 PM To: OPM/ResInsight @.> Cc: Arne Morten Kvarving @.>; Comment @.> Subject: Re: [OPM/ResInsight] Ubuntu 22: Crash when creating a plot window (Issue #12160)
[https://avatars.githubusercontent.com/u/26115360?s=20&v=4]torehl left a comment (OPM/ResInsight#12160)https://github.com/OPM/ResInsight/issues/12160#issuecomment-2901572662
The Ubuntu 22.04 packages are patched as ResInsight requires a newer qt to build, and likely some of my patchery is not quite up to the job. I've been trying to keep it on life support as long as possible, but I think now is the time to call it quits. I don't have time to investigate the crashes, and I don't think the ResInsight team has the capacity either.
Does the Ubuntu 24.04.2 (Noble Numbat) version work?
— Reply to this email directly, view it on GitHubhttps://github.com/OPM/ResInsight/issues/12160#issuecomment-2901572662, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQLQR3H3F6VVB3JH7AZCI327XRR5AVCNFSM6AAAAABXCB2RCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSMBRGU3TENRWGI. You are receiving this because you commented.Message ID: @.***>