Amiblitz 3.5 Debugger doesn't work since Update 5

AmigaOne X1000 platform specific issues.

Amiblitz 3.5 Debugger doesn't work since Update 5

Postby gerograph » Mon Jul 23, 2012 11:29 am

Hello all,

I know this does not concern PPC native stuff, but AmiBlitz 3.5 is quiete important to me. iBatch Sofware for AmigaOS releys on it (iBatch was rated as "must have for image (batch) processing" on Amiga by Amigafuture).
Amiblitz 3.5 and the Debugger (called Reddebuger) worked fine on my SAM440 with the latest update. On my X1000 it doesn't, I always get a GRIM Reaper when using the Debugger. The Debugger was of course put onto the blacklist (like it was done on SAM440 as well).

I guess this is due to changes regarding upd.5. Any idea ? Chances to find a workaround in future updates ? I would even be happy to have an OS4.1upd4 or 3 on my X1000 as second boot partition....
User avatar
gerograph
 
Posts: 78
Joined: Sun Mar 25, 2012 10:24 am
Location: Moers

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby Severin » Mon Jul 23, 2012 1:56 pm

I still use amiblitz but I used to use the runtime debugger on my A4000, I've not been able to use it on ANY OS4 version or hardware (XE, Micro, Sam Flex & X1000).

Anyone know if there are any plans to do an OS4 native compiler? I've written several apps that rely on OS4 features like AppDir: nut because they're 68k code braindead users whinge that they not native therefore no good... To be honest the only thing being native would do for the apps is make the executable bigger as none of them do anything that needs speed ;)

If anyone wants to try my AppDir: program launcher which is incredibly easy to configure, just a text file with three types of entry, a title entry for the gadget that opens a submenu, a prgram entry for that submenu which must start with a tab and just has the program name, you don't need to know where the program is or type any paths and an END entry. The prefs drawer is scanned on startup and anything with the executable bit set is added to a prefs submenu along with an entry to run naotpad and load the programs prefs file for editing.

The only drawback is that if you move a program my launcher will not work with it until you have manually run it. but it's easy to spot entries that won't work as their gadgets are ghosted.
User avatar
Severin
Beta Tester
Beta Tester
 
Posts: 189
Joined: Mon Dec 20, 2010 2:41 pm

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby gerograph » Mon Jul 23, 2012 10:50 pm

I did use Amiblitz 3.5 sucessfully on AOS 4.1 upd. 4 on my SAM, just make sure to put reddebugger onto the JIT Blacklist (prefs)
Attachments
ab35.jpg
(67.38 KiB) Downloaded 3497 times
User avatar
gerograph
 
Posts: 78
Joined: Sun Mar 25, 2012 10:24 am
Location: Moers

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby Petrol » Mon Aug 20, 2012 3:09 pm

Did you really install update 5 on your First Contact X1000?
From readme, X1000 wasn't a supported platform for that "update 5", because FC X1000 are supposed to be already under AOS4.1 update 5.

Regards,
Petrol.
User avatar
Petrol
Beta Tester
Beta Tester
 
Posts: 164
Joined: Mon Dec 20, 2010 7:19 pm
Location: France

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby gerograph » Mon Aug 20, 2012 8:32 pm

@petrol
No, I did not install Update 5 !!! As you said, X1000 is already on update 5. This thread was opend way before last days announcement of update5 for the "remaining machines".
This means, Reddebugger might even work on update 5 on other machines like SAM etc... I just cannot test.
However it doesn't work on X1000

regards Gero
User avatar
gerograph
 
Posts: 78
Joined: Sun Mar 25, 2012 10:24 am
Location: Moers

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby tonyw » Tue Aug 21, 2012 2:19 am

Just found this thread, so bear with me.

Trevor said it crashes on the X-1000. Can you provide a crash log from the serial port?

There have been many big changes in DOS since Update 4. The debugger may be relying on a side effect of the old 68K DOS that doesn't exist any more. One thing you could try: replace Kickstart/dos.library with the version from Update 4 and retest.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1388
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby gerograph » Tue Aug 21, 2012 11:59 am

@tonyw
thanx for your attention.
- I'll try to replace Kickstart/dos.library and report back
- I do have a serial port, and I'll try to capture a log, have you got a fast link on howto do this ? If not, don't bother I'll then fire up google, or search doc drawer.

However maybe one more info from Amiblitz forum posted by Bernd:

ansonsten der 68k emulator von OS4 kann keine richtigen Exceptiions wegen dem grim reaper mit 68k. 2005 hat Hans Jörg Frieden(nach vielen Mails. damit hat dann blackbird den debugger ans laufen bekommen) code eingebaut, damit bei einer trap#0 instruction erst nachgeschaut wird, ob im 68k trap vektor eine adresse steht. Wenn ja, macht die 68k emu an der Adresse weiter und bringt keinen Grim reaper und alles funktioniert ok. vielleicht wurde da was geändert.
debugger werden so programmiert, dass man um das programm anzuhalten, einen trap #0 in den code schreibt. genauso der runtime check. Da steht im Programm immer die adresse vor dem trap #1, und der trap handler code, springt dann zu dem trap code, holt sich die Adresse und führt den check code aus.


This basically means (as far as I can translate):

68k emu on OS4 cannot handle "real Exceptions" because of grim reaper and 68k. In 2005 Hans Jörg Frieden (after communicating with "blackbird" - maintainer of REDDebugger) implemented a "workaround code". If a trap#0 instruction happens, the code will then look, if there is an adress inside the 68k trap. If so, 68k emu continous on this adress and doesn't bring up a Grim reaper....


I'll report back...

regards Gero
User avatar
gerograph
 
