Bug 1230988 - [abrt] cinnamon: theme_get_style(): cinnamon killed by SIGSEGV
Summary: [abrt] cinnamon: theme_get_style(): cinnamon killed by SIGSEGV
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cinnamon
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:277ca56408e861fd820a54fc7d5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-12 00:48 UTC by Tom
Modified: 2015-06-30 00:25 UTC (History)
7 users (show)

Fixed In Version: muffin-2.6.1-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-30 00:05:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (44.18 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: cgroup (190 bytes, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: core_backtrace (21.22 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: dso_list (19.50 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: environ (1.67 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: limits (1.29 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: maps (111.23 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: mountinfo (3.98 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: namespaces (85 bytes, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: open_fds (1.54 KB, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: proc_pid_status (959 bytes, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details
File: var_log_messages (766 bytes, text/plain)
2015-06-12 00:48 UTC, Tom
no flags Details

Description Tom 2015-06-12 00:48:18 UTC
Description of problem:


Version-Release number of selected component:
cinnamon-2.6.6-1.fc22

Additional info:
reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        cinnamon --sm-client-id 1094ec2dc262f52cbf142463634574740000000102660000
crash_function: theme_get_style
executable:     /usr/bin/cinnamon
global_pid:     3350
kernel:         4.0.4-303.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            1001

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 theme_get_style at ui/theme.c:5447
 #1 meta_theme_get_frame_style at ui/theme.c:5541
 #2 meta_frames_set_window_background at ui/frames.c:2470
 #3 meta_frames_reset_bg at ui/frames.c:868
 #4 meta_ui_reset_frame_bg at ui/ui.c:482
 #5 meta_window_ensure_frame at core/frame.c:159
 #6 meta_window_new_with_attrs at core/window.c:1322
 #7 meta_window_new at core/window.c:705
 #8 event_callback at core/display.c:2342
 #9 filter_func at ui/ui.c:241

Potential duplicate: bug 1228965

Comment 1 Tom 2015-06-12 00:48:21 UTC
Created attachment 1037849 [details]
File: backtrace

Comment 2 Tom 2015-06-12 00:48:22 UTC
Created attachment 1037850 [details]
File: cgroup

Comment 3 Tom 2015-06-12 00:48:23 UTC
Created attachment 1037851 [details]
File: core_backtrace

Comment 4 Tom 2015-06-12 00:48:24 UTC
Created attachment 1037852 [details]
File: dso_list

Comment 5 Tom 2015-06-12 00:48:25 UTC
Created attachment 1037853 [details]
File: environ

Comment 6 Tom 2015-06-12 00:48:26 UTC
Created attachment 1037854 [details]
File: limits

Comment 7 Tom 2015-06-12 00:48:27 UTC
Created attachment 1037855 [details]
File: maps

Comment 8 Tom 2015-06-12 00:48:28 UTC
Created attachment 1037856 [details]
File: mountinfo

Comment 9 Tom 2015-06-12 00:48:29 UTC
Created attachment 1037857 [details]
File: namespaces

Comment 10 Tom 2015-06-12 00:48:30 UTC
Created attachment 1037858 [details]
File: open_fds

Comment 11 Tom 2015-06-12 00:48:30 UTC
Created attachment 1037859 [details]
File: proc_pid_status

Comment 12 Tom 2015-06-12 00:48:31 UTC
Created attachment 1037860 [details]
File: var_log_messages

Comment 13 Tom 2015-06-12 01:06:38 UTC
This bug is simple to reproduce: just log in thru GDM, choosing Cinnamon as the desktop environment.

Comment 14 leigh scott 2015-06-12 06:13:46 UTC
No GDM here and there never will be.

Logging in from lightdm I see no issue, plus this report is filed against an old version.

Comment 15 leigh scott 2015-06-12 08:22:13 UTC
Can you post

gsettings get org.cinnamon.desktop.wm.preferences theme

Comment 16 leigh scott 2015-06-12 08:29:54 UTC

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

Comment 17 Tom 2015-06-12 11:55:32 UTC
[tom@blackhole ~]$ gsettings get org.cinnamon.desktop.wm.preferences theme
'Adwaita'
[tom@blackhole ~]$


This was my first time using abrt-cli. I know this issue happens with 2.6.7 as I saw the menu bug with 2.6.6 and was eagerly awaiting the fix in 2.6.7. I removed the crash directory for 2.6.6, reproduced the bug, and re-filed the report with the 2.6.7 data, but it said duplicate bug, so I don't know if the details of this bug report are for 2.6.6 or 2.6.7.

Comment 18 Tom 2015-06-12 11:59:17 UTC
FWIW, this appears in dmesg when starting cinnamon:
cinnamon[6495]: segfault at 88 ip 000000360c67c568 sp 00007ffea555f400 error 4 in libmuffin.so.0.0.0[360c600000+b8000]

Comment 19 leigh scott 2015-06-12 12:03:05 UTC
(In reply to Tom from comment #17)
> [tom@blackhole ~]$ gsettings get org.cinnamon.desktop.wm.preferences theme
> 'Adwaita'
> [tom@blackhole ~]$
> 
> 
> This was my first time using abrt-cli. I know this issue happens with 2.6.7
> as I saw the menu bug with 2.6.6 and was eagerly awaiting the fix in 2.6.7.
> I removed the crash directory for 2.6.6, reproduced the bug, and re-filed
> the report with the 2.6.7 data, but it said duplicate bug, so I don't know
> if the details of this bug report are for 2.6.6 or 2.6.7.

Adwaita was removed in gtk-3.16, run this

gsettings reset org.cinnamon.desktop.wm.preferences theme


The fallback was never intended for use

https://github.com/linuxmint/muffin/pull/185

Comment 20 Tom 2015-06-14 18:05:04 UTC
That fixed it. What a pain in the A$$. So who screwed the pooch here?

Comment 21 Andrew Cooks 2015-06-16 08:53:05 UTC
Another user experienced a similar problem:

Upgraded to F22.
Cinnamon crashes on login.

reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        cinnamon --replace
crash_function: theme_get_style
executable:     /usr/bin/cinnamon
global_pid:     2166
kernel:         4.0.4-303.fc22.x86_64
package:        cinnamon-2.6.7-2.fc22
reason:         cinnamon killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 22 Andrew Cooks 2015-06-16 08:59:36 UTC
Another user experienced a similar problem:

Crash right after login

reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        cinnamon --replace
crash_function: theme_get_style
executable:     /usr/bin/cinnamon
global_pid:     3120
kernel:         4.0.4-303.fc22.x86_64
package:        cinnamon-2.6.7-2.fc22
reason:         cinnamon killed by SIGSEGV
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 23 Andrew Cooks 2015-06-16 09:18:25 UTC
When the most obvious solution is to submit a bug using abrt-cli, to find the link to this bug report, to get the "gsettings reset org.cinnamon.desktop.wm.preferences theme" command... I'd call this a valid bug.

Comment 24 leigh scott 2015-06-16 09:54:36 UTC
(In reply to Andrew Cooks from comment #23)
> When the most obvious solution is to submit a bug using abrt-cli, to find
> the link to this bug report, to get the "gsettings reset
> org.cinnamon.desktop.wm.preferences theme" command... I'd call this a valid
> bug.

Ok I've changed it to "Can't Fix" as it's not my place to reset user config.

Comment 25 leigh scott 2015-06-16 10:05:11 UTC
(In reply to Andrew Cooks from comment #23)

Does your system still have this file /usr/share/themes/Adwaita/metacity-1

Comment 26 Andrew Cooks 2015-06-16 10:27:28 UTC
(In reply to leigh scott from comment #25)
> (In reply to Andrew Cooks from comment #23)
> 
> Does your system still have this file /usr/share/themes/Adwaita/metacity-1

Nope.

[acooks@t410 ~]$ ls  /usr/share/themes/Adwaita/
gtk-2.0  gtk-3.0  index.theme


I've got as far as working out that the segfault is in muffin-2.6.1-1.fc22.x86_64 (as Tom also pointed out), specifically in /lib64/libmuffin.so.0 on line 5447 in the theme_get_style function:

#0  theme_get_style (theme=0x0, type=META_FRAME_TYPE_NORMAL, flags=12543) at ui/theme.c:5447
5447	  style_set = theme->style_sets_by_type[type];

At the least it should be reported upstream. I'll have a look at the code.

Comment 27 leigh scott 2015-06-16 11:07:17 UTC
(In reply to Andrew Cooks from comment #26)
> (In reply to leigh scott from comment #25)
> > (In reply to Andrew Cooks from comment #23)
> > 
> > Does your system still have this file /usr/share/themes/Adwaita/metacity-1
> 
> Nope.
> 
> [acooks@t410 ~]$ ls  /usr/share/themes/Adwaita/
> gtk-2.0  gtk-3.0  index.theme
> 
> 
> I've got as far as working out that the segfault is in
> muffin-2.6.1-1.fc22.x86_64 (as Tom also pointed out), specifically in
> /lib64/libmuffin.so.0 on line 5447 in the theme_get_style function:
> 
> #0  theme_get_style (theme=0x0, type=META_FRAME_TYPE_NORMAL, flags=12543) at
> ui/theme.c:5447
> 5447	  style_set = theme->style_sets_by_type[type];
> 
> At the least it should be reported upstream. I'll have a look at the code.

It was caused by a packaging error, the theme file is in muffin-devel

http://pkgs.fedoraproject.org/cgit/muffin.git/commit/?h=f22&id=c695d5b248b7ff8176134493bac8c806d3ea68eb

Comment 28 Fedora Update System 2015-06-16 11:16:37 UTC
muffin-2.6.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/muffin-2.6.1-2.fc22

Comment 29 Fedora Update System 2015-06-16 11:17:08 UTC
muffin-2.6.1-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/muffin-2.6.1-2.fc21

Comment 30 Fedora Update System 2015-06-16 11:17:56 UTC
muffin-2.6.1-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/muffin-2.6.1-2.fc20

Comment 31 Fedora Update System 2015-06-21 00:09:23 UTC
Package muffin-2.6.1-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing muffin-2.6.1-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10110/muffin-2.6.1-2.fc22
then log in and leave karma (feedback).

Comment 32 Fedora Update System 2015-06-30 00:05:30 UTC
muffin-2.6.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 33 Fedora Update System 2015-06-30 00:25:05 UTC
muffin-2.6.1-2.fc22 has been pushed to the Fedora 22 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.