@trixie
The latest version of
AmigaDiskBench (v. 2.5.3) seems to have a very similar bug as Rave: When I run the program, select the Disk Info tab, and then click on "Fixed Drives/sb600sata.device" in the listview the program stops responding, along with much of the OS. (There is a
recoverable DSI when I first run the program; that DSI doesn't seem related to the lockup bug.)
Like Rave, the crash happens when the program is working with ReAction gadgets, and the stack trace shows the crash occurs during a series of nested calls to the layout.gadget, followed by a call to the button.gadget. The first part of the crash log, including the general info and the register dump, seems to go missing. But what remains is enough to get an idea what was happening when the crash occurred:
Kernel command line: DEBUGLEVEL=0 SERIAL
Registers pointing to code:
r0 : native kernel module kernel+0x000375ac
r3 : native kernel module kernel+0x00009dd4
r5 : native kernel module kernel+0x0000b030
r6 : native kernel module kernel+0x00a8418c
r13: AmigaDiskBench:collapsed_buf.1()+0x5ca8 (section 14 @ 0x7F24)
r27: module DEVS:printer.device at 0x00000001 (section 0 @ 0xFFFFFFDC)
r28: native kernel module kernel+0x00a87032
r31: native kernel module kernel+0x009724f0
ip : native kernel module kernel+0x00009dbc
lr : native kernel module kernel+0x000375b4
ctr: native kernel module kernel+0x00035e60
Stack trace:
(0x5e456660) native kernel module kernel+0x00009dbc
(0x5e456690) native kernel module kernel+0x000375b4
(0x5e4566b0) native kernel module kernel+0x00033b70
(0x5e4566d0) module CLASSES:gadgets/button.gadget at 0x7FDC0234 (section 0 @ 0x3210)
(0x5e4567d0) native kernel module intuition.library.kmod+0x000250d4
(0x5e456820) native kernel module intuition.library.kmod+0x00025530
(0x5e4568a0) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5e456950) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5e456a70) native kernel module intuition.library.kmod+0x000250d4
(0x5e456ac0) native kernel module intuition.library.kmod+0x00025530
(0x5e456b40) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5e456bf0) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5e456d10) native kernel module intuition.library.kmod+0x000250d4
(0x5e456d60) native kernel module intuition.library.kmod+0x00025530
(0x5e456de0) module CLASSES:gadgets/layout.gadget at 0x7FDF15B0 (section 0 @ 0xC58C)
(0x5e456e70) native kernel module intuition.library.kmod+0x000250d4
(0x5e456ec0) native kernel module intuition.library.kmod+0x00025530
(0x5e456f40) module CLASSES:gadgets/clicktab.gadget at 0x7FB33968 (section 0 @ 0x5944)
(0x5e457040) module CLASSES:gadgets/clicktab.gadget at 0x7FB35030 (section 0 @ 0x700C)
(0x5e4570f0) native kernel module intuition.library.kmod+0x000250d4
(0x5e457140) native kernel module intuition.library.kmod+0x00025530
(0x5e4571c0) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5e457270) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5e457390) native kernel module intuition.library.kmod+0x000250d4
(0x5e4573e0) native kernel module intuition.library.kmod+0x00025530
(0x5e457460) module CLASSES:gadgets/layout.gadget at 0x7FDE9FB0 (section 0 @ 0x4F8C)
(0x5e457570) module CLASSES:window.class at 0x7FDF5300 (section 0 @ 0x22DC)
(0x5e457590) module CLASSES:window.class at 0x7FDF74E8 (section 0 @ 0x44C4)
(0x5e4575f0) module CLASSES:window.class at 0x7FDFEEF8 (section 0 @ 0xBED4)
(0x5e4577c0) native kernel module intuition.library.kmod+0x000250d4
(0x5e457810) native kernel module intuition.library.kmod+0x00025530
(0x5e457890) native kernel module intuition.library.kmod+0x0000b3e4
(0x5e457900) AmigaDiskBench:StartGUI()+0x1294 (section 1 @ 0x6788)
(0x5e457d40) native kernel module newlib.library.kmod+0x00002614
(0x5e457d90) native kernel module newlib.library.kmod+0x000032f0
(0x5e457f40) native kernel module newlib.library.kmod+0x00003864
(0x5e457f70) AmigaDiskBench:_start()+0x1e0 (section 1 @ 0x1E0)
(0x5e457fc0) native kernel module kernel+0x0005a1a4
(0x5e457fd0) native kernel module kernel+0x0005a21c
Disassembly of crash site:
02009dac: 7c641b78 mr r4,r3
02009db0: 3c600200 lis r3,512
02009db4: 60639dd4 ori r3,r3,40404
02009db8: 44000022 .word 0x44000022
>02009dbc: 4e800020 blr
02009dc0: 7c641b78 mr r4,r3
02009dc4: 3c600200 lis r3,512
02009dc8: 60639f3c ori r3,r3,40764
02009dcc: 44000022 .word 0x44000022
02009dd0: 4e800020 blr
Stack pointer (0x5e456660) is inside bounds
Redzone is OK (4)
The exact code where the crash occurs is different than Rave. There are some other differences as well: unlike Rave, the crash occurs under FE Update 2, as well as under Update 3. And unlike Rave, the crash occurs even if AmigaDiskBench is run from the RAM disk. While the crash occurs most of the time, it occasionally doesn't, unlike Rave where it is always repeatable. Since I have only an X1000, I can't say if the crash only occurs on the X1000, as it does with Rave.
AmigaDiskBench isn't your responsibility, but the fact that a very similar bug occurs there is some evidence that it's not caused by your code doing anything wrong, and may in fact be a system problem of some sort. And perhaps the differences between the Rave crash and the AmigaDiskBench crash provide some clues as to where the problem lies.
Edited by msteed on 2026/3/4 2:18:35