Posts: 78
Joined: Sun Mar 25, 2012 10:24 am
Location: Moers

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby gerograph » Tue Aug 21, 2012 5:39 pm

@tonyw
replaced kickstart/dos.library.kmod with the one from my old SAM440 (upd4) installation. (Placed my old SAM440 HD into my new X1000 - not bootable etc...of course) -> same result, will capture serial line output later on...

regards Gero
User avatar
gerograph
 
Posts: 78
Joined: Sun Mar 25, 2012 10:24 am
Location: Moers

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby gerograph » Tue Aug 21, 2012 8:29 pm

@tonyw
o.k. as far as I understood from what I read from Hans here on the forum, I donnot need a serial output as my X1000 is still useable after DSI happend. I'll append crashlog saved via Grim Reaper at the end.
However, if we still need serial debug output, 2 more questions:
Do I need kernel.debug ? How to enable debug kernel ?
Do I have to enable debugging in CFE ?

cheers Gero (guess this is what the aussies say instead of by, regards,...)
Code: Select all
Crash log for task "Blitz ][ Program Proc"
Generated by GrimReaper 53.2
Crash occured in module kernel at address 0x0200075C
Type of crash: program exception

Register dump:
GPR (General Purpose Registers):
   0: 0204D714 5E071F60 5FA12E5F 00000000 00000000 0000000C 00000004 00000080
   8: 028B17E8 028E8190 00000000 028E8191 59933353 3165A131 5E073FFC 5E062004
  16: 17EC9261 02AB0000 8000000F 8000000E 8000000D FFFFFFFF 00000000 8000000B
  24: 8000000A 80000008 FFD60001 80000007 FFD50001 80000006 02AB0000 5DDD1008


FPR (Floating Point Registers, NaN = Not a Number):
   0:              nan      8.34624e+07                0                0
   4:      2.14748e+09              0.5               49                1
   8:              974              768             1034              206
  12:       4.5036e+15             1272                0                0
  16:                0                0                0                0
  20:                0                0                0                0
  24:                0                0                0                0
  28:                0                0                0                0

FPSCR (Floating Point Status and Control Register): 0x82004000


SPRs (Special Purpose Registers):
           Machine State (msr) : 0x0002B030
                Condition (cr) : 0x99933393
      Instruction Pointer (ip) : 0x0200075C
       Xtended Exception (xer) : 0xA0000024
                   Count (ctr) : 0x0202D678
                     Link (lr) : 0x02027BB8
            DSI Status (dsisr) : 0x40000000
            Data Address (dar) : 0x00000004



680x0 emulated registers:
DATA: 00000005 5DE30048 00000000 177EA30C 000493E0 FFD50001 6FFB8420 624C745A
ADDR: 5DE2FF42 5DFA8C30 5DE3A87E 5DE3A8AE 5E071FE4 5F840390 6FBF966C 5E071FA0
FPU0:                0                0                0                0
FPU4:                0                0                0                0



Symbol info:
Instruction pointer 0x0200075C belongs to module "kernel" (HUNK/Kickstart)

Stack trace:
    native kernel module kernel+0x0000075c
    native kernel module kernel+0x0004d714
    native kernel module kernel+0x0005b42c
   

PPC disassembly:
 02000754: 44000022   .word             0x44000022
 02000758: 4e800020   blr               
*0200075c: 7fe00008   trap             
 02000760: 4e800020   blr               
 02000764: 38800001   li                r4,1

System information:

CPU
 Model: P.A. Semi PWRficient PA6T-1682M VB1
 CPU speed: 1800 MHz
 FSB speed: 900 MHz
 Extensions: altivec

Machine
 Machine name: AmigaOne X1000
 Memory: 2097152 KB
 Extensions: bus.pci bus.pcie

