English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 09 September 2016, 22:36   #1
Registered User
Join Date: Aug 2004
Posts: 2,829
Crash with Xebec 9720H config

Use the attached config which has a Xebec 9720H hard drive/controller configured.

Boot Xebec_9720H.dms. After the verifying pass, while the partition is formatting press F12 to open the GUI. WinUAE crashes then. Happens with 3.3.0 and 3.4.0b4.
Attached Files
File Type: uae A1000_Xebec_test.uae (11.7 KB, 22 views)
File Type: zip winuae_3.3.0_R_2016.09.09_20.31.51.dmp.zip (19.9 KB, 25 views)
mark_k is offline  
AdSense AdSense  
Old 10 September 2016, 09:38   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 20,652
What is your HDF size in bytes?

EDIT: Duplicated, some buffer overflow somewhere..

EDIT2: Fixed. It was unexpected side-effect of "cpu trace" which collects remaining CPU cycles if CPU is currently mid-instruction for "replying" for possible state file creation and loading. (It is always done when entering GUI to guarantee proper statefile if saved from GUI). If GUI was entered during Xebec internal DMA operation (Current CPU instruction was DMA enable write), whole DMA operation was collected which can be thousands of memory accesses, overflowing the buffer. (No normal instruction can overflow it, thats why there was no extra checks).

Correct fix would be to decouple DMA start CPU memory access and actual DMA transfer (for example A2091 and others do it this way), but it is not worth the trouble with these ancient drives which are only emulated because you can

Last edited by Toni Wilen; 10 September 2016 at 10:44.
Toni Wilen is offline  
Old 10 September 2016, 17:25   #3
Registered User
Join Date: Aug 2004
Posts: 2,829
HDF size was the same as I was using with a Tecmar config, manual geometry 4×17×612.
mark_k is offline  
AdSense AdSense  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A4000 WinUAE config - Unrecoverable crash Narf the Mouse support.WinUAE 12 11 March 2016 16:04
mk2 config 50hz & config tool help zeGouky support.Hardware 0 16 March 2014 08:09
Config causes yellow-screen crash with Kickstart 1.2 mark_k support.WinUAE 1 13 February 2012 20:20
WinUAE 0.8.26 - Crash on loading config Sascha support.WinUAE 5 16 May 2004 18:56
WinUAE 0822R3 crash saving config guest support.WinUAE 11 14 December 2002 20:25

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 14:20.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Page generated in 0.16702 seconds with 12 queries