Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Wytter

NEW_FRUSTUM crash

Recommended Posts

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912541991488 (LWP 19468)]
0x00000000004092ee in draw_3d_objects (object_type=5926) at 3d_objects.c:342
342					 cache_use(cache_e3d, objects_list[l]->e3d_data->cache_ptr);
(gdb) backtrace full
#0  0x00000000004092ee in draw_3d_objects (object_type=5926) at 3d_objects.c:342
	start = 100
	stop = 101
	i = 100
	l = 5926
	is_selflit = 1
	is_transparent = 0
	is_ground = 5926
#1  0x000000000040a017 in display_objects () at 3d_objects.c:715
No locals.
#2  0x00000000004339fb in display_game_handler (win=0x15f1b60) at gamewin.c:643
	main_count = 62
	times_FPS_below_3 = 0
	next_fps_time = 8083
	last_count = 60
	fps = {1, 1, 100, 0, 0}
	fps_average = 20.3999996
	shadows_were_disabled = 0
	str = "8}P\001", '\0' <repeats 12 times>, "\b\000\000\000\000\000\000\000\0001\026\uffff\uffff*\000\000\000 \000@\000\000\000\000v\231\022\uffff\uffff*\000\000\000 \000@\000\000\000\000\000 \000@\000\000\000\000\001\002\000\000\000\000\000\000\000\000\001\000\000\000\000\000\001\000\000\000\000\000\000\000I\"\023\uffff\uffff*\000\000\000 \000@\000\000\000\000]\025\ubb2a*\000\000\000 \000@\000\000\000\000`\033_\001", '\0' <repeats 28 times>, "]\025\ubb2a*\000\000\000 \000@\000\000\000\000\uffff\uffff\uffff\uffff\000\000\000\000\001\000\000"
	y_line = 2
	i = 74571040
	any_reflection = 2
	mouse_rate = 74571040
#3  0x0000000000429d5a in draw_window (win=0x15f1b60) at elwindows.c:1032
	ret_val = 1
	W = (widget_list *) 0x0
#4  0x000000000042a14f in display_window (win_id=22821632) at elwindows.c:1182
No locals.
#5  0x0000000000428134 in display_windows (level=1) at elwindows.c:54
	id = -1
	next_id = -9999
	i = 0
#6  0x0000000000424144 in draw_scene () at draw_scene.c:94
No locals.
#7  0x000000000044472b in start_rendering () at main.c:123
	event = {type = 3 '\003', active = {type = 3 '\003', gain = 0 '\0', state = 0 '\0'}, key = {type = 3 '\003', which = 0 '\0', state = 0 '\0',
keysym = {scancode = 62 '>', sym = SDLK_RSHIFT, mod = KMOD_NONE, unicode = 0}}, motion = {type = 3 '\003', which = 0 '\0', state = 0 '\0', x = 62,
y = 0, xrel = 303, yrel = 0}, button = {type = 3 '\003', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 62, y = 0}, jaxis = {
type = 3 '\003', which = 0 '\0', axis = 0 '\0', value = 62}, jball = {type = 3 '\003', which = 0 '\0', ball = 0 '\0', xrel = 62, yrel = 0},
 jhat = {type = 3 '\003', which = 0 '\0', hat = 0 '\0', value = 0 '\0'}, jbutton = {type = 3 '\003', which = 0 '\0', button = 0 '\0',
state = 0 '\0'}, resize = {type = 3 '\003', w = 62, h = 303}, expose = {type = 3 '\003'}, quit = {type = 3 '\003'}, user = {type = 3 '\003',
code = 62, data1 = 0x12f, data2 = 0x0}, syswm = {type = 3 '\003', msg = 0x12f}}
	done = 0
	music_thread = (SDL_Thread *) 0x18ff570
#8  0x0000000000444953 in main (argc=22821632, argv=0x15c2200) at main.c:229
No locals.

 

Build options:

 

OPTIONS=-DLINUX -DELC -DPNG_SCREENSHOT -DX86_64 -DNEW_FRUSTUM -DBUG_FIX_3D_OBJECTS_MIN_MAX -DUSE_SHADER #-DUSE_LISPSM

