Bug 307558 - systemsettings: crash when trying to configure screensaver
Summary: systemsettings: crash when trying to configure screensaver
Status: RESOLVED DUPLICATE of bug 282182
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Debian testing Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-29 04:59 UTC by David Smith
Modified: 2012-09-29 15:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2012-09-29 04:59:58 UTC
I think this is different from the other screensaver configure crash since this appears to be caused *ONLY* by permissions issues.


The workaround is to just not run it with elevated privileges.

Crash dump generated by steps above:

 Application: KXSRun (kxsrun), signal: Aborted

Using host libthread_db library
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".

[KCrash Handler]

#7 0xb77a4424 in __kernel_vsyscall ()

#8 0xb5d64941 in raise () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

#9 0xb5d67d72 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6

#10 0xb5fe6bfc in qt_message_output (msgType=QtFatalMsg, buf=0x96f6740
"kxsrun(5419)/kdeui (kdelibs): Session bus not found \nTo circumvent this
problem try the following command (with Linux and bash) \nexport
$(dbus-launch) ") at global/qglobal.cpp:2284

#11 0xb71397e8 in QDebug::~QDebug (this=0xbf9efd34, __in_chrg=<optimized
out>) at /usr/include/qt4/QtCore/qdebug.h:85

#12 0xb7234fe4 in KApplicationPrivate::init (this=0x9705ee0,
GUIenabled=GUIenabled@entry=false) at
../../kdeui/kernel/kapplication.cpp:516

#13 0xb7236050 in KApplication::KApplication (this=0xbf9eff6c,
GUIenabled=false) at ../../kdeui/kernel/kapplication.cpp:352

#14 0x0804e74c in ?? ()

#15 0xb5d50e46 in __libc_start_main () from
/lib/i386-linux-gnu/i686/cmov/libc.so.6

#16 0x0804f605 in _start ()

Reproducible: Always

Steps to Reproduce:

1. Edit your "System Settings" menu item: select "run as different user"
2. Start up System Settings, it prompts for root password, enter it.
3. Click on "Display and Monitor"
4. In the window that pops up, click on "Screen Saver" on the left.
5. Expand one of the screensaver selections in the middle of the screen.
6. Click a screensaver.
7. Segfaults.

Actual Results:  
Crashes

Expected Results:  
The screensaver should be configured properly.
Comment 1 David Smith 2012-09-29 05:51:52 UTC
Application: kxsrun (3.0.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.2.0-3-686-pae i686
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:
Ran "System Settings" as different user
It prompted me for root password
Entered root password.
Went into Display and Monitor
Selected "Screen Saver"
Inside any of the categories, clicking on a screensaver causes the crash.

- Custom settings of the application:
Ran System Settings as different user (root)
Running with KWIN effects Enabled
Running with X11/XRender enabled in KWIN

The crash can be reproduced every time.

-- Backtrace:
Application: KXSRun (kxsrun), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[KCrash Handler]
#7  0xb7726424 in __kernel_vsyscall ()
#8  0xb5ce6941 in raise () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#9  0xb5ce9d72 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#10 0xb5f68bfc in qt_message_output (msgType=QtFatalMsg, buf=0x975dca8 "kxsrun(5108)/kdeui (kdelibs): Session bus not found \nTo circumvent this problem try the following command (with Linux and bash) \nexport $(dbus-launch) ") at global/qglobal.cpp:2284
#11 0xb70bb7e8 in QDebug::~QDebug (this=0xbf8f28e4, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qdebug.h:85
#12 0xb71b6fe4 in KApplicationPrivate::init (this=0x97664c0, GUIenabled=GUIenabled@entry=false) at ../../kdeui/kernel/kapplication.cpp:516
#13 0xb71b8050 in KApplication::KApplication (this=0xbf8f2b1c, GUIenabled=false) at ../../kdeui/kernel/kapplication.cpp:352
#14 0x0804e74c in main (argc=5, argv=0xbf8f2c74) at ../../../kscreensaver/kxsconfig/kxsrun.cpp:63

Possible duplicates by query: bug 306037, bug 290088, bug 286944, bug 283935.

Report to https://bugs.kde.org
Comment 2 Christoph Feck 2012-09-29 15:15:00 UTC

*** This bug has been marked as a duplicate of bug 282182 ***