linthesia crashes with GdkGLExt-WARNING **: cannot load PangoFont

Bug #663962 reported by xteejx
98
This bug affects 21 people
Affects Status Importance Assigned to Milestone
linthesia (Debian)
Fix Released
Unknown
linthesia (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: linthesia

linthesia does not work. When run from the gnome menu, the screen is redrawn white apart from in the upper left where a box of the window(s) behind are still shown.

The following happens when run in terminal:

$ linthesia

(linthesia:15749): GdkGLExt-WARNING **: cannot load PangoFont

glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

aborting...
Aborted (core dumped)

Related branches

Revision history for this message
xteejx (xteejx) wrote :
Changed in linthesia (Ubuntu):
importance: Undecided → Medium
Revision history for this message
xteejx (xteejx) wrote :
Changed in linthesia (Ubuntu):
status: New → Triaged
Revision history for this message
Michael Bienia (geser) wrote :

Thanks for your contribution. Could you please also forward that patch to Debian (and/or upstream).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linthesia - 0.4-1ubuntu1

---------------
linthesia (0.4-1ubuntu1) natty; urgency=low

  * src/TextWriter.cpp - change font to Serif, fixes pangofont error (LP: #663962)
 -- Roy Jamison <email address hidden> Wed, 20 Oct 2010 17:21:04 +0100

Changed in linthesia (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Robert Roth (evfool) wrote :

I do get the same error with linthesia 0.4.2-1 on Natty with all updates installed, so this problem still seems to exist.

Robert Roth (evfool)
tags: added: regression-release
Revision history for this message
Ofloo (ofloo) wrote :

Robert Roth, I have the same issue , I'm running natty amd64

Revision history for this message
Robert Roth (evfool) wrote :

I have set this back to Confirmed, as I'm still having this issue with an up-to-date natty, maverick, and also by building from the source.

Changed in linthesia (Ubuntu):
status: Fix Released → Confirmed
importance: Medium → High
Revision history for this message
Robert Roth (evfool) wrote :

Also raised the importance, as the application does not start, so it does affect all users trying to use it.

tags: added: patch
Revision history for this message
Ofloo (ofloo) wrote :

Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Cleto Martin Angelina <email address hidden>
Architecture: amd64
Version: 0.4.2-2ubuntu1

$ linthesia

(linthesia:5923): GdkGLExt-WARNING **: cannot load PangoFont

glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

..

the bug is still there ..

Revision history for this message
Patrick Mishel (patrick-mishel) wrote :

$ linthesia ~/Downloads/k375g.mid

(linthesia:3226): GdkGLExt-WARNING **: cannot load PangoFont

glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trace/breakpoint trap

Revision history for this message
k n o x i t (knoxit-etc) wrote :

same:

$ linthesia

(linthesia:14431): GdkGLExt-WARNING **: cannot load PangoFont

glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trace/breakpoint trap

Revision history for this message
lombardi davide (lomdav) wrote :

A workaround is edit with gconf-editor the field apps/Linthesia/font_desc, with a font that is sure exist on your system (like Arial)

Revision history for this message
Brallan Jesús Aguilar Rivera (brallan-aguilar) wrote :

Hi , I've the same problem. I don't know what I can do!

Revision history for this message
Montag (adancs) wrote :

I have the same problem, installed Linthesia from Ubuntu Software Center. Is there any workaround or any updated version with a fix? I really want to use Linthesia instead of synthesia + wine. Thanks!

Revision history for this message
Smeagol (gollum12345678) wrote :

The workaround of lombardi davide (lomdav) works, but the font looks ugly...
I hope this bug will be fixed soon

Revision history for this message
Fern (fernweilerin) wrote :

Went in and fixed the font like lomdav said (tried Ubuntu, FreeSerif, and Arial), but still no dice. I've got Timidity as my midi synth, not sure what else to putter with.

Revision history for this message
Ofloo (ofloo) wrote :

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise

$ apt-cache show linthesia
Package: linthesia
Priority: extra
Section: universe/games
Installed-Size: 1253
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Cleto Martín <email address hidden>
Architecture: amd64
Version: 0.4.2-3
Depends: libasound2 (>> 1.0.24.1), libatkmm-1.6-1 (>= 2.22.1), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libgconfmm-2.6-1c2 (>= 2.24.0), libgl1-mesa-glx | libgl1, libglibmm-2.4-1c2a (>= 2.30.0), libglu1-mesa | libglu1, libgtkglextmm-x11-1.2-0, libgtkmm-2.4-1c2a (>= 1:2.24.0), libpangomm-1.4-1 (>= 2.27.1), libsigc++-2.0-0c2a (>= 2.0.2), libstdc++6 (>= 4.4.0)
Recommends: timidity
Filename: pool/universe/l/linthesia/linthesia_0.4.2-3_amd64.deb
Size: 367920
MD5sum: 1f19ad46083bb9587fc7fb1b9fdf27c8
SHA1: d70924571bc489565b7d2a27d57013ec3983dd65
SHA256: 0225c5c08a6cda4c79f2e5f0e8ab14ff7b8bbaa23d01aef557826ec0f597a211
Description-en: Fork of Synthesia to GNU/Linux
 Synthesia is a software which teaches you to play piano using
 piano-roll-style falling notes with any MIDI file.
Homepage: http://sourceforge.net/projects/linthesia/
Description-md5: 842744d4b0d8e2c63ff7a9180b11fe78
Bugs: https://bugs.launchpad.net/ubuntu/+filebug

$ linthesia

(linthesia:32184): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:32184): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Traceer/breekpunt-instructie (geheugendump gemaakt)

Revision history for this message
Ofloo (ofloo) wrote :

$ linthesia

(linthesia:5711): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:5711): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Traceer/breekpunt-instructie (geheugendump gemaakt)
ofloo@Pinky:~$ linthesia

(linthesia:5733): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:5733): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Traceer/breekpunt-instructie (geheugendump gemaakt)
ofloo@Pinky:~$ linthesia