Share this post


Link to post
Share on other sites

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8fea000 (LWP 100300)]
0x08064910 in add_dynamic_item_to_node (node=0xdcc3000, bbox=0xbfbfc780, ID=18, type=18, texture_id=97, md5=0x80dbe38 "") at bbox_tree.c:850
850					 node->dynamic_objects.items[index].data.ID = ID;
(gdb) backtrace full
#0  0x08064910 in add_dynamic_item_to_node (node=0xdcc3000, bbox=0xbfbfc780, ID=18, type=18, texture_id=97, md5=0x80dbe38 "") at bbox_tree.c:850
	index = 194863552
	size = 194900464
#1  0x08064b4d in add_dynamic_aabb_to_abt_node (node=0xdcc3000, bbox=0xbfbfc780, ID=18, type=18, texture_id=97, md5=0x80dbe38 "") at bbox_tree.c:908
	new_bbox = {bbmin = {6.11639333e-32, 6.00794693e-32, -8.5}, bbmax = {342.637299, 198.137299, 10.54}}
	result = 0
	extra = 0
#2  0x0806482c in add_aabb_to_abt (bbox_tree=0x916ac00, bbox=0xbfbfc780, ID=18, type=18, texture_id=97, md5=0x80dbe38 "", dynamic=1) at bbox_tree.c:923
	result = 1
#3  0x08064ece in add_particle_to_abt (bbox_tree=0x916ac00, ID=18, bbox=0xbfbfc780, sblend=770, dblend=1, dynamic=1) at bbox_tree.c:946
No locals.
#4  0x080a69b4 in create_particle_sys (def=0xb0b2000, x=342.25, y=197.75, z=-1.49011612e-08, dynamic=1) at particles.c:734
	i = 300
	psys = 18
	system_id = (particle_sys *) 0xb0d2000
	p = (particle *) 0xb0d53b0
	bbox = {bbmin = {341.862701, 197.362701, -8.5}, bbmax = {342.637299, 198.137299, 10.54}}
#5  0x080a5cea in add_particle_sys (file_name=0x80dbe12 "./particles/bag_out.part", x_pos=342.25, y_pos=197.75, z_pos=-1.49011612e-08, dynamic=1) at particles.c:599
	def = (particle_sys_def *) 0xb0b2000
#6  0x080a5d82 in add_particle_sys_at_tile (file_name=0x80dbe12 "./particles/bag_out.part", x_tile=684, y_tile=395, dynamic=1) at particles.c:612
No locals.
#7  0x0806176b in remove_bag (which_bag=19) at bags.c:144
No locals.
#8  0x0809e5ef in process_message_from_server (in_data=0x9538a70 "\035\002", data_length=4) at multiplayer.c:785
	text_buf = "\000\000\000\000\001", '\0' <repeats 39 times>, "book\003\000\000\000\b\017Ã\n\b\017Ã\n\234ο¿\230ο¿", '\0' <repeats 28 times>, "\200", '\0' <repeats 15 times>, " ο¿\000\000zD@\031½(À\031½(", '\0' <repeats 16 times>, "\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001", '\0' <repeats 11 times>, "ÀsQ\t\000\000\000\000\017", '\0' <repeats 11 times>, "ÿÿÿÿ\000\000\000\000\000\000\200¿", '\0' <repeats 16 times>, "\001", '\0' <repeats 19 times>, "\0202\0202\0202\0202\0202\0202\0202\0202\0202\0202\0202\020"...
