sm00thslp / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

Exit code 217 on loading DejaVuSans-Bold #901

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here My problem :

1.The program is lunched without problem
2.I can start game solo or in network
3. But it crashes when "battle" starts

There is a pop-ip with message : 
The game engine died unexpectedly!
(exit code 217)
We are very sorry for the inconvenience :(
If this keeps happening, please click the 'Feedback' button in the main menu!

My version is 9.21 on debian weezy.

Here some logs when launched on terminal. Looks like it try to load none 
existing themes. But themes are thoses present in the package. This missing 
themes are not present in my packages.

vartan@debian:~/.hedgewars$ hedgewars 
Fontconfig warning: "/etc/fonts/conf.d/25-wqy-zenhei.conf", line 11: Having 
multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 103: 
Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: 
Having multiple values in <test> isn't supported and may not work as expected
[PHYSFS] Init: ok
[PHYSFS] Mounting '/usr/share/games/hedgewars/Data' to '/': ok
[PHYSFS] Mounting '/home/vartan/.hedgewars/Data' to '/': ok
[PHYSFS] Mounting '/home/vartan/.hedgewars' to '/': ok
[PHYSFS] Setting write dir to '/home/vartan/.hedgewars': ok
Starting Hedgewars 0.9.21-r10765 (31c744824dab)
[LAZINESS] ThemeModel::loadThemes()
Object::disconnect: Unexpected null parameter
QCoreApplication::postEvent: Unexpected null receiver
[PHYSFS] Failed to open /Names/poke_squirtle.cfg, reason: Aucun fichier ou 
dossier de ce type
[PHYSFS] Failed to open /Names/poke_jigglypuff.cfg, reason: Aucun fichier ou 
dossier de ce type
[PHYSFS] Failed to open /Names/poke_ash.cfg, reason: Aucun fichier ou dossier 
de ce type
[PHYSFS] Failed to open /Names/poke_charmander.cfg, reason: Aucun fichier ou 
dossier de ce type
[PHYSFS] Failed to open /Names/poke_lugia.cfg, reason: Aucun fichier ou dossier 
de ce type
Object::disconnect: Unexpected null parameter
QCoreApplication::postEvent: Unexpected null receiver

Thanks,
Regards.
Vartan

Original issue reported on code.google.com by vartan.t...@gmail.com on 13 Jan 2015 at 1:15

GoogleCodeExporter commented 9 years ago
Thanks for reporting! :)

Runtime Error 217 is an unhandled Exception, so could be a lot of things :/

Try this:

* Rename your $HOME/.hedgewars/Data folder to something else (e.g. Data_ ) and 
check if the game still crashes. (That folder contains downloaded DLC packages)

* Could also try to run hedgewars with a clean profile instead of ~/.hedgewars. 
e.g. run: hedgewars --config-dir=/tmp/hwtmp
and start a quick game to see if things still crash

If that didn't help:

* Could you please provide your $HOME/.hedgewars/Logs/game0.log?

