[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2018-07-02 Thread Tim Steinberger
https://bugs.kde.org/show_bug.cgi?id=380496

Tim Steinberger  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #45 from Tim Steinberger  ---
Sorry about that, I've done more experimenting with it and my crash is
happening for a different reason. Packagekit was crashing because it depended
on a binary I did not have installed. This is a problem on the package
maintainer's end, so the only issue I see with discover here is that it crashes
when packagekit exits rather than continuing and just printing an error which
is a different issue in itself. I set this back to Fixed.

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

[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2018-07-02 Thread Tim Steinberger
https://bugs.kde.org/show_bug.cgi?id=380496

--- Comment #44 from Tim Steinberger  ---
Actually, I apologize, this might be a different bug. I was able to build
flatpak without systemd support and install it. I found it crashes with both
installed (though takes longer than if just packagekit-qt5 is installed). Bug
number is 396069.

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

[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2018-07-02 Thread Tim Steinberger
https://bugs.kde.org/show_bug.cgi?id=380496

--- Comment #42 from Tim Steinberger  ---
I found this bug after googling what seemed to be the error message most likely
to cause the crash. As this gave the exact same behavior I assumed this was
what was causing it. Here is the log from the command line if I start discover
from there, maybe I missed something obvious.

Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
QQmlComponent: Created graphical object was not placed in the graphics scene.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
error loading "flatpak-backend" "Cannot load library
/usr/lib/qt/plugins/discover/flatpak-backend.so: (libflatpak.so.0: cannot open
shared object file: No such file or directory)"
QJsonObject({"IID":"org.kde.muon.AbstractResourcesBackendFactory","MetaData":{},"className":"FlatpakBackendFactory","debug":false,"version":330497})
invalid kns backend! "/etc/xdg/ksysguard.knsrc" because: "Config group not
found! Check your KNS3 installation."
invalid kns backend! "/etc/xdg/servicemenu.knsrc" because: "Config group not
found! Check your KNS3 installation."
Discarding invalid backend "ksysguard.knsrc"
Discarding invalid backend "servicemenu.knsrc"
setting currentApplicationBackend PackageKitBackend(0x564cc1ec2850)
could not find "org.kde.krita.desktop" "krita.desktop"
could not find "org.kde.krita.desktop" "krita.desktop"
Error when fetching the last update time
QDBusError("org.freedesktop.DBus.Error.Spawn.ChildExited", "Launch helper
exited with unknown return code 127")
Transaction error:  PackageKit::Transaction::Error(ErrorInternalError) "Launch
helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1ea51d0)
Transaction error:  "Launch helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1f8c040)
qml: message: Launch helper exited with unknown return code 127
failed PackageKit::Transaction::Exit(ExitFailed)
PackageKit::Transaction(0x564cc1f8c040)
Transaction error:  "Launch helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1f81d80)
qml: message: Launch helper exited with unknown return code 127
failed PackageKit::Transaction::Exit(ExitFailed)
PackageKit::Transaction(0x564cc1f81d80)
Transaction error:  "Launch helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1f87ba0)
qml: message: Launch helper exited with unknown return code 127
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 2889
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 25 and type 'Read', disabling...
QSocketNotifier: Invalid socket 27 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
QSocketNotifier: Invalid socket 33 and type 'Write', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Write', disabling...
QSocketNotifier: Invalid socket 32 and type 'Write', disabling...
QSocketNotifier: Invalid socket 26 and type 'Write', disabling...
QSocketNotifier: Invalid socket 28 and type 'Write', disabling...

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

[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2018-07-02 Thread Tim Steinberger
https://bugs.kde.org/show_bug.cgi?id=380496

--- Comment #43 from Tim Steinberger  ---
I found this bug after googling what seemed to be the error message most likely
to cause the crash. As this gave the exact same behavior I assumed this was
what was causing it. Here is the log from the command line if I start discover
from there, maybe I missed something obvious.

Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
QQmlComponent: Created graphical object was not placed in the graphics scene.
Icon theme "ubuntu-mono-dark" not found.
Icon theme "Mint-X" not found.
Icon theme "elementary" not found.
Icon theme "gnome" not found.
error loading "flatpak-backend" "Cannot load library
/usr/lib/qt/plugins/discover/flatpak-backend.so: (libflatpak.so.0: cannot open
shared object file: No such file or directory)"
QJsonObject({"IID":"org.kde.muon.AbstractResourcesBackendFactory","MetaData":{},"className":"FlatpakBackendFactory","debug":false,"version":330497})
invalid kns backend! "/etc/xdg/ksysguard.knsrc" because: "Config group not
found! Check your KNS3 installation."
invalid kns backend! "/etc/xdg/servicemenu.knsrc" because: "Config group not
found! Check your KNS3 installation."
Discarding invalid backend "ksysguard.knsrc"
Discarding invalid backend "servicemenu.knsrc"
setting currentApplicationBackend PackageKitBackend(0x564cc1ec2850)
could not find "org.kde.krita.desktop" "krita.desktop"
could not find "org.kde.krita.desktop" "krita.desktop"
Error when fetching the last update time
QDBusError("org.freedesktop.DBus.Error.Spawn.ChildExited", "Launch helper
exited with unknown return code 127")
Transaction error:  PackageKit::Transaction::Error(ErrorInternalError) "Launch
helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1ea51d0)
Transaction error:  "Launch helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1f8c040)
qml: message: Launch helper exited with unknown return code 127
failed PackageKit::Transaction::Exit(ExitFailed)
PackageKit::Transaction(0x564cc1f8c040)
Transaction error:  "Launch helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1f81d80)
qml: message: Launch helper exited with unknown return code 127
failed PackageKit::Transaction::Exit(ExitFailed)
PackageKit::Transaction(0x564cc1f81d80)
Transaction error:  "Launch helper exited with unknown return code 127"
PackageKit::Transaction(0x564cc1f87ba0)
qml: message: Launch helper exited with unknown return code 127
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 2889
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 25 and type 'Read', disabling...
QSocketNotifier: Invalid socket 27 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
QSocketNotifier: Invalid socket 33 and type 'Write', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Write', disabling...
QSocketNotifier: Invalid socket 32 and type 'Write', disabling...
QSocketNotifier: Invalid socket 26 and type 'Write', disabling...
QSocketNotifier: Invalid socket 28 and type 'Write', disabling...

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

[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2018-07-02 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=380496

--- Comment #41 from Aleix Pol  ---
Tim Steinberger, how do you know this is the bug you're hitting?
FWIW, I just tried here removing flatpak, it works just fine.

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

[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2018-07-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380496

tste...@protonmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---
 CC||tste...@protonmail.com

--- Comment #40 from tste...@protonmail.com ---
Application: plasma-discover (5.13.2)

Qt Version: 5.11.1
Frameworks Version: 5.47.0
Operating System: Linux 4.17.2-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
This crash is still occurring for me on Obarun Linux (which is based on Arch).
The version is 5.13 so it is up to date. So long as packagekit-qt5 is
installed, but flatpak is not the application crashes. This is particularly
problematic for me as I cannot install flatpak on here due to a dependency on
systemd.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdd65f72780 (LWP 1921))]

Thread 11 (Thread 0x7fdd1e940700 (LWP 1940)):
#0  0x7fdd614d4ea9 in poll () at /usr/lib/libc.so.6
#1  0x7fdd5bc0f523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x7fdd5bc0f63e in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x7fdd61df0f84 in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/libQt5Core.so.5
#4  0x7fdd61d9c87c in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt5Core.so.5
#5  0x7fdd61be59c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x7fdd61befa75 in  () at /usr/lib/libQt5Core.so.5
#7  0x7fdd5dbbe075 in start_thread () at /usr/lib/libpthread.so.0
#8  0x7fdd614df53f in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fdd1f141700 (LWP 1931)):
#0  0x7fdd614d4ea9 in poll () at /usr/lib/libc.so.6
#1  0x7fdd5bc0f523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x7fdd5bc0f8e2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x7fdd30d15348 in  () at /usr/lib/libgio-2.0.so.0
#4  0x7fdd5bc37a2a in  () at /usr/lib/libglib-2.0.so.0
#5  0x7fdd5dbbe075 in start_thread () at /usr/lib/libpthread.so.0
#6  0x7fdd614df53f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fdd1f942700 (LWP 1930)):
#0  0x7fdd5bc0f3ac in  () at /usr/lib/libglib-2.0.so.0
#1  0x7fdd5bc0f63e in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#2  0x7fdd5bc0f692 in  () at /usr/lib/libglib-2.0.so.0
#3  0x7fdd5bc37a2a in  () at /usr/lib/libglib-2.0.so.0
#4  0x7fdd5dbbe075 in start_thread () at /usr/lib/libpthread.so.0
#5  0x7fdd614df53f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fdd32d49700 (LWP 1928)):
#0  0x7fdd614da0f9 in syscall () at /usr/lib/libc.so.6
#1  0x7fdd61be45a5 in QSemaphore::acquire(int) () at
/usr/lib/libQt5Core.so.5
#2  0x7fdd61dc7cca in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/libQt5Core.so.5
#3  0x7fdd5f39941f in  () at /usr/lib/libQt5Network.so.5
#4  0x7fdd5f43b366 in  () at /usr/lib/libQt5Network.so.5
#5  0x7fdd61dc7a2c in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/libQt5Core.so.5
#6  0x7fdd5f38ee15 in  () at /usr/lib/libQt5Network.so.5
#7  0x7fdd5f38f7ed in  () at /usr/lib/libQt5Network.so.5
#8  0x7fdd61dc7a2c in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/libQt5Core.so.5
#9  0x7fdd5f434d06 in  () at /usr/lib/libQt5Network.so.5
#10 0x7fdd5f42fb56 in  () at /usr/lib/libQt5Network.so.5
#11 0x7fdd5f430008 in  () at /usr/lib/libQt5Network.so.5
#12 0x7fdd5f41a131 in  () at /usr/lib/libQt5Network.so.5
#13 0x7fdd61dc7a2c in QMetaObject::activate(QObject*, int, int, void**) ()
at /usr/lib/libQt5Core.so.5
#14 0x7fdd5f3da514 in  () at /usr/lib/libQt5Network.so.5
#15 0x7fdd5f3da5a0 in  () at /usr/lib/libQt5Network.so.5
#16 0x7fdd5f3ed202 in  () at /usr/lib/libQt5Network.so.5
#17 0x7fdd633a9a74 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#18 0x7fdd633b1341 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#19 0x7fdd61d9dbe9 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#20 0x7fdd61df1bdb in  () at /usr/lib/libQt5Core.so.5
#21 0x7fdd5bc0f368 in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#22 0x7fdd5bc0f5b1 in  () at /usr/lib/libglib-2.0.so.0
#23 0x7fdd5bc0f63e in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#24 0x7fdd61df0f84 in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/libQt5Core.so.5
#25 0x7fdd61d9c87c in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt5Core.so.5
#26 0x7fdd61be59c9 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#27 0x7fdd61befa75 in  () at 

[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2018-01-29 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=380496

Aleix Pol  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #39 from Aleix Pol  ---
Seems to be fixed, please reopen if it's not the case.

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

[Discover] [Bug 380496] Discover crashes upon opening when the flatpak backend is present but flatpak not installed

2017-10-30 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=380496

Aleix Pol  changed:

   What|Removed |Added

Summary|Discover crashes upon   |Discover crashes upon
   |opening |opening when the flatpak
   ||backend is present but
   ||flatpak not installed

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