01 February 2014, 16:50 | #1 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
ReSource crashing
I'm running ReSource on an A1200 with KS 3.1 and BetterWB 3.2, and it keeps crashing on me.
Usually it happens when I use shift+cursor keys to fine-step through code, or otherwise move through it and see alternating "???" and garbled code. ReSource stops responding to keyboard input, the menu items disappear, and it just sits there eating 100% CPU time. It happens for files of all sizes, so it's not an out-of-memory problem. Has anyone experienced this? I've tried disabling all patches and things from my startup-sequence, and I can't figure out whether it's ReSource itself or something else that's causing it. |
01 February 2014, 20:02 | #2 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 520
|
Never experienced it. Maybe debug it and break into it when it does this and see if there's some loop which it is stuck in.
|
01 February 2014, 20:02 | #3 |
Registered User
Join Date: Jul 2009
Location: Lala Land
Posts: 520
|
I'd suggest you use my disassembler PeaSauce, but unfortunately it's still not production ready.
|
01 February 2014, 20:19 | #4 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
i suggest starting completely w/o startup-sequence and compare behaviour. i think it just needs ENV: and maybe resource:
one more thing, it does ask here every time i start it, for screen type, it will open on. with those RTG ( uaegfx ) screen i'm not happy with ( performance wise or the like ) - best is hires pal/ntsc w/o lace. crashes i've never seen, i have to say. |
01 February 2014, 21:32 | #5 |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
Have you tried the -s option to force system legal rendering? Funnily enough I had to use this option today when I installed ReSource on OS4.1
|
02 February 2014, 06:51 | #6 |
CaptainM68K-SPS France
|
ressource is doing that on my 1200 when during disassembling, i'm going thru a data part of the current program i'm processing. When turned to what it is really, the problem disappears.
|
02 February 2014, 10:21 | #7 |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
|
I've also had this problem before, I think it does actually fix itself eventually but it can often take so long I give up. I have learnt to save often.
Usually it happens when you Shift-UpArrow into unknown code and who knows what it's doing, but it must be trying to work out references or data type and takes forever. |
02 February 2014, 13:20 | #8 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,335
|
It might be trying to find the next instruction boundary. For example if you have a couple of hundred KB of data which is shown as code, but it's not set to any specific data type, ReSource might be working through disassembling all that data to find the next instruction boundary when you page-up. Or maybe it's scanning back in the disassembly to find the nearest data type change, and if that's a long way away it takes a while.
That issue wouldn't happen as much if you set the data type for various routines in that chunk of data beforehand. Then (for example) ReSource might only be working through a few KB when you page-up. (I think the key combination to set code is left Amiga-C? Also if you press F6 (that's from memory, might be wrong) when at a reference like JSR START+$123456, ReSource will automatically create a label at offset $123456 and set the data type there to code. So as you proceed with disassembling a program the size of unknown chunks decreases. I did notice that earlier versions of ReSource (up to V5) seem to be much faster than V6. Something to do with text rendering probably. |
02 February 2014, 17:59 | #9 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Thanks guys, I've looked some more at it and concluded it's definitely a problem with ReSource:
Open load-file, select version.library from Workbench 3.1, move to the absolute end of the file, click Options 1, check Multiple Constants and select Assembler: Assem, and close the options window. ReSource will now lock up. I can reproduce this on a fresh Workbench 3.1 and ReSource 6.06 install. I've found another case where it seemingly is working outside of the file, and is probably stuck disassembling the entire RAM, or something. I agree with what Mark says, and I think the best thing is to immediately determine the data type for the very beginning and a few more points down the file before doing anything else. Thanks |
02 February 2014, 18:43 | #10 | |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
http://www.heywheel.com/matthey/Amiga/ADis.lha Too bad it doesn't have an editor like Resource as all the flags for data types are in memory and can be changed. Also, it's really geared more for system compliant Amiga executables than hardware banging games so far. P.S. Denis Ahrens has updated his tiny D68k disassembler for the 1st time in many years. The new version 2.1.0 fixes a problem with MULS.L/MULU.L and some 68020+ addressing modes. The new version is on his web site: http://denisy.dyndns.org/d68k/ |
|
20 May 2023, 19:33 | #11 | |
Registered User
Join Date: May 2023
Location: germany
Posts: 3
|
Quote:
|
|
21 May 2023, 12:51 | #12 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,861
|
I zoned it for the ages.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE 2.7.0 crashing | Retrofan | support.WinUAE | 20 | 11 December 2013 20:24 |
Devpac keeps Crashing?? | bpazolli | Coders. General | 14 | 09 January 2009 23:06 |
Winuae crashing | RickyC | support.WinUAE | 4 | 29 May 2007 18:01 |
WinUAE 1.3 crashing | Tony Landais | support.WinUAE | 11 | 26 July 2006 12:59 |
Resource | Amigaboy | request.Apps | 2 | 16 August 2001 05:15 |
|
|