Jump to content
Eternal Lands Official Forums
puush

Fedora 14 x64 crash on startup

Recommended Posts

Probably after some system updates, EL started crashing after login. It happens with both supplied binary and compiled.

 

Backtrace:

#0  0x0000003cf94330c5 in raise (sig=6)
   at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x0000003cf9434a76 in abort () at abort.c:92
#2  0x0000003cf946fcfb in __libc_message (do_abort=2, 
   fmt=0x3cf955ea98 "*** glibc detected *** %s: %s: 0x%s ***\n")
   at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#3  0x0000003cf9476d63 in malloc_printerr (av=<value optimized out>, 
   p=0x1b6cbc70, have_lock=0) at malloc.c:6283
#4  _int_free (av=<value optimized out>, p=0x1b6cbc70, have_lock=0)
   at malloc.c:4795
#5  0x0000000000513c7a in load_bmp8_enhanced_actor (this_actor=0x1c61e190, 
   a=255 '\377') at textures.c:3345
#6  0x00000000004bc943 in add_enhanced_actor (this_actor=0x1c61e190, 
   x_pos=315, y_pos=341, z_pos=0, z_rot=0, scale=1, actor_id=67)
   at new_actors.c:87
#7  0x00000000004bff2c in add_enhanced_actor_from_server (
   in_data=0x7fffe00010e3 "C", len=38) at new_actors.c:1030
#8  0x00000000004b995e in process_message_from_server (
   in_data=0x7fffe00010e0 "3'", data_length=41) at multiplayer.c:624
#9  0x00000000004aa371 in start_rendering () at main.c:176
#10 0x00000000004aa955 in main (argc=1, argv=0x7fffffffe238) at main.c:364

error log:

 

Log started at 2011-04-15 16:01:29 localtime (IDT)

[16:01:29] Using the server profile: main
[16:01:29] read_config() chdir("c:\Program Files\Eternal Lands\/") failed
[16:01:29] Warning: Didn't find your data_dir, using the current directory instead. Please correct this in your el.ini . Given data_dir was: "c:\Program Files\Eternal Lands\/". Using "/home/pasha/EL/el_linux".
[16:01:29] Window size adjusted to 1142x809
[16:01:30] GL_ARB_multitexture extension found, using it.
[16:01:30] GL_EXT_compiled_vertex_array extension found, using it.
[16:01:30] GL_ARB_point_sprite extension found, using it.
[16:01:30] GL_ARB_texture_compression extension found, using it.
[16:01:30] GL_EXT_texture_compression_s3tc extension found, using it.
[16:01:30] GL_SGIS_generate_mipmap extension found, using it.
[16:01:30] GL_ARB_shadow extension found, using it.
[16:01:30] GL_ARB_vertex_buffer_object extension found, using it.
[16:01:30] GL_EXT_framebuffer_object extension found, using it.
[16:01:30] GL_EXT_draw_range_elements extension found, using it.
[16:01:30] GL_ARB_texture_non_power_of_two extension found, using it.
[16:01:30] GL_ARB_fragment_program extension found, using it.
[16:01:30] GL_ARB_vertex_program extension found, using it.
[16:01:30] GL_ARB_fragment_shader extension found, using it.
[16:01:30] GL_ARB_vertex_shader extension found, using it.
[16:01:30] GL_ARB_shader_objects extension found, using it.
[16:01:30] GL_ARB_shading_language_100 extension found, using it.
[16:01:30] GL_ARB_texture_mirrored_repeat extension found, NOT using it...
[16:01:30] GL_ARB_texture_rectangle extension found, NOT using it...
[16:01:30] GL_EXT_fog_coord extension found, NOT using it...
[16:01:30] Couldn't find the GL_ATI_texture_compression_3dc extension, not using it...
[16:01:30] GL_EXT_texture_compression_latc extension found, using it.
[16:01:30] GL_EXT_texture_filter_anisotropic extension found, using it.
[16:01:30] Error opening sound configuration file
[16:01:33] * server www.eternal-lands.com filename http://www.eternal-lands.com/updates191/files.lst
[16:01:33] Downloading http://www.eternal-lands.com/updates191/files.lst from www.eternal-lands.com
[16:01:34] Error: Can't open file "alias.ini"
[16:01:34] Finished downloading http://www.eternal-lands.com/updates191/files.lst
[16:01:35] * server www.eternal-lands.com filename http://www.eternal-lands.com/updates191/files.lst
[16:01:35] Downloading http://www.eternal-lands.com/updates191/files.lst from www.eternal-lands.com
[16:01:35] Finished downloading http://www.eternal-lands.com/updates191/files.lst
[16:01:36] * server www.eternal-lands.com filename http://www.eternal-lands.com/updates191/files.lst
[16:01:36] Downloading http://www.eternal-lands.com/updates191/files.lst from www.eternal-lands.com
[16:01:37] Finished downloading http://www.eternal-lands.com/updates191/files.lst
[16:01:37] Failed to download (files.lst) 3 times. Giving up.
[16:01:37] Custom updates: Can't find server list file 'custom_mirrors.lst' at dir './' or '/home/pasha/.elc/'.
[16:01:43] Error: Can't open file "servermarks_puush.dat"

 

