Page 1 of 1

[fixed]Another bad parameter alert and crash to desktop.

PostPosted: 31 Oct 2021, 09:53
by etphonehome
Another bad parameter alert and crash to desktop.

THX

Re: Another bad parameter alert and crash to desktop.

PostPosted: 02 Nov 2021, 16:59
by drool66
This one is a little over my head :/

Re: Another bad parameter alert and crash to desktop.

PostPosted: 03 Nov 2021, 02:00
by Korath
The dump in your attachment doesn't match the one in your screenshot.

If you get multiple popups, we need to see the debugging data from the first one to have any hope of being able to fix it. The second and later ones almost always happen because the attempt to recover from the first wasn't wholly successful. It's not entirely clear whether your attachment or your screenshot came first.

drool66 wrote:This one is a little over my head :/
If the screenshot came first, then there's a card (likely in the AI's hand) with code_pointer==NULL. Hard to figure out which with neither a save nor a decklist. I suppose one of the maintenance scripts in magic_updater/ could be tweaked to look for cards with CODED CARD==1 in Manalink.csv and Code Address==0 in ct_all.csv, but it could just as easily have been caused by putting an invalid card in one of the decks.

Re: Another bad parameter alert and crash to desktop.

PostPosted: 03 Nov 2021, 06:40
by Aswan jaguar
I am about to push a fix for such a bug for Apes of Rath that I forgot to add code address for in ct_all and found about it yesterday. :oops:
There could be more but I have no idea how to cross compare the two files.

@etphonehome Unfortunately this time you didn't upload the AUTOSAVE.E1M file. Also the way to get the first dump is before you click on it, to go on your main file and rename the latest dump and save it and then click to continue.

Re: Another bad parameter alert and crash to desktop.

PostPosted: 03 Nov 2021, 10:19
by Korath
As of commit 1543e903f:
Apes of Rath: CODED CARD='1', Code Address='0x000000'
Barkhide Mauler: CODED CARD='1', Code Address='0x000000'
Daraja Griffin: CODED CARD='1', Code Address='0x000000'
Macetail Hystrodon: CODED CARD='1', Code Address='0x000000'
Orcish Squatters: CODED CARD='1', Code Address='0x000000'
Order of the Sacred Torch: CODED CARD='1', Code Address='0x000000'
Stromgald Cabal: CODED CARD='1', Code Address='0x000000'
Zap: CODED CARD='1', Code Address='0x000000'

Re: Another bad parameter alert and crash to desktop.

PostPosted: 03 Nov 2021, 14:16
by Aswan jaguar
Fixed my mess here in commit fc72c4f.