Bug 286935 - PolicyKit crash
Summary: PolicyKit crash
Status: RESOLVED FIXED
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: polkit-kde-authentication-agent-1 (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Martin Bříza
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 16:17 UTC by Ken
Modified: 2013-03-25 10:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (3.14 KB, text/plain)
2011-11-23 15:14 UTC, Ken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken 2011-11-18 16:17:11 UTC
Application: polkit-kde-authentication-agent-1 (0.99.0)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

The pop-up to auto adjust brightness appears every 30 minutes or more asking for the root password. I see no purpose to the function for my environment so I always 'cancel' the pop-up. Sometimes (once a month or so) the PolicyKit crashes as it did here. After over a year of this and upgrading to SuSE 12.1 I decided to finally report it.

The crash can be reproduced some of the time.

-- Backtrace:
Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd6bf33c800 (LWP 5651))]

Thread 4 (Thread 0x7fd6afc2a700 (LWP 5669)):
#0  0x00007fd6bc875423 in poll () from /lib64/libc.so.6
#1  0x00007fd6ba1eda98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd6ba1ee2c2 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd6b9cd4946 in ?? () from /usr/lib64/libgio-2.0.so.0
#4  0x00007fd6ba212db6 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fd6ba917f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd6bc87e53d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fd6ad97d700 (LWP 6808)):
#0  0x00007fd6ba91a014 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fd6ba1ec179 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd6ba1ed8b1 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd6ba1edf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd6bdc6a576 in QEventDispatcherGlib::processEvents (this=0x7bbcd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fd6bdc3ea22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd6bdc3ec1f in QEventLoop::exec (this=0x7fd6ad97cd50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fd6bdb565df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fd6bdc21aef in QInotifyFileSystemWatcherEngine::run (this=0x83fd70) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fd6bdb59025 in QThreadPrivate::start (arg=0x83fd70) at thread/qthread_unix.cpp:331
#10 0x00007fd6ba917f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fd6bc87e53d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd6ad136700 (LWP 6811)):
#0  0x00007fd6bc84cd0d in nanosleep () from /lib64/libc.so.6
#1  0x00007fd6ba2161d2 in g_usleep () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd6ba1e988c in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd6ba212db6 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fd6ba917f05 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fd6bc87e53d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd6bf33c800 (LWP 5651)):
[KCrash Handler]
#6  g_type_check_instance_is_a (type_instance=<optimized out>, iface_type=<optimized out>) at gtype.c:3952
#7  0x00007fd6ba4a6abd in polkit_details_get_keys (details=0x1160600) at polkitdetails.c:178
#8  0x00007fd6be8e47cd in PolkitQt1::Details::keys (this=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/core/polkitqt1-details.cpp:89
#9  0x000000000040c27c in _start ()

Reported using DrKonqi
Comment 1 Ken 2011-11-23 15:14:48 UTC
Created attachment 65980 [details]
New crash information added by DrKonqi

polkit-kde-authentication-agent-1 (0.99.0) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

Editing a php file in NetBeans. This is not the cause since this crash is random and has occurred when playing PySol or doing nothing.

-- Backtrace (Reduced):
#6  g_type_check_instance_is_a (type_instance=<optimized out>, iface_type=<optimized out>) at gtype.c:3952
#7  0x00007f389ef9babd in polkit_details_get_keys (details=0xd07200) at polkitdetails.c:178
#8  0x00007f38a33d97cd in PolkitQt1::Details::keys (this=<optimized out>) at /usr/src/debug/polkit-qt-1-0.99.1/core/polkitqt1-details.cpp:89
#9  0x000000000040c27c in _start ()
Comment 2 Martin Bříza 2013-03-25 10:59:31 UTC
Git commit 4ed9c3fa043b70ee50176c4baacc07d1c73f1fce by Martin Briza.
Committed on 22/03/2013 at 15:52.
Pushed by mbriza into branch 'master'.

Fixed reference counting of GObjects

Gets us rid of some crashes and reduces memory leaking. There's a change it fixes crashes~
Related: bug 257802, bug 291977, bug 307323

M  +4    -0    agent/polkitqt1-agent-listener.cpp
M  +3    -0    agent/polkitqt1-agent-session.cpp
M  +10   -2    core/polkitqt1-details.cpp
M  +7    -0    core/polkitqt1-subject.cpp

http://commits.kde.org/polkit-qt-1/4ed9c3fa043b70ee50176c4baacc07d1c73f1fce