English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 09 September 2016, 21:36   #1
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,480
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, 20 views)
File Type: zip winuae_3.3.0_R_2016.09.09_20.31.51.dmp.zip (19.9 KB, 24 views)
mark_k is offline  
AdSense AdSense  
Old 10 September 2016, 08:38   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,528
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 09:44.
Toni Wilen is online now  
Old 10 September 2016, 16:25   #3
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,480
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 15:04
mk2 config 50hz & config tool help zeGouky support.Hardware 0 16 March 2014 07:09
Config causes yellow-screen crash with Kickstart 1.2 mark_k support.WinUAE 1 13 February 2012 19:20
WinUAE 0.8.26 - Crash on loading config Sascha support.WinUAE 5 16 May 2004 17:56
WinUAE 0822R3 crash saving config guest support.WinUAE 11 14 December 2002 19: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 19:03.


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