(linthesia:5741): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:5741): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Traceer/breekpunt-instructie (geheugendump gemaakt)

Revision history for this message
Ofloo (ofloo) wrote :

All those above are with different font, .. when is this crap going to be fixed properly !?

Revision history for this message
eurekafag (eurekafag) wrote :

So, I managed to get it working. The Arial font doesn't work for me (on Debian testing) but "Nimbus Sans L" did the trick. This font is included in ghostscript package called libgs9-common. It includes Nimbus, URW, Century Schoolbook L, Dingbats and Standard Symbols L. Note that most of these fonts have L on their names, maybe it means something, I dunno. These files are located at /usr/share/ghostscript/9.05/Resource/Font/. I tried some other regular OpenType and TrueType fonts but Linthesia crashes with every of them. Maybe my glibmm/pango/whatever else doesn't have support for these and it was introduced in more recent version. I have no idea. Though "Nimbus Sans L" and "URW Gothic L" work fine here, give it a try if Arial doesn't solve the problem.

Revision history for this message
EricDHH (ericdhh) wrote :

precise amd64
ii linthesia 0.4.2-3

Here the 'Nimbus Sans L' produce the same crash. Hey that's LTS and we should get a backport without this problem.

eric@cheiron:~$ linthesia
(linthesia:3836): GdkGLExt-WARNING **: cannot load PangoFont
(linthesia:3836): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

Revision history for this message
EricDHH (ericdhh) wrote :

Updated to ubuntustudio 12.10 now, result
linthesia 0.4.2-3 amd64

eric@cheiron:~$ linthesia

(linthesia:3897): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:3897): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

Revision history for this message
Cleto Martín (cleto) wrote :

This issue should be fixed at 0.4.2-5.

Changed in linthesia (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Nizamov Shawkat (nizamov-shawkat) wrote :

I upgraded only linthesia from raring at precise arm ("glib-networking glib-networking-common glib-networking-services libglib2.0-0 libglib2.0-bin libglibmm-2.4-1c2a" were upgraded alongside).

But linthesia still crashes with the same message !!!

$apt-cache policy linthesia
linthesia:
  Installed: 0.4.2-5
  Candidate: 0.4.2-5
  Version table:
 *** 0.4.2-5 0
        500 http://ports.ubuntu.com/ubuntu-ports/ raring/universe armhf Packages
        100 /var/lib/dpkg/status
     0.4.2-3 0
        500 http://ports.ubuntu.com/ubuntu-ports/ precise/universe armhf Packages

$linthesia

(linthesia:5058): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:5058): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trace/breakpoint trap

Revision history for this message
tikilou (tikilou) wrote :

Same problem for me !

billou@Billou-PC:~$ linthesia

(linthesia:9463): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:9463): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trappe pour point d'arrêt et de trace (core dumped)

Please, do something, we need this software !

Revision history for this message
Berra Bop (berrabop) wrote :

$ linthesia

(linthesia:24149): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:24149): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trace/breakpoint trap (core dumped)

Ubuntu 13.04 64

Revision history for this message
Cliff1000000 (cliff1000000) wrote :

I'm running Debian Stable 7 and getting the same error. I can not seem to find the config that Lomdav's suggests "apps/Linthesia/font_desc"

$linthesia
(linthesia:4642): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:4642): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trace/breakpoint trap

Any other ideas?
Thanks

Revision history for this message
goodeeny (goodeeny) wrote :

Hi! Use Ubuntu 13.04 Linthesia start with error .... Changed the config, prescribed font Nimbus Sans L instead of Serif, but Serif font again.

(linthesia:10760): GdkGLExt-WARNING **: cannot find PangoXSubfont

(linthesia:10760): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Ловушка трассировки/останова (сделан дамп памяти)

