Bug 374505 - KUser crashed when was starting
Summary: KUser crashed when was starting
Status: REPORTED
Alias: None
Product: kuser
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Szombathelyi György
URL:
Keywords:
: 385989 419217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-03 17:58 UTC by Piotr Mierzwinski
Modified: 2020-04-15 11:08 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mierzwinski 2017-01-03 17:58:12 UTC
I wasn't able to report by drkonqi, because in window to login after putting user and password button "Next" or "Finish" wasn't enabled.
Anyway KUser crashed when I tried to run it. I passed password and after 1 sec. I saw drkonqi window about crash.

kdeadmin-kuser 16.08.3-1
Qt-5.7.1,  Plasma 5.8.5,  KF-5.29
Kernel 4.8.13-1-ARCH
Linux distribution: Antergos (64bit)

Application: KUser (kuser), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[KCrash Handler]
#4  0x00007feca153e04f in raise () at /usr/lib/libc.so.6
#5  0x00007feca153f47a in abort () at /usr/lib/libc.so.6
#6  0x00007feca1ecf44d in qt_message_output(QtMsgType, char const*) () at /usr/lib/libQtCore.so.4
#7  0x00007feca377879c in  () at /usr/lib/libkdeui.so.5
#8  0x00007feca37d141a in  () at /usr/lib/libkdeui.so.5
#9  0x00007feca37d1df2 in KApplication::KApplication(bool) () at /usr/lib/libkdeui.so.5
#10 0x00000000004136dc in  ()
#11 0x00007feca152b291 in __libc_start_main () at /usr/lib/libc.so.6
#12 0x000000000041394a in _start ()
Comment 1 Piotr Mierzwinski 2017-01-03 17:59:56 UTC
To complete info about drkonqi. Also button "Login" wasn't enabled.
Comment 2 Piotr Mierzwinski 2017-01-03 18:04:38 UTC
I was able reproduce this crash. It happens when I tried to run kuser with root permission. When in konsole I did:
$kuser 
then application just run with message that cannot read /etc/shadow
When I tried
$sudo kuser
then application crashed
I'm not sure is this distribution issue or something with kuser.
Comment 3 Christoph Feck 2017-01-03 18:15:43 UTC
You need to use kdesu or kdesudo to use KDE applications as root. Alternatively, you can manually setup the required DBus session and environment variables.
Comment 4 Piotr Mierzwinski 2017-01-03 18:21:20 UTC
Sorry. KUser krashes usig both application. I tested by run it in konsole.

My first try was running kduser using krunner (Alt+F2) and then first window what I saw was kdesu.
Comment 5 Christoph Feck 2017-01-03 18:22:37 UTC
Please add a backtrace when run with kdesu. It should be different.
Comment 6 Piotr Mierzwinski 2017-01-04 17:56:21 UTC
Put (in first message) stacktrace comes from running by kdesu (Alt+F2 run kdesu).
I'm not sure how to add debug packages in Arch. I found somwhere in net that there is no provided such packaces, so I would have to just build kuser and install it, breaking coherence of the system :/.
Comment 7 m3johan 2017-02-25 19:07:02 UTC
I have the exact same error. Does not work with kdesu.
Same backtrace as in first post.
Comment 8 fedeb703 2017-05-31 18:16:58 UTC
Same here, not able to run Kuser, same backtrace.

What other info can I provide?
Comment 9 Szczepan Hołyszewski 2017-10-20 15:22:03 UTC
*** Bug 385989 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2020-04-15 11:08:27 UTC
*** Bug 419217 has been marked as a duplicate of this bug. ***