Edit: it looks like loading some textures cause problem. For example, meshes/torso9.dds caused crash. When I removed it, I was able to load game, but soon it crashed again on some other file.

Edited by puush

Share this post


Link to post
Share on other sites

Using the version you compiled from source, can you run it through gdb. When it crashes use the command "bt full" and post the output here.

Share this post


Link to post
Share on other sites

Using the version you compiled from source, can you run it through gdb. When it crashes use the command "bt full" and post the output here.

Thanks for reply, I almost lost all hope :)

 

Now it behaves a bit differently - it is stuck at loading, after log in. According to new backtrace it is stuck in same place where it was crashing before, so I guess nothing really has changed.

 

Also, may be this will save you few minutes - when loading torso9.dds (and possibly some other files) it entered function copy_bmp8_to_coordinates. There, in a copy loop, in the lines

texture_space[(texture_y+x)*4] = ... the value of (texture_y+x)*4 was negative, so it probably caused memory corruption.

 

This is a full backtrace:

 

#0 unpack (source=0x1a908010 "", count=42336, red=0, green=0, blue=0,

alpha=255, dest=0x1b094c30 "\210yy\371<") at image.c:261

i = 0

pixel = 0

temp = 173

bpp = 1

r = 709

g = 2647

b = 0

a = 0

red_shift = 3326732847

red_mask = 4294947744

green_shift = 0

green_mask = 124

blue_shift = 0

blue_mask = 120

alpha_shift = 0

alpha_mask = 120

#1 0x00000000004cb5ac in fast_unpack (source=0x1a908010 "", size=42336,

red=0, green=0, blue=0, alpha=255, dest=0x1b094c30 "\210yy\371<")

at image.c:363

No locals.

#2 0x0000000000453678 in unpack_dds (file=0x1b0b6e30, header=0x7fffffffb4c0,

strip_mipmaps=1, base_level=0) at ddsimage.c:742

dest = 0x1b094c30 "\210yy\371<"

size = 42336

offset = 0

bpp = 1

#3 0x0000000000453790 in load_dds (file=0x1b0b6e30, width=0x7fffffffb638,

height=0x7fffffffb63c) at ddsimage.c:946

header = {m_size = 124, m_flags = 659463, m_height = 216,

m_width = 196, m_size_or_pitch = 42336, m_depth = 1,

m_mipmap_count = 8, m_reserved1 = {0 <repeats 11 times>},

m_pixel_format = {m_size = 32, m_flags = 2, m_fourcc = 0,

m_bit_count = 8, m_red_mask = 0, m_green_mask = 0,

m_blue_mask = 0, m_alpha_mask = 255}, m_caps = {m_caps1 = 4198408,

m_caps2 = 0, m_caps3 = 0, m_caps4 = 0}, m_reserved2 = 0}

format = 0

#4 0x0000000000513d28 in load_texture (

file_name=0x1b0b641c "./meshes/torso_tunic_mask.dds", tex=0x7fffffffb630,

alpha=255 '\377') at textures.c:2438

file = 0x1b0b6e30

dds = 1