Revision history for this message
Ofloo (ofloo) wrote :

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
$ apt-cache show linthesia
Package: linthesia
Priority: extra
Section: universe/games
Installed-Size: 1243
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Cleto Martín <email address hidden>
Architecture: amd64
Version: 0.4.2-5
Depends: libasound2 (>= 1.0.16), libatkmm-1.6-1 (>= 2.22.1), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgconfmm-2.6-1c2 (>= 2.24.0), libgl1-mesa-glx | libgl1, libglibmm-2.4-1c2a (>= 2.33.13), libglu1-mesa | libglu1, libgtkglextmm-x11-1.2-0, libgtkmm-2.4-1c2a (>= 1:2.24.0), libpangomm-1.4-1 (>= 2.27.1), libsigc++-2.0-0c2a (>= 2.0.2), libstdc++6 (>= 4.4.0)
Recommends: timidity
Filename: pool/universe/l/linthesia/linthesia_0.4.2-5_amd64.deb
Size: 370058
MD5sum: a57b45fd71c18d786c185145569b6491
SHA1: ccbd11fb463f2cd4a4f473882425d9af56df07ec
SHA256: b983f856fb2df155590287c6f3fea0390009e2f5a7a1b70e52f7683aa2b52ec4
Description-en: Fork of Synthesia to GNU/Linux
 Synthesia is a software which teaches you to play piano using
 piano-roll-style falling notes with any MIDI file. You can choose
 more level
 .
 You can practice using an external MIDI piano keyboard.
Homepage: http://sourceforge.net/projects/linthesia/
Description-md5: a1f207822959a1a1cb9089fbd6e66e30
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
$ linthesia

(linthesia:5870): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:5870): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Traceer/breekpunt-instructie (geheugendump gemaakt)

It is still present the last time i was able to get it to work was like 3 years ago !?

Pierre Rudloff (rudloff)
Changed in linthesia (Debian):
importance: Undecided → Unknown
status: New → Unknown
Changed in linthesia (Debian):
status: Unknown → Confirmed
Revision history for this message
Victor Lavaud (qdii+) wrote :

Hi everybody.
I have written a fix.
It is different from the debian one: instead of forcing a hopefully installed font, mine queries the X server for the available fonts. This way, the fix should work on every platform, regardless of whether Arial, Serif or Sans is present.

Revision history for this message
Simon Allan (sysko-supinfo) wrote :

Victor's patch seems to fix the crash for me,
would be nice to see it integrated in next packagage revision, as right now the package from the repository is simply unusable

Revision history for this message
Victor MARTIN (victormartinfr) wrote :

In gconf-editor, in "apps/Linthesia/font_desc", I put successively Nimbus Sans L, URW Gothic L, Arial, Times New Roman, courier, sans and serif and nothing worked. But when i put 'clean' (without quotes), linthesia started successfully

$ apt-cache policy linthesia
linthesia:
  Installé : 0.4-3
  Candidat : 0.4.2-3
 Table de version :
     0.4.2-3 0
        500 http://fr.archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
 *** 0.4-3 0
        100 /var/lib/dpkg/status

Revision history for this message
EricDHH (ericdhh) wrote :

I'm amazed that this bug bug is carried through the releases from 12.10 up to 13.10 without fix. Now i have rollbacked linthesia to the 12.04 LTS package called

linthesia_0.4.2-2ubuntu1_amd64.deb

an yes it start very well. It does not matter which font is set in gconf-editor, this oldie package runs also mit "clean".

If it's complete impossible to fix a package over years, why is rollback not the proper method?

Revision history for this message
Ofloo (ofloo) wrote :

when o when is it going to be fixed, ..

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

still there !?

Revision history for this message
Ilgiz Mustafin (imustafin) wrote :
Changed in linthesia (Debian):
status: Confirmed → Fix Released
Revision history for this message
EricDHH (ericdhh) wrote :

Ubuntu 14.04 LTS amd64
linthesia (0.4.2-6)

Nothing is fixed, so there is no reason to close this bug

eric@tethys:~$ linthesia
(linthesia:5146): GdkGLExt-WARNING **: cannot load PangoFont
(linthesia:5146): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

Shall we celebrate birthday parties for this bug? It's annoying......

Revision history for this message
Francisco Arellano (fcoarellano) wrote :

Same issue here

francisco@Justiciero:~$ linthesia

(linthesia:15667): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:15667): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

«trap» para punto de parada/seguimiento (`core' generado)
francisco@Justiciero:~$ ^C
francisco@Justiciero:~$ linthesia

(linthesia:18119): GdkGLExt-WARNING **: cannot load PangoFont

(linthesia:18119): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: std::exception

«trap» para punto de parada/seguimiento (`core' generado)

Revision history for this message
Lotacus (mikewatters) wrote :

same issue here on linux mint 17.1. If this package is no longer going to be maintained please freak'n remove it from the repo's otherwise fix this damn issue.

Revision history for this message
Fred-wang (fred-wang) wrote :

As Victor said, it seems that a way to workaround the bug is to execute gconf-editor and to find a value for apps/Linthesia/font_desc that prevents the crash. At least "courier" worked for me on Debian (suggested in the comment of the patch).

Revision history for this message
Charles de Noyelle (mansuetus) wrote :

Hi, we made 2 patches to fix this issue.
original : https://github.com/linthesia/linthesia/pull/37
May I suggest you use this version : https://github.com/mans17/linthesia

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.