#9  0x08097328 in start_rendering () at main.c:112
	message = (message_t *) 0x9538a60
	event = {type = 24 '\030', active = {type = 24 '\030', gain = 0 '\0', state = 0 '\0'}, key = {type = 24 '\030', which = 0 '\0', state = 0 '\0', keysym = {
  scancode = 3 '\003', sym = SDLK_UNKNOWN, mod = 672627492, unicode = 9056}}, motion = {type = 24 '\030', which = 0 '\0', state = 0 '\0', x = 3, y = 0, xrel = 0,
yrel = 0}, button = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 3, y = 0}, jaxis = {type = 24 '\030', which = 0 '\0', axis = 0 '\0',
value = 3}, jball = {type = 24 '\030', which = 0 '\0', ball = 0 '\0', xrel = 3, yrel = 0}, jhat = {type = 24 '\030', which = 0 '\0', hat = 0 '\0',
value = 0 '\0'}, jbutton = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0'}, resize = {type = 24 '\030', w = 3, h = 0}, expose = {
type = 24 '\030'}, quit = {type = 24 '\030'}, user = {type = 24 '\030', code = 3, data1 = 0x0, data2 = 0x28177b24}, syswm = {type = 24 '\030', msg = 0x3}}
	done = 0
	network_thread_data = {0x9518330, 0x8265530}
	music_thread = (SDL_Thread *) 0xac1ac00
	network_thread = (SDL_Thread *) 0xac2d000
	message_queue = (queue_t *) 0x9518330
#10 0x08097610 in main (argc=1, argv=0xbfbfe9dc) at main.c:229
No locals.

 

Build options:

OPTIONS=-DBSD -DELC -DPNG_SCREENSHOT -DNETWORK_THREAD -DNEW_WEATHER -DNEW_TEX -DANTI_ALIAS -DUSE_FRAMEBUFFER -DWIDGETS_FIX -DBUG_FIX_3D_OBJECTS_MIN_MAX -DNEW_FRUSTUM -DMINIMAP_DS

 

//Gasp0dE

 

[Edit by Placid. Made it a bit more readable (CODE tags)]

Share this post


Link to post
Share on other sites

Another NEW_FRUSTUM crash. CVS from 2005-12-29 14:44

 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x9026000 (LWP 100273)]
0x08063722 in VMin (v1=0xbfbfc570, v2=0x801a4589, v3=0xbfbfc6c0) at vmath.h:103
103			 v1[X] = min2f(v2[X], v3[X]);
(gdb) backtrace full
#0  0x08063722 in VMin (v1=0xbfbfc570, v2=0x801a4589, v3=0xbfbfc6c0) at vmath.h:103
No locals.
#1  0x08064faf in check_aabb_aabb (bbox=0x801a4589, dyn_bbox=0xbfbfc6c0, new_bbox=0xbfbfc570, grow=1.10000002) at bbox_tree.c:821
	len = {1.56933198e-33, 1.5693452e-33, 2.1019477e-44}
	old_v = 145.972107
	new_v = 1548.57495
#2  0x08064d15 in add_dynamic_aabb_to_abt_node (node=0x801a4571, bbox=0xbfbfc6c0, ID=5922, type=16, texture_id=92, md5=0xbfbfc6a0 "") at bbox_tree.c:899
	new_bbox = {bbmin = {1.82966871e-33, 1.40129846e-45, 898.986816}, bbmax = {-0, 32.9121437, 73.9109802}}
	result = 684145833
	extra = 3217016272
#3  0x08064d55 in add_dynamic_aabb_to_abt_node (node=0xd509000, bbox=0xbfbfc6c0, ID=5922, type=16, texture_id=92, md5=0xbfbfc6a0 "") at bbox_tree.c:902
	new_bbox = {bbmin = {-0, -0, -1.49011612e-08}, bbmax = {32.9121437, 73.9109802, 0.369562745}}
	result = 1052587860
	extra = 1
#4  0x08064aac in add_aabb_to_abt (bbox_tree=0x91abc00, bbox=0xbfbfc6c0, ID=5922, type=16, texture_id=92, md5=0xbfbfc6a0 "", dynamic=1) at bbox_tree.c:923
	result = 14
