English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 21 September 2008, 14:44   #1
nikvest
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?
Attached Thumbnails
Click image for larger version

Name:	crash.jpg
Views:	331
Size:	88.6 KB
ID:	18035  
nikvest is offline  
Old 21 September 2008, 15:39   #2
Toni Wilen
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
Toni Wilen is offline  
Old 21 September 2008, 15:59   #3
nikvest
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.
nikvest is offline  
Old 21 September 2008, 16:15   #4
nikvest
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.
Attached Files
File Type: txt winuaebootlog.txt (9.3 KB, 178 views)
nikvest is offline  
Old 21 September 2008, 16:30   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Quote:
Originally Posted by nikvest View Post
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.
Try setting memory settings as small as possible. (disable Z3 and RTG if possible etc..)
Toni Wilen is offline  
Old 21 September 2008, 16:35   #6
Toni Wilen
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..)
Toni Wilen is offline  
Old 21 September 2008, 16:40   #7
nikvest
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.
Attached Files
File Type: dmp winuae_1520_20080921_163832.dmp (59.6 KB, 180 views)
File Type: txt winuaebootlog.txt (9.4 KB, 194 views)
nikvest is offline  
Old 21 September 2008, 16:46   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Quote:
Originally Posted by nikvest View Post
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.
This is crash dump I have seen few times already (mostly from dumps collected by Cloanto) but never managed to duplicate it.

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.
Toni Wilen is offline  
Old 21 September 2008, 17:34   #9
nikvest
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).
Attached Files
File Type: uae Duke Nukem 3D AGA Full.uae (25.3 KB, 186 views)
File Type: uae VBF.uae (25.4 KB, 185 views)

Last edited by nikvest; 21 September 2008 at 17:48.
nikvest is offline  
Old 21 September 2008, 18:16   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Quote:
Originally Posted by nikvest View Post
I can't access log file when original crash happens,
You can if you keep the log window open.

Quote:
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.
It should compress quite well. We will find a way to transfer it
Toni Wilen is offline  
Old 21 September 2008, 18:51   #11
nikvest
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.
Attached Files
File Type: rar WERE6A2minidump.rar (1.31 MB, 186 views)
File Type: txt WERDDF6.tmp.appcompat.txt (7.9 KB, 191 views)
File Type: txt winuaebootlog.txt (9.1 KB, 180 views)
nikvest is offline  
Old 21 September 2008, 20:17   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Quote:
Originally Posted by nikvest View Post
All right... Original crash, with attached winuaebootlog.txt and packed minidump file... Hope it helps.
Seems to be JIT bug.

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;
}
(get_const() called from unsigned long REGPARAM2 op_6100_0_comp_ff(uae_u32 opcode) /* BSR */)

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.
Toni Wilen is offline  
Old 22 September 2008, 01:08   #13
nikvest
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.
nikvest is offline  
Old 23 September 2008, 02:17   #14
nikvest
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...
nikvest is offline  
Old 23 September 2008, 14:41   #15
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Lightbulb

Quote:
Originally Posted by Toni Wilen View Post
Seems to be JIT bug.

I don't know how to fix this because I don't know JIT works (and I don't want to know..)
Maybe we can again repeat the "Miracle of Berne" and convince Bernie to fix this issue.
It could be worth a try.
andreas 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
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

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 18:37.

Top

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