Opened 7 years ago

Last modified 6 years ago

#2157 new defect

Crash when loading truetype fonts on FBDEV2 output module

Reported by: pyry.kontio@… Owned by: reimar
Priority: normal Component: vo
Version: 1.0rc4 Severity: minor
Keywords: Cc: pyry.kontio@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description (last modified by reimar)

Running Ubuntu 12.04 LTS without X. Mplayer is installed from standard Ubuntu repositories.

Mplayer runs fine on --vo=fbdev2, but when I installed a font called "unifont" from Ubuntu repositories, it started crashing on Mplayer startup.

Unifont is a truetype font (installed at /usr/share/fonts/truetype/unifont/unifont.ttf), and according the backtrace, the crash occurs when loading fonts.

When I moved the font elsewhere, crashes stopped right away, so I can always reproduce this.

The backtrace is in the attachment.

Best regards, and thanks for making this software!

Attachments (1)

file_2157.txt (63.3 KB) - added by pyry.kontio@… 7 years ago.
Backtrace of crash when loading fonts

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by pyry.kontio@…

Backtrace of crash when loading fonts

comment:1 Changed 7 years ago by pyry.kontio@…

  • Cc pyry.kontio@… added

comment:2 Changed 6 years ago by reimar

  • Analyzed by developer unset
  • Description modified (diff)
  • Reproduced by developer unset

Without debug info the backtrace is of limited help.
However I can't see it having anything todo with not having X installed.
What surprises me is that there seems to be no error message being printed.
My best guess is that the underlying issue is with that font causing issues in fontconfig or freetype, which leads to a crash later on.
Running it under valgrind in that case should give more details and pinpoint the origin of the issues.

Note: See TracTickets for help on using tickets.