#5  0x080650aa in add_3dobject_to_abt (bbox_tree=0x91abc00, ID=5922, bbox=0xbfbfc6c0, blend=0, ground=0, alpha=0, self_lit=1, texture_id=92, md5=0xbfbfc6a0 "",
dynamic=1) at bbox_tree.c:936
No locals.
#6  0x08050209 in add_e3d_at_id (id=5922, file_name=0x80dc89c "./3dobjects/misc_objects/bag1.e3d", x_pos=32.75, y_pos=73.75, z_pos=-1.49011612e-08, x_rot=0, y_rot=0,
z_rot=0, self_lit=1 '\001', blended=0 '\0', r=1, g=1, b=1, dynamic=1) at 3d_objects.c:519
	fname = "./3dobjects/misc_objects/bag1.e3d\000\000\000®Ç¿¿\000\000\000\0006\000\000\000T\204U\tf\000\000\000'´\016(É\b\f\b@\204U\t\024\000\000\0006\000\000\000\001\000\000\000\001\000\000\000(\002ò\bxÇ¿¿X°\006\b(\002ò\b\000\000\200?çgc(\001\000\000\000\227Õb(\024\225c(¸Ç¿¿!°b("
	returned_e3d = (e3d_object *) 0xc3ef900
	our_object = (object3d *) 0xc268a00
	i = 300
	bbox = {bbmin = {32.5878563, 73.5890198, -1.49011612e-08}, bbmax = {32.9121437, 73.9109802, 0.369562745}}
	texture_id = 92
	ZERO_MD5 = '\0' <repeats 15 times>
#7  0x08050910 in add_e3d (file_name=0x80dc89c "./3dobjects/misc_objects/bag1.e3d", x_pos=32.75, y_pos=73.75, z_pos=-1.49011612e-08, x_rot=0, y_rot=0, z_rot=0,
self_lit=1 '\001', blended=0 '\0', r=1, g=1, b=1, dynamic=1) at 3d_objects.c:544
	i = 5922
#8  0x080616ee in put_bag_on_ground (bag_x=65, bag_y=147, bag_id=0) at bags.c:57
	x = 32.75
	y = 73.75
	z = -1.49011612e-08
	obj_3d_id = -1077950176
#9  0x0809ee52 in process_message_from_server (in_data=0x9248170 "\033\006", data_length=8) at multiplayer.c:699
	text_buf = "\205[spree61]: \201pen\000l\000ldn't have shared that on #1 :P\000\000\b{\027\r\b{\027\r\234ο¿\230ο¿", '\0' <repeats 28 times>, "\200", '\0' <repeats 15 times>, " ο¿\000\000zD@)½(À)½(", '\0' <repeats 16 times>, "\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001", '\0' <repeats 11 times>, "ÀÅU\t\000\000\000\000\017", '\0' <repeats 11 times>, "ÿÿÿÿ\000\000\000\000\000\000\200¿", '\0' <repeats 16 times>, "\001", '\0' <repeats 19 times>...
#10 0x08097f18 in start_rendering () at main.c:116
	message = (message_t *) 0x9248160
	event = {type = 24 '\030', active = {type = 24 '\030', gain = 0 '\0', state = 0 '\0'}, key = {type = 24 '\030', which = 0 '\0', state = 0 '\0', keysym = {
  scancode = 2 '\002', sym = SDLK_UNKNOWN, mod = 672631588, unicode = 24864}}, motion = {type = 24 '\030', which = 0 '\0', state = 0 '\0', x = 2, y = 0, xrel = 0,
yrel = 0}, button = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 2, y = 0}, jaxis = {type = 24 '\030', which = 0 '\0', axis = 0 '\0',
value = 2}, jball = {type = 24 '\030', which = 0 '\0', ball = 0 '\0', xrel = 2, yrel = 0}, jhat = {type = 24 '\030', which = 0 '\0', hat = 0 '\0',
value = 0 '\0'}, jbutton = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0'}, resize = {type = 24 '\030', w = 2, h = 0}, expose = {
type = 24 '\030'}, quit = {type = 24 '\030'}, user = {type = 24 '\030', code = 2, data1 = 0x0, data2 = 0x28178b24}, syswm = {type = 24 '\030', msg = 0x2}}
	done = 0
	network_thread_data = {0x955a140, 0x8266d30}
	music_thread = (SDL_Thread *) 0xb5e7400
	network_thread = (SDL_Thread *) 0xb5e7800
	message_queue = (queue_t *) 0x955a140
#11 0x08098200 in main (argc=1, argv=0xbfbfe9dc) at main.c:233
No locals.

 

Build options:

