English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.WinUAE (https://eab.abime.net/forumdisplay.php?f=5)
-   -   WinUAE crashes when running AmigaAMP (https://eab.abime.net/showthread.php?t=59421)

manicx 25 May 2011 14:42

WinUAE crashes when running AmigaAMP
 
I have the latest version of winUAE installed (2.3.1). My setup consists of a hardfile with OS3.5, and two hard drive folders mounted as two partitions as Programs and Games.

I was actually stuck with an ancient version of WinUAE and upgraded recently. I created all configurations from scratch and didn't use old ones.

The problem is that AmigaAMP crashes (also latest version). It was not doing this before. The strange this is that I used the exact same configuration with the same hardfile and the two folders with Programs and Games on a second PC and AmigaAMP works fine. When I say exactly, I mean it, EXACTLY. Same config, same files, everything.

The strange thing is that sometimes, on the PC that AmigaAMP crashes, it started, something like 1/20 times and after restarting WinUAE. When the crash happens, I see a dump file being created in the program dir.

Since the same config works in one PC and not on another, I am not sure how to proceed and what to look/change. Any help is appreciated.

thomas 25 May 2011 15:10

I am sure the answer will be the same as always:

- create a log file (option on the misc panel)
- attach the log file, the boot log file, the configuration file and the mini dump file to this thread

Toni Wilen 25 May 2011 15:37

Make sure stack is large enough (99% reason for random unexplained crashes in JIT mode)
Make sure JIT is disabled when you create log files and crash dumps.

manicx 26 May 2011 00:35

1 Attachment(s)
I am attaching the files Thomas mentioned... I ran the emulator with the config file attached but with JIT disabled and log enabled.

Toni, what do you mean with large enough stack? Sorry, I am a bit rusty with WinUAE...

Toni Wilen 26 May 2011 08:06

Open shell, type "stack", what does it say? (This is AmigaOS setting, not WinUAE setting)

If it is smaller than 60000, type "stack 60000" and run amigaamp from shell. Any difference?

winuaelog.txt is truncated, could you create new log, this time run winuae with "-log -logflush" command line parameters ("winuae -log -logflush").

manicx 26 May 2011 18:31

2 Attachment(s)
scenario 1
----------

-I stared winUAE through command line with the flags mentioned.

-removed the tick in JIT

-enabled log

-started WB and through shell, I type stack. Default value is 4096.

-I started AmigaAMP through shell and crashed. I attach a zip archive with logs and dump with the above settings.

scenario 2
----------

-I re-stared winUAE through command line with the flags mentioned.

-removed the tick in JIT

-enabled log

-started WB and through shell I changed stack to 60000 and verified the value by typing stack.

-I started AmigaAMP through shell and crashed. I attach a zip archive with logs and dump with the above settings.

Today I also tried the same setup on my other PC. I actually noticed it crashes there as well but the crashes are something like 2/10 attempt. 8/10 it runs okay.

Toni Wilen 26 May 2011 19:48

Crash happens because Picasso96 emulation blit acceleration code gets bogus data from 68k code and I don't see any extra checks in older versions that would have prevented the crash.

Does it still crash if you switch to some other screenmode/depth?

manicx 26 May 2011 20:34

No it didn't. I instantly tried something. To change GUI Dither Method in AmigaAMP settings. It was set to EDD, switch to None. Started in full P96 mode and it worked. Strange is that I switched back to EDD and still works fine. :nuts Probably AmigaAMP wants me to :guru. It works now. Started WinUAE more that 10 times and it boots up fine. Maybe there was something stuck in that setting and by changing it, it now works...

Thanks for your help Toni.


All times are GMT +2. The time now is 02:53.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04198 seconds with 11 queries