2023-12-04 00:30 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006208TFX[All Projects] Generalpublic2023-10-09 18:17
Assigned ToparajProject InfoTFX (Digital Image Design)
Summary0006208: WINUAE 4.9.1, 060. Mmmh, current WHDLoad crashes with 1111 Emulator error quite
DescriptionGameVersion: english,pal
SlaveVersion: 2.0 (25.06.2023)

WINUAE 4.9.1, 060.
Mmmh, current WHDLoad crashes with 1111 Emulator error quite often doing this with maxed out gfx configuration:
1. select Training (skip briefing with ESC)
2. select Default gear
3. press A for Autopilot
4. fire missiles (joystick fire button or SPACE)
5. press F8 for missile camera view. If you press F8 twice for night-mode it will crash even more often
repeat 4-5 until you finish your weapons.
The crash is random and not always reproducible but definitely happens quite often if you try at least 5 times...
Tried also to force 020 exe and just Skip Intro + show frame rate but was still reproducible.
I was able to reproduce the crash even using original rendering engine option. I think it's an original game bug.
ERROR DUMP FILES: https://1drv.ms/u/s!ApMUGr0cuN39gs1a7VFgckxd-GNMCw?e=mIyysU
TagsNo tags attached.
ChipMem2 MB
FastMem256 MB
WorkbenchOS 3.9
KickROM40 - Kick 3.1
Attached Files



note ~0013054

paraj (developer)

Thanks for the extended memory dump.

Repeating some info here (in case download link goes away).

First thoughts:
Crash is because something wrote $ffff9e6e (so likely negative longword) into the middle of the function. Since I have complete memory dump I can also see that max objects (348) has been reached. That would always crash the original version of the game, and I can see my fix for that is working. However it does seem suspicious, and maybe I didn't catch everything.

Register info:

************************* 15-Lug-23 14:34:23 ************************18.9.6601***
Slave='TFXbeta.slave' (33356 bytes)
Resload 6F932000 - 6F93A61C ( 34332) at 6F932000 GL=$6FFBD000
Slave 6FFC6000 - 6FFCE228 ( 33320) at 6FFC6000 BaseMemSize=$1FF000
ExpMem 6F93C000 - 6FFBC000 (6815744) at 6F93C000
attn=2FF(60,82) fc=-1 kn=10336 zpt=-1 ep=0 ei=0

Exception "Line 1111 Emulator" ($2C) at $6FA4249A (Task 'Initial CLI', Prg
'TFX' Off $54DE2, ExpMem $10649A) occurred.

$6fa4246e dc.w $07fe
$6fa42470 asr.w #5,d0
$6fa42472 asr.w #5,d1
$6fa42474 asr.w #5,d2
$6fa42476 and.w d6,d0
$6fa42478 and.w d6,d1
$6fa4247a and.w d6,d2
$6fa4247c move.l #$6fa49164,a3
$6fa42482 move.l #$6fa556b4,a1
$6fa42488 move.l #$6fa558b4,a2
$6fa4248e move.w (0,a1,d0.w),d3 ;$6fa556b4
$6fa42492 ext.l d3
$6fa42494 move.w d3,($e,a3) ;$6fa49172
$6fa42498 move.w d1,d7
$6fa4249a line-f $ffff
$6fa4249c sub.w ($3a31,a6),d7 ;$6fa47511
$6fa424a0 moveq #0,d0
$6fa424a2 move.w d1,d7
$6fa424a4 sub.w d2,d7
$6fa424a6 and.w d6,d7
$6fa424a8 move.w (0,a1,d7.w),d4 ;$6fa558b4
$6fa424ac ext.l d5
$6fa424ae ext.l d4
$6fa424b0 move.l d5,d7
$6fa424b2 add.l d4,d7
$6fa424b4 muls.l d3,d7
$6fa424b8 asr.l #8,d7
$6fa424ba asr.l #7,d7
$6fa424bc neg.l d7

exception stackframe:
$6F9BE570 00006FA4 249A002C
regular stack:
$6F9D6180 6FA498DC 6FA46C7E 6FA44054 6FA46BB2 00000001 6F9BE684 00000001 1BE74563
$6F9D61A0 1BE7FFFF 00000001 6F9D6270 6F9D626F 6FA72590 6F9D62D8 6F9BCB00 6F9EEE6C
$6F9D61C0 00000001 6F9BE684 6F9D62D8 6F9BCB00 6F9EF544 0000FFFF 1BE74563 1BE743C7
$6F9D61E0 00000003 6F9D62DC 6F9D6278 6FA27018 6469643A 5C6C6576 5C736F6D 616C6961
$6F9D6200 006C6F62 616C5F38 2E544D00 00E743C7 6F9D6270 6F9D62DC 6F9BCB00 6FA2D04A

  ----0---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7----
Dx 3910000 FF880200 22AE0000 0 1 1BE74563 1BE707FE 200
Ax 6FACF528 6FA556B4 6FA558B4 6FA49164 6FA49772 6FA49082 6FA43AE0

                 TTSM III XNZVC
PC=6FA4249A SR=%0000000000000000 USP=6F9D6180 SSP=6F9BE570
VBR=6FFBE000 SFC=5 DFC=5 CACR=A0808000 PCR=4300603 BUSCR=0
TC=8000 URP=6FFD6E00 SRP=6FFD6E00 DTT0=0 DTT1=0 ITT0=0 ITT1=0

intena=%0110011000101100 dmacon=%0000001111111100 adkcon=$1100
vposr....A300 vhposr...0486 joy0dat..124C joy1dat..0000 clxdat...8067
pot0dat..0000 pot1dat..0000 potinp...5500 serdatr..3800 dskbytr..2000
deniseid.00F8 hhposr...0008
   ciaa: PI ROPS ciab: PI ROPS
    cra=00001000 ta=29DD<37A2 cra=00000000 ta=FFFF<FFFF
    crb=00000001 tb=737C<FFFF crb=10000000 tb=FFFF<FFFF
        10RTWCLO parallel DRCCDSOY M3210HDS
    pra=11111110 prb=11111111 pra=11111111 prb=11111111
       ddra=00000011 ddrb=00000000 ddra=11000000 ddrb=11111111
       event=000758 icr=00 sdr=00 event=00013B icr=00 sdr=00

Call stack:
6f9d6180 6fa498dc $5c224
6f9d6184 6fa46c7e $595c6
6f9d6188 6fa44054 $5699c
6f9d618c 6fa46bb2 $594fa

note ~0013055

Hexaae (reporter)

I was always able to reproduce it after 3-4 attempts (and pressing F8 for missile camera view mode switches)...
Should be reproducible for everyone I guess.

note ~0013116

paraj (developer)

Version 2.1 is online which should fix this issue.

note ~0013226

Hexaae (reporter)

This bug is fixed.
Even though I've found some other minor bugs probably present also in the original game... Will comment on EAB.

note ~0013229

paraj (developer)

Thanks for confirming, closing this issue.

-Issue History
Date Modified Username Field Change
2023-07-15 23:48 administrator New Issue
2023-07-16 19:44 paraj Note Added: 0013054
2023-07-17 01:17 Hexaae Note Added: 0013055
2023-08-10 19:26 paraj Note Added: 0013116
2023-10-09 10:59 Wepl Assigned To => paraj
2023-10-09 10:59 Wepl Status new => assigned
2023-10-09 12:03 Hexaae Note Added: 0013226
2023-10-09 18:17 paraj Status assigned => closed
2023-10-09 18:17 paraj Resolution open => fixed
2023-10-09 18:17 paraj Note Added: 0013229
+Issue History