OPTIONS=-DBSD -DELC -DUSE_FRAMEBUFFER -DNEW_FRUSTUM -DBUG_FIX_3D_OBJECTS_MIN_MAX -DNEW_TEX -DNEW_WEATHER -DOPTIONS_I18N -DNETWORK_THREAD -DWIDGETS_FIX -DNEW_ACTOR_ANIMA
TION

Share this post


Link to post
Share on other sites

Forwarding a message from Xaphier:

 

cvs up

 

If you get more crashes, please post the error_log.txt as well as the backtrace - it will contain some information about the bbox tree that he can use for debugging.

Share this post


Link to post
Share on other sites

With CVS from 2005-12-30 16:30 CEST.

 

When it crashes, i don't get any info about bbox tree.

 

Following is what i get:

on startup

 

unknown frame property "CAL_idle3"
unknown frame property "CAL_pain3"
unknown frame property "CAL_die3"
unknown frame property "CAL_idle3"
unknown frame property "CAL_pain3"
unknown frame property "CAL_die3"
unknown frame property "CAL_idle3"
unknown frame property "CAL_pain3"
unknown frame property "CAL_die3"
unknown frame property "CAL_idle3"
unknown frame property "CAL_pain3"
unknown frame property "CAL_die3"
unknown frame property "CAL_idle3"
unknown frame property "CAL_pain3"
unknown frame property "CAL_die3"
unknown frame property "CAL_idle3"
unknown frame property "CAL_pain3"
unknown frame property "CAL_die3"
bbox_tree.c.free_bbox_tree_data:418 - bbox_tree->items is NULL
bbox_tree.c.free_bbox_tree_data:437 - bbox_tree is NULL

 

on normal quit i get almost 6000 of

bbox_tree.c.delete_aabb_from_abt:1119 - bbox_tree is NULL

 

//Gasp0dE

Share this post


Link to post
Share on other sites

Thought i'd keep posting crashes connected to NEW_FRUSTUM so it can get fixed.

 

Here is one when i had made HE's in MM cave and walked to Judith. When i came near judith, all objects and lights dissapeared except other characters.

 

gdb info:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x9029000 (LWP 100238)]
0x080656a6 in add_dynamic_aabb_to_abt_node (node=0xff1c1c1c, bbox={bbmin = {127.08786, 156.08902, -1.49011612e-08}, bbmax = {127.41214, 156.41098, 0.369562745}},
ID=5924, type=16, texture_id=92, md5=0xbfbfc6a0 "") at bbox_tree.c:918
918					 if (check_aabb_aabb(node->orig_bbox, bbox, 1.1f))
(gdb) print node->orig_bbox
Error accessing memory address 0xff1c1c34: Bad address.
(gdb) print check_aabb_aabb(node->orig_bbox, bbox, 1.1f)
Invalid number "1.1f".
(gdb) backtrace full
#0  0x080656a6 in add_dynamic_aabb_to_abt_node (node=0xff1c1c1c, bbox={bbmin = {127.08786, 156.08902, -1.49011612e-08}, bbmax = {127.41214, 156.41098, 0.369562745}},
ID=5924, type=16, texture_id=92, md5=0xbfbfc6a0 "") at bbox_tree.c:918
	result = 3217016496
	extra = 3217025508
#1  0x08065737 in add_dynamic_aabb_to_abt_node (node=0xd573000, bbox={bbmin = {127.08786, 156.08902, -1.49011612e-08}, bbmax = {127.41214, 156.41098, 0.369562745}},
ID=5924, type=16, texture_id=92, md5=0xbfbfc6a0 "") at bbox_tree.c:921
	result = 1125935414
	extra = 1
#2  0x080653e3 in add_aabb_to_abt (bbox_tree=0x91e6000, bbox={bbmin = {127.08786, 156.08902, -1.49011612e-08}, bbmax = {127.41214, 156.41098, 0.369562745}}, ID=5924,
type=16, texture_id=92, md5=0xbfbfc6a0 "", dynamic=1) at bbox_tree.c:942
	result = 14
	__FUNCTION__ = "add_aabb_to_abt"
