[fix]Crash, get_card_instance(24248861, )
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
[fix]Crash, get_card_instance(24248861, )
by gnomefry » 14 Jul 2020, 01:33
Is it helpful to report a crash such as this that happens each time a particular turn is loaded? Call from the Grave is not in either side's deck. Savegame and dump file attached. Thanks!
version 6-2020 v3 a8bbff706 - gauntlet
version 6-2020 v3 a8bbff706 - gauntlet
- Code: Select all
bad parameters
get_card_instance(24248861, 24248861)
0: 0x02521348
1: 0x024D693E
2: 0x024E486B
3: 0x0043467C
4: 0x0043C147
5: 0x004399BD
6: 0x0047902C
7: 0x004946E9
8: 0x75F06359
9: 0x77D27B74
10: 0x77D27B44
- Attachments
-
dump.rar
- (226 Bytes) Downloaded 191 times
-
Crash_AUTOSAVE.rar
- (2.23 KiB) Downloaded 189 times
Last edited by drool66 on 24 Dec 2020, 19:24, edited 3 times in total.
Reason: fix
Reason: fix
Re: Crash, get_card_instance(24248861, 24248861)
by Aswan jaguar » 14 Jul 2020, 12:49
This bug is again about Arcbound Ravager but I don't know if this time is something that we changed lately in sacrifice code or elsewhere because the get_card_instance(24248861, 24248861) I think is quite different than others we had before and nothing has been changed to Arcbound Ravager's own code.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: Crash, get_card_instance(24248861, 24248861)
by FastEddie » 14 Jul 2020, 13:39
This is definitly something different. Usually parameters were (-1,-1) which means something wasn't set on the way. This is also not an overflow, so no simple explanation as of pixel time.
I might have a look into this later and see were I end up, but there are a few other bugs on my list that I would like to tackle first to get to know the code better.
Edit: I just got the same message in connection with Arcbound Ravager. Figures were identical down to position 8, so it looks like a certain function is called in a certain way (going up from 8 to 0) that it doesn't like. At least no randomness.
I might have a look into this later and see were I end up, but there are a few other bugs on my list that I would like to tackle first to get to know the code better.
Edit: I just got the same message in connection with Arcbound Ravager. Figures were identical down to position 8, so it looks like a certain function is called in a certain way (going up from 8 to 0) that it doesn't like. At least no randomness.
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Re: Crash, get_card_instance(24248861, 24248861)
by gnomefry » 15 Jul 2020, 02:00
{Edit: I mixed up save files on this second crash. I'll strike this one out and make a new post if I can reproduce the crash. Sorry.}
Here's a crash message I get on the opponent's turn. The first numbers in the dump file are the same as the previous one in this thread. But this time the opponent is using what looks to be a mono-red deck.
The turn begins by the AI casting ball lightning and the crash seems to come with whatever it tries to do next. Savegame and dump file attached. Thanks!
version 6-2020 v3 a8bbff706 - gauntlet
The turn begins by the AI casting ball lightning and the crash seems to come with whatever it tries to do next. Savegame and dump file attached. Thanks!
version 6-2020 v3 a8bbff706 - gauntlet
- Code: Select all
bad parameters
get_card_instance(24248861, 24248861)
0: 0x02521348
1: 0x024D693E
2: 0x024E486B
3: 0x0043467C
4: 0x0043C147
5: 0x004399BD
6: 0x0047902C
7: 0x004946E9
8: 0x75F06359
9: 0x77D27B74
10: 0x77D27B44
- Attachments
-
dump.rar
- (226 Bytes) Downloaded 185 times
-
crash_AUTOSAVE.rar
- (1.73 KiB) Downloaded 165 times
Last edited by gnomefry on 15 Jul 2020, 15:22, edited 1 time in total.
Re: Crash, get_card_instance(24248861, 24248861)
by Aswan jaguar » 15 Jul 2020, 11:58
When I load your savegame I get a crash but never a dump error.
Also the dump you uploaded is in fact about get_card_instance(24258771, 24258771) and not the one you have copy/pasted which is different in the 5 last numbers from first get_card_instance(24248861, 24248861).

Also the dump you uploaded is in fact about get_card_instance(24258771, 24258771) and not the one you have copy/pasted which is different in the 5 last numbers from first get_card_instance(24248861, 24248861).
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8129
- Joined: 13 May 2010, 12:17
- Has thanked: 748 times
- Been thanked: 477 times
Re: Crash, get_card_instance(24248861, 24248861)
by gnomefry » 15 Jul 2020, 15:12
Oh crumbs. Sorry, AJ. For this second crash I posted last night I must have mixed up the dump/save files I wanted to post. Which isn't helpful towards figuring it all out!
I'll strike-through the second post and be more careful with my posted files on the next crash.
I'll strike-through the second post and be more careful with my posted files on the next crash.
Re: Crash, get_card_instance(24248861, 24248861)
by FastEddie » 15 Jul 2020, 15:49
The dump still makes kinda sense as the topmost address is the misbehaving function. Differences lower in the stack mean that the way taken to get this result was different but that doesn't invalidate it.
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Re: Crash, get_card_instance(24248861, 24248861)
by drool66 » 15 Jul 2020, 19:17
Jumping on this, maybe the conversation needs to move to the dev forum, but FastEddie, any way you can analyze what's happening in the Arcbound Ravager - Cranial Plating interaction? This is probably the most perplexing problem of all to me right now.
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1185
- Joined: 25 Nov 2010, 22:38
- Has thanked: 187 times
- Been thanked: 280 times
Re: Crash, get_card_instance(24248861, 24248861)
by FastEddie » 16 Jul 2020, 16:20
I had (resp am still having) a quick first look.
Following your suggestion I opened a new thread in the developers forum here:
https://www.slightlymagic.net/forum/viewtopic.php?f=56&t=29897
Following your suggestion I opened a new thread in the developers forum here:
https://www.slightlymagic.net/forum/viewtopic.php?f=56&t=29897
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Re: [confirmed]Crash, get_card_instance(24248861, 24248861)
by FastEddie » 10 Aug 2020, 16:26
Can we mark this as partially fixed? Drool66 fixed it such that it doesn't carsh, although the solution is not perfect (but the best we have right now and I am glad for it).
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Re: [fix]Crash, get_card_instance(24248861, )
by drool66 » 24 Dec 2020, 19:25
I'm going to go ahead and mark this one fixed as of f0d1eb8 (Fix cases of illegal_state = TARGET_STATE_DYING / _DESTROYED - the one that fixed Arcbound Ravager)
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1185
- Joined: 25 Nov 2010, 22:38
- Has thanked: 187 times
- Been thanked: 280 times
11 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 47 guests