25 February 2024, 17:39 | #1 |
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. |
25 February 2024, 18:33 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,603
|
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.
|
25 February 2024, 20:09 | #3 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,351
|
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? |
27 February 2024, 17:28 | #4 | |
Registered User
Join Date: Aug 2015
Location: UK
Posts: 58
|
Quote:
I guess it's simple enough to avoid since any Amiga filenames from real systems won't be that long. |
|
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 |
|
|