You are not logged in.

#1 2020-06-22 10:59:13

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

[solved] Okular: Icon theme "crystalsvg" not found.

Hi, I updated my machine two or three weeks ago and found that Okular no longer works.

Icon theme "crystalsvg" not found.
Icon theme "crystalsvg" not found.
Segmentation fault (core dumped)

I tried to find the "CrystalSVG" pacage but those do not seam to be in the repo.
Any sugiestions on how to fix this?

Last edited by r00tr4t (2020-06-23 14:00:53)

Offline

#2 2020-06-22 13:30:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,392

Re: [solved] Okular: Icon theme "crystalsvg" not found.

Crystal SVG was the default icon theme for kDE 3.1, it may have been removed with a recent update.

Check KDE theme settings.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2020-06-22 13:33:58

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,304

Re: [solved] Okular: Icon theme "crystalsvg" not found.

I really doubt those missing icon messages have anything to do with the segfault. Please post a backtrace.

Online

#4 2020-06-22 14:11:04

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] Okular: Icon theme "crystalsvg" not found.

A changing KDE theame could be a way to solve this.
I do not use KDE as DE so how do I change it?

GDB gave me this:

$ gdb okular
GNU gdb (GDB) 9.2
Copyright (C) 2020 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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"...
Traceback (most recent call last):
  File "<string>", line 3, in <module>
ModuleNotFoundError: No module named 'boost'
/home/r00tr4t/.gdbinit:6: Error in sourced command file:
Error while executing Python code.
Reading symbols from okular...
(No debugging symbols found in okular)
(gdb) r
Starting program: /usr/bin/okular
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff20f7700 (LWP 909743)]
[New Thread 0x7fffebaf5700 (LWP 909746)]
Icon theme "crystalsvg" not found.
[New Thread 0x7fffe9289700 (LWP 909748)]
[New Thread 0x7fffe8a88700 (LWP 909749)]
[New Thread 0x7fffdbfff700 (LWP 909750)]
[New Thread 0x7fffdb7fe700 (LWP 909751)]
Icon theme "crystalsvg" not found.

Thread 1 "okular" received signal SIGSEGV, Segmentation fault.
0x00007ffff687d5b8 in QObject::property(char const*) const () from /usr/lib/libQt5Core.so.5
(gdb) q
A debugging session is active.

        Inferior 1 [process 909739] will be killed.

Quit anyway? (y or n) y

Offline

#5 2020-06-22 14:41:50

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] Okular: Icon theme "crystalsvg" not found.

Perhaps the icon theme is the problem.
In this Wiki they say that QT5 is using the installed DE to determine the ICON package.
But as I use Awesome WM it does not provide those systems.
Thus I installed the qt5ct package and started the application without setting the eviromental variable QT_QPA_PLATFORMTHEME.
Thu the qt4ct started with an error, locking ugly.

$ export QT_QPA_PLATFORMTHEME=qt5ct
$ qt4ct

And restart the qt5ct resulted in a working qt5ct.

But then I started Okular again and got:

Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/16x16/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/24x24/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/32x32/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/48x48/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/64x64/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/64x64/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/96x96/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/96x96/ui/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme:  "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme:  "/usr/share/icons/Adwaita/scalable/ui/"
Segmentation fault (core dumped)

So it seams to be that I need to install a new iconteam for QT5.

Offline

#6 2020-06-22 17:12:15

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,304

Re: [solved] Okular: Icon theme "crystalsvg" not found.

r00tr4t wrote:

A changing KDE theame could be a way to solve this.
I do not use KDE as DE so how do I change it?

GDB gave me this:

That's not the backtrace. You need to type 'bt', not 'q'

Online

#7 2020-06-22 20:58:48

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] Okular: Icon theme "crystalsvg" not found.

arojas wrote:
r00tr4t wrote:

A changing KDE theame could be a way to solve this.
I do not use KDE as DE so how do I change it?

GDB gave me this:

That's not the backtrace. You need to type 'bt', not 'q'

(ding) Something new learned today. Thank you for that!
Joke aside here is the output.

#0  0x00007ffff687d5b8 in QObject::property(char const*) const () from /usr/lib/libQt5Core.so.5
#1  0x00007ffff1450328 in ?? () from /usr/lib/qt/plugins/styles/libbb10styleplugin.so
#2  0x00007ffff0e4d037 in ?? () from /usr/lib/qt/plugins/okularpart.so
#3  0x00007ffff7642baa in QListView::paintEvent(QPaintEvent*) () from /usr/lib/libQt5Widgets.so.5
#4  0x00007ffff73dfc7e in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#5  0x00007ffff748af9f in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#6  0x00007ffff684a403 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff739e6f1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#8  0x00007ffff684a69a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#9  0x00007ffff73d7cb8 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff73d852c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) ()
   from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff73d98f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff73d823d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) ()
   from /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff73d98f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff73d9706 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff73d823d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) ()
   from /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff73d98f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007ffff73d823d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) ()
   from /usr/lib/libQt5Widgets.so.5
#18 0x00007ffff73d98f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007ffff73d823d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) ()
   from /usr/lib/libQt5Widgets.so.5
#20 0x00007ffff73d98f0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff73d9706 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff73d9706 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff73d823d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) ()
   from /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff73af42c in ?? () from /usr/lib/libQt5Widgets.so.5
#25 0x00007ffff73afc9e in ?? () from /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff73fb950 in ?? () from /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff739e702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff684a69a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#29 0x00007ffff6cac380 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/libQt5Gui.so.5
#30 0x00007ffff6c806ec in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#31 0x00007ffff229dc8c in ?? () from /usr/lib/libQt5XcbQpa.so.5
#32 0x00007ffff4f8a43c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007ffff4fd7fa9 in ?? () from /usr/lib/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#34 0x00007ffff4f89221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0x00007ffff68a3211 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#36 0x00007ffff684901c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007ffff68514a4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#38 0x000055555556079a in ?? ()
#39 0x00007ffff6219002 in __libc_start_main () from /usr/lib/libc.so.6
#40 0x00005555555615ae in ?? ()

Offline

#8 2020-06-22 21:02:38

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,304

Re: [solved] Okular: Icon theme "crystalsvg" not found.

r00tr4t wrote:

/usr/lib/qt/plugins/styles/libbb10styleplugin.so

You are using an unsupported style. It's your task to rebuild it every time Qt gets updated.

Online

#9 2020-06-23 11:47:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,392

Re: [solved] Okular: Icon theme "crystalsvg" not found.

r00tr4t, use pacman -Qo /usr/lib/qt/plugins/styles/libbb10styleplugin.so to find out which package owns that file.

I expect it will be the aur qt5-styleplugins package .

Last edited by Lone_Wolf (2020-06-23 11:47:24)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2020-06-23 12:46:18

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] Okular: Icon theme "crystalsvg" not found.

arojas wrote:
r00tr4t wrote:

/usr/lib/qt/plugins/styles/libbb10styleplugin.so

You are using an unsupported style. It's your task to rebuild it every time Qt gets updated.

I understand. I forgot to update the aur pacage. I'm doing it right now and will report back to see if the problem is solved.

Offline

#11 2020-06-23 14:00:34

r00tr4t
Member
Registered: 2013-01-16
Posts: 101

Re: [solved] Okular: Icon theme "crystalsvg" not found.

Yes as @Lone_Wolf and @arojas mentioned the qt5-styleplugins needed to be updated.

$ pikaur -Syu

Thank you!

Offline

Board footer

Powered by FluxBB