#3  0x08065b0d in add_3dobject_to_abt (bbox_tree=0x91e6000, ID=5924, bbox=
	{bbmin = {127.08786, 156.08902, -1.49011612e-08}, bbmax = {127.41214, 156.41098, 0.369562745}}, blend=0, ground=0, alpha=0, self_lit=1, texture_id=92,
md5=0xbfbfc6a0 "", dynamic=1) at bbox_tree.c:956
No locals.
#4  0x08050530 in add_e3d_at_id (id=5924, file_name=0x80df564 "./3dobjects/misc_objects/bag1.e3d", x_pos=127.25, y_pos=156.25, z_pos=-1.49011612e-08, x_rot=0,
y_rot=0, z_rot=0, self_lit=1 '\001', blended=0 '\0', r=1, g=1, b=1, dynamic=1) at 3d_objects.c:519
	fname = "./3dobjects/misc_objects/bag1.e3d\000\000\000®Ç¿¿\000\000\000\000D\000\000\000\"Y\210\vf\000\000\000'ä\016(É0\f\b\000Y\210\v\"\000\000\000D\000\000\000\001\000\000\000\001\000\000\000ø0ò\bç\227c(\001\000\000\000\227\005c(\024Åc(¨Ç¿¿!àb(\000\220\002\tH\220\002\t\017\000\000\000\000\000\000\005"
	returned_e3d = (e3d_object *) 0xc484400
	our_object = (object3d *) 0xd13e100
	i = 300
	bbox = {bbmin = {127.08786, 156.08902, -1.49011612e-08}, bbmax = {127.41214, 156.41098, 0.369562745}}
	texture_id = 92
	ZERO_MD5 = '\0' <repeats 15 times>
	__FUNCTION__ = "add_e3d_at_id"
#5  0x08050c30 in add_e3d (file_name=0x80df564 "./3dobjects/misc_objects/bag1.e3d", x_pos=127.25, y_pos=156.25, z_pos=-1.49011612e-08, x_rot=0, y_rot=0, z_rot=0,
self_lit=1 '\001', blended=0 '\0', r=1, g=1, b=1, dynamic=1) at 3d_objects.c:544
	i = 5924
#6  0x08061c9e in put_bag_on_ground (bag_x=254, bag_y=312, bag_id=3) at bags.c:57
	x = 127.25
	y = 156.25
	z = -1.49011612e-08
	obj_3d_id = -1077950176
#7  0x080a0b7f in process_message_from_server (in_data=0x9640a80 "\033\006", data_length=8) at multiplayer.c:699
	text_buf = "\205[tiptop25]: \201Pc full iron set\000+vial, or 30 emp's 250gc. pm me\000ly :)\000Pm me with \"loc\" to find me, or \"inv\" to see my wares;)\000ebsite. If you would rather learn by doing, talk to the Tutorial NPC, whic"...
#8  0x08099b18 in start_rendering () at main.c:116
	message = (message_t *) 0x96409f0
	event = {type = 24 '\030', active = {type = 24 '\030', gain = 0 '\0', state = 0 '\0'}, key = {type = 24 '\030', which = 0 '\0', state = 0 '\0', keysym = {
  scancode = 2 '\002', sym = SDLK_UNKNOWN, mod = 672643876, unicode = 45728}}, motion = {type = 24 '\030', which = 0 '\0', state = 0 '\0', x = 2, y = 0, xrel = 0,
yrel = 0}, button = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 2, y = 0}, jaxis = {type = 24 '\030', which = 0 '\0', axis = 0 '\0',
value = 2}, jball = {type = 24 '\030', which = 0 '\0', ball = 0 '\0', xrel = 2, yrel = 0}, jhat = {type = 24 '\030', which = 0 '\0', hat = 0 '\0',
value = 0 '\0'}, jbutton = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0'}, resize = {type = 24 '\030', w = 2, h = 0}, expose = {
type = 24 '\030'}, quit = {type = 24 '\030'}, user = {type = 24 '\030', code = 2, data1 = 0x0, data2 = 0x2817bb24}, syswm = {type = 24 '\030', msg = 0x2}}
	done = 0
	network_thread_data = {0x93b05d0, 0x82694f0}
	music_thread = (SDL_Thread *) 0xb61c400
	network_thread = (SDL_Thread *) 0xb721400
	message_queue = (queue_t *) 0x93b05d0
