Ubuntu

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

Reported by Roy Jamison on 2010-10-20
84
This bug affects 18 people
Affects Status Importance Assigned to Milestone
linthesia (Debian)
Confirmed
Unknown
linthesia (Ubuntu)
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

Roy Jamison (xteejx) wrote :
Changed in linthesia (Ubuntu):
importance: Undecided → Medium
Roy Jamison (xteejx) wrote :
Changed in linthesia (Ubuntu):
status: New → Triaged
Michael Bienia (geser) wrote :

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

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
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) on 2011-03-02
tags: added: regression-release
Ofloo (ofloo) wrote :

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

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
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
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 ..

$ 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

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

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)

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

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!

Smeagol (gollum12345678) wrote :

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

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.

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)

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)

Ofloo (ofloo) wrote :

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

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.

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)

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)

Cleto Martín (cleto) wrote :

This issue should be fixed at 0.4.2-5.

Changed in linthesia (Ubuntu):
status: Confirmed → Fix Released

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

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 !

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

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

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

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

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) on 2013-08-10
Changed in linthesia (Debian):
importance: Undecided → Unknown
status: New → Unknown
Changed in linthesia (Debian):
status: Unknown → Confirmed
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.

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

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

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?

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 !?

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

Other bug subscribers

Bug attachments

Remote bug watches

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