25 May 2011, 14:42 | #1 |
Junior Member
Join Date: Oct 2002
Location: Athens, Greece
Posts: 991
|
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. |
25 May 2011, 15:10 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
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 |
25 May 2011, 15:37 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
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. |
26 May 2011, 00:35 | #4 |
Junior Member
Join Date: Oct 2002
Location: Athens, Greece
Posts: 991
|
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... |
26 May 2011, 08:06 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
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"). |
26 May 2011, 18:31 | #6 |
Junior Member
Join Date: Oct 2002
Location: Athens, Greece
Posts: 991
|
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. |
26 May 2011, 19:48 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
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? |
26 May 2011, 20:34 | #8 |
Junior Member
Join Date: Oct 2002
Location: Athens, Greece
Posts: 991
|
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. Probably AmigaAMP wants me to . 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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE crashes | tahseen | support.WinUAE | 7 | 13 November 2007 20:48 |
Two WinUAE crashes | thor | support.WinUAE | 5 | 06 November 2007 20:15 |
Time to have an accident while shaving (or PC crashes when running winuae) | captainxod | support.WinUAE | 31 | 21 July 2007 01:34 |
WinUAE 1.2 Crashes | Anubis | support.WinUAE | 6 | 27 February 2006 19:05 |
Winuae 0.8.24 crashes... | Piramania | support.WinUAE | 8 | 08 February 2004 16:33 |
|
|