The SYS:Utilities/PrefsObjectsEditor tool seems to work fine - unless you run MemGuard, which reveals a hit. This is the relevant Sashimi output:
Dump of context at 0x7fd70ba0
Trap type: DSI exception
Machine State (raw): 0x2f030
Machine State (verbose): [ExtInt on] [User] [FPU on] [IAT on] [DAT on]
Instruction pointer: 0x1902ab0
Crashed process: PrefsObjectsEditor (0x56b37340)
0: 0000000d 54c11410 00000000 56b37340 00000000 01902aa0 01902aa0 020a9824
8: 5fdf95d0 02260000 554b2e60 01816cfc 42422024 58cba1fc 00000000 00000000
16: 566566c0 6f8c360c 00000000 155aa23c 58cb0000 54c118c0 02260000 00000000
24: 00000400 54c118c0 20000000 54c11448 56b37340 060e161c 00000000 81838587
CR: 48422042 XER: 00000008 CTR: 01816cfc LR: 01902aa0
ESR: 00000000
DEAR: 060e1628
mcsrr0: 0x0
csrr0: 0x0
Disassembly of crash site:
01902aa0: 7c7c1b79 mr. r28,r3
01902aa4: 41820074 beq- 0x1902B18
01902aa8: 57fd103b rlwinm. r29,r31,2,0,29
01902aac: 4182006c beq- 0x1902B18
>01902ab0: 83dd000c lwz r30,12(r29)
01902ab4: 2f9e0000 cmpwi cr7,r30,0
01902ab8: 419e0060 beq- cr7,0x1902B18
01902abc: 7fc3f378 mr r3,r30
01902ac0: 38800035 li r4,53
01902ac4: 48031125 bl 0x1933BE8
Fault caused by load operation
Registers pointing to code:
r5 : module Kickstart/dos.library.kmod at 0x01902AA0 (section 0 @ 0xC4C4)
r6 : module Kickstart/dos.library.kmod at 0x01902AA0 (section 0 @ 0xC4C4)
r7 : module Kickstart/kernel at 0x020A9824 (section 1 @ 0x49828)
r9 : module Kickstart/rtg.library at 0x02260000 (section 1 @ 0x5E4)
r11: module Kickstart/kernel at 0x01816CFC (section 0 @ 0x16D00)
r17: module PrefsObjectsEditor at 0x6F8C360C (section 5 @ 0x5F0)
r20: module golded:etc/plugins/textbar.api at 0x58CB0000 (section 0 @ 0x87C)
r22: module Kickstart/rtg.library at 0x02260000 (section 1 @ 0x5E4)
ip : module Kickstart/dos.library.kmod at 0x01902AB0 (section 0 @ 0xC4D4)
lr : module Kickstart/dos.library.kmod at 0x01902AA0 (section 0 @ 0xC4C4)
ctr: module Kickstart/kernel at 0x01816CFC (section 0 @ 0x16D00)
Stack Backtrace:
(0x54c11410) module Kickstart/dos.library.kmod at 0x01902AB0 (section 0 @ 0xC4D4)
(0x54c11430) module Kickstart/dos.library.kmod at 0x019364D4 (section 0 @ 0x3FEF8)
(0x54c11490) module Kickstart/dos.library.kmod at 0x01913EF8 (section 0 @ 0x1D91C)
(0x54c114b0) module PrefsObjectsEditor at 0x6F8C3978 (section 5 @ 0x95C)
(0x54c11d00) module Kickstart/newlib.library.kmod at 0x01A45F54 (section 0 @ 0x2098)
(0x54c11d70) module Kickstart/newlib.library.kmod at 0x01A46BFC (section 0 @ 0x2D40)
(0x54c11f10) module Kickstart/newlib.library.kmod at 0x01A46D78 (section 0 @ 0x2EBC)
(0x54c11f50) _start:_start()+0x170 (section 1 @ 0x170)
(0x54c11f90) module Kickstart/dos.library.kmod at 0x01918F3C (section 0 @ 0x22960)
(0x54c11fc0) module Kickstart/kernel at 0x0183BD20 (section 0 @ 0x3BD24)
(0x54c11fd0) module Kickstart/kernel at 0x0183BDA0 (section 0 @ 0x3BDA4)
(0x54c11fe0)
(0x0) module Kickstart/kernel at 0x021BDC56 (section 1 @ 0x15DC5A)
WARNING: Backchain pointer loops
Disassembly of crash site:
01902aa0: 7c7c1b79 mr. r28,r3
01902aa4: 41820074 beq- 0x1902B18
01902aa8: 57fd103b rlwinm. r29,r31,2,0,29
01902aac: 4182006c beq- 0x1902B18
>01902ab0: 83dd000c lwz r30,12(r29)
01902ab4: 2f9e0000 cmpwi cr7,r30,0
01902ab8: 419e0060 beq- cr7,0x1902B18
01902abc: 7fc3f378 mr r3,r30
01902ac0: 38800035 li r4,53
01902ac4: 48031125 bl 0x1933BE8
Stack pointer (0x54c11410) is inside bounds
Redzone is OK (4)
68k register dump
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Page information:
Page not found
Task 0x56b37340 (PrefsObjectsEditor) bad access @ 0x60e1628, pc = 0x191818c, lr = 0x1918150,
Task 0x56b37340 (PrefsObjectsEditor) bad access @ 0x1b3299c, pc = 0x181257c, lr = 0x1818168,
Possible PrefsObjectsEditor bug
Possible PrefsObjectsEditor bug
The Rear Window blog
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
- tonyw
- AmigaOS Core Developer
- Posts: 1483
- Joined: Wed Mar 09, 2011 1:36 pm
- Location: Sydney, Australia
Re: Bug: PrefsObjectsEditor
And what did you do to achieve that output?
Every command/keystroke, please.
Every command/keystroke, please.
cheers
tony
tony
Re: Bug: PrefsObjectsEditor
@tonyw
Very simple:
- I booted into Workbench.
- Executed Memguard and Sashimi.
- Opened the SYS:Utilities drawer and clicked on the PrefsObjectsEditor icon.
- Here comes the hit.
Very simple:
- I booted into Workbench.
- Executed Memguard and Sashimi.
- Opened the SYS:Utilities drawer and clicked on the PrefsObjectsEditor icon.
- Here comes the hit.
The Rear Window blog
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Re: Possible PrefsObjectsEditor bug
So, has anyone actually tried to run MemGuard and reproduce the hit? I've recently reported MemGuard hits in SketchBlock and NetSurf - in both cases they were real (and have since been fixed by the authors) so I don't think I'm just imagining things.
The Rear Window blog
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Re: Possible PrefsObjectsEditor bug
@Trixie
I just tests it on my latest beta / peg2, and just dbl-click on icon even bring not memguard hit, but classic GR instead
!
I.e. i just run it after hard reboot and its happy crashes.
Another funny momment, that its never crashes if i run it from context menu, but crashes all the time if i run it from icon on wb. If i change in icon of prefsobjecteditor from "workbench" to "shell" , then it runs fine. So, seems something wrong with parsing of WB args or so ?
I will ask now in mailing list if anyone can reproduce, and then will make a BZ
I just tests it on my latest beta / peg2, and just dbl-click on icon even bring not memguard hit, but classic GR instead

Hidden Text - Click to Show :
Another funny momment, that its never crashes if i run it from context menu, but crashes all the time if i run it from icon on wb. If i change in icon of prefsobjecteditor from "workbench" to "shell" , then it runs fine. So, seems something wrong with parsing of WB args or so ?
I will ask now in mailing list if anyone can reproduce, and then will make a BZ
Re: Possible PrefsObjectsEditor bug
@Trixie
BZ done, #8256 with your and my crashlogs
BZ done, #8256 with your and my crashlogs
Re: Possible PrefsObjectsEditor bug
@kas1e
Thank you! Now let's hope someone actually looks at what the problem might be.
Thank you! Now let's hope someone actually looks at what the problem might be.
The Rear Window blog
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Re: Possible PrefsObjectsEditor bug
@Trixie

Fixed alreadyNow let's hope someone actually looks at what the problem might be.

Re: Possible PrefsObjectsEditor bug
Wow, that was quicker than a nun's first curry 

The Rear Window blog
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition