English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 25 February 2024, 17:39   #1
teppic
Registered User
 
Join Date: Aug 2015
Location: UK
Posts: 58
Directory drive emulation crashes on 1.3

I noticed when using the #? wildcard on a Windows folder emulated as a drive I was getting crashes under 1.3. Sometimes a guru, sometimes screen corruption and lock up. Just doing something like "dir a#?" is enough to cause it.

I narrowed it down to a long file name present in the directory ("Devpac3Manual [Devpac 3 User Manual.].pdf"), but it seems any long file name will cause the emulated machine to crash. Copying the file to RAM works, the name just gets truncated.

I'm not sure if this is a bug with the emulation or something unavoidable with names that are too long for 1.3 and wouldn't normally appear.

I tried with WB/Kickstart 2.04 and it seemed fine.
teppic is offline  
Old 25 February 2024, 18:33   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,540
Anything can happen if program/OS does not like >30 character names. Usually it causes random memory corruption that may or may not cause any immediate visible problems.
Toni Wilen is online now  
Old 25 February 2024, 20:09   #3
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,347
I wonder if the 1.x Dir executable (and any other commands affected by this issue) could be patched to use a larger filename buffer size. Don't really fancy looking at it myself since they're written in BCPL...

As a workaround, maybe try using the ARP commands instead?
mark_k is offline  
Old 27 February 2024, 17:28   #4
teppic
Registered User
 
Join Date: Aug 2015
Location: UK
Posts: 58
Quote:
Originally Posted by mark_k View Post
I wonder if the 1.x Dir executable (and any other commands affected by this issue) could be patched to use a larger filename buffer size. Don't really fancy looking at it myself since they're written in BCPL...

As a workaround, maybe try using the ARP commands instead?
I first noticed it when I tried to copy something (I think it was with copy p#? ram: ), so I imagine a lot of the commands crash the system with long file names. And that wasn't even referencing the file with the long name in the wildcard.

I guess it's simple enough to avoid since any Amiga filenames from real systems won't be that long.
teppic is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
AmigaOS4 emulation crashes immediately tboeckel support.WinUAE 4 15 January 2020 21:00
Directory Opus crashes in WinUAE Nostromo support.WinUAE 1 03 April 2013 15:40
Directory drive and hdf compatibility yaromir support.WinUAE 2 23 September 2011 11:34
Remember last hard drive directory TCD request.UAE Wishlist 8 16 June 2010 15:59
winUAE slows down system and crashes at emulation startup with Logitech G15, but... ion support.WinUAE 3 23 January 2007 16:54

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 17:36.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08723 seconds with 15 queries