Summary: | polkit-kde-authentication-agent-1 will crash with G_SLICE=always-malloc set in the environment | ||
---|---|---|---|
Product: | [Plasma] policykit-kde-agent-1 | Reporter: | Danny Auble <da> |
Component: | polkit-kde-authentication-agent-1 | Assignee: | Martin Bříza <mbriza> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | mbriza |
Priority: | NOR | ||
Version: | KDE4.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/polkit-qt-1/4ed9c3fa043b70ee50176c4baacc07d1c73f1fce | Version Fixed In: | |
Sentry Crash Report: |
Description
Danny Auble
2012-01-19 18:27:16 UTC
Can't reproduce it in ubuntu 12.04. If the crash is still reproduciable, please paste the backtrace in the comment. Without seeing the imcompelte backtrace first, it is hard to tell which debug package you need to install here is the backtrace as done with 12.04. It is still very reproducable in my environment. Let me know if you need anything else. Simply unsetting the G_SLICE env var fixes the scenario. Application: PolicyKit1-KDE (polkit-kde-authentication-agent-1), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f9a574b1840 (LWP 12438))] Thread 2 (Thread 0x7f9a4540c700 (LWP 12445)): #0 0x00007f9a54970b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f9a52a60036 in g_main_context_poll (n_fds=3, fds=0x7f9a40001100, timeout=-1, context=0x1b4a1d0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440 #2 g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x1b4a1d0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141 #3 g_main_context_iterate (context=0x1b4a1d0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083 #4 0x00007f9a52a6049a in g_main_loop_run (loop=0x1b4a360) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3340 #5 0x00007f9a52543406 in gdbus_shared_thread_func (user_data=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gio/gdbusprivate.c:277 #6 0x00007f9a52a819e5 in g_thread_proxy (data=0x1b4a3b0) at /build/buildd/glib2.0-2.32.3/./glib/gthread.c:801 #7 0x00007f9a517fbe9a in start_thread (arg=0x7f9a4540c700) at pthread_create.c:308 #8 0x00007f9a5497c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #9 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f9a574b1840 (LWP 12438)): [KCrash Handler] #6 0x00007f9a527ddcfa in g_object_unref (_object=<optimized out>) at /build/buildd/glib2.0-2.32.3/./gobject/gobject.c:2910 #7 0x00007f9a5205f963 in ?? () from /usr/lib/x86_64-linux-gnu/libpolkit-agent-1.so.0 #8 0x00007f9a525343eb in call_in_idle_cb (user_data=0x7f9a40003cb0) at /build/buildd/glib2.0-2.32.3/./gio/gdbusconnection.c:4687 #9 0x00007f9a52a5fd53 in g_main_dispatch (context=0x19a6a80) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2539 #10 g_main_context_dispatch (context=0x19a6a80) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3075 #11 0x00007f9a52a600a0 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x19a6a80, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3146 #12 g_main_context_iterate (context=0x19a6a80, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083 #13 0x00007f9a52a60164 in g_main_context_iteration (context=0x19a6a80, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207 #14 0x00007f9a55dbf3bf in QEventDispatcherGlib::processEvents (this=0x1990250, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #15 0x00007f9a551bad5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #16 0x00007f9a55d8ec82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149 #17 0x00007f9a55d8eed7 in QEventLoop::exec (this=0x7fff9452d6b0, flags=...) at kernel/qeventloop.cpp:204 #18 0x00007f9a55d93f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148 #19 0x0000000000408506 in ?? () #20 0x00007f9a548ab76d in __libc_start_main (main=0x408260, argc=1, ubp_av=0x7fff9452d978, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9452d968) at libc-start.c:226 #21 0x000000000040856d in _start () Thanks for the backtrace 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 286935, 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 |