BUG: IPrefs crash on boot with specific WBPrefs setting

A forum for general AmigaOS 4.x support questions that are not platform-specific

BUG: IPrefs crash on boot with specific WBPrefs setting

Postby Raziel » Wed Sep 19, 2018 7:09 pm

I found a reproducable crash with IPrefs while booting into WB with simply changing and saving an option in Workbench Prefs.

IPrefs 53.24 (15.08.2014)
Prefs/Workbench 53.13 (21.01.2015)

The crash from serial:
Hidden Text - Click to Show :
Dump of context at 0xDFFE77C0
Trap type: DSI exception
Machine State (raw): 0x100000000200F030
Machine State (verbose): [Hyper] [ExtInt on] [User] [FPU on] [IAT on] [DAT on]
Instruction pointer: 0x7FEF8944
Crashed process: Š IPrefs Š (0x626DFC80)
DSI verbose error description: Access not found in hash or BAT (page fault)
Access was a load operation
0: 60E51F08 60E51EF0 419E057C 7FEBBE80 60E51F98 021441C8 021441C8 00000005
8: 00000000 00000000 5FDE0000 6FEF808C 22828484 7C085830 8000905D 8000A084
16: 8000A085 62960000 00000000 5FDDA1D8 62943F70 60E51F98 626DFC80 00000000
24: 00080008 00640064 00640064 8000A09C 7FEBBE80 60E51F88 6FEF808C 60E52348
CR: 42828444 XER: 60000044 CTR: 7FEBE99C LR: 7FEBF5A4
DSISR: 40000000 DAR: 00000000

FP0 : FFF8000082000000 419C5F2F00000000 0000000000000000 0000000000000000
FP4 : 0000000000000000 0000000000000000 0000000000000000 41E0000000000000
FP8 : FFF80000000006E0 40908C0000000000 FFF8000000000730 FFF800000000041D
FP12: 4090E00000000000 FFF8000000000423 0000000000000000 0000000000000000
FP16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FP28: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR: 82000000
HID0: 0x8000000000000000 HID1: 0x000000005CE993B1
HID4: 0x4400240000080180 HID5: 0x0000006600000080

V0 : 00000000000000000000000000000000 00000000000000000000000000000000
V2 : 00000000000000000000000000000000 00000000000000000000000000000000
V4 : 00000000000000000000000000000000 00000000000000000000000000000000
V6 : 00000000000000000000000000000000 00000000000000000000000000000000
V8 : 00000000000000000000000000000000 00000000000000000000000000000000
V10: 00000000000000000000000000000000 00000000000000000000000000000000
V12: 00000000000000000000000000000000 00000000000000000000000000000000
V14: 00000000000000000000000000000000 00000000000000000000000000000000
V16: 00000000000000000000000000000000 00000000000000000000000000000000
V18: 00000000000000000000000000000000 00000000000000000000000000000000
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:
7FEF8934: 90010010 stw r0,16(r1)
7FEF8938: 81694AB0 lwz r11,19120(r9)
7FEF893C: 93A1000C stw r29,12(r1)
7FEF8940: 812B0176 lwz r9,374(r11)
>7FEF8944: 83C90000 lwz r30,0(r9)
7FEF8948: 2F9E0000 cmpwi cr7,r30,0
7FEF894C: 419E0050 beq- cr7,0x7FEF899C
7FEF8950: 88090008 lbz r0,8(r9)
7FEF8954: 7F8903A6 mtctr r28
7FEF8958: 809D0000 lwz r4,0(r29)

Kernel command line: serial munge debuglevel=1

Registers pointing to code:
r3 : module LIBS:workbench.library at 0x7FEBBE80 (section 5 @ 0xE5C)
r5 : native kernel module dos.library.kmod+0x0002e2a8
r6 : native kernel module dos.library.kmod+0x0002e2a8
r19: module LIBS:workbench.library at 0x5FDDA1D8 (section 6 @ 0x1B4)
r28: module LIBS:workbench.library at 0x7FEBBE80 (section 5 @ 0xE5C)
ip : module LIBS:workbench.library at 0x7FEF8944 (section 5 @ 0x3D920)
lr : module LIBS:workbench.library at 0x7FEBF5A4 (section 5 @ 0x4580)
ctr: module LIBS:workbench.library at 0x7FEBE99C (section 5 @ 0x3978)

Stack trace:
(0x60E51EF0) module LIBS:workbench.library at 0x7FEF8944 (section 5 @ 0x3D920)
(0x60E51F80) module LIBS:workbench.library at 0x7FEBF5A4 (section 5 @ 0x4580)
(0x60E52220) module LIBS:workbench.library at 0x7FEC18FC (section 5 @ 0x68D8)
(0x60E52250) module LIBS:workbench.library at 0x7FEC1974 (section 5 @ 0x6950)
(0x60E522C0) module IPrefs at 0x7FF2F194 (section 5 @ 0x9170)
(0x60E52530) module IPrefs at 0x7FF32820 (section 5 @ 0xC7FC)
(0x60E529B0) module IPrefs at 0x7FF35CC0 (section 5 @ 0xFC9C)
(0x60E52C30) module IPrefs at 0x7FF273BC (section 5 @ 0x1398)
(0x60E52F90) native kernel module dos.library.kmod+0x000255c8
(0x60E52FC0) native kernel module kernel+0x000420ac
(0x60E52FD0) native kernel module kernel+0x000420f4

