Who's Online |
62 user(s) are online ( 45 user(s) are browsing Forums)
Members: 0
Guests: 62
more...
|
|
|
|
|
Re: X5000 optimized code compile
|
|
Just popping in 
|
Sadly, the X5000 options do not work for E-UAE. I used these flags: CFLAGS="-O3 -mcpu=e5500 -mno-altivec -mno-powerpc64 -gstabs" At the end I got these error messages:
/T/cc1PpXo7.s: Assembler messages:
/T/cc1PpXo7.s:28739: Error: unrecognized opcode: `mcrxr'
/T/cc1PpXo7.s:28997: Error: unrecognized opcode: `mcrxr'
...
Any ideas what else is needed to make the assembler work? Thanks, Josef
|
|
|
|
|
|
Re: MOD replay in IMP3 freezes OS4
|
Posted on: 2/27 19:04
#22
|
Just popping in 
|
@balaton
Yes, the ptreplay library is still a prime suspect. But I do not know why the (almost) same code is stable on Morphos but crashes on AmigaOS4.
I need to disable more of the library to see if I can see what triggers the corruptions.
Still having an idea what kernel/DOS/Exec function crashes would immensely speed up the troubleshooting.
And AmiDock and/or the CPUInfo dockie have an influence how fast the crashes appear. Without AmiDock I could play Mods for about 10 hours before it crashed.
|
|
|
|
|
|
Re: MOD replay in IMP3 freezes OS4
|
|
Just popping in 
|
@msteed
Thank you for you input. No, IMP3 is not interacting with AmiDock. It is a m68k assembler application, so it is not aware of AmiDock at all. And this makes debugging the whole thing so much harder.
|
|
|
|
|
|
Re: MOD replay in IMP3 freezes OS4
|
Posted on: 2/23 14:36
#24
|
Just popping in 
|
Okay, I captured another crash with the debug kernel, but it does not contain any new information (at least not for me). No information about what kernel method crashed:
[HAL_DfltTrapHandler] *** Warning: Fatal exception in task 0x6919FC30 (AmiDock, etask = 0xEFEC8600) at ip 0x0183B008
kernel 54.30 (1.1.2021) AmigaOne X5000 debug
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFE33000
Trap type: DSI exception
DSISR: 00800000 DAR: CCCCCCD0
No matching page found
Machine State (raw): 0x0002F030
Machine State (verbose): [Critical Ints on] [ExtInt on] [User] [IAT on] [DAT on]
Instruction pointer: in module kernel.debug+0x0003B008 (0x0183B008)
Crashed process: AmiDock (0x6919FC30)
DSI verbose error description: Access to address 0xCCCCCCD0 not allowed by page protection in user state (protection violation)
Access was a store operation
Exception Syndrome Register: 0x00800000
0: 0184AD54 69BBEEE0 00000002 0220A968 6B68F9D0 0002F030 0236BDCC 0236BE3C
8: CCCCCCCC CCCCCCCC CCCCCCCC 00007428 AA020000 6C11C9F4 6C110000 00000000
16: 00000001 02410000 00000017 00000031 6FFA4070 0200B4CC 0200B4AC 0200B4E4
24: 020000A0 0200B2E4 6919F1B0 02200000 0184AD54 02200000 0220A968 6B68F9D0
CR: 28244824 XER: 00000078 CTR: 0183AF94 LR: 0184AD54
Disassembly of crash site:
0183AFF8: 815F0000 lwz r10,0(r31)
0183AFFC: 3D20CCCC lis r9,-13108
0183B000: 811F0004 lwz r8,4(r31)
0183B004: 6129CCCC ori r9,r9,52428
>0183B008: 910A0004 stw r8,4(r10)
0183B00C: 815F0004 lwz r10,4(r31)
0183B010: 811F0000 lwz r8,0(r31)
0183B014: 910A0000 stw r8,0(r10)
0183B018: 913F0000 stw r9,0(r31)
0183B01C: 913F0004 stw r9,4(r31)
msr: 0x0002B032
TLB1 (64 entries):
* [ 52]: size=7 tid = 0 TS = 1 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 53]: size=6 tid = 0 TS = 1 epn=0x01000000 rpn=0x00000000_01000000 WIMG=0x0 XXWWRR=0x5 protected
* [ 54]: size=6 tid = 0 TS = 1 epn=0x01400000 rpn=0x00000000_01400000 WIMG=0x0 XXWWRR=0x5 protected
* [ 55]: size=6 tid = 0 TS = 1 epn=0x01800000 rpn=0x00000000_01800000 WIMG=0x0 XXWWRR=0x33 protected
* [ 56]: size=6 tid = 0 TS = 1 epn=0x01C00000 rpn=0x00000000_01C00000 WIMG=0x0 XXWWRR=0x33 protected
* [ 57]: size=6 tid = 0 TS = 1 epn=0x02000000 rpn=0x00000000_02000000 WIMG=0x0 XXWWRR=0xF protected
* [ 58]: size=3 tid = 0 TS = 1 epn=0x02400000 rpn=0x00000000_02400000 WIMG=0x0 XXWWRR=0xF protected
* [ 59]: size=3 tid = 0 TS = 1 epn=0x02410000 rpn=0x00000000_02410000 WIMG=0x0 XXWWRR=0xF protected
* [ 60]: size=3 tid = 0 TS = 1 epn=0x02420000 rpn=0x00000000_02420000 WIMG=0x0 XXWWRR=0xF protected
* [ 61]: size=7 tid = 0 TS = 0 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 62]: size=A tid = 0 TS = 0 epn=0x00000000 rpn=0x00000000_00000000 WIMG=0x0 XXWWRR=0x3F protected
* [ 63]: size=A tid = 0 TS = 0 epn=0x40000000 rpn=0x00000000_40000000 WIMG=0x0 XXWWRR=0x3F protected
HAL_MaxTLB = 51, HAL_NextTLB = 0
MMUCFG = 0x064809C4
mas0 = 0x103F0000
mas1 = 0xC0000A00
mas2 = 0x40000000
mas3 = 0x4000003F
mas4 = 0x00000100
mas5 = 0x00000000
mas6 = 0x00000001
mas7 = 0x00000000
mas8 = 0x00000000
[HAL_DfltTrapHandler] *** Warning: Fatal exception in task 0x6919F1B0 (imp3, etask = 0xEFEC8300) at ip 0x0183B014
kernel 54.30 (1.1.2021) AmigaOne X5000 debug
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFEC4000
Trap type: DSI exception
DSISR: 00800000 DAR: 00000004
No matching page found
Machine State (raw): 0x0002F030
Machine State (verbose): [Critical Ints on] [ExtInt on] [User] [IAT on] [DAT on]
Instruction pointer: in module kernel.debug+0x0003B014 (0x0183B014)
Crashed process: imp3 (0x6919F1B0)
DSI verbose error description: Access to address 0x00000004 not allowed by page protection in user state (protection violation)
Access was a store operation
Exception Syndrome Register: 0x00800000
0: 0184AD54 6B68F9A0 00000002 0220A968 6B68F9D0 00000094 65986800 82D5AE0E
8: 6B68FA18 CCCCCCCC 00000004 00000028 F9000000 0000000D 00000003 6FFA3420
16: 6B68FA2C 00000006 000000FF 00000008 6B68FA18 0200B4CC 0200B4AC 0200B4E4
24: 020000A0 0200B2E4 6FFA4000 02200000 0184AD54 02200000 0220A968 6B68F9D0
CR: 39555535 XER: C000006F CTR: 0183AF94 LR: 0184AD54
Disassembly of crash site:
0183B004: 6129CCCC ori r9,r9,52428
0183B008: 910A0004 stw r8,4(r10)
0183B00C: 815F0004 lwz r10,4(r31)
0183B010: 811F0000 lwz r8,0(r31)
>0183B014: 910A0000 stw r8,0(r10)
0183B018: 913F0000 stw r9,0(r31)
0183B01C: 913F0004 stw r9,4(r31)
0183B020: 813D8BD8 lwz r9,-29736(r29)
0183B024: 2F890013 cmpwi cr7,r9,19
0183B028: 40DD002C ble- cr7,0x183B054
msr: 0x0002B032
TLB1 (64 entries):
* [ 52]: size=7 tid = 0 TS = 1 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 53]: size=6 tid = 0 TS = 1 epn=0x01000000 rpn=0x00000000_01000000 WIMG=0x0 XXWWRR=0x5 protected
* [ 54]: size=6 tid = 0 TS = 1 epn=0x01400000 rpn=0x00000000_01400000 WIMG=0x0 XXWWRR=0x5 protected
* [ 55]: size=6 tid = 0 TS = 1 epn=0x01800000 rpn=0x00000000_01800000 WIMG=0x0 XXWWRR=0x33 protected
* [ 56]: size=6 tid = 0 TS = 1 epn=0x01C00000 rpn=0x00000000_01C00000 WIMG=0x0 XXWWRR=0x33 protected
* [ 57]: size=6 tid = 0 TS = 1 epn=0x02000000 rpn=0x00000000_02000000 WIMG=0x0 XXWWRR=0xF protected
* [ 58]: size=3 tid = 0 TS = 1 epn=0x02400000 rpn=0x00000000_02400000 WIMG=0x0 XXWWRR=0xF protected
* [ 59]: size=3 tid = 0 TS = 1 epn=0x02410000 rpn=0x00000000_02410000 WIMG=0x0 XXWWRR=0xF protected
* [ 60]: size=3 tid = 0 TS = 1 epn=0x02420000 rpn=0x00000000_02420000 WIMG=0x0 XXWWRR=0xF protected
* [ 61]: size=7 tid = 0 TS = 0 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 62]: size=A tid = 0 TS = 0 epn=0x00000000 rpn=0x00000000_00000000 WIMG=0x0 XXWWRR=0x3F protected
* [ 63]: size=A tid = 0 TS = 0 epn=0x40000000 rpn=0x00000000_40000000 WIMG=0x0 XXWWRR=0x3F protected
HAL_MaxTLB = 51, HAL_NextTLB = 0
MMUCFG = 0x064809C4
mas0 = 0x103F0000
mas1 = 0xC0000A00
mas2 = 0x40000000
mas3 = 0x4000003F
mas4 = 0x00000100
mas5 = 0x00000000
mas6 = 0x00000001
mas7 = 0x00000000
mas8 = 0x00000000
Kernel command line: debug munge debuglevel=1 serial
Registers pointing to code:
r0 : native kernel module kernel.debug+0x0004ad54
r3 : native kernel module kernel.debug+0x00a0a968
r21: native kernel module kernel.debug+0x0080b4cc
r22: native kernel module kernel.debug+0x0080b4ac
r23: native kernel module kernel.debug+0x0080b4e4
r24: native kernel module kernel.debug+0x008000a0
r25: native kernel module kernel.debug+0x0080b2e4
r27: native kernel module kernel.debug+0x00a00000
r28: native kernel module kernel.debug+0x0004ad54
r29: native kernel module kernel.debug+0x00a00000
r30: native kernel module kernel.debug+0x00a0a968
ip : native kernel module kernel.debug+0x0003b014
lr : native kernel module kernel.debug+0x0004ad54
ctr: native kernel module kernel.debug+0x0003af94
Stack trace:
(0x6B68F9A0) native kernel module kernel.debug+0x0003b014
(0x6B68F9C0) native kernel module kernel.debug+0x0004ad54
(0x6B68FA00) native kernel module graphics.library.kmod+0x000363d8
(0x6B68FAE0) native kernel module intuition.library.kmod+0x00046698
(0x6B68FC80) native kernel module intuition.library.kmod+0x0007bbc4
(0x6B68FD20) native kernel module intuition.library.kmod+0x0007f29c
(0x6B68FE30) native kernel module intuition.library.kmod+0x00029638
(0x6B68FE50) native kernel module intuition.library.kmod+0x00065400
(0x6B68FEB0) native kernel module intuition.library.kmod+0x00029f34
(0x6B68FEE0) native kernel module intuition.library.kmod+0x0007fa04
(0x6B68FF90) native kernel module intuition.library.kmod+0x00080164
(0x6B68FFA0) native kernel module kernel.debug+0x00026d24
(0x6B68FFB8) 0x00000008 [cannot decode symbol]
(0x65C7BA34) 0x65C90E82 [cannot decode symbol]
Disassembly of crash site:
0183B004: 6129CCCC ori r9,r9,52428
0183B008: 910A0004 stw r8,4(r10)
0183B00C: 815F0004 lwz r10,4(r31)
0183B010: 811F0000 lwz r8,0(r31)
>0183B014: 910A0000 stw r8,0(r10)
0183B018: 913F0000 stw r9,0(r31)
0183B01C: 913F0004 stw r9,4(r31)
0183B020: 813D8BD8 lwz r9,-29736(r29)
0183B024: 2F890013 cmpwi cr7,r9,19
0183B028: 40DD002C ble- cr7,0x183B054
Stack pointer (0x6B68F9A0) is inside bounds
Redzone is OK (4)
68k register dump
DATA: 82D4A500 00000000 00000000 00000008 0000000F 00000007 5D9D4C04 0000000D
ADDR: 6FFA4000 82D82400 FFFFFFFF 6AB0D692 6C6B8050 6AB0E406 6F0924D0 6B68F6F0
Page information:
Page not found
Ready Tasks
HID Joystick (pri 10, sigrec 0x80000000, sigwait 0x80001000, masked 0x80000000)
HOME/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
MUSIC/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
IDF0/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
IDF1/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
AMIGA_SSH/ssh2-handler 53.12 (pri 5, sigrec 0x80000100, sigwait 0xC0000000, masked 0x80000000)
compose.task (pri 1, sigrec 0x00000020, sigwait 0x00000021, masked 0x00000020)
Workbench (pri 1, sigrec 0x80000180, sigwait 0x80000000, masked 0x80000000)
Bildschirmschoner-Bibliothek. (pri 1, sigrec 0x04000100, sigwait 0xB4001000, masked 0x04000000)
IMP3 - Debugger (pri 0, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
ptreplay.library player process (pri 0, sigrec 0x80000100, sigwait 0x00000010, masked 0x00000000)
NotificationServer (pri 0, sigrec 0x04000000, sigwait 0xBC001000, masked 0x04000000)
TCP/IP Control (pri 0, sigrec 0x40000100, sigwait 0xF8009080, masked 0x40000000)
Clock (pri 0, sigrec 0x02000000, sigwait 0x6E001000, masked 0x02000000)
vsata disk changer (pri 0, sigrec 0x80000000, sigwait 0x80000000, masked 0x80000000)
Calendar (pri 0, sigrec 0x04000000, sigwait 0xDC001000, masked 0x04000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
dos_signal_server (pri -5, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
ELF Collector (pri -5, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
CPUDock_idleTask (pri -127, sigrec 0x00000000, sigwait 0x40000000, masked 0x00000000)
idle.task (pri -128, sigrec 0x00000000, sigwait 0x00000000, masked 0x00000000)
Waiting Tasks
hid.usbfd (pri 10, sigrec 0x00000100, sigwait 0xE0000000, masked 0x00000000)
HOME/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
MUSIC/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
IDF0/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
IDF1/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
AMIGA_SSH/ssh2-handler 53.12 (pri 5, sigrec 0x80000100, sigwait 0xC0000000, masked 0x80000000)
compose.task (pri 1, sigrec 0x00000020, sigwait 0x00000021, masked 0x00000020)
Workbench (pri 1, sigrec 0x80000180, sigwait 0x80000000, masked 0x80000000)
Bildschirmschoner-Bibliothek. (pri 1, sigrec 0x04000100, sigwait 0xB4001000, masked 0x04000000)
IMP3 - Debugger (pri 0, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
ptreplay.library player process (pri 0, sigrec 0x80000100, sigwait 0x00000010, masked 0x00000000)
NotificationServer (pri 0, sigrec 0x04000000, sigwait 0xBC001000, masked 0x04000000)
TCP/IP Control (pri 0, sigrec 0x50000100, sigwait 0xF8009080, masked 0x50000000)
Clock (pri 0, sigrec 0x02000000, sigwait 0x6E001000, masked 0x02000000)
vsata disk changer (pri 0, sigrec 0x80000000, sigwait 0x80000000, masked 0x80000000)
Calendar (pri 0, sigrec 0x04000000, sigwait 0xDC001000, masked 0x04000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
dos_signal_server (pri -5, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
ELF Collector (pri -5, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
CPUDock_idleTask (pri -127, sigrec 0x00000000, sigwait 0x40000000, masked 0x00000000)
idle.task (pri -128, sigrec 0x00000000, sigwait 0x00000000, masked 0x00000000)
Suspended Tasks
AmiDock (pri 100, sigrec 0x00180000, sigwait 0x00000010, masked 0x00000000)
Kernel command line: debug munge debuglevel=1 serial
Registers pointing to code:
r0 : native kernel module kernel.debug+0x0004ad54
r3 : native kernel module kernel.debug+0x00a0a968
r6 : native kernel module kernel.debug+0x00b6bdcc
r7 : native kernel module kernel.debug+0x00b6be3c
r16: module LIBS:ptplay.library at 0x00000001 (section 0 @ 0xFFFFFFDC)
r17: native kernel module bootimage+0x00add420
r21: native kernel module kernel.debug+0x0080b4cc
r22: native kernel module kernel.debug+0x0080b4ac
r23: native kernel module kernel.debug+0x0080b4e4
r24: native kernel module kernel.debug+0x008000a0
r25: native kernel module kernel.debug+0x0080b2e4
r27: native kernel module kernel.debug+0x00a00000
r28: native kernel module kernel.debug+0x0004ad54
r29: native kernel module kernel.debug+0x00a00000
r30: native kernel module kernel.debug+0x00a0a968
ip : native kernel module kernel.debug+0x0003b008
lr : native kernel module kernel.debug+0x0004ad54
ctr: native kernel module kernel.debug+0x0003af94
Stack trace:
(0x69BBEEE0) native kernel module kernel.debug+0x0003b008
(0x69BBEF00) native kernel module kernel.debug+0x0004ad54
(0x69BBEF40) native kernel module graphics.library.kmod+0x0001d5cc
(0x69BBEFC0) native kernel module kernel.debug+0x000a13b8
(0x69BBF020) native kernel module graphics.library.kmod+0x000cdb44
(0x69BBF0B0) native kernel module graphics.library.kmod+0x0001d88c
(0x69BBF100) module AmiDock at 0x7FB0A724 (section 0 @ 0xC700)
(0x69BBF1B0) module AmiDock at 0x7FB1CE58 (section 0 @ 0x1EE34)
(0x69BBF380) module AmiDock at 0x7FB02D84 (section 0 @ 0x4D60)
(0x69BBF810) module AmiDock at 0x7FAFFCE4 (section 0 @ 0x1CC0)
(0x69BBF8A0) module AmiDock at 0x7FB00330 (section 0 @ 0x230C)
(0x69BBFCF0) module AmiDock at 0x7FB00560 (section 0 @ 0x253C)
(0x69BBFD10) native kernel module newlib.library.kmod+0x00002614
(0x69BBFD60) native kernel module newlib.library.kmod+0x000032f0
(0x69BBFF10) native kernel module newlib.library.kmod+0x00003864
(0x69BBFF40) AmiDock:_start()+0x1e0 (section 1 @ 0x1DC)
(0x69BBFF90) native kernel module dos.library.kmod+0x0002a458
(0x69BBFFC0) native kernel module kernel.debug+0x00088aec
(0x69BBFFD0) native kernel module kernel.debug+0x00088b64
Disassembly of crash site:
0183AFF8: 815F0000 lwz r10,0(r31)
0183AFFC: 3D20CCCC lis r9,-13108
0183B000: 811F0004 lwz r8,4(r31)
0183B004: 6129CCCC ori r9,r9,52428
>0183B008: 910A0004 stw r8,4(r10)
0183B00C: 815F0004 lwz r10,4(r31)
0183B010: 811F0000 lwz r8,0(r31)
0183B014: 910A0000 stw r8,0(r10)
0183B018: 913F0000 stw r9,0(r31)
0183B01C: 913F0004 stw r9,4(r31)
Stack pointer (0x69BBEEE0) is inside bounds
Redzone is OK (4)
68k register dump
DATA: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 00000001 - "LIBS:ptplay.library" Hunk 0000 Offset 00000000 (SegList: 0x19862A61)
ADDR: 6FFA4000 82D48B00 00000000 00000000 00000000 00000000 00000000 69BBED50
Page information:
Page not found
Ready Tasks
HID Joystick (pri 10, sigrec 0x80000000, sigwait 0x80001000, masked 0x80000000)
EHCI Controller Task Unit 1 (pri 15, sigrec 0x00000000, sigwait 0x82000000, masked 0x00000000)
USB stack (pri 18, sigrec 0x00000000, sigwait 0xF800D000, masked 0x00000000)
HID Joystick (pri 10, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
HOME/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
MUSIC/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
AMIGA_SSH/ssh2-handler 53.12 (pri 5, sigrec 0x80000100, sigwait 0xC0000000, masked 0x80000000)
IDF0/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
IDF1/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
compose.task (pri 1, sigrec 0x00000020, sigwait 0x00000021, masked 0x00000020)
Workbench (pri 1, sigrec 0x80000180, sigwait 0x80000000, masked 0x80000000)
NotificationServer (pri 0, sigrec 0x04000000, sigwait 0xBC001000, masked 0x04000000)
ptreplay.library player process (pri 0, sigrec 0x80000100, sigwait 0x00000010, masked 0x00000000)
Background CLI (pri 0, sigrec 0x00000100, sigwait 0x00000010, masked 0x00000000)
IMP3 - Debugger (pri 0, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
TCP/IP Control (pri 0, sigrec 0x50000100, sigwait 0xF8009080, masked 0x50000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
dos_signal_server (pri -5, sigrec 0x00004100, sigwait 0x00000100, masked 0x00000100)
ELF Collector (pri -5, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
CPUDock_idleTask (pri -127, sigrec 0x00000000, sigwait 0x40000000, masked 0x00000000)
idle.task (pri -128, sigrec 0x00000000, sigwait 0x00000000, masked 0x00000000)
Waiting Tasks
HID Joystick (pri 10, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
hid.usbfd (pri 10, sigrec 0x00000100, sigwait 0xE0000000, masked 0x00000000)
HOME/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
MUSIC/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
AMIGA_SSH/ssh2-handler 53.12 (pri 5, sigrec 0x80000100, sigwait 0xC0000000, masked 0x80000000)
IDF0/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
IDF1/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
compose.task (pri 1, sigrec 0x00000020, sigwait 0x00000021, masked 0x00000020)
Workbench (pri 1, sigrec 0x80000180, sigwait 0x80000000, masked 0x80000000)
NotificationServer (pri 0, sigrec 0x04000000, sigwait 0xBC001000, masked 0x04000000)
ptreplay.library player process (pri 0, sigrec 0x80000100, sigwait 0x00000010, masked 0x00000000)
Background CLI (pri 0, sigrec 0x00000100, sigwait 0x00000010, masked 0x00000000)
IMP3 - Debugger (pri 0, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
TCP/IP Control (pri 0, sigrec 0x50000100, sigwait 0xF8009080, masked 0x50000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
dos_signal_server (pri -5, sigrec 0x00004100, sigwait 0x00000100, masked 0x00000100)
ELF Collector (pri -5, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
CPUDock_idleTask (pri -127, sigrec 0x00000000, sigwait 0x40000000, masked 0x00000000)
idle.task (pri -128, sigrec 0x00000000, sigwait 0x00000000, masked 0x00000000)
Suspended Tasks
|
|
|
|
|
|
Re: MOD replay in IMP3 freezes OS4
|
|
Just popping in 
|
@khayoz Thank you for the suggestion! But sadly, it is not AHI or the soundcard driver. I disabled all IExec->DoIO calls and the IExec->AbortIO/IExec->WaitIO calls at the end. IMP3 was going through the mods very, very quickly ;) After a minute or so the system froze again:
kernel 54.30 (1.1.2021) AmigaOne X5000 release
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFCF2000
Trap type: DSI exception
DSISR: 00800000 DAR: 00000004
No matching page found
Machine State (raw): 0x0002F030
Machine State (verbose): [Critical Ints on] [ExtInt on] [User] [IAT on] [DAT on]
Instruction pointer: in module kernel+0x000331C0 (0x018331C0)
Crashed process: imp3 (0x6B87B620)
DSI verbose error description: Access to address 0x00000004 not allowed by page protection in user state (protection violation)
Access was a store operation
Exception Syndrome Register: 0x00800000
0: 01C4E180 6B3FB300 00000002 021FA968 6FF501D4 00000000 0000F8C1 00000000
8: 021FA968 69BD0908 021FA968 01C282C8 59333933 0000000D 0000000C 6FFA3420
16: 00000008 000000C0 000000FF 00000008 6B3FB348 6B3FB78C 6FF5A140 00000000
24: 000000FF 00000000 6FF501D4 6B3FB348 02400000 6FFFF800 00000000 6FF501B8
CR: 59333933 XER: A000007E CTR: 018331BC LR: 01C678C8
Disassembly of crash site:
018331B0: 81240000 lwz r9,0(r4)
018331B4: 90890004 stw r4,4(r9)
018331B8: 4E800020 blr
018331BC: 81240000 lwz r9,0(r4)
>018331C0: 90850004 stw r4,4(r5)
018331C4: 91250000 stw r9,0(r5)
018331C8: 90A40000 stw r5,0(r4)
018331CC: 81250000 lwz r9,0(r5)
018331D0: 90A90004 stw r5,4(r9)
018331D4: 4E800020 blr
msr: 0x0002B032
TLB1 (64 entries):
* [ 53]: size=7 tid = 0 TS = 1 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 54]: size=6 tid = 0 TS = 1 epn=0x01000000 rpn=0x00000000_01000000 WIMG=0x0 XXWWRR=0x5 protected
* [ 55]: size=6 tid = 0 TS = 1 epn=0x01400000 rpn=0x00000000_01400000 WIMG=0x0 XXWWRR=0x5 protected
* [ 56]: size=6 tid = 0 TS = 1 epn=0x01800000 rpn=0x00000000_01800000 WIMG=0x0 XXWWRR=0x33 protected
* [ 57]: size=6 tid = 0 TS = 1 epn=0x01C00000 rpn=0x00000000_01C00000 WIMG=0x0 XXWWRR=0x33 protected
* [ 58]: size=6 tid = 0 TS = 1 epn=0x02000000 rpn=0x00000000_02000000 WIMG=0x0 XXWWRR=0xF protected
* [ 59]: size=3 tid = 0 TS = 1 epn=0x02400000 rpn=0x00000000_02400000 WIMG=0x0 XXWWRR=0xF protected
* [ 60]: size=3 tid = 0 TS = 1 epn=0x02410000 rpn=0x00000000_02410000 WIMG=0x0 XXWWRR=0xF protected
* [ 61]: size=7 tid = 0 TS = 0 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 62]: size=A tid = 0 TS = 0 epn=0x00000000 rpn=0x00000000_00000000 WIMG=0x0 XXWWRR=0x3F protected
* [ 63]: size=A tid = 0 TS = 0 epn=0x40000000 rpn=0x00000000_40000000 WIMG=0x0 XXWWRR=0x3F protected
HAL_MaxTLB = 52, HAL_NextTLB = 0
MMUCFG = 0x064809C4
mas0 = 0x00020003
mas1 = 0x80001100
mas2 = 0x7FB9B000
mas3 = 0x061F0033
mas4 = 0x00000100
mas5 = 0x00000000
mas6 = 0x00000001
mas7 = 0x00000000
mas8 = 0x00000000
Kernel command line: debug munge debuglevel=1 serial
Registers pointing to code:
r0 : native kernel module graphics.library.kmod+0x00035d80
r3 : native kernel module kernel+0x009fa968
r8 : native kernel module kernel+0x009fa968
r10: native kernel module kernel+0x009fa968
r11: native kernel module graphics.library.kmod+0x0000fec8
r28: native kernel module bootimage+0x00b04e20
ip : native kernel module kernel+0x000331c0
lr : native kernel module graphics.library.kmod+0x0004f4c8
ctr: native kernel module kernel+0x000331bc
Stack trace:
(0x6B3FB300) native kernel module kernel+0x000331c0
(0x6B3FB330) native kernel module graphics.library.kmod+0x0004f4c8
(0x6B3FB410) native kernel module graphics.library.kmod+0x00006ecc
(0x6B3FB440) native kernel module graphics.library.kmod+0x00006ff0
(0x6B3FB4A0) native kernel module graphics.library.kmod+0x000cd6d8
(0x6B3FB4E0) native kernel module graphics.library.kmod+0x000cdcac
(0x6B3FB570) native kernel module graphics.library.kmod+0x0000a0cc
(0x6B3FB850) native kernel module graphics.library.kmod+0x00008ff8
(0x6B3FB8D0) native kernel module intuition.library.kmod+0x0004d994
(0x6B3FB9A0) native kernel module intuition.library.kmod+0x000304bc
(0x6B3FBCB0) native kernel module graphics.library.kmod+0x000cc340
(0x6B3FBCF0) native kernel module graphics.library.kmod+0x000cc440
(0x6B3FBD60) native kernel module intuition.library.kmod+0x0007f364
(0x6B3FBE70) native kernel module intuition.library.kmod+0x00029638
(0x6B3FBE90) native kernel module intuition.library.kmod+0x00065400
(0x6B3FBEF0) native kernel module intuition.library.kmod+0x00029f34
(0x6B3FBF20) native kernel module intuition.library.kmod+0x0007fa04
(0x6B3FBFD0) native kernel module intuition.library.kmod+0x00080164
(0x6B3FBFE0) native kernel module kernel+0x00020094
(0x6B3FBFF0) 0x63F67CCC [cannot decode symbol]
Disassembly of crash site:
018331B0: 81240000 lwz r9,0(r4)
018331B4: 90890004 stw r4,4(r9)
018331B8: 4E800020 blr
018331BC: 81240000 lwz r9,0(r4)
>018331C0: 90850004 stw r4,4(r5)
018331C4: 91250000 stw r9,0(r5)
018331C8: 90A40000 stw r5,0(r4)
018331CC: 81250000 lwz r9,0(r5)
018331D0: 90A90004 stw r5,4(r9)
018331D4: 4E800020 blr
Stack pointer (0x6B3FB300) is inside bounds
Redzone is OK (4)
68k register dump
DATA: 00000001 00000000 0000FFFF 00000002 00000003 00000007 00000057 00000000
----> 00000001 - "imp3" Hunk 0000 Offset 00000000 (SegList: 0x191098A9)
ADDR: 6FFA4000 830B4F00 FFFFFFFF 6B3E0692 6C6C8050 6B3E13EE 6F0A24D0 6B3FB8D0
Page information:
Page not found
Ready Tasks
HID Joystick (pri 10, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
hid.usbfd (pri 10, sigrec 0x00000100, sigwait 0xE0000000, masked 0x00000000)
TN ShadowNet (pri 5, sigrec 0x00000180, sigwait 0x00000100, masked 0x00000100)
WinFrame 1 Process (pri 5, sigrec 0x00800000, sigwait 0xFF800000, masked 0x00800000)
HOME/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
MUSIC/smb2-handler 53.7 (pri 5, sigrec 0x80000180, sigwait 0xC0000000, masked 0x80000000)
AMIGA_SSH/ssh2-handler 53.12 (pri 5, sigrec 0x80000100, sigwait 0xC0000000, masked 0x80000000)
IDF0/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
IDF1/FastFileSystem 53.2 (pri 5, sigrec 0x20000000, sigwait 0xA8000100, masked 0x20000000)
compose.task (pri 1, sigrec 0x00000020, sigwait 0x00000021, masked 0x00000020)
Workbench (pri 1, sigrec 0x80000180, sigwait 0x80000000, masked 0x80000000)
ptreplay.library player process (pri 0, sigrec 0x80000100, sigwait 0x00000010, masked 0x00000000)
NotificationServer (pri 0, sigrec 0x04000000, sigwait 0xBC001000, masked 0x04000000)
TuneNetR (pri 0, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
TuneNet (pri 0, sigrec 0x81000100, sigwait 0x00000100, masked 0x00000100)
IMP3 - Debugger (pri 0, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
TCP/IP Control (pri 0, sigrec 0x50000100, sigwait 0xF8009080, masked 0x50000000)
AmiDock (pri 0, sigrec 0x00180000, sigwait 0x00000010, masked 0x00000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
hub.usbfd (pri 0, sigrec 0x10000000, sigwait 0x30000000, masked 0x10000000)
Clock (pri 0, sigrec 0x02000000, sigwait 0x6E001000, masked 0x02000000)
Calendar (pri 0, sigrec 0x04000000, sigwait 0xDC001000, masked 0x04000000)
TuneNetR (pri -1, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
dos_signal_server (pri -5, sigrec 0x00004000, sigwait 0x0000F000, masked 0x00004000)
ELF Collector (pri -5, sigrec 0x00000100, sigwait 0x00000100, masked 0x00000100)
CPUDock_idleTask (pri -127, sigrec 0x00000000, sigwait 0x40000000, masked 0x00000000)
idle.task (pri -128, sigrec 0x00000000, sigwait 0x00000000, masked 0x00000000)
Waiting Tasks
DH0/NGFileSystem 54.106 (pri 10, sigrec 0x00000100, sigwait 0xF0000000, masked 0x00000000)
DH1/NGFileSystem 54.106 (pri 10, sigrec 0x00000100, sigwait 0xF0000000, masked 0x00000000)
EHCI Controller Task Unit 0 (pri 15, sigrec 0x00000000, sigwait 0xBE009000, masked 0x00000000)
TuneNetR (pri 10, sigrec 0x00000000, sigwait 0x02000000, masked 0x00000000)
ahi.device Unit Process (pri 50, sigrec 0x00000100, sigwait 0xF000C000, masked 0x00000000)
DH0/NGFileSystem 54.106 (pri 10, sigrec 0x00000100, sigwait 0xF0000000, masked 0x00000000)
DH1/NGFileSystem 54.106 (pri 10, sigrec 0x00000100, sigwait 0xF0000000, masked 0x00000000)
EHCI Controller Task Unit 0 (pri 15, sigrec 0x00000000, sigwait 0xBE009000, masked 0x00000000)
P50x0 Ethernet (pri 20, sigrec 0x00000000, sigwait 0x00001000, masked 0x00000000)
sii3114ide.device - chip 0 port 0 (pri 12, sigrec 0x00008000, sigwait 0xC0000000, masked 0x00000000)
rx_pm (pri 100, sigrec 0x00000000, sigwait 0x80000001, masked 0x00000000)
input.device (pri 20, sigrec 0x00000000, sigwait 0x00000010, masked 0x00000000)
CygnusEd ver. 5 (pri 1, sigrec 0x00000100, sigwait 0x4E000000, masked 0x00000000)
vsata disk changer (pri 0, sigrec 0x00000000, sigwait 0x80000000, masked 0x00000000)
ICD1/CDFileSystem 53.8 (pri 10, sigrec 0x00000000, sigwait 0x00000100, masked 0x00000000)
ICD0/CDFileSystem 53.8 (pri 10, sigrec 0x00000000, sigwait 0x00000100, masked 0x00000000)
DH2/SmartFilesystem 1.293 (pri 11, sigrec 0x00000000, sigwait 0x00000100, masked 0x00000000)
CD0/CDFileSystem 53.8 (pri 10, sigrec 0x00000000, sigwait 0x00000100, masked 0x00000000)
serial.device (pri 1, sigrec 0x00000000, sigwait 0x7E000000, masked 0x00000000)
hub.usbfd (pri 0, sigrec 0x08000000, sigwait 0x30000000, masked 0x00000000)
CygnusEd mouse blanker (pri 10, sigrec 0x00000000, sigwait 0x0000F000, masked 0x00000000)
rx_gc (pri 100, sigrec 0x00000000, sigwait 0x80000001, masked 0x00000000)
p50x0sata.device Port 0 (pri 12, sigrec 0x10000000, sigwait 0xC0007000, masked 0x00000000)
dos_filedir_notify (pri 5, sigrec 0x80000000, sigwait 0x40001000, masked 0x00000000)
TN_PlayMasterR (pri 5, sigrec 0x00000000, sigwait 0x0000A001, masked 0x00000000)
TCP/IP Configuration (pri 0, sigrec 0x00000100, sigwait 0xF8003000, masked 0x00000000)
appdir envarc manager (pri -50, sigrec 0x00000000, sigwait 0x80005000, masked 0x00000000)
ramlib.support (pri -2, sigrec 0x00000000, sigwait 0x80005000, masked 0x00000000)
ramlib (pri 1, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
sdkbrowser (pri -1, sigrec 0x00000100, sigwait 0xB4001002, masked 0x00000000)
ClickToFront (pri 21, sigrec 0x00000100, sigwait 0xE000D000, masked 0x00000000)
URL/launch-handler 53.39 (pri 5, sigrec 0x00000100, sigwait 0x80000000, masked 0x00000000)
TEXTCLIP/textclip-handler 53.4 (pri 3, sigrec 0x00000100, sigwait 0x80000000, masked 0x00000000)
RANDOM/Random-Handler 52.1 (pri 5, sigrec 0x00000000, sigwait 0x00000100, masked 0x00000000)
Mounter Task (pri -1, sigrec 0x00000000, sigwait 0xB0001000, masked 0x00000000)
Mounter GUI (pri 0, sigrec 0x00000000, sigwait 0x80007000, masked 0x00000000)
Mounter Companion Process (pri -1, sigrec 0x00000000, sigwait 0x80003000, masked 0x00000000)
Workbench DosList Notify (pri 1, sigrec 0x00000100, sigwait 0x00003000, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
Shell Process (pri 0, sigrec 0x00000000, sigwait 0x00000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xB0000100, masked 0x00000000)
application.library messageserver (pri 0, sigrec 0x00000000, sigwait 0xC0000000, masked 0x00000000)
ScreenBlankerEngine (pri 0, sigrec 0x00000100, sigwait 0xD8001000, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
DH2/SmartFilesystem 1.293 (pri 10, sigrec 0x00000000, sigwait 0xE0000100, masked 0x00000000)
ContextMenus Command Dispatcher (pri 1, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
ContextMenus (pri 0, sigrec 0x00000100, sigwait 0xE0001000, masked 0x00000000)
RexxMaster (pri 4, sigrec 0x00000100, sigwait 0xC0000000, masked 0x00000000)
clipview.library server (pri 0, sigrec 0x00000000, sigwait 0xD8003000, masked 0x00000000)
« IPrefs » (pri 0, sigrec 0x00000000, sigwait 0x0000F000, masked 0x00000000)
AsyncWB (pri 0, sigrec 0x00000100, sigwait 0xC0001000, masked 0x00000000)
InfoWB (pri 0, sigrec 0x00000100, sigwait 0xF8001000, masked 0x00000000)
texteditor.gadget Clipboard Server (pri 1, sigrec 0x00000100, sigwait 0x80000000, masked 0x00000000)
select.gadget prefs (pri 0, sigrec 0x00000100, sigwait 0x80001000, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
DefIcons (pri 0, sigrec 0x00000100, sigwait 0x80009000, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
string.gadget server (pri 1, sigrec 0x00000100, sigwait 0x40000000, masked 0x00000000)
p50x0sata.device Port 1 (pri 12, sigrec 0x10000000, sigwait 0xC0007000, masked 0x00000000)
Workbench Clipboard Server (pri 1, sigrec 0x00000100, sigwait 0x80000000, masked 0x00000000)
TCP/IP Log (pri 0, sigrec 0x00000000, sigwait 0x80003000, masked 0x00000000)
ConClip (pri 0, sigrec 0x00000000, sigwait 0x80000000, masked 0x00000000)
diskimage.device unit 1 (pri 4, sigrec 0x00000100, sigwait 0xC0000000, masked 0x00000000)
diskimage.device unit 0 (pri 4, sigrec 0x00000100, sigwait 0xC0000000, masked 0x00000000)
diskimage.device unit 5 (pri 4, sigrec 0x00000100, sigwait 0xC0000000, masked 0x00000000)
diskimage.device unit 4 (pri 4, sigrec 0x00000100, sigwait 0xC0000000, masked 0x00000000)
camdmidi.usbfd (pri 45, sigrec 0x00000100, sigwait 0x60001000, masked 0x00000000)
Camd Wait Proc (pri 5, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
USB stack Process (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
AUDIO/AHI-Handler 6.2 (pri 5, sigrec 0x00000000, sigwait 0x00000100, masked 0x00000000)
APPDIR/appdir-handler 54.17 (pri 5, sigrec 0x00000100, sigwait 0x80000000, masked 0x00000000)
MassStorage Notifier (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DST watcher (pri 0, sigrec 0x00000000, sigwait 0xC0000000, masked 0x00000000)
RAM/ram-handler 54.24 (pri 10, sigrec 0x00000100, sigwait 0x80000000, masked 0x00000000)
ENV/env-handler 54.18 (pri 5, sigrec 0x00000100, sigwait 0x80000000, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
RAW/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
CON/con-handler 53.82 (pri 5, sigrec 0x00000000, sigwait 0xA0000100, masked 0x00000000)
SFS DosList handler (pri 19, sigrec 0x00000000, sigwait 0x80000000, masked 0x00000000)
dos_nbmd_process (pri 5, sigrec 0x00000000, sigwait 0x00001100, masked 0x00000000)
dos_lock_handler (pri 5, sigrec 0x00000000, sigwait 0x00001100, masked 0x00000000)
hub.usbfd (pri 0, sigrec 0x00000000, sigwait 0x30000000, masked 0x00000000)
Exec Command and Control (pri 30, sigrec 0x00000000, sigwait 0x80000000, masked 0x00000000)
DMA2 Channel 4 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DMA1 Channel 4 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DMA2 Channel 3 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DMA1 Channel 3 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DMA2 Channel 2 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DMA1 Channel 2 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DMA2 Channel 1 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
DMA1 Channel 1 Handler (pri 0, sigrec 0x00000000, sigwait 0x80001000, masked 0x00000000)
Suspended Tasks
It is not the sound card, I had the same freezes/crashes also with an ESI @Julia. Of course it might be another hardware failure (memory, gfx card, mainboard, ...). But a software bug is much more likely as the system is very stable when not playing mods with heavy usage. BTW: TuneNet is still playing internet radio after a crash ;) Not sure why that part of the OS is still running when the UI is not...
|
|
|
|
|
|
Re: MOD replay in IMP3 freezes OS4
|
Posted on: 2/19 18:51
#26
|
Just popping in 
|
@LiveForIt
Thank you for you help. Having another pair of eyes is very helpful.
ptreplay.library uses IExec->WaitPort, and the port is valid. It will be released in _PTFreeModInternal (ptreplay_private.c). Something crashes before this code is reached. Also, code is using just one instance of the CMD and DIE message. It is also freed in _PTFreeModInternal.
I do not see where in ptreplay source a double free or usage after free should occur.
I never experienced a crash when skipping a module, only when reaches the end. So, ptreplay library might not be the issue here.
I did not check ptplay sources in detail, but it is much easier and uses no messages at all. And it allocs a MemoryPool at start and releases it at the end.
So, there might be a bug in IMP3 itself.
|
|
|
|
|
|
Re: MOD replay in IMP3 freezes OS4
|
Posted on: 2/19 17:40
#27
|
Just popping in 
|
@LiveForIt I added debug messages everywhere, but it did not help track the issue down. A typical crash looks like this:
ptreplay::PTSetVolume
ptreplay::PTStop
ptreplay::_PTSendCommand
ptreplay::_PTSendCommand - PutMsg
ptreplay::_PTSendCommand - WaitPort
kernel 54.30 (1.1.2021) AmigaOne X5000 release
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFDFDBA0
Trap type: DSI exception
DSISR: 00000000 DAR: 6597CFFC
No matching page found
Machine State (raw): 0x00023032
Machine State (verbose): [Critical Ints on] [Super] [IAT on] [DAT on] [Recoverable]
Instruction pointer: 0x7FBC3E84
Crashed task: CPUDock_idleTask (0x6A422360)
DSI verbose error description: Access was a load operation
Exception Syndrome Register: 0x00000000
0: 0000000C 021F9C60 00000002 00000003 00000000 5B4E1200 0235BDCC 0235EE5C
8: FFFFFFFF FFFFFFFC 6597CFFC 6597D000 00000000 0000000D 00001000 00001000
16: 6597D000 00000001 0000013A 00000001 00008000 00008000 00000000 00000000
24: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 00000000 00000000 00000000 6416A000
CR: 39A55999 XER: 8000007E CTR: 7FBC3E78 LR: 7FBC3F58
Disassembly of crash site:
7FBC3E74: 4BFFFE5C b 0x7FBC3Cplayer_main: Got STOP command
player_main: Getting Mutex
player_main: Seek to 0
player_main: Releasing Mutex
player_main: Got PAUSE command
player_main: Replying message
ptreplay::_PTSendCommand - GetMsg
ptreplay::_PTSendCommand - Got kernel 54.30 (1.1.2021) AmigaOne X5000 release
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFD647C0
Trap type: DSI exception
DSISR: 00000000 DAR: 6597CFFC
No matching page found
Machine State (raw): 0x00023032
Machine State (verbose): [Critical Ints on] [Super] [IAT on] [DAT on] [Recoverable]
Instruction pointer: 0x7FBC3E84
Crashed process: imp3 (0x69F60AF0)
DSI verbose error description: Access was a load operation
Exception Syndrome Register: 0x00000000
0: 0000000C 021F6C60 00000002 00000003 00000000 FFFFFFFF 6FF9E1AC 8000000B
8: FFFFFFFF FFFFFFFC 6597CFFC 6597D000 00000000 0000000D 6B640964 021FA968
16: 65BA8004 65BBBFFC 00000200 6B8A4BA0 00000014 00000002 8000000F 8000000E
24: 8000000A 00DFF000 FFFFFFFF FFFFFFFF 021FA968 6FFFE300 00000000 6416A000
CR: 39933939 XER: A000007E CTR: 7FBC3E78 LR: 7FBC393C
Disassembly of crash site:
7FBC3E74: 4BFFFE5C b 0x7FBC3CD0
7FBkernel 54.30 (1.1.2021) AmigaOne X5000 release
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFD607C0
Trap type: DSI exception
DSISR: 00000000 DAR: 6597CFFC
No matching page found
Machine State (raw): 0x00023032
Machine State (verbose): [Critical Ints on] [Super] [IAT on] [DAT on] [Recoverable]
Instruction pointer: 0x7FBC3E84
Crashed process: TwinVNC_OS4 (0x5AC5DAD0)
DSI verbose error description: Access was a load operation
Exception Syndrome Register: 0x00000000
0: 0000000C 021F3C60 00000002 00000003 00000000 FFFFFFFF 6FF9E1AC 8000000B
8: FFFFFFFF FFFFFFFC 6597CFFC 6597D000 00000000 64A6B980 00000003 6FFA3420
16: 00000008 00000006 00000200 6BC6B740 00000014 00000002 8000000F 8000000E
24: 8000000A 00DFF000 FFFFFFFF FFFFFFFF 021FA968 6FFFE300 00000000 6416A000
CR: 39355939 XER: E000006F CTR: 7FBC3E78 LR: 7FBC393C
Disassembly of crash site:
kernel 54.30 (1.1.2021) AmigaOne X5000 release
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFFF33E0
Trap type: ISI exception
Machine State (raw): 0x00023032
Machine State (verbose): [Critical Ints on] [Super] [IAT on] [DAT on] [Recoverable]
Instruction pointer: 0x4CA0328C
Crashed task: idle.task (0x6FFAA360)
Instruction fetch in non-execute page
Exception Syndrome Register: 0x00800000
0: 01842C60 021F0EB0 00000002 56F36000 00001000 00000002 0235BDCC 0235BE3C
8: 56F37000 4CA0328C 01818D7C 6BF70000 6FFA0000 0000000D 0000000E 0000000F
16: 00000010 00000011 00000012 6FFA0BA0 00000014 00000002 8000000F 8000000E
24: 8000000A 00DFF000 00000000 56F36000 00000002 00001000 56F36000 021F20F0
CR: 39ADB935 XER: C000006F CTR: 4CA0328C LR: 01808714
No Disassembly (ISI)
msr: 0x00023032
TLB1 (64 entries):
* [ 53]: size=7 tid = 0 TS = 1 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 54]: size=6 tid = 0 TS = 1 epn=0x01000000 rpn=0x00000000_01000000 WIMG=0x0 XXWWRR=0x5 protected
* [ 55]: size=6 tid = 0 TS = 1 epn=0x01400000 rpn=0x00000000_01400000 WIMG=0x0 XXWWRR=0x5 protected
* [ 56]: size=6 tid = 0 TS = 1 epn=0x01800000 rpn=0x00000000_01800000 WIMG=0x0 XXWWRR=0x33 protected
* [ 57]: size=6 tid = 0 TS = 1 epn=0x01C00000 rpn=0x00000000_01C00000 WIMG=0x0 XXWWRR=0x33 protected
* [ 58]: size=6 tid = 0 TS = 1 epn=0x02000000 rpn=0x00000000_02000000 WIMG=0x0 XXWWRR=0xF protected
* [ 59]: size=3 tid = 0 TS = 1 epn=0x02400000 rpn=0x00000000_02400000 WIMG=0x0 XXWWRR=0xF protected
* [ 60]: size=3 tid = 0 TS = 1 epn=0x02410000 rpn=0x00000000_02410000 WIMG=0x0 XXWWRR=0xF protected
* [ 61]: size=7 tid = 0 TS = 0 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 62]: size=A tid = 0 TS = 0 epn=0x00000000 rpn=0x00000000_00000000 WIMG=0x0 XXWWRR=0x3F protected
* [ 63]: size=A tid = 0 TS = 0 epn=0x40000000 rpn=0x00000000_40000000 WIMG=0x0 XXWWRR=0x3F protected
HAL_MaxTLB = 52, HAL_NextTLB = 0
MMUCFG = 0x064809C4
mas0 = 0x103F0000
mas1 = 0xC0000A00
mas2 = 0x40000000
mas3 = 0x4000003F
mas4 = 0x00000100
mas5 = 0x00000000
mas6 = 0x00000001
mas7 = 0x00000000
mas8 = 0x00000000
Kernel command line: debug munge debuglevel=1 serial
Registers pointing to code:
r0 : natkernel 54.30 (1.1.2021) AmigaOne X5000 release
Machine model: 9 (AmigaOne X5000/20)
Dump of context at 0xEFF327C0
Trap type: ISI exception
Machine State (raw): 0x00023032
Machine State (verbose): [Critical Ints on] [Super] [IAT on] [DAT on] [Recoverable]
Instruction pointer: 0x4CA0328C
Crashed process: reaper.task (0x6EAEDDB0)
Instruction fetch in non-execute page
Exception Syndrome Register: 0x00000000
0: 01842C60 021EDEB0 00000002 56F36000 00001000 00000002 0235BDCC 0235BE3C
8: 56F37000 4CA0328C 01818D7C 6BF70000 6FFA0000 0000000D 021F0000 6CC49DFC
16: 6FFAA360 021FA968 02007FE4 6CC885D0 00000014 00000002 8000000F 8000000E
24: 8000000A 00DFF000 00000000 56F36000 00000002 00001000 56F36000 021F20F0
CR: 39933935 XER: C000006F CTR: 4CA0328C LR: 01808714
No Disassembly (ISI)
msr: 0x00023032
TLB1 (64 entries):
* [ 53]: size=7 tid = 0 TS = 1 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 54]: size=6 tid = 0 TS = 1 epn=0x01000000 rpn=0x00000000_01000000 WIMG=0x0 XXWWRR=0x5 protected
* [ 55]: size=6 tid = 0 TS = 1 epn=0x01400000 rpn=0x00000000_01400000 WIMG=0x0 XXWWRR=0x5 protected
* [ 56]: size=6 tid = 0 TS = 1 epn=0x01800000 rpn=0x00000000_01800000 WIMG=0x0 XXWWRR=0x33 protected
* [ 57]: size=6 tid = 0 TS = 1 epn=0x01C00000 rpn=0x00000000_01C00000 WIMG=0x0 XXWWRR=0x33 protected
* [ 58]: size=6 tid = 0 TS = 1 epn=0x02000000 rpn=0x00000000_02000000 WIMG=0x0 XXWWRR=0xF protected
* [ 59]: size=3 tid = 0 TS = 1 epn=0x02400000 rpn=0x00000000_02400000 WIMG=0x0 XXWWRR=0xF protected
* [ 60]: size=3 tid = 0 TS = 1 epn=0x02410000 rpn=0x00000000_02410000 WIMG=0x0 XXWWRR=0xF protected
* [ 61]: size=7 tid = 0 TS = 0 epn=0xFE000000 rpn=0x0000000F_FE000000 WIMG=0x5 XXWWRR=0xF protected
* [ 62]: size=A tid = 0 TS = 0 epn=0x00000000 rpn=0x00000000_00000000 WIMG=0x0 XXWWRR=0x3F protected
* [ 63]: size=A tid = 0 TS = 0 epn=0x40000000 rpn=0x00000000_40000000 WIMG=0x0 XXWWRR=0x3F protected
HAL_MaxTLB = 52, HAL_NextTLB = 0
MMUCFG = 0x064809C4
mas0 = 0x103F0000
mas1 = 0xC0000A00
mas2 = 0x40000000
mas3 = 0x4000003F
mas4 = 0x00000100
mas5 = 0x00000000
mas6 = 0x00000001
mas7 = 0x00000000
mas8 = 0x00000000
Something (IMP3, ptplay.library, ptreplay.library) shrambles the system pretty good. Maybe somebody spots something. I do not see anything major wrong in ptreplay's source code.
|
|
|
|
|
|
MOD replay in IMP3 freezes OS4
|
Posted on: 2/19 17:07
#28
|
Just popping in 
|
Hi,
I know that IMP3 is not so popular for OS4 users, but still, maybe somebody might help me with my issue.
IMP3 is rock solid as long as I do not play any mods. But when I play mods, I get strange crashes and the system freezes.
The crashes/freezes happens only when the current playback of the mod is finished. I added KPrintf calls to the OS4 ptreplay library, and it seems the crashes happen somewhere around the code that unloads the mod.
The strange thing is that the first crash is neither IMP3 nor the ptreplay/ptplay library. The serial output captures a partial crash in CPUDock_idleTask. Then I see another partial crash that is not connected to any other program, but just some raw code in OS4's kernel.
The crashes are also not conneted to the song playing. I noted what song crashed, and replaying the song multiple times does not trigger another crash.
I have heard that other people do not have any issues with mod playback on OS4. Not sure what is different in their system compared to mine.
Accourding to SysMon I have a Creative Labs Sound Core3D / Recon3D / Z-Series with Harald Kanning's hda.audio 6.11 driver.
Thank you and best regards, Josef
|
|
|
|
|
|
Re: SDL3
|
|
Just popping in 
|
@Capehill
Thank you very much! RC2 fixes the crashes of the test programs when started from WB.
|
|
|
|
|
|
Re: SDL3
|
|
Just popping in 
|
@Capehill Sure, please find the stack trace below:
Crash log for task "testver"
Generated by GrimReaper 53.19
Crash occured in module newlib.library.kmod at address 0x01A93CC0
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003
Register dump:
GPR (General Purpose Registers):
0: 6FFB1340 5D6C2980 00000002 00000000 5D735010 00000000 00000011 00000000
8: 63229E74 00000000 5D73501C 01A93CB8 000007BC 61A94CF8 00000000 00000000
16: 00000000 00000000 00000000 19FB76AE 1AEC1F0A 7F8DDA68 02018AC8 5D6C29C8
24: 5D6F0FAC 5D734E78 00000000 00000000 00000000 5D734E88 021FA968 5D735010
FPR (Floating Point Registers, NaN = Not a Number):
0: -nan 616 4.14294e+25 4.751e-114
4: 5.08447e-277 4.5036e+15 4.5036e+15 64
8: 64 1 64 64
12: 256 4.5036e+15 6.54657e-144 5.06737e+58
16: 9.88992e+299 -1.00019e+44 4.42262 9.53257
20: 4.41275e-06 3.13471e+167 1.73446e+131 270354
24: 1.71324e-257 1.14901e-144 -3.29678e+272 -5.82453e+202
28: 3.69051e+89 -7.83227e-306 1.67869e-201 2.2192e-131
FPSCR (Floating Point Status and Control Register): 0x82008000
SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x5DB09DC0
Instruction Pointer (ip) : 0x01A93CC0
Xtended Exception (xer) : 0x018407B0
Count (ctr) : 0x00000000
Link (lr) : 0x00000000
DSI Status (dsisr) : 0x01860BA0
Data Address (dar) : 0x00000000
680x0 emulated registers:
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FPU0: 0 0 0 0
FPU4: 0 0 0 0
Symbol info:
Instruction pointer 0x01A93CC0 belongs to module "newlib.library.kmod" (HUNK/Kickstart)
Stack trace:
native kernel module newlib.library.kmod+0x00034ba0
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA9212C (section 0 @ 0x96AE0)
native kernel module dos.library.kmod+0x00031550
native kernel module dos.library.kmod+0x00031b44
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA8D1FC (section 0 @ 0x91BB0)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA8D284 (section 0 @ 0x91C38)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA8DA1C (section 0 @ 0x923D0)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FE828 (section 0 @ 0x31DC)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FEEB8 (section 0 @ 0x386C)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FF390 (section 0 @ 0x3D44)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FF8C8 (section 0 @ 0x427C)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FFCB0 (section 0 @ 0x4664)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA002A0 (section 0 @ 0x4C54)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA0050C (section 0 @ 0x4EC0)
[testver.c:28] testver:main()+0x28 (section 7 @ 0x3514)
native kernel module newlib.library.kmod+0x00002614
native kernel module newlib.library.kmod+0x000032f0
native kernel module newlib.library.kmod+0x00003864
testver:_start()+0x1e0 (section 7 @ 0x3280)
native kernel module dos.library.kmod+0x0002a458
native kernel module kernel+0x0005c18c
native kernel module kernel+0x0005c204
PPC disassembly:
01a93cb8: 5467003a rlwinm r7,r3,0,0,29
01a93cbc: 7f833840 cmplw cr7,r3,r7
*01a93cc0: 81070000 lwz r8,0(r7)
01a93cc4: 419e0024 beq- cr7,0x1A93CE8
01a93cc8: 7c6918f8 not r9,r3
The default stack size of WB is 65kB. I also created an icon and set the stack size to 100kB, still the same crash. It only works for me and McFly when we run the programs from a shell. Best regards, Josef
|
|
|
|
|
|
Re: What programs do you regularly use on your AmigaOS 4 system?
|
Posted on: 1/26 22:25
#31
|
Just popping in 
|
@Chris
I use lha in the shell. I am more of a keyboard/command line guy.
|
|
|
|
|
|
Re: SDL3
|
Posted on: 1/26 19:17
#32
|
Just popping in 
|
@Capehill:
Great work! Thanks a lot for porting SDL3.
Just some nit-picking: The test programs crash when started from WB, they run fine when running from a shell. Maybe they need to open a window for log output?
|
|
|
|
|
|
Re: What programs do you regularly use on your AmigaOS 4 system?
|
|
Just popping in 
|
I use the following programs regulary:
AmiDock IBrowse Odyssey TwinVNC IMP3 TuneNet/AmigaAmp3 DiskImageGUI Filer AmiPDF CubicIDE gVim CyngusEd SDKBrowser Clock Calendar Shell GCC/VBCC/VASM SSH2-Handler SMB2FS
|
|
|
|
|
|
Re: How to report issues with wiki.amigaos.net?
|
Posted on: 1/25 10:00
#34
|
Just popping in 
|
@Cyborg Thanks a lot. The internal errors are fixed. Sadly, there is still a slight issue: the sections with C code samples are empty. For example the first code block on https://wiki.amigaos.net/wiki/Programm ... gaOS_4:_Exec_-_The_KernelWould it be possible to fix that, too? Again thank you very much for keeping the Wiki running. Best regards, Josef
|
|
|
|
|
|
Re: How to report issues with wiki.amigaos.net?
|
Posted on: 1/24 17:41
#35
|
Just popping in 
|
@walkero
Thank you very much for contacting the correct people!
|
|
|
|
|
|
Re: Updater tool: latest releases and updates
|
Posted on: 1/16 11:53
#37
|
Just popping in 
|
@amigakit
Thank you!
Version 54.22 no longer has issues with getting its own version string. This also fixes the "not found" issue in Updater.
|
|
|
|
|
|
Re: copy 54.11 fails to indicate non-extant file/folder and returns successfully
|
|
Just popping in 
|
There should be a newer version of copy:
> version full file c:copy
Copy 54.14 (13.07.2024)
Copyright (C) 2024 AmigaKit Ltd.
Does 54.14 work for your use case?
|
|
|
|
|
|
Re: Updater tool: latest releases and updates
|
|
Just popping in 
|
@skynet It looks that Version 54.21 has sometimes issues getting its own version string:
4. > Workbench: > version full file c:version
Could not find version information for 'c:version'
4. > Workbench: > version full file c:version
Version 54.21 (22.10.2024)
Copyright (C) 2024 AmigaKit Ltd.
4. > Workbench: > version full file c:version
Could not find version information for 'c:version'
4. > Workbench: > version full file c:version
Version 54.21 (22.10.2024)
Copyright (C) 2024 AmigaKit Ltd.
4. > Workbench: > version full file c:version
Could not find version information for 'c:version'
4. > Workbench: > version full file c:version
Version 54.21 (22.10.2024)
Copyright (C) 2024 AmigaKit Ltd.
This seems to be only an issue with the latest version 54.21.
|
|
|
|
|
|
Re: Strange crash with ARexx and RexxReqTools on Amiga OS4
|
|
Just popping in 
|
@msteed: That is a very good point, thank you very much! I changed the check to the following:
if (!glob->prwin || (ULONG) glob->prwin == ~0 || !glob->prwin->UserPort
|| (glob->prwin->UserPort->mp_SigTask != ThisProcess()))
glob->shareidcmp = FALSE;
|
|
|
|
|
|