21 September 2008, 14:44 | #1 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
Very strange WinUAE 1.5.2 crash
Hi Toni,
I have a strange but regular WinUAE crash. It happens almost every time I run WinUAE, sooner or later and I can't find a pattern for it. It crashes with a following message and it doesn't create a .dmp file at all! Picture is attached below. Do you have any advice? |
21 September 2008, 15:39 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
|
No idea, perhaps stack overflow (but why? perhaps some driver memory leak? Hardware specs? Including display and sound card. Include also winuaebootlog.txt, thanks)
Does it happen if you use basic A500 emulation mode? Or only if you use "high-end" RTG enabled setup? You can run with log window open ("winuae.exe -log") and check if there is anything interesting when it crashes next time, also you can force dump file, do not close the dialog, open task manager, find winuae process, right click, select "Create Dump File" (Vista-only) btw, Use ALT+Printscreen or Snipping Tool that comes with Vista (which should have been included in every Windows version but better late than newer I guess..) to get smaller screenshots |
21 September 2008, 15:59 | #3 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
There's a first clue - it seems to happen only in RTG mode, although I can't confirm that without more detailed testing...
Hardware specs: Windows Vista 32-bit SP1 nVidia 8800 GT w/ Forceware 177.83 (latest official ones) MB: Gigabyte M55S-S3 2 GB DDR3 RAM AMD Athlon dual core 4000+ I will try to force dump file next time when it crashes, although I may not be able to do it until tonight or tomorrow morning. I will also attach winuaebootlog.txt next time it happens. |
21 September 2008, 16:15 | #4 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
All right, it crashed again... But here's the funny thing: it created a 312 MB dump file!!! I used your method and created it, but it's huge. If you know how I can lower it down I will attach it.
In the meantime, this was RTG Workbench environment transferred to AGA game environment. I attached winuaebootlog.txt. |
21 September 2008, 16:30 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
|
Try setting memory settings as small as possible. (disable Z3 and RTG if possible etc..)
|
21 September 2008, 16:35 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
|
Do you also have all "Vista reliability" patches installed? (maybe they help, maybe not..)
|
21 September 2008, 16:40 | #7 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
All right, it created a dump file now but it was different kind of crash. I attached .dmp and winuaebootlog.txt. I'll see if I can reproduce original crash too.
Edit: I have all Vista patches. |
21 September 2008, 16:46 | #8 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
|
Quote:
Unfortunately they are mostly useless because call stack only shows 00000000(). Nothing else.. My only guess is JIT getting totally confused. I'd expect this type of crash having some messages in winuaelog.txt. |
|
21 September 2008, 17:34 | #9 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
I can't access log file when original crash happens, and .dmp files created by Vista are too big no matter how little memory I assign to particular configuration. I'm gonna try to reduplicate crash with WinUAE 1.5.1.
Edit: same problem with WinUAE 1.5.1. I attached my config files, they create a crash every single time. Perhaps you could find something useful. I tried to run Virtual Ball Fighters game from CD, and I tried it in AGA mode. It crashes every single time no matter what I change, and crash also happens with Duke Nukem 3D and Doom II. I see a pattern here... (all games except DN3D were run in PAL mode - that means AGA mode. DN3D was run in RTG mode). Last edited by nikvest; 21 September 2008 at 17:48. |
21 September 2008, 18:16 | #10 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
|
You can if you keep the log window open.
Quote:
|
|
21 September 2008, 18:51 | #11 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
All right... Original crash, with attached winuaebootlog.txt and packed minidump file... Hope it helps.
|
21 September 2008, 20:17 | #12 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
|
Quote:
Code:
uae_u32 get_const(int r) { #if USE_OPTIMIZER if (!reg_alloc_run) #endif Dif (!isconst(r)) { write_log ("JIT: Register %d should be constant, but isn't\n",r); abort(); } return live.state[r].val; } Odd dialog is caused by abort() function that simply instantly kills the process. (and you should see JIT: Register blahblah in the log window. Not 100% sure because it may not be flushed from the cache..) I don't know how to fix this because I don't know JIT works (and I don't want to know..) EDIT: probably not "real" bug but impossible condition that "shouldn't happen". You sure it is not something silly like CPU overheating? (easy test, adjust CPU Idle setting in CPU panel) Does it ONLY happen if you use your (custom?) WB installation? Stack overflows (too small stack), buggy patches etc.. can cause weird errors when JIT is enabled (real Amiga would just crash "normally" in this case) Last edited by Toni Wilen; 21 September 2008 at 21:07. |
|
22 September 2008, 01:08 | #13 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
Give me a day or two to test different situations and I'll let you know...
Edit: You are a genius! Problem is virtual WB related. When I started the games from another WB installation (OS 3.9) problem went away. Perhaps I tried to play newer games on WB3.1 and that caused some problems which, combined with JIT caused the crash. Last edited by nikvest; 22 September 2008 at 01:36. |
23 September 2008, 02:17 | #14 |
Vertigo User
Join Date: Oct 2005
Location: Belgrade/Serbia
Age: 46
Posts: 314
|
Well, I can confirm now: problem happens only in one virtual WB install, but it is becoming more often as days go by. What can I do? Reinstall is the last resort,and I would like to try and locate a problem...
|
23 September 2008, 14:41 | #15 |
Zone Friend
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE random crash | BippyM | support.WinUAE | 7 | 19 March 2013 20:54 |
Winuae 2.0.1 crash | Heula | support.WinUAE | 7 | 03 January 2010 10:43 |
another annoying winuae crash | orko33 | support.WinUAE | 13 | 29 November 2008 20:19 |
another WinUAE 1.5.1 crash | jharrison | support.WinUAE | 4 | 04 September 2008 16:53 |
Strange crash with WHDLOAD | Calabazam | support.Games | 5 | 16 January 2006 23:45 |
|
|