Bug 252595

Summary: KDE can't shutdown, restart the computer
Product: [I don't know] kde Reporter: Charles-Antoine Couret <cacouret>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Charles-Antoine Couret 2010-09-28 00:48:28 UTC
Application: polkit-kde-authentication-agent-1 (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.4-28.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:
If I demanded to KDE : restart, shutdown or disconnect the user, I have this bug. But I don't have problem with TTY or Konsole for that.

- Unusual behavior I noticed:
KDE closed software (but not all), I couldn't see Plasma and the screen freezed (but the cursor is active and the keyboard, but not the rest of screen). 

I must killed X or went to TTY, and with KDM or a command, I could shutdown the computer.

I use Fedora 14 Alpha with KDE-Red Hat repos (stable, testing and unstable)

The crash can be reproduced every time.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Bus error
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f5b7b7d8840 (LWP 2179))]

Thread 3 (Thread 0x7f5b70bcf710 (LWP 2443)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1  0x00000030ea4094a4 in _L_lock_997 () from /lib64/libpthread.so.0
#2  0x00000030ea4092ba in __pthread_mutex_lock (mutex=0x1a78b28) at pthread_mutex_lock.c:61
#3  0x00000030ec442c4a in g_main_context_check (context=0x1a78b20, max_priority=2147483647, fds=0x7f5b6c001110, n_fds=3) at gmain.c:2565
#4  0x00000030ec443792 in g_main_context_iterate (context=0x1a78b20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2747
#5  0x00000030ec444082 in g_main_loop_run (loop=0x1a7a800) at gmain.c:2958
#6  0x00000032c38b2744 in shared_thread_func (data=<value optimized out>) at gdbusprivate.c:248
#7  0x00000030ec46aa76 in g_thread_create_proxy (data=0x1a78c00) at gthread.c:1897
#8  0x00000030ea406d5b in start_thread (arg=0x7f5b70bcf710) at pthread_create.c:301
#9  0x00000030e98e4a6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f5b6bfff710 (LWP 7411)):
#0  0x00000030ea40e42d in write () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000030ec444f46 in g_main_context_wakeup (context=0x1a78b20) at gmain.c:3372
#2  0x00000030ec4450c8 in child_watch_helper_thread (data=<value optimized out>) at gmain.c:3995
#3  0x00000030ec46aa76 in g_thread_create_proxy (data=0x1b7fae0) at gthread.c:1897
#4  0x00000030ea406d5b in start_thread (arg=0x7f5b6bfff710) at pthread_create.c:301
#5  0x00000030e98e4a6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5b7b7d8840 (LWP 2179)):
[KCrash Handler]
#6  g_data_set_internal (datalist=0x19684b0, key_id=53, data=0x0, destroy_func=0) at gdataset.c:319
#7  g_datalist_id_set_data_full (datalist=0x19684b0, key_id=53, data=0x0, destroy_func=0) at gdataset.c:592
#8  0x00000030ed40f44a in g_object_unref (_object=0x19684a0) at gobject.c:2567
#9  0x0000003f59206170 in PolkitQt1::Agent::Listener::~Listener (this=0x1a52f30, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-qt-1-0.95.1/agent/polkitqt1-agent-listener.cpp:69
#10 0x0000000000408039 in PolicyKitListener::~PolicyKitListener (this=0x1a52f30, __in_chrg=<value optimized out>) at /usr/src/debug/polkit-kde-1-0.95.1/agent/policykitlistener.cpp:42
#11 0x0000003f5a36e224 in QObjectPrivate::deleteChildren (this=0x1967330) at kernel/qobject.cpp:1949
#12 0x0000003f5a372d62 in QObject::~QObject (this=0x7fff4ed7ca80, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#13 0x0000003f5c9be309 in QApplication::~QApplication (this=0x7fff4ed7ca80, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1031
#14 0x000000000040873e in main (argc=1, argv=0x7fff4ed7ccb8) at /usr/src/debug/polkit-kde-1-0.95.1/agent/main.cpp:41

Reported using DrKonqi
Comment 1 Christoph Feck 2010-09-28 01:04:46 UTC

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