@trixie
We may be getting a bit off-topic here, but this thread has become kind of a place to discuss Rave in particular, as well as the blog in general. So...
Quote:
I test Rave on three different systems: X5000/020, Sam440ep-Flex, and WinUAErunning AmigaOS4 FE for Classic. All of these machines are at Update 3, and none of them shows the problem you've described.
I was afraid of that- you do quality work, and it was hard to imagine you missing something like this. Nonetheless, it's entirely repeatable on my system (which is an X1000 running Update 3 and Enhancer 2.2).
I spent some time investigating the problem today, and it's rather bizarre.
First, I booted up my Update 2 partition -- which I made for just such a purpose prior to installing Update 3 -- and confirmed that Rave 1.9 works fine under Update 2- clicking on "File Requester" or "Advanced" just brings up the expected page of controls.
Back under Update 3, I unpacked the Rave 1.9 archive into RAM:, and discovered that Rave 1.9 works properly when run from the RAM disk, even under Update 3.
Thinking that perhaps my hard disk installation got corrupted somehow, I then drug the Rave drawer from RAM: to the hard drive (a different partition than my normal installation), and when run from the hard drive Rave once again hung when I tried to display the same two settings pages.
I next (after rebooting) installed Rave 1.8 to the same partition on the hard drive, and confirmed that it worked properly, even when run from the hard disk.
So, to summarize:
- Rave 1.8 works properly under Update 2 and Update 3, from RAM: or from the hard drive.
- Rave 1.9 works properly under Update 2 from the hard drive (I didn't try RAM:), and works properly under Update 3 when run from RAM:.
- Rave 1.9 does not work properly under Update 3 when run from the hard drive. (I use SFS2 on my hard drive partitions, not that the file system should make any difference.)
Some experimentation with Sashimi revealed that there is in fact a GR when Rave crashes, but due to side effects of the crash the GR window never appears. I was able to capture the crash log to disk:
AmigaOne X1000 release
Machine model: 6 (AmigaOne X1000)
Dump of context at 0xdfa92ba0
Trap type: DSI exception
Current kernel stack pointer: 0x296ff00
DSISR: 08000000 DAR: 63ae5520
Page: 0xdffb3b10 (Virtual: 0x63ae5000, Physical: 0x88a6000, Flags: 0x 102)
Machine State (raw): 0x100000000200f030
Machine State (verbose): [Hyper] [ExtInt on] [User] [IAT on] [DAT on]
Instruction pointer: in module kernel+0x5474c (0x205474c)
Crashed process: Rave (0x5e1f6480)
DSI verbose error description: Access to address 0x63ae5520 not allowed by page or BAT protection (protection violation)
Access was a load operation
0: 02054960 5de607b0 00000000 029724f0 61173030 00000019 00000014 5de60838
8: 02032544 63ae551c 029724f0 00000020 84400000 5e8ea0e0 5d574124 5de60c90
16: 5e257d50 00560001 51eb851f 60fcaf02 00000000 00000001 00000004 5de62190
24: 61173010 61324730 61324730 5d594ea4 00000001 00000020 61173010 6117300c
CR: 28224228 XER: 20000000 CTR: 02032544 LR: 02054960
V0 : 00000000000000000000000000000000 ff618eceff618eceff618eceff618ece
V2 : 01000100010001000100010001000100 ff618eceff618eceff618eceff618ece
V4 : ff01a25eff01aa56ff01a65aff01aa56 00000000000000000000000000000000
V6 : ff018e72ff018e72ff018e72ff018e72 ff000000ff000000ff000000ff000000
V8 : 00000000000000000000000000000000 ffa2a2a2ffaaaaaaffa6a6a6ffaaaaaa
V10: 001002120414061608180a1a0c1c0e1e 01000100010001000100010001000100
V12: 01000100010001000100010001000100 ff618eceff618eceff618eceff618ece
V14: 619fce32619fce32619fce32619fce32 ff618eceff618eceff618eceff618ece
V16: 609fcd32609fcd32609fcd32609fcd32 ff618eceff618eceff618eceff618ece
V18: 01000100010001000100010001000100 ffffffffffffffffffffffffffffffff
V20: 00000000000000000000000000000000 00000000000000000000000000000000
V22: 00000000000000000000000000000000 00000000000000000000000000000000
V24: 00000000000000000000000000000000 00000000000000000000000000000000
V26: 00000000000000000000000000000000 00000000000000000000000000000000
V28: 00000000000000000000000000000000 00000000000000000000000000000000
V30: 00000000000000000000000000000000 00000000000000000000000000000000
VSCR: 00000000 VRSAVE: 00000000
Disassembly of crash site:
0205473c: 7d0903a6 mtctr r8
02054740: 38890004 addi r4,r9,4
02054744: 554a0038 rlwinm r10,r10,0,0,28
02054748: 7d295214 add r9,r9,r10
>0205474c: 83c90004 lwz r30,4(r9)
02054750: 4e800421 bctrl
02054754: 815f0000 lwz r10,0(r31)
02054758: 7fe3fb78 mr r3,r31
0205475c: 7d1fe82e lwzx r8,r31,r29
02054760: 57de077e rlwinm r30,r30,0,29,31
Kernel command line: DEBUGLEVEL=0 SERIAL
Registers pointing to code:
r0 : native kernel module kernel+0x00054960
r3 : native kernel module kernel+0x009724f0
r8 : native kernel module kernel+0x00032544
r10: native kernel module kernel+0x009724f0
r21: module PROGDIR:Classes/Gadgets/shape.gadget at 0x00000001 (section 0 @ 0xFFFFFFDC)
r28: module PROGDIR:Classes/Gadgets/shape.gadget at 0x00000001 (section 0 @ 0xFFFFFFDC)
ip : native kernel module kernel+0x0005474c
lr : native kernel module kernel+0x00054960
ctr: native kernel module kernel+0x00032544
Stack trace:
(0x5de607b0) native kernel module kernel+0x0005474c
(0x5de607d0) native kernel module kernel+0x00054960
(0x5de607e0) native kernel module kernel+0x00033b70
(0x5de60800) module CLASSES:gadgets/button.gadget at 0x7FDC0234 (section 0 @ 0x3210)
(0x5de60900) native kernel module intuition.library.kmod+0x000250d4
(0x5de60950) native kernel module intuition.library.kmod+0x00025530
(0x5de609d0) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5de60a80) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5de60ba0) native kernel module intuition.library.kmod+0x000250d4
(0x5de60bf0) native kernel module intuition.library.kmod+0x00025530
(0x5de60c70) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5de60d20) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5de60e40) native kernel module intuition.library.kmod+0x000250d4
(0x5de60e90) native kernel module intuition.library.kmod+0x00025530
(0x5de60f10) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5de60fc0) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5de610e0) native kernel module intuition.library.kmod+0x000250d4
(0x5de61130) native kernel module intuition.library.kmod+0x00025530
(0x5de611b0) module CLASSES:gadgets/layout.gadget at 0x7FDF15B0 (section 0 @ 0xC58C)
(0x5de61240) native kernel module intuition.library.kmod+0x000250d4
(0x5de61290) native kernel module intuition.library.kmod+0x00025530
(0x5de61310) module CLASSES:gadgets/clicktab.gadget at 0x7FB33968 (section 0 @ 0x5944)
(0x5de61410) module CLASSES:gadgets/clicktab.gadget at 0x7FB35030 (section 0 @ 0x700C)
(0x5de614c0) native kernel module intuition.library.kmod+0x000250d4
(0x5de61510) native kernel module intuition.library.kmod+0x00025530
(0x5de61590) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5de61640) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5de61760) native kernel module intuition.library.kmod+0x000250d4
(0x5de617b0) native kernel module intuition.library.kmod+0x00025530
(0x5de61830) module CLASSES:gadgets/layout.gadget at 0x7FDF15B0 (section 0 @ 0xC58C)
(0x5de618c0) native kernel module intuition.library.kmod+0x000250d4
(0x5de61910) native kernel module intuition.library.kmod+0x00025530
(0x5de61990) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5de61a40) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5de61b60) native kernel module intuition.library.kmod+0x000250d4
(0x5de61bb0) native kernel module intuition.library.kmod+0x00025530
(0x5de61c30) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5de61ce0) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5de61e00) native kernel module intuition.library.kmod+0x000250d4
(0x5de61e50) native kernel module intuition.library.kmod+0x00025530
(0x5de61ed0) module CLASSES:gadgets/layout.gadget at 0x7FDE9394 (section 0 @ 0x4370)
(0x5de61f80) module CLASSES:gadgets/layout.gadget at 0x7FDED740 (section 0 @ 0x871C)
(0x5de620a0) native kernel module intuition.library.kmod+0x000250d4
(0x5de620f0) native kernel module intuition.library.kmod+0x00025530
(0x5de62170) module CLASSES:gadgets/layout.gadget at 0x7FDE9FB0 (section 0 @ 0x4F8C)
(0x5de62280) module CLASSES:window.class at 0x7FDF5300 (section 0 @ 0x22DC)
(0x5de622a0) module CLASSES:window.class at 0x7FDF74E8 (section 0 @ 0x44C4)
(0x5de62300) module CLASSES:window.class at 0x7FDFEEF8 (section 0 @ 0xBED4)
(0x5de624d0) native kernel module intuition.library.kmod+0x000250d4
(0x5de62520) native kernel module intuition.library.kmod+0x00025530
(0x5de625a0) native kernel module intuition.library.kmod+0x0000b3e4
(0x5de62610) module Rave at 0x7FA010EC (section 0 @ 0x230C8)
(0x5de62730) module Rave at 0x7F9F7220 (section 0 @ 0x191FC)
(0x5de62770) module Rave at 0x7F9E74A4 (section 0 @ 0x9480)
(0x5de62860) module Rave at 0x7F9F3A68 (section 0 @ 0x15A44)
(0x5de62d40) native kernel module newlib.library.kmod+0x00002614
(0x5de62d90) native kernel module newlib.library.kmod+0x000032f0
(0x5de62f40) native kernel module newlib.library.kmod+0x00003864
(0x5de62f70) Rave:_start()+0x1e0 (section 1 @ 0x1DC)
(0x5de62fc0) native kernel module kernel+0x0005a1a4
(0x5de62fd0) native kernel module kernel+0x0005a21c
Disassembly of crash site:
0205473c: 7d0903a6 mtctr r8
02054740: 38890004 addi r4,r9,4
02054744: 554a0038 rlwinm r10,r10,0,0,28
02054748: 7d295214 add r9,r9,r10
>0205474c: 83c90004 lwz r30,4(r9)
02054750: 4e800421 bctrl
02054754: 815f0000 lwz r10,0(r31)
02054758: 7fe3fb78 mr r3,r31
0205475c: 7d1fe82e lwzx r8,r31,r29
02054760: 57de077e rlwinm r30,r30,0,29,31
Stack pointer (0x5de607b0) is inside bounds
Redzone is OK (4)
68k register dump
DATA: 91123100 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 6ffa4000 91123100 00000000 00000000 00000000 00000000 00000000 5de613d0
Page information:
Page 0xdffb3b10:
Virtual Address: 0x63ae5000
Physical Address: 0x88a6000
Lock count: 0
Flags (0x102): (Swappable) (Mapped)
Protection bits (0x0): (super state only)
Page is assigned to VMArea primary heap
It looks like the crash occurs while setting up the gadgets for the selected page, which makes sense. No idea why it occurs when run from the hard disk and not when run from RAM:.
At this point I'll toss the ball back to you, and see if the crash log provides any clues.