Expansion buses
 PCI/AGP
  00:1D.0 Vendor 0x1959 Device 0xA004
   Range 0: 007F03F8 - 007F0400 (IO)
  00:1D.1 Vendor 0x1959 Device 0xA004
   Range 0: 007F02F8 - 007F0300 (IO)
  00:1A.0 Vendor 0x1959 Device 0xA007
  00:00.0 Vendor 0x1959 Device 0xA001
  00:01.0 Vendor 0x1959 Device 0xA009
  00:14.3 Vendor 0x1959 Device 0xA005
  00:1C.0 Vendor 0x1959 Device 0xA003
   Range 0: 007F0200 - 007F0240 (IO)
  00:1C.1 Vendor 0x1959 Device 0xA003
   Range 0: 007F0240 - 007F0280 (IO)
  00:1C.2 Vendor 0x1959 Device 0xA003
   Range 0: 007F0280 - 007F02C0 (IO)
  00:11.3 Vendor 0x1959 Device 0xA002
  00:11.2 Vendor 0x1959 Device 0xA002
  00:11.1 Vendor 0x1959 Device 0xA002
  00:11.0 Vendor 0x1959 Device 0xA002
  00:10.0 Vendor 0x1959 Device 0xA002
  00:03.0 Vendor 0x1959 Device 0xA00C
  00:04.0 Vendor 0x1959 Device 0xA00A
  00:05.0 Vendor 0x1959 Device 0xA00A
  00:08.0 Vendor 0x1959 Device 0xA000
  00:09.0 Vendor 0x1959 Device 0xA000
  00:15.0 Vendor 0x1959 Device 0xA006
  00:1B.0 Vendor 0x1959 Device 0xA00B
  00:1E.0 Vendor 0x1959 Device 0xA008
   Range 0: 007F0400 - 007F0500 (IO)
   Range 1: 007F0500 - 007F0600 (IO)
  0A:12.0 Vendor 0x1002 Device 0x4380
   Range 0: 00001040 - 00001048 (IO)
   Range 1: 00001058 - 0000105C (IO)
   Range 2: 00001048 - 00001050 (IO)
   Range 3: 00001058 - 0000105C (IO)
   Range 4: 00001010 - 00001020 (IO)
  0A:13.0 Vendor 0x1002 Device 0x4387
   Range 0: A0207000 - A0208000 (MEM)
  0A:13.1 Vendor 0x1002 Device 0x4388
   Range 0: A0208000 - A0209000 (MEM)
  0A:13.2 Vendor 0x1002 Device 0x4389
   Range 0: A0206000 - A0207000 (MEM)
  0A:13.3 Vendor 0x1002 Device 0x438A
   Range 0: A0204000 - A0205000 (MEM)
  0A:13.4 Vendor 0x1002 Device 0x438B
   Range 0: A0205000 - A0206000 (MEM)
  0A:13.5 Vendor 0x1002 Device 0x4386
   Range 0: A0209800 - A0209900 (MEM)
  0A:14.0 Vendor 0x1002 Device 0x4385
   Range 0: 00001020 - 00001030 (IO)
   Range 1: A0209400 - A0209800 (MEM)
  0A:14.1 Vendor 0x1002 Device 0x438C
   Range 0: 00001030 - 00001038 (IO)
   Range 1: 00001050 - 00001054 (IO)
   Range 2: 00001038 - 00001040 (IO)
   Range 3: 00001050 - 00001054 (IO)
   Range 4: 00001000 - 00001010 (IO)
  0A:14.2 Vendor 0x1002 Device 0x4383
   Range 0: A0200000 - A0204000 (MEM)
  0A:14.3 Vendor 0x1002 Device 0x438D
   Range 0: 00000000 - 00100000 (MEM)
  0A:14.4 Vendor 0x1002 Device 0x4384
  0C:05.0 Vendor 0x13F6 Device 0x0111
   Range 0: 00003100 - 00003200 (IO)
  0C:06.0 Vendor 0x10EC Device 0x8139
   Range 0: 00003000 - 00003100 (IO)
   Range 1: A0300000 - A0300100 (MEM)
  02:00.0 Vendor 0x1002 Device 0x9498
   Range 0: 90000000 - A0000000 (PREF.MEM)
   Range 2: A0020000 - A0030000 (MEM)
   Range 4: 00002000 - 00002100 (IO)
  02:00.1 Vendor 0x1002 Device 0xAA38
   Range 0: A0030000 - A0034000 (MEM)

Libraries
 0x62829de8: ISO-8859-15.charset V52.1
 0x62829d68: german_ISO-8859-15.language V52.1
 0x029fb386: exec.library V53.26
 0x6ff668f4: vilintuisup.library V0.9
 0x6ff667c8: cgxvideo.library V42.1
 0x6ff430e0: cybergraphics.library V43.0
 0x608ff558: disassembler.library V40.6 (Legacy)
 0x6094ae10: zlib.library V3.2 (Legacy)
 0x608fd9c4: jpeg.library V6.2
 0x608fd94e: mathtrans.library V52.1 (Legacy)
 0x5fee606e: newicon.library V45.0 (Legacy)
 0x60bd9ec8: ted.library V1.0 (Legacy)
 0x60823e3e: reqtools.library V39.3 (Legacy)
 0x608fd6b0: mathffp.library V52.1 (Legacy)
 0x60882818: Separator.docky V53.2
 0x620ba418: smartsubdock.docky V50.5
 0x61fac3a8: smartbutton.docky V50.5
 0x60945050: getcolor.gadget V53.9
 0x608fd170: gradientslider.gadget V53.6
 0x608fd034: colorwheel.gadget V53.6
 0x60512c00: palette.gadget V53.6
 0x6086c490: texteditor.gadget V53.19
 0x60512980: getfont.gadget V53.9
 0x60512840: slider.gadget V53.12
 0x60512700: getfile.gadget V53.11
 0x6094a938: radiobutton.gadget V53.9
 0x6094a878: clicktab.gadget V53.39
 0x60bd9aa8: cmi8738.audio V5.17
 0x6287aeb0: arexx.class V53.3
 0x61faa138: wizard.library V45.1 (Legacy)
 0x60512200: checkbox.gadget V53.9
 0x6287c860: mathieeedoubtrans.library V52.2
 0x61f6e190: requester.class V53.18
 0x6287ae10: space.gadget V53.6
 0x62827e58: chooser.gadget V53.18
 0x6287ab90: penmap.image V53.5
 0x6287aaf0: bitmap.image V53.9
 0x6287aa50: integer.gadget V53.10
 0x6287c2b4: device.audio V6.2
 0x6fb89a88: listbrowser.gadget V53.52
 0x62a3cc50: string.gadget V53.16
 0x6287a5f0: scroller.gadget V53.13
 0x62827c94: filesave.audio V6.3
 0x627f9720: jpeg.datatype V53.5
 0x62665ae8: emulation.library V41.446
 0x627f9358: timesync.library V53.4
 0x624dcaa4: usergroup.library V4.30
 0x620f9ec0: bsdsocket.library V4.302
 0x62296360: mathieeedoubbas.library V52.1
 0x623b566c: textclip.library V52.2
 0x6271f804: xpkmaster.library V5.2
 0x628173fc: xadmaster.library V13.1
 0x626e2480: button.gadget V53.15
 0x626e25c0: glyph.image V53.3
 0x626dbb40: window.class V53.48
 0x626a5428: popupmenu.class V53.2
 0x62833cc8: popupmenu.library V53.8
 0x626e2200: label.image V53.12
 0x6fbff5f8: layout.gadget V53.19
 0x626a5330: bevel.image V53.6
 0x627d2f50: drawlist.image V53.3
 0x627d2af0: png.datatype V53.6
 0x6261d074: picture.datatype V53.6
 0x627de9c4: asl.library V53.45
 0x62833768: timezone.library V53.6
 0x627cb4e8: application.library V53.12
 0x6282755c: ft2.library V53.1
 0x6283e08c: workbench.library V53.42
 0x6ffa89bc: commodities.library V53.1
 0x628a2540: datatypes.library V53.4
 0x62828630: Picasso96API.library V2.359
 0x62834100: gadtools.library V53.4
 0x62827264: png.iconmodule V53.1
 0x62b900cc: icon.library V53.13
 0x62829068: version.library V53.10
 0x628688d0: iffparse.library V53.1
 0x6ffbaacc: locale.library V53.4
 0x6ff3d7ac: diskfont.library V53.4
 0x6fbfe258: petunia.library V53.3
 0x6fbfe198: diskcache.library V3.30
 0x6fbf966c: dos.library V53.90
 0x6ff66e94: usbprivate.library V53.12
 0x6fe7babc: massstorage.usbfd V53.13
 0x6ff66d4c: hub.usbfd V53.8
 0x6ffa9c2c: hid.usbfd V53.8
 0x6ff66c9c: usbresource.library V53.12
 0x6ff3c8d8: hunk.library V53.4
 0x6ffa9654: elf.library V53.17
 0x6ff6a4d0: intuition.library V53.35
 0x6ff20150: rtg.library V41.4355
 0x6ff78ca0: RadeonHD.chip V0.32
 0x6ff78c24: PCIGraphics.card V53.1
 0x6ffab530: keymap.library V53.5
 0x6ff62e40: layers.library V53.7
 0x6ffb8420: graphics.library V53.4
 0x6ff3c044: nonvolatile.library V53.5
 0x6ff8c258: newlib.library V53.19
 0x6ff8e1ac: utility.library V53.3
 0x6ffab0a8: expansion.library V53.1
 0x624e0cae: rexxsyslib.library V45.7 (Legacy)