#9  0x08099e00 in main (argc=1, argv=0xbfbfe9dc) at main.c:233
No locals.

 

I have not included anything from error_log.txt as I don't get any info in there when it crashes.

 

One thing with this crash is that it tries to do check_aabb_aabb(node->orig_bbox, bbox, 1.1f), but 1.1f is an invalid number?

 

 

//Gasp0dE

Edited by Gasp0dE

Share this post


Link to post
Share on other sites

Thanks for your help! Can you give us some infos about your pc, os, used libs etc? And if the client crash again, can you please do a print main_bbox_tree->nodes in gdb. It seems like something kills some part of that memory.

Share this post


Link to post
Share on other sites

Here you are:

 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x902c000 (LWP 100198)]
0x080669d6 in add_dynamic_aabb_to_abt_node (node=0xff1a1a1a, bbox={bbmin = {45.0878563, 84.5890198, -1.49011612e-08}, bbmax = {45.4121437, 84.9109802, 0.369562745}},
ID=664, type=16, texture_id=92, md5=0xbfbfc6a0 "") at bbox_tree.c:926
926					 if (check_aabb_aabb(node->orig_bbox, bbox, 1.1f))

(gdb) print main_bbox_tree->nodes
$3 = (BBOX_TREE_NODE *) 0xba83000

(gdb) backtrace full
#0  0x080669d6 in add_dynamic_aabb_to_abt_node (node=0xff1a1a1a, bbox=
	{bbmin = {45.0878563, 84.5890198, -1.49011612e-08}, bbmax = {45.4121437, 84.9109802, 0.369562745}}, ID=664, type=16, texture_id=92, md5=0xbfbfc6a0 "")
at bbox_tree.c:926
	result = 3217016496
	extra = 3217025508
#1  0x08066a67 in add_dynamic_aabb_to_abt_node (node=0xba3b000, bbox=
	{bbmin = {45.0878563, 84.5890198, -1.49011612e-08}, bbmax = {45.4121437, 84.9109802, 0.369562745}}, ID=664, type=16, texture_id=92, md5=0xbfbfc6a0 "")
at bbox_tree.c:929
	result = 1118425708
	extra = 1
#2  0x08066703 in add_aabb_to_abt (bbox_tree=0x91ed000, bbox={bbmin = {45.0878563, 84.5890198, -1.49011612e-08}, bbmax = {45.4121437, 84.9109802, 0.369562745}},
ID=664, type=16, texture_id=92, md5=0xbfbfc6a0 "", dynamic=1) at bbox_tree.c:950
	result = 14
	__FUNCTION__ = "add_aabb_to_abt"
#3  0x08066e5d in add_3dobject_to_abt (bbox_tree=0x91ed000, ID=664, bbox=
	{bbmin = {45.0878563, 84.5890198, -1.49011612e-08}, bbmax = {45.4121437, 84.9109802, 0.369562745}}, blend=0, ground=0, alpha=0, self_lit=1, texture_id=92,
md5=0xbfbfc6a0 "", dynamic=1) at bbox_tree.c:964
No locals.
#4  0x080518c0 in add_e3d_at_id (id=664, file_name=0x80e1f24 "./3dobjects/misc_objects/bag1.e3d", x_pos=45.25, y_pos=84.75, z_pos=-1.49011612e-08, x_rot=0, y_rot=0,
z_rot=0, self_lit=1 '\001', blended=0 '\0', r=1, g=1, b=1, dynamic=1) at 3d_objects.c:519
	fname = "./3dobjects/misc_objects/bag1.e3d\000\000\rÃ\r>\n\230Ç¿¿\001\000\000\000äé¿¿#\024\017(HÇ¿¿ù\024\f\b\004Nò\b2\000\000\000ln\016\b\200Ç¿¿\000Nò\b©\233\000\000\217Éc(\001\000\000\000?7c(´öc(¨Ç¿¿É\021c(\000À\002\tHÀ\002\t\017\000\000\000r\236]("
	returned_e3d = (e3d_object *) 0xc153300
	our_object = (object3d *) 0xc44cc00
	i = 300
	bbox = {bbmin = {45.0878563, 84.5890198, -1.49011612e-08}, bbmax = {45.4121437, 84.9109802, 0.369562745}}
	texture_id = 92
	ZERO_MD5 = '\0' <repeats 15 times>
	__FUNCTION__ = "add_e3d_at_id"
