https://bugs.kde.org/show_bug.cgi?id=403011

            Bug ID: 403011
           Summary: kinfocenter crashes when clicking on some tabs, if
                    kirigami is not available
           Product: kinfocenter
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Energy Information
          Assignee: k...@privat.broulik.de
          Reporter: sheve...@gmail.com
  Target Milestone: ---

I compiled kinfocenter from this URL:

https://download.kde.org/stable/plasma//5.14.5/kinfocenter-5.14.5.tar.xz

Compilation worked fine.

I then started it - starting was fine.

I then clicked on the first tab called "About System". This worked fine,
no problem.

I then clicked on the second tab called "Memory". This also worked fine.

I then clicked on "Energy Information" and the moment I clicked this,
the kinfocenter application crashed.

On the commandline (I started it from the commandline) I can see this:

---

org.kde.kcoreaddons: Error loading plugin "kcm_energyinfo" "The shared library
was not found." 
Plugin search paths are ("/usr/lib64/plugins", "/Programs/Qt/5.12.0/plugins",
"/usr/lib64/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
virtual QStringList Solid::Backends::UPower::UPowerManager::allDevices() 
error:  "org.freedesktop.DBus.Error.Disconnected"
Error connecting to wakeup data changes via dbus
QQmlComponent: Component is not ready
<Unknown File>:2:1: module "org.kde.kirigami" is not installed
Segmentation fault

---

I believe the error is that I have not installed kirigami. I will
try this next, but either way I believe that this application
should NOT segfault like that.

Clicking on the next tab also crashes the application.

org.kde.kcoreaddons: Error loading plugin "kcm_fileindexermonitor" "The shared
library was not found." 
Plugin search paths are ("/usr/lib64/plugins", "/Programs/Qt/5.12.0/plugins",
"/usr/lib64/qt5/plugins", "/usr/bin") 
The environment variable QT_PLUGIN_PATH might be not correctly set
QQmlComponent: Component is not ready
<Unknown File>:2:1: module "org.kde.kirigami" is not installed
Segmentation fault

By the way on a side note, the message  "kcm_fileindexermonitor"
"The shared library was not found." is not super useful to me.

Can you guys also give the name of the shared library? It would
make it easier for me to find where it is since I register the
components locally; but this is an aside. I believe there should
be a prior check whether kirigami is available or not; and if not
then I would recommend displaying this in a widget somehow. Could
be a simple text, or with some red colours or something if you
want to get fancy - I believe showing the problem is better than
segfault. 

My host system:

  Operating System:                  GNU/Linux
  Os Bit Type:                       x86_64
  CPU Model:                         AMD A8-7600 Radeon R7, 10 Compute Cores
4C+6G, 2 cores
  CFLAGS in use:                     -O2 -fPIC -fno-strict-overflow -Wno-error
  RAM:                               15313688 kB RAM (14954.8 MB) (14.6 Gig)
  Gcc Version:                       8.2.0
  Glibc Version:                     2.23
  Linux Kernel:                      4.4.14
  Binutils Version:                  2.31.51.20190105
Using Qt version 5.12.0 in /Programs/Qt/5.12.0/lib

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to