Description of problem: When a window titlebar is set to special characters, emerald segfaults. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Use a web browser on http://www.chinesetop100.com/ 2. 3. emerald: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed. Thread 1 "emerald" received signal SIGABRT, Aborted. 0x00007ffff4cb1818 in raise () from /lib64/libc.so.6 (gdb) where #0 0x00007ffff4cb1818 in raise () at /lib64/libc.so.6 #1 0x00007ffff4cb2f2a in abort () at /lib64/libc.so.6 #2 0x00007ffff4ca9e97 in __assert_fail_base () at /lib64/libc.so.6 #3 0x00007ffff4ca9f42 in () at /lib64/libc.so.6 #4 0x00007ffff57b5b5c in _cairo_scaled_glyph_page_destroy () at /lib64/libcairo.so.2 #5 0x00007ffff57b5ce1 in _cairo_scaled_font_free_last_glyph () at /lib64/libcairo.so.2 #6 0x00007ffff57b7cbf in _cairo_scaled_glyph_lookup () at /lib64/libcairo.so.2 #7 0x00007ffff57b8f2e in _cairo_scaled_font_glyph_path () at /lib64/libcairo.so.2 #8 0x00007ffff57823cc in _cairo_gstate_glyph_path () at /lib64/libcairo.so.2 #9 0x00007ffff5774b82 in cairo_glyph_path () at /lib64/libcairo.so.2 #10 0x00007ffff622e331 in pango_cairo_renderer_show_text_glyphs.isra () at /lib64/libpangocairo-1.0.so.0 #11 0x00007ffff622e6ff in pango_cairo_renderer_draw_glyphs () at /lib64/libpangocairo-1.0.so.0 #12 0x00007ffff6001b79 in pango_renderer_draw_glyphs () at /lib64/libpango-1.0.so.0 #13 0x00007ffff6002800 in pango_renderer_draw_layout_line () at /lib64/libpango-1.0.so.0 #14 0x00007ffff6002a15 in pango_renderer_draw_layout () at /lib64/libpango-1.0.so.0 #15 0x00007ffff622e8aa in _pango_cairo_do_layout () at /lib64/libpangocairo-1.0.so.0 #16 0x000000000040e231 in draw_window_decoration_real () #17 0x000000000040f62f in draw_window_decoration () #18 0x0000000000407e8c in draw_decor_list () #19 0x00007ffff5abe97a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #20 0x00007ffff5abecf8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #21 0x00007ffff5abf012 in g_main_loop_run () at /lib64/libglib-2.0.so.0 #22 0x00007ffff72bfe15 in gtk_main () at /lib64/libgtk-3.so.0 #23 0x00000000004075a8 in main () A patch to fix this can be found here: http://vserver.13thfloor.at/Stuff/COMPIZ-RELOADED/fix_cairo_scaled_glyph_page_destroy.diff
Assigning to the registered maintainer, because we very strongly hope that everything is well with him, so that he'll be back in September. CC'ing all packagers collectively, in case he can't come back, yet.
CC: (none) => marja11, pkg-bugsAssignee: bugsquad => tarakbumba
Thank you reporting. I have updated emerald to upstream version which should fix this issue along with several ones. Please test and report back.Greetings. Suggested advisory: ======================== Updated emerald packages fix several issues: - Fix wrong border extents - Fix an Emerald crash when special characters are displayed in the title which do not have a proper font representation. (mga#21587) - Allow configurable middle-click titlebar actions (upstream #17) - Translations update References: ======================== https://github.com/mate-desktop/caja/issues/17 https://bugs.mageia.org/show_bug.cgi?id=21587 https://github.com/compiz-reloaded/emerald/compare/v0.8.12.4...v0.8.14 Updated packages in core/updates_testing: ======================== emerald-0.8.14-1.mga6 libemerald-devel-0.8.14-1.mga6 libemerald0-0.8.14-1.mga6 SRPMS: ======================== emerald-0.8.14-1.mga6.src.rpm
Assignee: tarakbumba => qa-bugs
Prior to testing M6/64, I have solicited user level advice on the mailList.
CC: (none) => lewyssmith
Yes Lewis, we need it. I guess the problem is how to enable compiz. Looking into that just now.
CC: (none) => tarazed25
Not getting very far with this. Compiz has taken over the desktop and wobbly windows are enabled but the window pager never appears (it was configured via MCC). Logging out kills the session completely and switches off the monitor display permanently. Have to hit the reset button to reboot the machine. Tried the Chinese site suggested and saw all the window decorations disappear. However it was possible to move some windows, which still wobbled. Did not see any segfaults. Issue 17 could not be reproduced but I may have misunderstood where "Places" is. Clicking on the Places section in the Mate panel shows the list and a Return does enable the selection. Going to update to see if anything changes.
Mageia 6 :: x86_64 Updated emerald and the library. Rebooted when logout failed. All the terminals and firefox had vanished but came up normally, that is with window decorations and widgets wobbled when moved. The mate workspace pager now works again. The Chinese top 100 site from the bug description above works fine - Chinese characters are rendered in the title bar and all window decorations stay in place. Based on these observations the update is good notwithstanding the failure to reproduce issue 17 initially. I would assume that the logout problem is another bug. Shall check that behaviour before disabling compiz.
Although Mate compatibility is enabled the running applications do not survive the reboot which suggests that the logout process fails immediately, before the session is properly closed down. There may well be additional software required for Compiz to function so it could be too early to cry bug. My inclination is to pass the update but shall leave it open in case Lewis has obtained any useful information.
Re comment 7; I should have looked at the journal and dmesg after the initial firefox test or even run firefox under strace. Hindsight ;-(
MGA6-32 on Lenovo B50 Plasma No installation issues (no previous package present) Chinese page above displays OK. Rebooted to check for "wobbling windows" as mentioned in Comment 6, but that did not manifest itself. This is what I somehow expected as I switch off all desktop effects in sysytemsettings on every Plasma installation I make. So OK for me.
CC: (none) => herman.viaeneWhiteboard: (none) => MGA6-64-OK
First line should read: MGA6-64 on Lenovo B50 Plasma
Re comment 9: I deliberately enabled the wobbly windows to convince myself that compiz was working - never used it before and unlikely to do so again. Rebooting was necessary because logout crashed the system both before and after updating emerald. If that does not happen to you then it makes it more likely that compiz was not properly set up here rather than another bug in emerald. On the basis of these two tests this can be validated.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
Thanks to you two for trying this. I installed both compiz & emerald, researched the web (tutorials even!), did what I could find there and in the two component control centres - still no emerald in action! Using XFCE. Too late anyway. $ emerald --replace does not return, but nothing happens. If this (either part) is easy to invoke, it could be a Mageia + point, because the info on the web was mostly about actually getting the package - which we have as standard.
I haven't had the time to test the new package yet, but I will do so shortly. @Lewis: Killing emerald should remove the window decoration but leave the windows hanging around (if that doesn't happen, then emerald is not running). Running emerald with --replace should replace the current decorator with emerald which can be configured/themed with emerald-theme-manager (in case it looks too similar to the existing decorator). Note that emerald --replace will not return but output debug information. Best, Herbert
CC: (none) => herbert
Re comments 12 and 13: The recommendation I followed was $ emerald --replace & I have since closed down emerald and removed the packages and tried to disable compiz but still have the logout problem. Removed compiz from the system also but logout still crashes and the restart button has to be pressed twice; i.e. the initial reboot fails and has to be tried again. There was a warning about compiz being dangerous - it certainly is. It looks like this partition needs a reinstallation - too badly damaged to be usable.
I've been using compiz together with emerald for several years (when compiz was new and exciting) on desktop and laptop and I returned to compiz when gnome3 became unbearable (huge title bars and borders, reduced functionality, ugly looks) and I never had any dangerous episodes with it ... I'm also pretty sure that it doesn't damage your partition or your herb garden fwiw. Best, Herbert
Keywords: (none) => advisory
In reply to Herbert comment 15: That is good and neither Herman nor Lewis have suffered any damage, so this may simply be specific to this particular machine. Getting way off topic here; there are other possibilities, like fallout from one of the recent update tests. Impossible to say now so I shall just go ahead and reinstall the operating system. Other system partitions on this machine still function normally. Thanks.
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0012.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED