Bug 1264590 - [abrt] xfce-polkit: g_type_check_instance_is_fundamentally_a(): xfce-polkit killed by SIGSEGV
Summary: [abrt] xfce-polkit: g_type_check_instance_is_fundamentally_a(): xfce-polkit k...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce-polkit
Version: rawhide
Hardware: x86_64
OS: Unspecified
medium
high
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:705945195f99da21797b343284e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-18 22:55 UTC by Kevin Fenzi
Modified: 2015-10-04 19:15 UTC (History)
1 user (show)

Fixed In Version: xfce-polkit-0.1-1.fc23
Clone Of:
Environment:
Last Closed: 2015-10-04 19:15:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (25.39 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: cgroup (230 bytes, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: core_backtrace (4.79 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: dso_list (8.71 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: environ (1.88 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: exploitable (82 bytes, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: limits (1.29 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: maps (47.43 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: mountinfo (4.01 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: namespaces (85 bytes, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: open_fds (585 bytes, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: proc_pid_status (1.16 KB, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details
File: var_log_messages (317 bytes, text/plain)
2015-09-18 22:55 UTC, Kevin Fenzi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 730984 0 None None None Never

Description Kevin Fenzi 2015-09-18 22:55:02 UTC
Description of problem:
Ran system-config-printer, then unlock.

Version-Release number of selected component:
xfce-polkit-0-0.1.20130717gitbe888ee.fc24

Additional info:
reporter:       libreport-2.6.2
backtrace_rating: 4
cmdline:        /usr/libexec/xfce-polkit
crash_function: g_type_check_instance_is_fundamentally_a
executable:     /usr/libexec/xfce-polkit
global_pid:     11583
kernel:         4.3.0-0.rc1.git4.1.fc24.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (8 frames)
 #0 g_type_check_instance_is_fundamentally_a at gtype.c:4028
 #2 g_task_finalize at gtask.c:627
 #4 auth_dlg_data_free at xfce-polkit-listener.c:31
 #5 g_cclosure_marshal_VOID__ENUMv at gmarshal.c:1496
 #6 _g_closure_invoke_va at gclosure.c:864
 #8 g_signal_emit_by_name at gsignal.c:3479
 #9 io_watch_have_data at polkitagentsession.c:498
 #14 gtk_main at gtkmain.c:1268

Potential duplicate: bug 1264205

Comment 1 Kevin Fenzi 2015-09-18 22:55:04 UTC
Created attachment 1075091 [details]
File: backtrace

Comment 2 Kevin Fenzi 2015-09-18 22:55:04 UTC
Created attachment 1075092 [details]
File: cgroup

Comment 3 Kevin Fenzi 2015-09-18 22:55:05 UTC
Created attachment 1075093 [details]
File: core_backtrace

Comment 4 Kevin Fenzi 2015-09-18 22:55:06 UTC
Created attachment 1075094 [details]
File: dso_list

Comment 5 Kevin Fenzi 2015-09-18 22:55:06 UTC
Created attachment 1075095 [details]
File: environ

Comment 6 Kevin Fenzi 2015-09-18 22:55:08 UTC
Created attachment 1075096 [details]
File: exploitable

Comment 7 Kevin Fenzi 2015-09-18 22:55:09 UTC
Created attachment 1075097 [details]
File: limits

Comment 8 Kevin Fenzi 2015-09-18 22:55:10 UTC
Created attachment 1075098 [details]
File: maps

Comment 9 Kevin Fenzi 2015-09-18 22:55:11 UTC
Created attachment 1075099 [details]
File: mountinfo

Comment 10 Kevin Fenzi 2015-09-18 22:55:11 UTC
Created attachment 1075100 [details]
File: namespaces

Comment 11 Kevin Fenzi 2015-09-18 22:55:13 UTC
Created attachment 1075101 [details]
File: open_fds

Comment 12 Kevin Fenzi 2015-09-18 22:55:14 UTC
Created attachment 1075102 [details]
File: proc_pid_status

Comment 13 Kevin Fenzi 2015-09-18 22:55:14 UTC
Created attachment 1075103 [details]
File: var_log_messages

Comment 14 Raphael Groner 2015-09-19 08:30:28 UTC
F23 suffers from this bug, too. We may hurry up with a fix cause it breaks good usability in F23 Beta.

Comment 15 Raphael Groner 2015-09-19 09:46:59 UTC
How do you run system-config-printer? I guess with pkexec?

But I can reproduce this crash with gparted and in F23 only (bug #1264205), no crash for F22.

Comment 16 Raphael Groner 2015-09-19 10:42:41 UTC
As backtrace indicates this is a bug in glib2 v2.45, Fedora 22 still has glib2 v2.44 and does not crash.

Comment 17 Raphael Groner 2015-09-19 10:43:24 UTC
*** Bug 1264205 has been marked as a duplicate of this bug. ***

Comment 18 Raphael Groner 2015-09-19 10:46:14 UTC
Found an upstream bug with a maybe relevant patch about the crash function.

https://bugzilla.gnome.org/show_bug.cgi?id=730984

Comment 19 Kevin Fenzi 2015-09-19 18:03:26 UTC
Perhaps this is a good chance to file an upstream issue with xfce-polkit and see if the maintainer/author is still around?

Comment 20 Kalev Lember 2015-09-21 17:46:22 UTC
Looks like an issue with memory management in the caller code (xfce-polkit). From a quick look, looks like it's unreffing the cancellable that's passed to GTask when it doesn't actually hold a ref to it.

Assigning back to xfce-polkit.

Comment 21 Raphael Groner 2015-09-21 18:19:15 UTC
Kevin, can you reproduce the crash with the new glib2 version 2.46 as now in F22/testing and f23/testing?

Comment 22 Raphael Groner 2015-09-21 18:20:31 UTC
… glib2 v2.46 as in f23/testing and f24(rawhide), I meant of course.

Comment 23 Kevin Fenzi 2015-09-21 18:50:56 UTC
I do not see the crash with 2.46.0. 

However, if there's a real bug in xfce-polkit here, we should fix it and not just ignore it because newer glib2 handles it.

Comment 24 Raphael Groner 2015-09-22 12:14:01 UTC
https://github.com/ncopa/xfce-polkit/issues/1

Comment 25 Fedora Update System 2015-09-26 15:16:38 UTC
xfce-polkit-0.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-b1eba48e8e

Comment 26 Fedora Update System 2015-09-27 00:54:16 UTC
xfce-polkit-0.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update xfce-polkit'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-b1eba48e8e

Comment 27 Fedora Update System 2015-10-04 19:15:14 UTC
xfce-polkit-0.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.