Zatacka recieves SIGSEGV on launch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zatacka (Debian) |
Fix Released
|
Unknown
|
|||
zatacka (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I try to launch Zatacka, I get:
$ zatacka
Segmentation fault (core dumped)
Instead of it running successfully.
In gdb I find this:
(gdb) run
Starting program: /usr/games/zatacka
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-
Program received signal SIGSEGV, Segmentation fault.
0x76fad2d6 in TTF_SizeUNICODE ()
from /usr/lib/
(gdb) bt
#0 0x76fad2d6 in TTF_SizeUNICODE ()
from /usr/lib/
#1 0x76fae01c in TTF_RenderUNICO
from /usr/lib/
#2 0x76fae344 in TTF_RenderText_
from /usr/lib/
#3 0x00011874 in ?? ()
#4 0x00012142 in ?? ()
#5 0x000121dc in ?? ()
#6 0x00011330 in ?? ()
#7 0x76c88772 in __libc_start_main (main=0x112e1, argc=1, argv=0x7efff194,
init=<optimized out>, fini=0x17ea1, rtld_fini=
stack_
#8 0x000113fc in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
I am using a Raspberry Pi 2 running Ubuntu Mate 15.10:
Description: Ubuntu 15.10
Release: 15.10
The version of Zatacka I am using is
zatacka:
Installed: 0.1.8-5
Candidate: 0.1.8-5
Version table:
*** 0.1.8-5 0
500 http://
500 http://
100 /var/lib/
Changed in zatacka (Debian): | |
status: | Unknown → Fix Released |
The problem is that zatacka expects font.ttf somewhere. Unfortunately I could not find out where, so my solution was to compile from source and hard code a font path in fx.h, but if you can find out where it expects font.ttf you can just ln -s any font there and it should work.
Cheers