Devices
 0x5fe4eb14: clipboard.device V53.2
 0x620bd3f4: ahi.device V6.6
 0x6220b718: rtl8139.device V53.3
 0x6277f494: diskimage.device V52.67
 0x6fce8848: usbdisk.device V53.13
 0x6ff8e910: usbsys.device V53.12
 0x6ff3ceb0: ehci.usbhcd V53.18
 0x6ff3ce10: ohci.usbhcd V53.19
 0x6fe7b434: sb600sata.device V53.15
 0x6ffa8338: console.device V53.1
 0x6ff8f3f0: ramdrive.device V52.6
 0x6ffab77c: input.device V53.4
 0x6ff3d3b4: keyboard.device V53.10
 0x6ff8f2d0: timer.device V53.1

Tasks
 ClickToFront (Waiting)
  Stack: 0x604d8004 - 0x604e7ffc, pointer @ 0x604e7a80 (Cookie OK)
  Signals: SigRec 0xc000d000, SigWait 0x00000100
  State: Process (Waiting)
 input.device (Waiting)
  Stack: 0x6ff28000 - 0x6ff38000, pointer @ 0x6ff37f00 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000000
  State: Task (Waiting)
 SFS DosList handler (Waiting)
  Stack: 0x6fbb3004 - 0x6fbb4ffc, pointer @ 0x6fbb4f20 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000000
  State: Process (Waiting)
 USB stack (Waiting)
  Stack: 0x6fe6e000 - 0x6fe72000, pointer @ 0x6fe71f20 (Cookie OK)
  Signals: SigRec 0xf8007000, SigWait 0x00000000
  State: Task (Waiting)
 OHCI Controller Task Unit 2 (Waiting)
  Stack: 0x6fd91000 - 0x6fd99000, pointer @ 0x6fd98f20 (Cookie OK)
  Signals: SigRec 0xbc009000, SigWait 0x00000000
  State: Task (Waiting)
 EHCI Controller Task Unit 0 (Waiting)
  Stack: 0x6fd31000 - 0x6fd39000, pointer @ 0x6fd38f20 (Cookie OK)
  Signals: SigRec 0xbe009000, SigWait 0x00000000
  State: Task (Waiting)
 OHCI Controller Task Unit 0 (Waiting)
  Stack: 0x6fddd000 - 0x6fde5000, pointer @ 0x6fde4f20 (Cookie OK)
  Signals: SigRec 0xbc009000, SigWait 0x00000000
  State: Task (Waiting)
 OHCI Controller Task Unit 3 (Waiting)
  Stack: 0x6fd75000 - 0x6fd7d000, pointer @ 0x6fd7cf20 (Cookie OK)
  Signals: SigRec 0xbc009000, SigWait 0x00000000
  State: Task (Waiting)
 OHCI Controller Task Unit 1 (Waiting)
  Stack: 0x6fdb9000 - 0x6fdc1000, pointer @ 0x6fdc0f20 (Cookie OK)
  Signals: SigRec 0xbc009000, SigWait 0x00000000
  State: Task (Waiting)
 OHCI Controller Task Unit 4 (Waiting)
  Stack: 0x6fd4d000 - 0x6fd55000, pointer @ 0x6fd54f20 (Cookie OK)
  Signals: SigRec 0xbc009000, SigWait 0x00000000
  State: Task (Waiting)
 page_sweep (Waiting)
  Stack: 0x6fde9004 - 0x6fdf0ffc, pointer @ 0x6fdf0e70 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000000
  State: Task (Waiting)
 sb600sata.device - chip 0 port 0 (Waiting)
  Stack: 0x6fe41000 - 0x6fe49000, pointer @ 0x6fe48f20 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x20008000
  State: Task (Waiting)
 sb600sata.device - chip 0 port 1 (Waiting)
  Stack: 0x6fe11000 - 0x6fe19000, pointer @ 0x6fe18f20 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x20000000
  State: Task (Waiting)
 DH0 (Waiting)
  Stack: 0x6fbad004 - 0x6fbaeffc, pointer @ 0x6fbaeeb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 hid.usbfd (Waiting)
  Stack: 0x6fc39004 - 0x6fc40ffc, pointer @ 0x6fc40e90 (Cookie OK)
  Signals: SigRec 0xe0000000, SigWait 0x00000000
  State: Task (Waiting)
 HID Mouse (Waiting)
  Stack: 0x6fc21000 - 0x6fc29000, pointer @ 0x6fc28f60 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000000
  State: Task (Waiting)
 ICD0 (Waiting)
  Stack: 0x62328004 - 0x62337ffc, pointer @ 0x62337f20 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x00000000
  State: Process (Waiting)
 ICD1 (Waiting)
  Stack: 0x62393004 - 0x623a2ffc, pointer @ 0x623a2f20 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x00000000
  State: Process (Waiting)
 RAM (Waiting)
  Stack: 0x62a05004 - 0x62a0cffc, pointer @ 0x62a0cc90 (Cookie OK)
  Signals: SigRec 0xc0000100, SigWait 0x00000000
  State: Process (Waiting)
 CD0 (Waiting)
  Stack: 0x6fbb9004 - 0x6fbbaffc, pointer @ 0x6fbbaf20 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x00000000
  State: Process (Waiting)
 reaper.task (Waiting)
  Stack: 0x6293d004 - 0x62944ffc, pointer @ 0x62944ea0 (Cookie OK)
  Signals: SigRec 0x00007000, SigWait 0x00000000
  State: Process (Waiting)
 DH1 (Waiting)
  Stack: 0x62e87004 - 0x62e88ffc, pointer @ 0x62e88eb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH30 (Waiting)
  Stack: 0x62c2f004 - 0x62c30ffc, pointer @ 0x62c30eb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH10 (Waiting)
  Stack: 0x62c29004 - 0x62c2affc, pointer @ 0x62c2aeb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH40 (Waiting)
  Stack: 0x62c23004 - 0x62c24ffc, pointer @ 0x62c24eb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH5 (Waiting)
  Stack: 0x62c1d004 - 0x62c1effc, pointer @ 0x62c1eeb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH4 (Waiting)
  Stack: 0x62e99004 - 0x62e9affc, pointer @ 0x62e9aeb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH3 (Waiting)
  Stack: 0x62e93004 - 0x62e94ffc, pointer @ 0x62e94eb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH2 (Waiting)
  Stack: 0x62e8d004 - 0x62e8effc, pointer @ 0x62e8eeb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 DH00 (Waiting)
  Stack: 0x62e81004 - 0x62e82ffc, pointer @ 0x62e82eb0 (Cookie OK)
  Signals: SigRec 0xe0000100, SigWait 0x10000000
  State: Process (Waiting)
 dos_filedir_notify (Waiting)
  Stack: 0x6fbdd004 - 0x6fbe0ffc, pointer @ 0x6fbe0af0 (Cookie OK)
  Signals: SigRec 0x40001000, SigWait 0x00000000
  State: Process (Waiting)
 MainIPC0 (Waiting)
  Stack: 0x6255e004 - 0x6256dffc, pointer @ 0x6256deb0 (Cookie OK)
  Signals: SigRec 0x40000100, SigWait 0x00000000
  State: Process (Waiting)
 HID Keyboard (Waiting)
  Stack: 0x6fc11000 - 0x6fc19000, pointer @ 0x6fc18f40 (Cookie OK)
  Signals: SigRec 0x90001000, SigWait 0x00000000
  State: Task (Waiting)
 hid.usbfd (Waiting)
  Stack: 0x6fc2d004 - 0x6fc34ffc, pointer @ 0x6fc34e90 (Cookie OK)
  Signals: SigRec 0xe0000000, SigWait 0x00000000
  State: Task (Waiting)
 HID Consumer (Waiting)
  Stack: 0x6fc19000 - 0x6fc21000, pointer @ 0x6fc20f60 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000000
  State: Task (Waiting)
 pager (Waiting)
  Stack: 0x628df004 - 0x628feffc, pointer @ 0x628fef00 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000000
  State: Process (Waiting)
 ENV (Ready)
  Stack: 0x628b7004 - 0x628b8ffc, pointer @ 0x628b8da0 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x80000100
  State: Process (Ready)
 MassStorage Device Task (Ready)
  Stack: 0x6fbcd000 - 0x6fbd5000, pointer @ 0x6fbd4e70 (Cookie OK)
  Signals: SigRec 0xf3009000, SigWait 0x10000000
  State: Task (Ready)
 console.device (Ready)
  Stack: 0x6fe49000 - 0x6fe51000, pointer @ 0x6fe50f70 (Cookie OK)
  Signals: SigRec 0xf0000000, SigWait 0x80000000
  State: Task (Ready)
 IDF0 (Waiting)
  Stack: 0x623e4004 - 0x623f3ffc, pointer @ 0x623f3ed0 (Cookie OK)
  Signals: SigRec 0xa8000100, SigWait 0x00000000
  State: Process (Waiting)
 IDF1 (Waiting)
  Stack: 0x62428004 - 0x62437ffc, pointer @ 0x62437ed0 (Cookie OK)
  Signals: SigRec 0xa8000100, SigWait 0x00000000
  State: Process (Waiting)
 IDF2 (Waiting)
  Stack: 0x62468004 - 0x62477ffc, pointer @ 0x62477ed0 (Cookie OK)
  Signals: SigRec 0xa8000100, SigWait 0x00000000
  State: Process (Waiting)
 IDF3 (Waiting)
  Stack: 0x624a4004 - 0x624b3ffc, pointer @ 0x624b3ed0 (Cookie OK)
  Signals: SigRec 0xa8000100, SigWait 0x00000000
  State: Process (Waiting)
 rtl8139.device.0 (Waiting)
  Stack: 0x61c07004 - 0x61cfbffc, pointer @ 0x61cfbf20 (Cookie OK)
  Signals: SigRec 0xf0008000, SigWait 0x00000100
  State: Process (Waiting)
 IPC0 (Waiting)
  Stack: 0x6257a004 - 0x62589ffc, pointer @ 0x62589ee0 (Cookie OK)
  Signals: SigRec 0x00010100, SigWait 0x00000000
  State: Process (Waiting)
 URL (Waiting)
  Stack: 0x62211004 - 0x6228bffc, pointer @ 0x62286ad0 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000100
  State: Process (Waiting)
 RANDOM (Waiting)
  Stack: 0x6229c004 - 0x622abffc, pointer @ 0x622abef0 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x00000000
  State: Process (Waiting)
 CON (Waiting)
  Stack: 0x5e046004 - 0x5e055ffc, pointer @ 0x5e055de0 (Cookie OK)
  Signals: SigRec 0xa0000100, SigWait 0x00000000
  State: Process (Waiting)
 CON (Waiting)
  Stack: 0x60588004 - 0x60597ffc, pointer @ 0x60597de0 (Cookie OK)
  Signals: SigRec 0x80000100, SigWait 0x00000000
  State: Process (Waiting)
 CON (Waiting)
  Stack: 0x60605004 - 0x60614ffc, pointer @ 0x60614de0 (Cookie OK)
  Signals: SigRec 0x80000100, SigWait 0x00000000
  State: Process (Waiting)
 CON (Waiting)
  Stack: 0x606f4004 - 0x60703ffc, pointer @ 0x60703de0 (Cookie OK)
  Signals: SigRec 0x80000100, SigWait 0x00000000
  State: Process (Waiting)
 AUDIO (Waiting)
  Stack: 0x621d3004 - 0x621e2ffc, pointer @ 0x621e2ec0 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x00000000
  State: Process (Waiting)
 CON (Waiting)
  Stack: 0x629b9004 - 0x629c0ffc, pointer @ 0x629c0de0 (Cookie OK)
  Signals: SigRec 0x80000100, SigWait 0x00000000
  State: Process (Waiting)
 RAW (Waiting)
  Stack: 0x62a21004 - 0x62a28ffc, pointer @ 0x62a28de0 (Cookie OK)
  Signals: SigRec 0x80000100, SigWait 0x00000000
  State: Process (Waiting)
 CON (Waiting)
  Stack: 0x62a31004 - 0x62a38ffc, pointer @ 0x62a38de0 (Cookie OK)
  Signals: SigRec 0x80000100, SigWait 0x00000000
  State: Process (Waiting)
 dos_nbmd_process (Waiting)
  Stack: 0x6ff0c004 - 0x6ff0dffc, pointer @ 0x6ff0df30 (Cookie OK)
  Signals: SigRec 0x00001100, SigWait 0x00000000
  State: Process (Waiting)
 dos_lock_handler (Waiting)
  Stack: 0x6ff06004 - 0x6ff07ffc, pointer @ 0x6ff07f10 (Cookie OK)
  Signals: SigRec 0x00001100, SigWait 0x00000000
  State: Process (Waiting)
 RexxMaster [] (Waiting)
  Stack: 0x62123004 - 0x62132ffc, pointer @ 0x62132f50 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000000
  State: Process (Waiting)
 diskimage.device unit 4 (Waiting)
  Stack: 0x622e9004 - 0x622fcffc, pointer @ 0x622fcc30 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000100
  State: Process (Waiting)
 diskimage.device unit 5 (Waiting)
  Stack: 0x62364004 - 0x62377ffc, pointer @ 0x62377c30 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000100
  State: Process (Waiting)
 diskimage.device unit 0 (Waiting)
  Stack: 0x623c4004 - 0x623d7ffc, pointer @ 0x623d7c30 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000100
  State: Process (Waiting)
 diskimage.device unit 1 (Waiting)
  Stack: 0x62408004 - 0x6241bffc, pointer @ 0x6241bc30 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000100
  State: Process (Waiting)
 diskimage.device unit 2 (Waiting)
  Stack: 0x62444004 - 0x62457ffc, pointer @ 0x62457c30 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000100
  State: Process (Waiting)
 diskimage.device unit 3 (Waiting)
  Stack: 0x62484004 - 0x62497ffc, pointer @ 0x62497c30 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000100
  State: Process (Waiting)
 diskimage.device unit 6 (Waiting)
  Stack: 0x624b8004 - 0x624cbffc, pointer @ 0x624cbc30 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000100
  State: Process (Waiting)
 TEXTCLIP (Waiting)
  Stack: 0x621f1004 - 0x62200ffc, pointer @ 0x62200eb0 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000100
  State: Process (Waiting)
 compose.task (Ready)
  Stack: 0x6166b000 - 0x61673000, pointer @ 0x61672f30 (Cookie OK)
  Signals: SigRec 0x00000021, SigWait 0x00000020
  State: Task (Ready)
 compose.task (Ready)
  Stack: 0x5f5f9000 - 0x5f601000, pointer @ 0x5f600f30 (Cookie OK)
  Signals: SigRec 0x00000021, SigWait 0x00000020
  State: Task (Ready)
 Workbench [Workbench] (Ready)
  Stack: 0x61ff7004 - 0x62006ffc, pointer @ 0x62006ea0 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x80000000
  State: Process (Ready)
 LimpidClock (Waiting)
  Stack: 0x60493004 - 0x604c3ffc, pointer @ 0x604c35c0 (Cookie OK)
  Signals: SigRec 0xf0001000, SigWait 0x00000000
  State: Process (Waiting)
 ramlib (Waiting)
  Stack: 0x62903004 - 0x6291bffc, pointer @ 0x6291bf20 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000100
  State: Process (Waiting)
 Workbench DosList Notify (Waiting)
  Stack: 0x61fd3004 - 0x61fe2ffc, pointer @ 0x61fe2f40 (Cookie OK)
  Signals: SigRec 0x00003000, SigWait 0x00000100
  State: Process (Waiting)
 smartbutton.docky (Waiting)
  Stack: 0x608aa004 - 0x608c2ffc, pointer @ 0x608c2eb0 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000100
  State: Process (Waiting)
 texteditor.gadget Clipboard Server (Waiting)
  Stack: 0x5fea2004 - 0x5fed2ffc, pointer @ 0x5fed2f00 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000100
  State: Process (Waiting)
 string.gadget server (Waiting)
  Stack: 0x61fbf004 - 0x61fceffc, pointer @ 0x61fcedb0 (Cookie OK)
  Signals: SigRec 0x40000000, SigWait 0x00000100
  State: Process (Waiting)
 Workbench Clipboard Server (Waiting)
  Stack: 0x60be2004 - 0x60bf1ffc, pointer @ 0x60bf1f00 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000100
  State: Process (Waiting)
 RinghioServer (Ready)
  Stack: 0x60714004 - 0x60733ffc, pointer @ 0x60733370 (Cookie OK)
  Signals: SigRec 0xd8001000, SigWait 0x10000100
  State: Process (Ready)
 hub.usbfd (Ready)
  Stack: 0x6fca1004 - 0x6fca8ffc, pointer @ 0x6fca8f00 (Cookie OK)
  Signals: SigRec 0x30000000, SigWait 0x10000000
  State: Task (Ready)
 AmiDock (Ready)
  Stack: 0x60621004 - 0x60630ffc, pointer @ 0x60630930 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x00000100
  State: Process (Ready)
 Background CLI [Blitz3:Debug/REDDebugger] (Ready)
  Stack: 0x5dc78004 - 0x5dc87ffc, pointer @ 0x5dc87ec0 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x80000100
  State: Process (Ready)
 TCP/IP Control (Ready)
  Stack: 0x6201b004 - 0x6202affc, pointer @ 0x6202adc0 (Cookie OK)
  Signals: SigRec 0xf8009080, SigWait 0x40000000
  State: Process (Ready)
 AmiBlitz3 (Waiting)
  Stack: 0x5f9cd004 - 0x5fa49ffc, pointer @ 0x5fa49f90 (Cookie OK)
  Signals: SigRec 0xffff0000, SigWait 0x00000100
  State: Process (Waiting)
 ASYNCWB (Waiting)
  Stack: 0x605c0004 - 0x605cfffc, pointer @ 0x605cfe70 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000100
  State: Process (Waiting)
 OS4Reboot (Waiting)
  Stack: 0x606a3004 - 0x606b2ffc, pointer @ 0x606b2e20 (Cookie OK)
  Signals: SigRec 0xc0001000, SigWait 0x00000100
  State: Process (Waiting)
 StormScreenManager (Waiting)
  Stack: 0x60675004 - 0x60684ffc, pointer @ 0x60684f20 (Cookie OK)
  Signals: SigRec 0xf0001000, SigWait 0x00000100
  State: Process (Waiting)
 RAWBInfo (Waiting)
  Stack: 0x604ec004 - 0x604fbffc, pointer @ 0x604fbec0 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000100
  State: Process (Waiting)
 DefIcons (Waiting)
  Stack: 0x605a4004 - 0x605b3ffc, pointer @ 0x605b3dc0 (Cookie OK)
  Signals: SigRec 0x80009000, SigWait 0x00000100
  State: Process (Waiting)
 « IPrefs » (Waiting)
  Stack: 0x62796004 - 0x627a5ffc, pointer @ 0x627a5530 (Cookie OK)
  Signals: SigRec 0x0000f000, SigWait 0x40000100
  State: Process (Waiting)
 TCP/IP Configuration (Waiting)
  Stack: 0x6205f004 - 0x6206effc, pointer @ 0x6206ede0 (Cookie OK)
  Signals: SigRec 0xf8003000, SigWait 0x00000000
  State: Process (Waiting)
 TCP/IP Superserver [TCP/IP Superserver] (Waiting)
  Stack: 0x62037004 - 0x62046ffc, pointer @ 0x62046a00 (Cookie OK)
  Signals: SigRec 0xd0000080, SigWait 0x00000000
  State: Process (Waiting)
 TCP/IP Log (Waiting)
  Stack: 0x62083004 - 0x62092ffc, pointer @ 0x62092f00 (Cookie OK)
  Signals: SigRec 0x80003000, SigWait 0x00000000
  State: Process (Waiting)
 ConClip (Waiting)
  Stack: 0x62197004 - 0x621a6ffc, pointer @ 0x621a6eb0 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000000
  State: Process (Waiting)
 USB stack Process (Waiting)
  Stack: 0x62597004 - 0x625a6ffc, pointer @ 0x625a6ee0 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000100
  State: Process (Waiting)
 datatypes.library (Waiting)
  Stack: 0x625ed004 - 0x625fcffc, pointer @ 0x625fcf10 (Cookie OK)
  Signals: SigRec 0x00001100, SigWait 0x00000000
  State: Process (Waiting)
 application.library messageserver (Waiting)
  Stack: 0x6271d000 - 0x6271dfa0, pointer @ 0x6271df10 (Cookie OK)
  Signals: SigRec 0xc0000000, SigWait 0x00000000
  State: Task (Waiting)
 hub.usbfd (Waiting)
  Stack: 0x6fbe5004 - 0x6fbecffc, pointer @ 0x6fbecf00 (Cookie OK)
  Signals: SigRec 0x30000000, SigWait 0x00000000
  State: Task (Waiting)
 hub.usbfd (Waiting)
  Stack: 0x6fcad004 - 0x6fcb4ffc, pointer @ 0x6fcb4f00 (Cookie OK)
  Signals: SigRec 0x30000000, SigWait 0x00000000
  State: Task (Waiting)
 hub.usbfd (Waiting)
  Stack: 0x6fcdd004 - 0x6fce4ffc, pointer @ 0x6fce4f00 (Cookie OK)
  Signals: SigRec 0x30000000, SigWait 0x00000000
  State: Task (Waiting)
 hub.usbfd (Waiting)
  Stack: 0x6fcb9004 - 0x6fcc0ffc, pointer @ 0x6fcc0f00 (Cookie OK)
  Signals: SigRec 0x30000000, SigWait 0x00000000
  State: Task (Waiting)
 hub.usbfd (Waiting)
  Stack: 0x6fcc5004 - 0x6fcccffc, pointer @ 0x6fcccf00 (Cookie OK)
  Signals: SigRec 0x30000000, SigWait 0x00000000
  State: Task (Waiting)
 hub.usbfd (Waiting)
  Stack: 0x6fcd1004 - 0x6fcd8ffc, pointer @ 0x6fcd8f00 (Cookie OK)
  Signals: SigRec 0x30000000, SigWait 0x00000000
  State: Task (Waiting)
 Blitz ][ Program Proc (Crashed)
  Stack: 0x5e062004 - 0x5e071ffc, pointer @ 0x5e071f60 (Cookie OK)
  Signals: SigRec 0x00000100, SigWait 0x00000000
  State: Process (Crashed)
 ramlib.support (Waiting)
  Stack: 0x62920004 - 0x62938ffc, pointer @ 0x62938f00 (Cookie OK)
  Signals: SigRec 0x80005000, SigWait 0x00000000
  State: Process (Waiting)
 dos_signal_server (Waiting)
  Stack: 0x6fba1004 - 0x6fba2ffc, pointer @ 0x6fba2f10 (Cookie OK)
  Signals: SigRec 0x0000f000, SigWait 0x00000000
  State: Process (Waiting)
 Picasso96 (Waiting)
  Stack: 0x627ba004 - 0x627c9ffc, pointer @ 0x627c9da0 (Cookie OK)
  Signals: SigRec 0x80000000, SigWait 0x00000000
  State: Process (Waiting)
 dos_appdir_server (Waiting)
  Stack: 0x6fba7004 - 0x6fba8ffc, pointer @ 0x6fba8d50 (Cookie OK)
  Signals: SigRec 0x80001000, SigWait 0x00000000
  State: Process (Waiting)
 idle.task (Ready)
  Stack: 0x6ff63000 - 0x6ff64000, pointer @ 0x6ff63fd0 (Cookie OK)
  Signals: SigRec 0x00000000, SigWait 0x00000000
  State: Task (Ready)
User avatar
gerograph
 
Posts: 78
Joined: Sun Mar 25, 2012 10:24 am
Location: Moers

Re: Amiblitz 3.5 Debugger doesn't work since Update 5

Postby tonyw » Wed Aug 22, 2012 12:32 am

Yes, that debug output is enough to see that the kernel is being crashed by an interrupt (probably a software interrupt). There is no point in going further with serial output capture.

If you run the debug kernel, it might give you more output, in the form of an earlier crash. Try it if you like, but the result is going to be the same: we probably can't do anything about it, as nearly all debuggers use tricky code that can't be emulated. Tricks like self-modifying code, writing over system vectors to catch exceptions, tricks like that can not be anticipated nor emulated. They were tolerated in the 68K days, but are strictly forbidden now and a lot of old "clever" code no longer works.

The debug kernel makes some sloppy code practices crash, where the "normal" kernel will ignore them and continue. We always use it when developing, because it highlights programming errors. To enable it, simply copy "kernel.debug" to "kernel.kmod". I would suggest that you make copies of both kernels first.
There is a "debug level" that you don't need to set, it's only for system debugging. The higher the value, the more debug info is spat out. A value of 5 or more will make the system slow to a crawl.

Alternatively, you can copy the whole Kicklayout from the "LABEL" to the blank line at the end, give it a new label, and substitute the "kernel.debug" in that list (don't forget to include a blank line between the two lists). Then you could select the "Debug" version at boot time.

Example:
LABEL AmigaOS 4.1 Update 5
; Exec name
EXEC Kickstart/loader
;
; PPC native modules
;
MODULE Kickstart/kernel
---
---
(blank line)
LABEL AmigaOS 4.1 Debug
; Exec name
EXEC Kickstart/loader
;
; PPC native modules
;
MODULE Kickstart/kernel.debug
---
---

You don't have to do anything in CFE.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1388
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Next

Return to Platform: AmigaOne X1000

Who is online

Users browsing this forum: No registered users and 1 guest