#5 0x0000000000515517 in load_bmp8_alpha (

filename=0x1b0b641c "./meshes/torso_tunic_mask.dds", tex=0x7fffffffb630,

alpha=255 '\377') at textures.c:3185

x_size = 196

y_size = 216

texture_mem = 0x1b78f980 "\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364љ\377\364љ\377\364љ\377\364љ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377"...

#6 0x0000000000515796 in load_bmp8_to_coordinates_mask2 (

filename=0x1b0b631c "./meshes/torso_tunic_green.dds",

basename=0x1b0b679c "./meshes/torso_skinhf_pale.dds",

maskname=0x1b0b641c "./meshes/torso_tunic_mask.dds",

texture_space=0x1a807f80 "", x_pos=316, y_pos=298, alpha=255 '\377')

at textures.c:3253

texture = {

texture = 0x1b06b6a0 "\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377 x_size = 196

y_size = 216

texture_mem = 0x1b78f980 "\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364љ\377\364љ\377\364љ\377\364љ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377"...

#6 0x0000000000515796 in load_bmp8_to_coordinates_mask2 (

filename=0x1b0b631c "./meshes/torso_tunic_green.dds",

basename=0x1b0b679c "./meshes/torso_skinhf_pale.dds",

maskname=0x1b0b641c "./meshes/torso_tunic_mask.dds",

texture_space=0x1a807f80 "", x_pos=316, y_pos=298, alpha=255 '\377')

at textures.c:3253

texture = {

texture = 0x1b06b6a0 "\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\030\030\030\377\033\032\033\377\033\032\033\377\036\035\036\377 \037 \377)%)\377\061,1\377\061,1\377\061\060\061\377\061\060\061\377\061\060\061\377\061\060\061\377),)\377),)\377),)\377#%#\377 $ \377 $ \377"...,

x_size = 196, y_size = 216, has_alpha = 0}

basetex = {

texture = 0x1b78f980 "\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364љ\377\364љ\377\364љ\377\364љ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377\364ҙ\377"..., x_size = 196,

y_size = 216, has_alpha = 0}

masktex = {texture = 0x1 <Address 0x1 out of bounds>, x_size = 196,

y_size = 216, has_alpha = 0}

tex = 0x7fffffffb670

base = 0x7fffffffb650

mask = 0x0

#7 0x00000000005159a6 in load_bmp8_enhanced_actor (this_actor=0x1b0b60f0,

a=255 '\377') at textures.c:3293

texture = 32767

texture_mem = 0x1a807f80 ""

has_alpha = 0

#8 0x00000000004bdc97 in add_enhanced_actor (this_actor=0x1b0b60f0,

x_pos=161.5, y_pos=156.5, z_pos=0, z_rot=0, scale=1, actor_id=128)

at new_actors.c:87

texture_id = 0

i = 0

k = 453733276

our_actor = 0x80

x = 32767

y = -18576

#9 0x00000000004c12d5 in add_enhanced_actor_from_server (

in_data=0x7fffdc0010b3 "\200", len=46) at new_actors.c:1030

actor_id = 128

buffs = 0

x_pos = 323

y_pos = 313

z_rot = 0

max_health = 1415

cur_health = 1415

actor_type = 0

skin = 2 '\002'

hair = 2 '\002'

shirt = 25 '\031'

pants = 17 '\021'

boots = 1 '\001'

frame = 7 '\a'

cape = 6 '\006'

head = 2 '\002'

shield = 10 '\n'

weapon = 64 '@'

helmet = 38 '&'

neck = 0 '\000'

i = 1

dead = 0

kind_of_actor = 1

this_actor = 0x1b0b60f0

