! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Panel crashes when any web browser when loads youtube videos.
Status:
RESOLVED: INVALID
Product:
Xfce4-panel
Component:
General

Comments

Description vita_cell 2019-09-11 15:27:03 CEST
Distro: Slackware64-14.2 xfce4-panel 4.12.0 (Xfce 4.12), Linux 4.4.172.

I tested with some of the latest versions of Firefox, but usually I run Palemoon.
Problematic characters (with these panel crashes): "βš’οΈ","🌟","☒️",

Problematic video examples: 
https://www.youtube.com/watch?v=zwWmcxwT7Z0
https://www.youtube.com/watch?v=6v8KUJtt_d0

Panel crashes when any web browser when loads youtube videos that contain special characters like "☒️" inside the main video's name title. 

There is output of the xfce4-panel running/crashing in terminal:

/home/vita/.themes/XPLunaSilver/gtk-2.0/panel.rc:395: Background image options specified without filename
/home/vita/.themes/XPLunaSilver/gtk-2.0/panel.rc:405: Background image options specified without filename
/home/vita/.themes/XPLunaSilver/gtk-2.0/panel.rc:415: Background image options specified without filename
xfce4-panel: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: La declaraciΓ³n `!scaled_font->cache_frozen' no se cumple.
Abortado

Translate:
xfce4-panel: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: The declaration `!scaled_font->cache_frozen' doesn't accomplish or comply.
Aborted

Panel restart doesn't help, when you are still have this video tab opened (a youtube video with the special character). When you go backward, or close the tab or anything other than staying at this video page, panel starts fine again (manually).

Videos with "πŸŒ‘","βœ…","πŸ’₯","πŸ‘","πŸ‘‰","πŸ”₯","πŸš€","βš“","πŸ”‹","πŸ”Œ","🍌","⚑","🐱","🌏","πŸ‡ΊπŸ‡Έ" characters dont crash my panel.
Comment 1 vita_cell 2019-09-11 15:35:45 CEST
More problematic videos:
https://www.youtube.com/watch?v=ELUX1yvAR60
Comment 2 Igor editbugs 2019-09-11 15:43:14 CEST
xfce4-panel 4.14 handles all videos fine here.
Comment 3 vita_cell 2019-09-11 16:30:42 CEST
How I fixed this?

Downloaded sources from Slackware:
https://mirrors.slackware.com/slackware/slackware64-14.2/source/l/cairo/

Edited the source C file "cairo-1.14.6/src/cairo-scaled-font.c", and added code from:
https://cgit.freedesktop.org/cairo/commit/?id=5fd0b8710f125bb33c55d75fcc8252996b403e2d

This is the my edited fixed file: http://dpaste.com/17R3NQX

After that I just compiled, installed and rebooted!
Comment 4 vita_cell 2019-09-11 16:40:39 CEST
Created attachment 9020 
Just add to your Cairo's src folder
Comment 5 Andre Miranda editbugs 2019-09-18 02:59:07 CEST
I can't reproduce with 4.12 nor 4.14, cairo 1.17.2 here.
I'm closing because this is not a panel bug, if you update to a newer version and the problem persists, try to reach slackware packagers or report this on cairo's bug tracker.

BugΒ #15953

Reported by:
vita_cell
Reported on: 2019-09-11
Last modified on: 2019-09-18

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
4.12.0

Attachments

Additional information