Bug#438644: hex-a-hop: strange menu with russian translation

Yuri Kozlov kozlov.y at gmail.com
Sun Aug 19 08:23:46 UTC 2007


2007/8/18, Jens Seidel <jensseidel at users.sf.net>:
> Please build the package from source using debugging information. Just
> ensure that $DEB_BUILD_OPTIONS contains "nostrip":
>
> # apt-get build-dep hex-a-hop
> $ export DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nostrip"
> $ dpkg-buildpackage -rfakeroot -us -uc
>
> Can you maybe try to start hex-a-hop in valgrind (valgrind hex-a-hop) or
> with strace?

(gdb) bt
#0  0x00002ac3a7b532c6 in SDL_FillRect () from /usr/lib/libSDL-1.2.so.0
#1  0x00002ac3a7cde698 in SDLPango_Draw (context=0x52cc90,
surface=0x6c2240, x=0, y=0) at SDL_Pango.c:882
#2  0x00002ac3a7cdeda5 in SDLPango_CreateSurfaceDraw
(context=0x52cc90) at SDL_Pango.c:848
#3  0x00000000004036f4 in PrintC_Pango (x=435, y=254,
text_utf8=@0x7fff03099520) at gfx.cpp:222
#4  0x000000000040579e in PrintC (split=false, x=435, y=254,
string=<value optimized out>)
    at hex_puzzzle.cpp:434
#5  0x000000000040d836 in OptMenuTitle::Render (this=0x57e6f0) at menus.h:502
#6  0x00000000004073f3 in Fader::Render (this=0x552110) at menus.h:1090
#7  0x0000000000415edc in HexPuzzle::Render (this=0x55dcc0) at
hex_puzzzle.cpp:2727
#8  0x000000000040307d in main () at gfx.cpp:379
(gdb)

The game crached if locale is not exist (C is not exist in the /etc/locale.gen)
$LC_ALL=de_DE.UTF-8 hex-a-hop
Segmentation fault (core dumped)
After adding de_DE.UTF-8 in the /etc/locale.gen and making
$sudo locale-gen
Generating locales (this might take a while)...
  ru_RU.UTF-8... done
  ru_RU.ISO-8859-5... done
  ru_RU.CP1251... done
  ru_RU.KOI8-R... done
  de_DE.UTF-8... done
Generation complete.

all fine.


-- 
Regards,
Yuri Kozlov




More information about the Pkg-games-devel mailing list