It is currently 18 Apr 2024, 22:52
   
Text Size

[fixed] Nissa, Voice of Zendikar and Winding Constrictor

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

Re: Nissa(3) and Winding Constrictor

Postby Korath » 01 Dec 2021, 16:42

Still reproducible in dev. Here's a full backtrace from afb511433.

#0 show_backtrace (title=title@entry=0x268973a <words+442> "bad parameters", header=header@entry=0x1acdef1c "get_card_instance(0, -1)") at functions/show_backtrace.c:16
#1 0x025f59a2 in get_card_instance (player=player@entry=0, card=card@entry=-1) at functions/deck.c:324
#2 0x025f62d8 in get_card_data (player=player@entry=0, card=card@entry=-1) at functions/deck.c:427
#3 0x025c9d0c in is_what (player=player@entry=0, card=card@entry=-1, test_type=test_type@entry=66) at functions/functions.c:5741
#4 0x02615773 in get_updated_counters_number (player=0, card=card@entry=-1, type=type@entry=COUNTER_P1_P1, number=1) at functions/counters.c:961
#5 0x02618e0e in get_updated_counters_number (player=<optimized out>, player@entry=0, card=card@entry=-1, type=type@entry=COUNTER_P1_P1, number=1) at functions/counters.c:995
#6 0x025b1384 in cook_action (player=player@entry=0, raw_action=raw_action@entry=16777217, counter_type=counter_type@entry=0x1acdf030, counter_num=counter_num@entry=0x1acdf034) at functions/manipulate_and_damage_all.c:140
#7 0x025b1660 in new_manipulate_all (player=player@entry=0, card=card@entry=9, t_player=t_player@entry=0, this_test=this_test@entry=0x1acdf3d8, raw_action=raw_action@entry=16777217) at functions/manipulate_and_damage_all.c:191
#8 0x02216d8c in card_nissa_voice_of_zendikar (player=0, card=10, event=EVENT_RESOLVE_ACTIVATION) at cards/oath_of_the_gatewatch.c:4934
#9 0x02632135 in call_card_fn_impl () from .\ManalinkEh.dll
#10 0x0260cc8c in call_card_fn (address=0x200e689 <CodeSectionEx+54915>, instance=0x4f00f8 <sub_4E9564+27540>, player=player@entry=0, card=card@entry=10, event=event@entry=EVENT_RESOLVE_ACTIVATION) at functions/events.c:51
#11 0x025f2a75 in fx_activation_906 (player=0, card=10, event=EVENT_RESOLVE_ACTIVATION) at functions/engine.c:2388
#12 0x02632135 in call_card_fn_impl () from .\ManalinkEh.dll
#13 0x0260cc8c in call_card_fn (address=0x2011d70 <CodeSectionEx+68970>, instance=0x4f00f8 <sub_4E9564+27540>, player=player@entry=0, card=card@entry=10, event=event@entry=EVENT_RESOLVE_ACTIVATION) at functions/events.c:51
#14 0x0260d419 in call_card_function_i (event=EVENT_RESOLVE_ACTIVATION, card=10, player=0, instance=<optimized out>) at functions/events.c:30
#15 dispatch_event_to_single_card (player=0, card=10, event=EVENT_RESOLVE_ACTIVATION, new_attacking_card_controller=1, new_attacking_card=-1) at functions/events.c:271
#16 0x004368c6 in resolve_top_card_on_stack () at Magic2.asm:41793
#17 0x025f2b77 in finalize_activation (player=0, card=9) at functions/engine.c:2429
#18 0x0043c200 in main_phase () at Magic2.asm:45732
#19 0x004399bd in run_turn () at Magic2.asm:44078
#20 0x0047902c in start_duel () at Magic2.asm:76779
#21 0x004946e9 in start_duel_thread () at Magic2.asm:89827
#22 0x77c4fa29 in KERNEL32!BaseThreadInitThunk () from C:\WINDOWS\SysWOW64\kernel32.dll
#23 0x77e67a9e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll
#24 0x77e67a6e in ntdll!RtlGetAppContainerNamedObjectPath () from C:\WINDOWS\SysWOW64\ntdll.dll
#25 0x00000000 in ?? ()
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Nissa(3) and Winding Constrictor

Postby drool66 » 01 Dec 2021, 19:36

Fixed by passing "card" to cook_action() and moving all three calls to it at commit a71705b
Last edited by drool66 on 05 Dec 2021, 06:19, edited 1 time in total.
Reason: hash info
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 44 guests


Who is online

In total there are 44 users online :: 0 registered, 0 hidden and 44 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 44 guests

Login Form