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

Crash in eyecandy summoning code

Recommended Posts

I wandered around the WS summoning area. Took a while to get away from there because of this: :doze:

Program terminated with signal 8, Arithmetic exception.
#0  0x081373dc in ec::SummonEffect::request_LOD (this=0xf83d720, _LOD=0) at eye_candy/effect_summon.cpp:973
973	   count_scalar = 3000 / LOD;
gdb> bt
#0  0x081373dc in ec::SummonEffect::request_LOD (this=0xf83d720, _LOD=0) at eye_candy/effect_summon.cpp:973
#1  0x081427a2 in SummonEffect (this=0xf83d720, _base=0x8325ec0, _dead=0x1089453c, _pos=0x10894504, _type=ec::SummonEffect::BROWN_SNAKE, _LOD=0xa) at eye_candy/effect_summon.cpp:612
#2  0x080f74bf in ec_create_summon_brown_snake (x=85.25, y=43.75, z=-1.49011612e-08, LOD=0xa) at eye_candy_wrapper.cpp:1543
#3  0x080f115e in parse_special_effect (sfx=SPECIAL_EFFECT_SUMMON_BROWN_SNAKE, data=0xb08008bc) at special_effects.c:735
#4  0x080ab98e in process_message_from_server (in_data=0xb08008b8 "O\b", data_length=0xa) at multiplayer.c:1670
#5  0x080a277d in start_rendering () at main.c:114
#6  0x080a2a7a in main (argc=0x1, argv=0xbfa6b734) at main.c:239
#Current language:  auto; currently c++
gdb> bt full
#0  0x081373dc in ec::SummonEffect::request_LOD (this=0xf83d720, _LOD=0) at eye_candy/effect_summon.cpp:973
	rounded_LOD = 0x0
#1  0x081427a2 in SummonEffect (this=0xf83d720, _base=0x8325ec0, _dead=0x1089453c, _pos=0x10894504, _type=ec::SummonEffect::BROWN_SNAKE, _LOD=0xa) at eye_candy/effect_summon.cpp:612
No locals.
#2  0x080f74bf in ec_create_summon_brown_snake (x=85.25, y=43.75, z=-1.49011612e-08, LOD=0xa) at eye_candy_wrapper.cpp:1543
	ret = (ec_internal_reference *) 0x10894500
#3  0x080f115e in parse_special_effect (sfx=SPECIAL_EFFECT_SUMMON_BROWN_SNAKE, data=0xb08008bc) at special_effects.c:735
	offset = 0x0
	var_a = 0x156
	var_b = 0x0
	caster = (actor *) 0xfa8cd60
	target = (actor *) 0x818c019
	x = 170
	y = 87
#4  0x080ab98e in process_message_from_server (in_data=0xb08008b8 "O\b", data_length=0xa) at multiplayer.c:1670
	text_buf = "\205[trishanna]: \201thx for hosting sway :)\000ve misunderstood\000g in my first contest\000fth :D\00035]C,��Death EsnE��\215\200W\020\215\200W\020\t\000\000\000�O��\225W\030\b0���x���\212ʫ�\234���\225W\030\b\000\000\000\000/wanted]\000ach.\000��0\216<\017�����\226���w��T���\000@\000\000\000\000\000\000����\000\000\000\000"...
#5  0x080a277d in start_rendering () at main.c:114
	message = (message_t *) 0xb0801598
	event = {
 type = 0x18, 
 active = {
type = 0x18, 
gain = 0xd3, 
state = 0x9a
 }, 
 key = {
type = 0x18, 
which = 0xd3, 
state = 0x9a, 
keysym = {
  scancode = 0x3, 
  sym = 2996491064, 
  mod = 3086444881, 
  unicode = 0x77e8
}
 }, 
 motion = {
type = 0x18, 
which = 0xd3, 
state = 0x9a, 
x = 0x3, 
y = 0x0, 
xrel = 0xd338, 
yrel = 0xb29a
 }, 
 button = {
type = 0x18, 
which = 0xd3, 
button = 0x9a, 
state = 0xb2, 
x = 0x3, 
y = 0x0
 }, 
 jaxis = {
type = 0x18, 
which = 0xd3, 
axis = 0x9a, 
value = 0x3
 }, 
 jball = {
type = 0x18, 
which = 0xd3, 
ball = 0x9a, 
xrel = 0x3, 
yrel = 0x0
 }, 
 jhat = {
type = 0x18, 
which = 0xd3, 
hat = 0x9a, 
value = 0xb2
 }, 
 jbutton = {
type = 0x18, 
which = 0xd3, 
button = 0x9a, 
state = 0xb2
 }, 
 resize = {
type = 0x18, 
w = 0x3, 
h = 0xb29ad338
 }, 
 expose = {
type = 0x18
 }, 
 quit = {
type = 0x18
 }, 
 user = {
type = 0x18, 
code = 0x3, 
data1 = 0xb29ad338, 
data2 = 0xb7f76951
 }, 
 syswm = {
type = 0x18, 
msg = 0x3
 }
}
	network_thread = (SDL_Thread *) 0xc333df0
	message_queue = (queue_t *) 0xc304830
	done = 0x0
	network_thread_data = {0xc304830, 0x8324a74}
#6  0x080a2a7a in main (argc=0x1, argv=0xbfa6b734) at main.c:239
No locals.
gdb> list
968		   outer_size = inner_size / 15;
969		   break;
970		 }
971	   }
972	   outer_radius = outer_size * (LOD + 3) / 10;
973	   count_scalar = 3000 / LOD;
974	 }
975
976	 bool SummonEffect::idle(const Uint64 usec)
977	 {
gdb> up 1
#1  0x081427a2 in SummonEffect (this=0xf83d720, _base=0x8325ec0, _dead=0x1089453c, _pos=0x10894504, _type=ec::SummonEffect::BROWN_SNAKE, _LOD=0xa) at eye_candy/effect_summon.cpp:612
612	   request_LOD((float)base->last_forced_LOD);
gdb> list
607		 }
608	   }
609	   outer_alpha = 1.0;
610	   
611	   LOD = 100;	// Force refresh
612	   request_LOD((float)base->last_forced_LOD);
613	   
614	   inner_color[0] = outer_color[0];
615	   inner_color[1] = outer_color[1];
616	   inner_color[2] = outer_color[2];

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.

×