Disassembly of crash site:
7FEF8934: 90010010 stw r0,16(r1)
7FEF8938: 81694AB0 lwz r11,19120(r9)
7FEF893C: 93A1000C stw r29,12(r1)
7FEF8940: 812B0176 lwz r9,374(r11)
>7FEF8944: 83C90000 lwz r30,0(r9)
7FEF8948: 2F9E0000 cmpwi cr7,r30,0
7FEF894C: 419E0050 beq- cr7,0x7FEF899C
7FEF8950: 88090008 lbz r0,8(r9)
7FEF8954: 7F8903A6 mtctr r28
7FEF8958: 809D0000 lwz r4,0(r29)
Stack pointer (0x60E51EF0) 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


The steps (cave: you need a boot CD or else you won't be able to reach WB anymore):
1) Open Workbench Prefs
2) Front Page: Change under "Options" "Update drawers automatically" to NO (NOT CHECKED)
3) Save

Now do a fast reboot...IPrefs will crash after the OS4 logo...always

The emergency workaround:
1) Boot into your boot CD
2) Copy "workbench.prefs" from your boot CD (SYS:Prefs/ENV-archive/sys/) to your HDD (same path)


Now that we (devs and community) already found lots of bugs, when can we (non-beta testers) expect a new update of AmigaOS4?
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 865
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby nbache » Wed Sep 19, 2018 7:57 pm

Which hardware platform are you on?

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1299
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby Raziel » Wed Sep 19, 2018 8:01 pm

nbache wrote:Which hardware platform are you on?

Best regards,

Niels

X1000
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 865
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby nbache » Wed Sep 19, 2018 8:08 pm

Hmm. My X1000 more often than not doesn't get through a warm reboot, even without touching the WB settings.

My prime suspect has also been IPrefs, but I have to make some more tests to be sure. I was thinking maybe it didn't like my largeish resolution (2560×1600). What's yours?

Thanks for the log, I'll compare it to mine and see if I can deduce more and finally make a bug report.

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1299
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby Raziel » Wed Sep 19, 2018 8:13 pm

nbache wrote:Hmm. My X1000 more often than not doesn't get through a warm reboot, even without touching the WB settings.

My prime suspect has also been IPrefs, but I have to make some more tests to be sure. I was thinking maybe it didn't like my largeish resolution (2560×1600). What's yours?

Thanks for the log, I'll compare it to mine and see if I can deduce more and finally make a bug report.

Best regards,

Niels

2560x1440 ARGB32 here with a RadeonHD 7750

If you need me to test something, just shout
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 865
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby tonyw » Thu Sep 20, 2018 1:04 am

I can confirm this crash, but it happens here with 1920x1080, so I don't think it's resolution-related. On my machines, even a cold boot will crash, so the machine is unbootable without an alternative boot device.

It's clearly a null pointer crash. I'll raise a BZ against it.

BTW, I suggest saving the Prefs/Env-Archive/Sys/workbench.prefs under a different file name before crashing the machine. It will then be a simple matter of copying back the old prefs file after booting from another source.

BZ #10017 submitted.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1332
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby nbache » Thu Sep 20, 2018 12:14 pm

Thanks, Tony.

I think I was mixing up this issue with a couple of similar ones, which may or may not be happening only in the beta, but are not connected with changing WB prefs (or any prefs, for that matter).

I'll keep investigating those (although of course it "never" happens while I am catching serial debug ;-)).

Best regards,

Niels
User avatar
nbache
Beta Tester
Beta Tester
 
Posts: 1299
Joined: Mon Dec 20, 2010 8:25 pm
Location: Copenhagen, Denmark

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby Raziel » Thu Sep 20, 2018 1:20 pm

@tonyw

Thank you
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr. John Zoidberg
User avatar
Raziel
 
Posts: 865
Joined: Sat Jun 18, 2011 5:00 pm
Location: A haunted Castle somewhere in the Bavarian Mountains

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby tonyw » Fri Sep 21, 2018 2:33 pm

Salassoo has fixed this problem with workbench.library V53.61.

I can confirm it is fixed.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1332
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: BUG: IPrefs crash on boot with specific WBPrefs setting

Postby Amigo1 » Mon Sep 24, 2018 1:20 pm

tonyw wrote:Salassoo has fixed this problem with workbench.library V53.61.

I can confirm it is fixed.


nice! :)
User avatar
Amigo1
 
Posts: 182
Joined: Sun Jan 01, 2012 4:32 pm

Next

Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 5 guests