#5  0x08051a40 in add_e3d (file_name=0x80e1f24 "./3dobjects/misc_objects/bag1.e3d", x_pos=45.25, y_pos=84.75, z_pos=-1.49011612e-08, x_rot=0, y_rot=0, z_rot=0,
self_lit=1 '\001', blended=0 '\0', r=1, g=1, b=1, dynamic=1) at 3d_objects.c:544
	i = 664
#6  0x08062e9e in put_bag_on_ground (bag_x=90, bag_y=169, bag_id=0) at bags.c:57
	x = 45.25
	y = 84.75
	z = -1.49011612e-08
	obj_3d_id = 20
#7  0x080a290f in process_message_from_server (in_data=0x9647770 "\033\006", data_length=8) at multiplayer.c:699
	text_buf = "\000\000\000\000\001", '\0' <repeats 39 times>, "ÿÿ\001\000\003\000\000\000\b­W\f\b­W\f\234ο¿\230ο¿", '\0' <repeats 28 times>, "\200", '\0' <repeats 15 times>, " ο¿\000\000zD@\211½(À\211½(", '\0' <repeats 16 times>, "\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001\000\000\000\001", '\0' <repeats 11 times>, "@\fZ\t\000\000\000\000\017", '\0' <repeats 11 times>, "ÿÿÿÿ\000\000\000\000\000\000\200¿", '\0' <repeats 16 times>, "\001", '\0' <repeats 19 times>, "\0202\0202\0202\0202\0202\0202\0202\0202\0202\0202\0202\020"...
#8  0x0809b7a8 in start_rendering () at main.c:116
	message = (message_t *) 0x9647760
	event = {type = 24 '\030', active = {type = 24 '\030', gain = 0 '\0', state = 0 '\0'}, key = {type = 24 '\030', which = 0 '\0', state = 0 '\0', keysym = {
  scancode = 2 '\002', sym = SDLK_UNKNOWN, mod = 672656164, unicode = 7104}}, motion = {type = 24 '\030', which = 0 '\0', state = 0 '\0', x = 2, y = 0, xrel = 0,
yrel = 0}, button = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0', x = 2, y = 0}, jaxis = {type = 24 '\030', which = 0 '\0', axis = 0 '\0',
value = 2}, jball = {type = 24 '\030', which = 0 '\0', ball = 0 '\0', xrel = 2, yrel = 0}, jhat = {type = 24 '\030', which = 0 '\0', hat = 0 '\0',
value = 0 '\0'}, jbutton = {type = 24 '\030', which = 0 '\0', button = 0 '\0', state = 0 '\0'}, resize = {type = 24 '\030', w = 2, h = 0}, expose = {
type = 24 '\030'}, quit = {type = 24 '\030'}, user = {type = 24 '\030', code = 2, data1 = 0x0, data2 = 0x2817eb24}, syswm = {type = 24 '\030', msg = 0x2}}
	done = 0
	network_thread_data = {0x93b75d0, 0x826cd30}
	music_thread = (SDL_Thread *) 0xb5ff400
	network_thread = (SDL_Thread *) 0xb63c400
	message_queue = (queue_t *) 0x93b75d0
#9  0x0809bab5 in main (argc=1, argv=0xbfbfe9dc) at main.c:233

 

happens when i switch between outside and inside mostly.

 

I am running FreeBSD 6-STABLE in my WS.

kernel is using SMP.

 

cal3d is installed through ports.

 

HW is p4 3.0 with HTT on. Only 1 gig ram atm.

 

 

//Gasp0dE

Edited by Gasp0dE

Share this post


Link to post
Share on other sites

Thanks. Can you please try the current cvs? I changed some things in the new frustum code. They should help to avoid the crashs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×