English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 February 2011, 08:42   #1
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Problem with latest WinUAE release 2.3.1?

I've been working on some code recently which was running with no problems at all on the previous release of WinUAE 2.3.0

However, in testing this morning on the new release 2.3.1, the exact same code runs OK for a while before spectacularly crashing WinUAE.

I get weird stuff in the WinUAE window display, a constant audio tone being played though the PC speakers and a message saying Crash Detected and the location of a .dmp file.

If I OK that message, WinUAE just keeps generating these .dmp files over and over.

Only way to stop all this is using the Task Manager to End Task on WinUAE.

I can post the .dmp file and any other info as required if needed.

EDIT: No cycle exact enabled == no crash...

Last edited by pmc; 28 February 2011 at 08:51. Reason: EDIT: Added additional information.
pmc is offline  
Old 28 February 2011, 12:51   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,545
Weird sounds and color flashes usually means supervisor stack is located in custom chipset area = something went horribly wrong. (Exactly same effect can happen on real Amigas too, I have seen it few times)

Crash is probably due to some buffer overflowing due to strange continuous writes to vposw or other similar custom registers (Not all "impossible" conditions are checked)

Which means crash dump will be useless.

You need to find the original problem (or attach/email the program that causes the problem)
Toni Wilen is offline  
Old 28 February 2011, 13:52   #3
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Fair enough.

Still not sure why the difference between WinUAE versions though...?

Incidentally I've now had two other Amiga software crashes that have resulted in WinUAE 2.3.1 crashes that I needed to Task Manager --> End Task to recover from.
pmc is offline  
Old 28 February 2011, 21:08   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,545
I don't know without more information. Attach/email the code (or part of it if there is some secret stuff) or at least test which was first 2.3.1 beta that introduced this problem, thanks.
Toni Wilen is offline  
Old 01 March 2011, 09:43   #5
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Turns out this was my problem.

I did some testing and managed to narrow down exactly when the crash was triggered in my routine and fixed it.

Bad bug reports are, I'm sure, the last thing you enjoy so let me apologise: Sorry to have wasted any of your time Toni.
pmc is offline  
Old 01 March 2011, 10:25   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,545
I suspected something like that

But I still would like to have your program that crashes winuae, perhaps this crash can be fixed easily. (as long as crash happens with non-JIT modes, most JIT crashes can't be fixed without losing lots of performance)
Toni Wilen is offline  
Old 01 March 2011, 15:27   #7
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Oooops, spoke too soon.

My routine's been fine all day - no crashes and then I just ran it again and it crashed same as before.

Works fine on real Amiga as far as I can tell.

Weird.
pmc is offline  
Old 01 March 2011, 16:50   #8
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
So why not put it into the Zone or send it to Toni directly?
mr.vince is offline  
Old 01 March 2011, 18:04   #9
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Can't put it in the Zone or attach it here as I don't want it viewed publicly really before it's due for release.

I could send it directly to Toni but I don't really want him wasting any time on what will more than likely turn out to be some kind of weird subtle problem with my code.

Not to worry, the odd crash in the emulator isn't he end of the world. It works OK on the real thing and that's the main thing.
pmc is offline  
Old 01 March 2011, 18:19   #10
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
Sorry pmc, but this might be a rare chance to squash some subtle bug in WinUAE. I think it would be really cool if you agree and send it to Toni.
gilgamesh is offline  
Old 01 March 2011, 19:01   #11
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Sent to Toni as requested on the proviso that if he thinks it's a waste of his time he's free to just tell me to get lost!
pmc is offline  
Old 01 March 2011, 20:03   #12
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
Cool, thanks. Every bug squashed is one off the list.
mr.vince is offline  
Old 01 March 2011, 21:00   #13
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Quote:
Originally Posted by mr.vince
Cool, thanks
.

No probs

Quote:
Originally Posted by mr.vince
Every bug squashed is one off the list.
True. But I'm still betting it'll turn out to be something bad in my code.
pmc is offline  
Old 02 March 2011, 07:46   #14
mr.vince
Cheesy crust
 
mr.vince's Avatar
 
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
Still a bad instruction in a program should not crash the host app.
mr.vince is offline  
Old 05 March 2011, 06:46   #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
Arrow

Good thing to see that you could let yourself persuade to send your code to Toni, pmc.
This code is as useful for Toni as a badly broken/corrupt ADF.

Erm, wait, was there anything ironic or awfully sarcastic in what I just said?!

Even though it may sound like this, there's nothing to be taken the funny way. When Windows 2000 did not yet exist, WinUAE betas could even screw up your ENTIRE DESKTOP if you fed it this broken stuff.
So "broken" software (note the quotes) "helped" WinUAE to behave more like the real thing in "conflict situations". That's why even broken ADFs may be useful. Whilst (old) WinUAE would freeze up entirely, the newer version would GURU. As confirmed, just like the real thing!! And that's what we actually want.
andreas is offline  
Old 05 March 2011, 17:06   #16
Crashdisk
Moderator
 
Crashdisk's Avatar
 
Join Date: Jun 2009
Location: France
Age: 46
Posts: 1,992
Hi Toni,

i have a problem with a intro. Some stars, green screen, scratch sound and .... WinUAE crash
I can send you the crashdump and the intro, if you want
Crashdisk is offline  
Old 05 March 2011, 18:27   #17
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,545
No need to ask, just send or attach it
Toni Wilen is offline  
Old 05 March 2011, 18:47   #18
Crashdisk
Moderator
 
Crashdisk's Avatar
 
Join Date: Jun 2009
Location: France
Age: 46
Posts: 1,992
Real support?! Great !!!
Please watch in your mailbox
TiA
Crashdisk is offline  
Old 17 March 2011, 15:37   #19
pmc
gone
 
pmc's Avatar
 
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
Just for info Toni, regarding my routine that was crashing. It no longer crashes on my emulated A500+ setup since I changed my ProTracker replayer code from ProRunner2 to ThePlayer6.106 so I'm assuming there must've been some weird timing thing or something in the way that replayer interacted with my routine causing the crash under that setup...?

Anyway, just useless info really - as already discussed, on real Amiga or A500 quickstart there was no problem.

Thanks for all / any time you spent in the background.
pmc is offline  
Old 21 March 2011, 08:11   #20
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,545
Emulator crash should be fixed in 2.3.2b2. Your test program still crashes but this time it just keeps looping (reset, display garbage and souind, reset and so on..)
Toni Wilen 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
Looking For Clarissa and Adorage Latest Release in English Peter request.Apps 5 13 July 2014 16:09
bsdsocket.library support seems to be broken in latest dev release nexusle support.FS-UAE 5 03 January 2013 18:44
Graphics problem in B.A.T. II, latest WinUAE dex support.WinUAE 2 11 May 2009 18:14
Winuae Kaillera latest release and some games sych support.WinUAE 8 26 May 2008 23:30
WinUAE problem with latest Apidya WHD hexaae support.WinUAE 0 15 March 2008 21:41

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 17:06.

Top

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