WHDLoad MantisBT - Aladdin
View Issue Details
0006637Aladdin[WHDLoad Installs Games] AGApublic2024-11-23 06:432024-12-07 16:13
Reporterztronzo 
Assigned ToPsygore 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
MachineA1200
CPU68EC020
CPUSpeed14
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem0 MB
WorkbenchOS 3.0
KickROM40 - Kick 3.1
KickSoft40 - Kick 3.1
WHDLoad18.5
imported
Summary0006637: The bonus level "Abu in the Cave" crashes with Exception
DescriptionThe bonus level "Abu in the Cave" crashes with Exception "Address Error" ($b00c)
at $5ff47a
(which is right after the "Cave of Wonders" level 3.)
Immediately after the 3rd set of rocks fall and hit the ground and break, there is a 60% chance of getting an error.
Steps To Reproducestart with the following settings
WHDLoad Aladdin.slave ButtonWait Custom4=1 SavePath=RAM: NoWriteCache PRELOAD

Set joystick button to "Joypad throw" in the options menu.
(not sure if any of these steps play a role)

Reach the bonus level "Abu in the Cave"
(which is right after the "Cave of Wonders" level 3)
After the 3rd set of rocks fall, there is a 70% chance of getting an error:

Exception "Address Error" ($b00c)
at $5ff47a (Slave $35a) occured.
Additional InformationInstallation was done using IPF 0420
Ran using FS-UAE 3.1.66 and WinUAE 3.6.1
Tested with both slave files v1.7 and v1.8 with same results at the same bonus level
Tested with both WHDload v18.5.5948 and v19.0.6739 with same results at the same bonus level

Video showing the issue.
https://www.twitch.tv/amigalivegaming/clip/UninterestedOptimisticBorkDatBoi-yLon7-qTlwG3Ktj7


debug information
crash happens on reaching 005FF47A

0001117E 4eb9 005f f464 JSR $005ff464
005FF464 d040 ADD.W D0,D0
005FF466 45f2 0000 LEA.L (A2, D0.W*1, $00) == $001f74c4,A2
005FF46A b5fc 001f 4000 CMPA.L #$001f4000,A2
005FF470 6404 BCC.B #$04 == $005ff476 (T)
005FF476 4fef 000c LEA.L (A7, $000c) == $005f6dda,A7
005FF47A 4e75 RTS
00000000 0000 0000 OR.B #$00,D0


TagsNo tags attached.
Attached Files? Aladdin19.lha (1,549) 2024-12-07 16:12
http://whdload.de/mantis/file_download.php?file_id=1858&type=bug

Notes
(0014216)
ztronzo   
2024-11-23 06:47   
Correction needed, FastMem was set at 4MB (not 0MB as mentioned above)
(I was blind couldnt see the option for FastMem)

I have a state just before the crash in-case you require further debugging. But since there is a limit here, perhaps I should send to an e-mail address?
(0014217)
ztronzo   
2024-11-23 06:57   
I hope this may be helpful
https://amigalive.com/amiga.xyz/bugreports/Aladdin_AGA_WHD/np_Aladdin_(WHD).zip

Includes the following files:
Universal Save state file (WinUAE and FS-UAE)
WHDload crash dump files
(0014286)
Psygore   
2024-12-07 16:13   
Thanks for your bugreport.

Could you pls try the attached slave 1.9, it should fix this isssue.

Issue History
2024-11-23 06:43ztronzoNew Issue
2024-11-23 06:47ztronzoNote Added: 0014216
2024-11-23 06:57ztronzoNote Added: 0014217
2024-11-23 11:34PsygoreStatusnew => assigned
2024-11-23 11:34PsygoreAssigned To => Psygore
2024-12-07 16:12PsygoreFile Added: Aladdin19.lha
2024-12-07 16:13PsygoreNote Added: 0014286