You are not logged in.

#1 2014-03-08 02:49:56

axelectrik
Member
Registered: 2012-01-25
Posts: 126

OsdLyrics Crash

Many times I get this crash when using Osdlyrics, also I've noticed that hte problem is only with lyrics using diferent encoding, specifically asian characters.

osdlyrics: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: La declaración `!scaled_font->cache_frozen' no se cumple.
Aborted (`core' generated)

(sorry the output is in spanish)

Any way to fix it or patch??

As a workaroud I tried to make a systemd service to reopen in case it crashes, but somehow when osdlyrics is opened like this it will still ask me to open any player, if I try to open banshee it opnes a new instance and still prompts the window to open the player.
This is osdlyrics@.service

[Unit]
Description=Osdlyrics
After=graphical.target

[Service]
Type=simple
Environment=DISPLAY=:0.0
User=%i
#ExecStartPre=/usr/bin/banshee --hide
ExecStart=/usr/bin/banshee && /usr/bin/osdlyrics
Restart=always

[Install]
WantedBy=graphical.target

Offline

#2 2016-02-26 17:47:51

lenoch
Member
Registered: 2016-02-26
Posts: 2

Re: OsdLyrics Crash

Hi,

I am afraid the crash still persists upstream. I was able to reproduce it and create a minimal testcase (with a single hiragana character). I haven't finished debugging yet but so far my results (a traceback) are here: https://github.com/PedroHLC/osdlyrics/issues/34

I welcome you to join the effort, or anyone interested in helping with the development of osdlyrics.

Thanks,
Ondra

Offline

#3 2016-03-25 13:41:54

lenoch
Member
Registered: 2016-02-26
Posts: 2

Re: OsdLyrics Crash

As a workaround, you can install ttf-unifont from AUR.

It seems that osdlyrics doesn't support replacing missing glyphs with placeholders so a font with wide Unicode coverage is a good way to prevent crashes for now.

Offline

Board footer

Powered by FluxBB