playerpath = "custom/player/minerva/\000\000\r\355-?\000\000\200?\377\377\377\377\000\000\200?\000\000\000\000\000\000\000\000| 9\274\313\000\000\000\030\331e\033\000\000\000\000\200\272\377\377\377\177\000\000\247\332T\000\000\000\000\000HP\v\033\000\000\000\000P\272\377\377\377\177\000\000`\272\377\377\377\177\000\000\032\350T\000\000\000\000\000\001\000\000\000\000\000\000\000@P\v\033\375\v\000\000HP\v\033\000\000\000\000\031\345T\000\000\000\000\000\260\272\377\377\377\177\000\000?\234C\000\000\000\000\000\260\272\377\377\377\177\000\000\240\272\377\377\377\177\000\000\340\272\377\377\377\177\000\000\252\333T\000\375\v\000\000\340\356d\033\000\000\000\000\340\356d\033\v\000\000\000HP\v\033\000\000\000\000\340\356d\033\000\000\000\000\340\272\377\377\377\177\000\000'\234C\000\000\000\000\000\300\363\331\000\000\000\000\000\000\000\000\000\375\v\000"

guildpath = "custom/guild/4812609/", '\000' <repeats 11 times>, "| 9\274\313\000\000\000\030\331e\033\000\000\000\000p\271\377\377\377\177\000\000\247\332T\000\000\000\000\000HP\v\033\000\000\000\000@\271\377\377\377\177\000\000P\271\377\377\377\177\000\000\032\350T\000\000\000\000\000\244\363d\033\000\000\000\000@P\v\033\000\000\000\000HP\v\033\000\000\000\000\031\345T\000\000\000\000\000p\271\377\377\000\000\000\000\314\344T\000\000\000\000\000\240\271\377\377\377\177\000\000\220\271\377\377\377\177\000\000C\253O\000\000\000\000\000\252\333T\000\000\000\000\000й\377\377\377\177\000\000\340\356d\033\377\377\377\377й\377\377\377\177\000\000\036\322C\000\000\000\000\000HP\v\033\000\000\000\000\340\356d\033\000\000\000\000\300\363\331\000\000\000\000\000\024\362d\033\000\000\000\000\340\356d\033\000\000\000\000\340\356d\033\000\000\000"

onlyname = "minerva", '\000' <repeats 24 times>

j = 7

uniq_id = 0

guild_id = 4812609

f_x_pos = 161.5

f_y_pos = 156.5

f_z_rot = 0

scale = 1

pose = 0x0

attachment_type = 255

__PRETTY_FUNCTION__ = "add_enhanced_actor_from_server"

#10 0x00000000004ba97a in process_message_from_server (

in_data=0x7fffdc0010b0 "3/", data_length=49) at multiplayer.c:624

text_buf = "\221Today is a special day:\nDay of Schools\nToday if you use a school, you get 3 times the exp (instead of 2 times)\000 on the main website. If you would rather learn by doing, talk to the Tutorial NPC, which"...

#11 0x00000000004aadc5 in start_rendering () at main.c:176

message = 0x7fffdc001090

event = {type = 3 '\003', active = {type = 3 '\003', gain = 0 '\000',

state = 0 '\000'}, key = {type = 3 '\003', which = 0 '\000',

state = 0 '\000', keysym = {scancode = 36 '$', sym = SDLK_RETURN,

mod = KMOD_NONE, unicode = 0}}, motion = {type = 3 '\003',

which = 0 '\000', state = 0 '\000', x = 36, y = 0, xrel = 13,

yrel = 0}, button = {type = 3 '\003', which = 0 '\000',

button = 0 '\000', state = 0 '\000', x = 36, y = 0}, jaxis = {

type = 3 '\003', which = 0 '\000', axis = 0 '\000', value = 36},

jball = {type = 3 '\003', which = 0 '\000', ball = 0 '\000',

xrel = 36, yrel = 0}, jhat = {type = 3 '\003', which = 0 '\000',

hat = 0 '\000', value = 0 '\000'}, jbutton = {type = 3 '\003',

which = 0 '\000', button = 0 '\000', state = 0 '\000'}, resize = {

type = 3 '\003', w = 36, h = 13}, expose = {type = 3 '\003'},

quit = {type = 3 '\003'}, user = {type = 3 '\003', code = 36,

data1 = 0xd, data2 = 0x0}, syswm = {type = 3 '\003', msg = 0xd}}

done = 0

network_thread_data = {0x3f398d0, 0xa79280}

last_frame_and_command_update = 0

network_thread = 0x1a698730

message_queue = 0x3f398d0

#12 0x00000000004ab67d in main (argc=1, argv=0x7fffffffe238) at main.c:438

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×