* Does it also crash when sounds are disabled? (on battle start e.g. voices are 
used and loaded the first time I think, maybe that's what causes the crash)

* Also: Did you create any symlinks in $HOME/.hedgewars ? - for security 
reasons we do not follow them (so that DLC packages that contain symlinks can't 
read arbitrary files).

Original comment by sheepyluva on 15 Jan 2015 at 5:06

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for answering.
I've disabled sound and visual effect.
I've run the software from a clean direcory, but still has this same error;

here the output of required logs:
vartan@debian:~/.hedgewars$ cat Logs/game0.log 
0: [PhysFS] init: 1
0: [PhysFS] mount /usr/share/fonts/truetype/wqy at /Fonts : ok
0: [PhysFS] mount /usr/share/fonts/truetype/dejavu at /Fonts : FAILED ("File 
not found")
0: [PhysFS] mount /usr/share/games/hedgewars/Data at / : ok
0: [PhysFS] mount /home/vartan/.hedgewars/Data at / : ok
0: [PhysFS] mount /home/vartan/.hedgewars at / : ok
0: [Con] Hedgewars engine 0.9.21-r10765 (31c744824dab) with protocol #49
0: Prefix: "/usr/share/games/hedgewars/Data"
0: UserPrefix: "/home/vartan/.hedgewars"
0: 0: /usr/lib/hedgewars/bin/hwengine
0: 1: --internal
0: 2: --port
0: 3: 50810
0: 4: --prefix
0: 5: /usr/share/games/hedgewars/Data
0: 6: --user-prefix
0: 7: /home/vartan/.hedgewars
0: 8: --locale
0: 9: fr.txt
0: 10: --frame-interval
0: 11: 8
0: 12: --volume
0: 13: 128
0: 14: --fullscreen-width
0: 15: 1600
0: 16: --fullscreen-height
0: 17: 900
0: 18: --width
0: 19: 2733
0: 20: --height
0: 21: 875
0: 22: --raw-quality
0: 23: 0
0: 24: --stereo
0: 25: 0
0: 26: --nosound
0: 27: --nomusic
0: 28: --nick
0: 29: dmFydGFu
0: [Con] Init SDL... 
0: [Con] ok
0: [Con] Init SDL_ttf... 
0: [Con] ok
0: [Cmd] fullscr 0
0: Preparing to change video parameters...
0: [Con] Init SDL_image... 
0: [Con] ok
0: [Con] Loading /Graphics/hwengine.png [flags: 8] 
0: [Con] ok (32x32)
0: Setting up OpenGL (using driver: x11)
0: OpenGL-- Renderer: Mesa DRI Intel(R) Sandybridge Mobile 
0:   |----- Vendor: Tungsten Graphics, Inc
0:   |----- Version: 3.0 Mesa 8.0.5
0:   |----- Texture Size: 8192
0:   |----- Number of auxiliary buffers: 0
0:   \----- Extensions: 
0: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra
0: GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract
0: GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture
0: GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array
0: GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip
0: GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels
0: GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color
0: GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap 
GL_SGIS_texture_border_clamp
0: GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB
0: GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays
0: GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 
GL_ARB_texture_cube_map
0: GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate
0: GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color
0: GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic 
GL_EXT_texture_lod_bias
0: GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent
0: GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays
0: GL_ARB_texture_border_clamp GL_ARB_texture_compression 
GL_EXT_framebuffer_object
0: GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos
0: GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_NV_vertex_program
0: GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow
0: GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar 
GL_ARB_texture_env_dot3
0: GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_envmap_bumpmap
0: GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp
0: GL_NV_vertex_program1_1 GL_APPLE_packed_pixels GL_APPLE_vertex_array_object
0: GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader
0: GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader
0: GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float
0: GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert
0: GL_MESA_ycbcr_texture GL_ARB_depth_clamp GL_ARB_fragment_program_shadow
0: GL_ARB_half_float_pixel GL_ARB_point_sprite GL_ARB_shading_language_100
0: GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object
0: GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate 
GL_OES_read_format
0: GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object 
GL_ARB_texture_compression_rgtc
0: GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float
0: GL_EXT_pixel_buffer_object GL_EXT_texture_compression_rgtc 
GL_EXT_texture_rectangle
0: GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object
0: GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample 
GL_EXT_packed_depth_stencil
0: GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil
0: GL_EXT_draw_buffers2 GL_EXT_gpu_program_parameters GL_EXT_texture_array
0: GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query
0: GL_OES_EGL_image GL_MESA_texture_array GL_ARB_copy_buffer
0: GL_ARB_depth_buffer_float GL_ARB_half_float_vertex GL_ARB_map_buffer_range
0: GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra
0: GL_EXT_separate_shader_objects GL_EXT_texture_swizzle 
GL_EXT_vertex_array_bgra
0: GL_NV_conditional_render GL_ARB_ES2_compatibility 
GL_ARB_draw_elements_base_vertex
0: GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions 
GL_ARB_provoking_vertex
0: GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod
0: GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba
0: GL_ARB_robustness GL_EXT_transform_feedback
0: 
0: [Con] Number of game controllers: 0
0: [Con] Not using any game controller
0: [BINDS] Loading binds from: ///settings.ini
0: [Con] Loading progress sprite: 
0: [Con] Loading /Graphics/Progress.png [flags: 6] 
0: [Con] ok (324x972)
0: [Con] Getting game config...
0: [Con] Init SDL_Net... 
0: [Con] ok
0: [Con] Establishing IPC connection to tcp 127.0.0.1:50810 
0: [Con] ok
0: [IPC out] C
0: [IPC out] ?
0: [Cmd] theme Jungle
0: [Cmd] seed {883b9a62-06fe-45b4-a01f-b1ff750b5e1b}
0: [Cmd] $template_filter 2
0: [Cmd] $feature_size 18
0: [Cmd] addteam e8dfddcbc4c8816e652714d612d63d64 16712196 Bunnies
0: [BINDS] Loading binds from: /Teams/Bunnies.hwt
0: [BINDS] file not found
0: [Cmd] grave Statue
0: [Cmd] fort Cake
0: [Cmd] voicepack Default
0: [Cmd] flag hedgewars
0: [Cmd] addhh 0 100 Arnold
0: AddGear: #1 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat zoo_Bunny
0: [Cmd] addhh 0 100 Johnny
0: AddGear: #2 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat zoo_Bunny
0: [Cmd] addhh 0 100 Jackson
0: AddGear: #3 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat zoo_Bunny
0: [Cmd] addhh 0 100 Diego
0: AddGear: #4 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat zoo_Bunny
0: [Cmd] addteam e8dfddcbc4c8816e652714d612d63d64 4817089 Rainbow
0: [BINDS] Loading binds from: /Teams/Rainbow.hwt
0: [BINDS] file not found
0: [Cmd] grave Duck2
0: [Cmd] fort Cake
0: [Cmd] voicepack Default
0: [Cmd] flag hedgewars
0: [Cmd] addhh 4 100 Diego
0: AddGear: #5 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat hair_blue
0: [Cmd] addhh 4 100 Frankie
0: AddGear: #6 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat hair_yellow
0: [Cmd] addhh 4 100 Johnny
0: AddGear: #7 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat hair_grey
0: [Cmd] addhh 4 100 Cal
0: AddGear: #8 (0,0), d(0_0,0_0) type = gtHedgehog
0: [Cmd] hat hair_green
0: [Cmd] ammloadt 93919294221991210322351110012000000002111001010111110001
0: [Cmd] ammprob 04050405416006555465544647765766666661555101011154111111
0: [Cmd] ammdelay 00000000000002055000000400070040000000002200000006000200
0: [Cmd] ammreinf 13111103121111111231141111111111111112111111011111111111
0: [Cmd] ammstore
0: [Cmd] ammstore
0: Ping? Pong!
0: [Con] Reading objects info...
0: [Con] Loading /Themes/Jungle/PalmTree.png [flags: 14] 
0: [Con] ok (300x230)
0: [Con] Loading /Themes/Jungle/PalmTree_mask.png [flags: 12] 
0: [Con] failed
0: [Con] Loading /Themes/Jungle/Flowers.png [flags: 14] 
0: [Con] ok (190x70)
0: [Con] Loading /Themes/Jungle/Flowers_mask.png [flags: 12] 
0: [Con] failed
0: [Con] Loading /Themes/Jungle/Liana.png [flags: 14] 
0: [Con] ok (25x200)
0: [Con] Loading /Themes/Jungle/Liana_mask.png [flags: 12] 
0: [Con] failed
0: [Con] Loading /Themes/Jungle/Monkey.png [flags: 14] 
0: [Con] ok (130x150)
0: [Con] Loading /Themes/Jungle/Monkey_mask.png [flags: 12] 
0: [Con] failed
0: [Con] Loading /Themes/Jungle/Snake.png [flags: 14] 
0: [Con] ok (110x100)
0: [Con] Loading /Themes/Jungle/Snake_mask.png [flags: 12] 
0: [Con] failed
0: [Con] Loading /Themes/Jungle/FernRight.png [flags: 14] 
0: [Con] ok (205x70)
0: [Con] Loading /Themes/Jungle/FernRight_mask.png [flags: 12] 
0: [Con] failed
0: [Con] Loading /Themes/Jungle/FernLeft.png [flags: 14] 
0: [Con] ok (205x70)
0: [Con] Loading /Themes/Jungle/FernLeft_mask.png [flags: 12] 
0: [Con] failed
0: [Con] Loading /Themes/Jungle/FlowerRed.png [flags: 12] 
0: [Con] ok (28x24)
0: [Con] Loading /Themes/Jungle/FlowerBlue.png [flags: 12] 
0: [Con] ok (30x24)
0: [Con] Loading /Themes/Jungle/Spider.png [flags: 12] 
0: [Con] ok (80x80)
0: [Con] Generating land...
0: [Con] Selected template #3 using filter #2
0: [Con] Loading /Themes/Jungle/LandTex.png [flags: 10] 
0: [Con] ok (480x360)
0: [Con] Loading /Themes/Jungle/LandBackTex.png [flags: 12] 
0: [Con] ok (480x360)
0: [Con] Loading /Themes/Jungle/Border.png [flags: 14] 
0: [Con] ok (128x32)
0: [Con] Adding spray objects...
0: [Con] Loading /Themes/Jungle/Girder.png [flags: 12] 
0: [Con] ok (256x25)
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Adding theme objects...
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Con] Generating collision info... 
0: [Con] ok
0: [Cmd] sendlanddigest
0: CheckLandDigest: M1603898864 digest : 
0: Assigned Gear coordinates (2591,1361)
0: Assigned Gear coordinates (2789,1269)
0: Assigned Gear coordinates (2614,1605)
0: Assigned Gear coordinates (2936,1747)
0: Assigned Gear coordinates (1847,1751)
0: Assigned Gear coordinates (2446,1349)
0: Assigned Gear coordinates (2306,1774)
0: Assigned Gear coordinates (2826,1990)
0: AddGear: #9 (0,0), d(0_0,0_0) type = gtATStartGame
0: AddGear: #10 (0,0), d(0_0,0_0) type = gtMine
0: Assigned Gear coordinates (2238,1071)
0: AddGear: #11 (0,0), d(0_0,0_0) type = gtMine
0: Assigned Gear coordinates (1632,1252)
0: AddGear: #12 (0,0), d(0_0,0_0) type = gtMine
0: Assigned Gear coordinates (1760,1590)
0: AddGear: #13 (0,0), d(0_0,0_0) type = gtMine
0: Assigned Gear coordinates (1880,1590)
0: AddGear: #14 (0,0), d(0_0,0_0) type = gtExplosives
0: Assigned Gear coordinates (1420,1437)
0: AddGear: #15 (0,0), d(0_0,0_0) type = gtExplosives
0: Assigned Gear coordinates (1697,1575)
0: AddGear: #16 (1111,1973), 
d(13..912662975_1680475952,-74..402018725_-1974817920) type = gtGenericFaller
0: AddGear: #17 (1321,1738), 
d(-23..472152896_-1085702064,56..075494322_891418024) type = gtGenericFaller
0: AddGear: #18 (2903,1046), 
d(0..035926263_-1273059976,-1..457333393_-1092066992) type = gtGenericFaller
0: AddGear: #19 (2819,1511), 
d(72..198251564_514645128,-32..514748014_1080076048) type = gtGenericFaller
0: AddGear: #20 (2380,1044), 
d(-43..705852646_1591651592,7..950928408_-21076088) type = gtGenericFaller
0: AddGear: #21 (2864,1256), 
d(-73..675901457_-139199264,56..759013429_2043980704) type = gtGenericFaller
0: AddGear: #22 (2249,904), 
d(-17..070832923_889415968,28..054150320_-406239344) type = gtGenericFaller
0: AddGear: #23 (1322,1308), 
d(84..049567878_173927616,-8..918731544_2112579112) type = gtGenericFaller
0: AddGear: #24 (3100,1833), 
d(42..929087776_-30456568,-80..933446645_211889920) type = gtGenericFaller
0: AddGear: #25 (697,1966), d(53..145524542_-796491144,39..768887732_759731496) 
type = gtGenericFaller
0: AddGear: #26 (680,1367), 
d(7..069595105_-1688096048,61..988504935_-863930552) type = gtGenericFaller
0: AddGear: #27 (3478,1339), 
d(63..346965890_-709972744,53..361867725_-1133069184) type = gtGenericFaller
0: AddGear: #28 (2968,1091), 
d(-38..323790039_1427556952,72..068059008_-400265608) type = gtGenericFaller
0: AddGear: #29 (942,1143), 
d(40..776749949_-525381896,-12..395372297_1028804568) type = gtGenericFaller
0: AddGear: #30 (2348,815), 
d(-79..637174721_-585329000,51..880808025_-1339682752) type = gtGenericFaller
0: AddGear: #31 (1034,1930), 
d(15..282389700_-1167204736,-65..261674247_397785880) type = gtGenericFaller
0: AddGear: #32 (2590,1468), 
d(-17..973428599_-1729399248,-51..937059026_-456529672) type = gtGenericFaller
0: AddGear: #33 (1407,1550), 
d(14..863936651_800554696,43..606014959_1548771632) type = gtGenericFaller
0: AddGear: #34 (1873,1990), 
d(-12..160502150_927928608,-31..759037204_-962486192) type = gtGenericFaller
0: StoreLoad()
0: [Con] Loading /Fonts/DejaVuSans-Bold.ttf (12pt)...

Thanks for reply.
Regards,
Vartan

Original comment by vartan.t...@gmail.com on 16 Jan 2015 at 12:16

GoogleCodeExporter commented 9 years ago
I note you die on font loading of our deja vu font.
                0: [PhysFS] mount /usr/share/fonts/truetype/wqy at /Fonts : ok
                0: [PhysFS] mount /usr/share/fonts/truetype/dejavu at /Fonts : FAILED ("File not found")
                0: [PhysFS] mount /usr/share/games/hedgewars/Data at / : ok
                0: [PhysFS] mount /home/vartan/.hedgewars/Data at / : ok
Log notes you mount system directories for fonts, and that you are missing 
/usr/share/fonts/truetype/dejavu
which I *thought* was a dependency for the Debian and Ubuntu builds because I 
*thought* they removed the font from our Data directory...

Try installing the font.

Original comment by kyberneticist@gmail.com on 16 Jan 2015 at 12:35

GoogleCodeExporter commented 9 years ago

Original comment by kyberneticist@gmail.com on 16 Jan 2015 at 12:36

GoogleCodeExporter commented 9 years ago
nope, you just need to rebuild your hedgewars from the source.

Using an hedgewars built for jessie in wheezy won't build because the font 
directory changed in the meanwhile, and so I had to do this in the build 
process:
DEJAVU_DIRECTORY := $(shell dirname `readlink -f 
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf`)

and pass it to the cmake configure script.

So if you pick the binary from jessie you need to change the font location to 
correspond with the jessie one, or (the best solution for me) to rebuild it for 
wheezy.

apt-get build-dep hedgewars
dget -x 
http://http.debian.net/debian/pool/main/h/hedgewars/hedgewars_0.9.21.1-4.dsc
(extract the two tarballs)
dpkg-buildpackage
(install the two missing things)
dpkg-buildpackage
install the two debs.

Enjoy the game.

G. (the debian maintainer)

Original comment by costamag...@gmail.com on 16 Jan 2015 at 12:58

GoogleCodeExporter commented 9 years ago
I'm gonna call this one Invalid then.
As well as his advice in the comment above to rebuild your .deb,
you're also welcome to use our 
https://code.google.com/p/hedgewars/wiki/BuildingOnLinux

Although that one is intended more for people who want to help us test, you can 
of course make a build on the release branch that way too.

Original comment by kyberneticist@gmail.com on 16 Jan 2015 at 1:09