Bug 1291542

Summary: [abrt] mate-power-manager: _g_log_abort(): mate-power-preferences killed by SIGTRAP
Product: [Fedora] Fedora Reporter: Davide Repetto <red>
Component: mate-power-managerAssignee: Wolfgang Ulbrich <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: fedora, rdieter, red, stefano
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e15ffc6e1225fd0c00d1a841c998bbca7eedef38
Whiteboard: abrt_hash:af5a9dcfc6eaca73e5650f188a4554c044c1eb67;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-14 10:18:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status none

Description Davide Repetto 2015-12-15 05:53:25 UTC
Description of problem:
Tried to launch mate-power-preferences within an x2go session.

Version-Release number of selected component:
mate-power-manager-1.12.1-1.fc23

Additional info:
reporter:       libreport-2.6.3
backtrace_rating: 4
cmdline:        mate-power-preferences
crash_function: _g_log_abort
executable:     /usr/bin/mate-power-preferences
global_pid:     27447
kernel:         4.2.6-301.fc23.i686+PAE
runlevel:       N 5
type:           CCpp
uid:            1001

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 _g_log_abort at gmessages.c:324
 #7 doGetScreenResources at XrrScreen.c:86
 #8 XRRGetScreenResourcesCurrent at XrrScreen.c:204
 #9 gpm_brightness_update_cache at gpm-brightness.c:849
 #10 gpm_brightness_init at gpm-brightness.c:962
 #11 g_type_create_instance at gtype.c:1874
 #12 g_object_new_internal at gobject.c:1779
 #15 gpm_brightness_new at gpm-brightness.c:976
 #16 gpm_prefs_init at gpm-prefs-core.c:809
 #17 g_type_create_instance at gtype.c:1874

Comment 1 Davide Repetto 2015-12-15 05:53:33 UTC
Created attachment 1105853 [details]
File: backtrace

Comment 2 Davide Repetto 2015-12-15 05:53:35 UTC
Created attachment 1105854 [details]
File: cgroup

Comment 3 Davide Repetto 2015-12-15 05:53:37 UTC
Created attachment 1105855 [details]
File: core_backtrace

Comment 4 Davide Repetto 2015-12-15 05:53:39 UTC
Created attachment 1105856 [details]
File: dso_list

Comment 5 Davide Repetto 2015-12-15 05:53:41 UTC
Created attachment 1105857 [details]
File: environ

Comment 6 Davide Repetto 2015-12-15 05:53:43 UTC
Created attachment 1105858 [details]
File: limits

Comment 7 Davide Repetto 2015-12-15 05:53:46 UTC
Created attachment 1105859 [details]
File: maps

Comment 8 Davide Repetto 2015-12-15 05:53:48 UTC
Created attachment 1105860 [details]
File: mountinfo

Comment 9 Davide Repetto 2015-12-15 05:53:50 UTC
Created attachment 1105861 [details]
File: namespaces

Comment 10 Davide Repetto 2015-12-15 05:53:52 UTC
Created attachment 1105862 [details]
File: open_fds

Comment 11 Davide Repetto 2015-12-15 05:53:54 UTC
Created attachment 1105863 [details]
File: proc_pid_status

Comment 12 Wolfgang Ulbrich 2015-12-15 18:48:07 UTC
fix from upstream
http://git.mate-desktop.org/mate-power-manager/commit/?id=df94b62685f640c4e1854eec5736e01f812a2d66
Does this scratch build solve your issue?
http://koji.fedoraproject.org/koji/taskinfo?taskID=12202925
....i don't use x2go.

Comment 13 Davide Repetto 2015-12-17 15:32:30 UTC
Well, it turns out is may not be mate-power-manager fault. It seems dbus is not giving it permissions.
I suppose I'll have to investigate that route...


[dave@cp-main]$ mate-power-manager
TI:16:27:55	TH:0x81bd3400	FI:gpm-manager.c	FN:gpm_manager_systemd_inhibit,1777
 - Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied
Traceback:
	mate-power-manager(+0x1a730) [0x80083730]
	mate-power-manager(+0x11815) [0x8007a815]
	/lib/libgobject-2.0.so.0(g_type_create_instance+0x1ee) [0xb6a74b1e]
	/lib/libgobject-2.0.so.0(+0x12763) [0xb6a54763]
	/lib/libgobject-2.0.so.0(g_object_newv+0xd8) [0xb6a562c8]
	/lib/libgobject-2.0.so.0(g_object_new+0x90) [0xb6a56b40]
	mate-power-manager(+0x12266) [0x8007b266]
	mate-power-manager(main+0x395) [0x8006f0d5]
	/lib/libc.so.6(__libc_start_main+0xf5) [0xb66e0545]
	mate-power-manager(+0x64ad) [0x8006f4ad]

Comment 14 Wolfgang Ulbrich 2015-12-25 12:01:22 UTC
So, the scratch build is fine and should be pushed to repos?

Comment 15 Wolfgang Ulbrich 2016-01-02 18:32:21 UTC
Any News?
Any answer to my question?

Comment 16 Davide Repetto 2016-03-15 22:56:05 UTC
Sorry for the long delay.
Yep! Scratch build is ok.