28 February 2011, 08:42 | #1 |
gone
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. |
28 February 2011, 12:51 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
|
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) |
28 February 2011, 13:52 | #3 |
gone
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. |
28 February 2011, 21:08 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
|
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.
|
01 March 2011, 09:43 | #5 |
gone
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. |
01 March 2011, 10:25 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
|
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) |
01 March 2011, 15:27 | #7 |
gone
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. |
01 March 2011, 16:50 | #8 |
Cheesy crust
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?
|
01 March 2011, 18:04 | #9 |
gone
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. |
01 March 2011, 18:19 | #10 |
Linux snob
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.
|
01 March 2011, 19:01 | #11 |
gone
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!
|
01 March 2011, 20:03 | #12 |
Cheesy crust
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
|
Cool, thanks. Every bug squashed is one off the list.
|
01 March 2011, 21:00 | #13 | ||
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Quote:
No probs Quote:
|
||
02 March 2011, 07:46 | #14 |
Cheesy crust
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.
|
05 March 2011, 06:46 | #15 |
Zone Friend
|
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. |
05 March 2011, 17:06 | #16 |
Moderator
Join Date: Jun 2009
Location: France
Age: 46
Posts: 2,000
|
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 |
05 March 2011, 18:27 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
|
No need to ask, just send or attach it
|
05 March 2011, 18:47 | #18 |
Moderator
Join Date: Jun 2009
Location: France
Age: 46
Posts: 2,000
|
Real support?! Great !!!
Please watch in your mailbox TiA |
17 March 2011, 15:37 | #19 |
gone
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. |
21 March 2011, 08:11 | #20 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,575
|
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..)
|
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 |
|
|