English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 23 April 2022, 14:31   #1
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
P96 3.3.0 UAEgfx driver crash

Testing P96 3.3.0 I've found is unusable here: have no idea why, but coming from P963.2.3 and replacing old libs with new ones (copy RamDisk:Picasso96Install/Libs/#? LIBS: ALL) it works only on the very first reboot.
The strange thing is that on 2nd reboot or more (even if quit and relaunch WinUAE!) UAEgfx monitor driver crashes while booting every single time ("Illegal instruction" guru, didn't help switching to 060-->040... I use MMULib), even if I remove the hidden option "-p96test 1". Have had to roll-back to 3.2.3 (copy RamDisk:Picasso96Install/Libs/#? LIBS: ALL).

(Started a thread also on iCOMP forum...)
hexaae is offline  
Old 23 April 2022, 14:53   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 47
Posts: 25,364
I can't duplicate. More details needed (for example if it works in plain 3.1 WB)

It can't be uaegfx crashing because it is 99% of host side native code and if it crashes, whole emulator would crash
Toni Wilen is offline  
Old 23 April 2022, 18:28   #3
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
OK... I'll try to isolate the real cause
hexaae is offline  
Old 24 April 2022, 11:14   #4
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 1,741
Neither Toni nor I can reproduce an issue here. However, if you can reproduce the crash, please run the usual debug tools to isolate it. That is, SegTracker, the disassembler.library and MuForce. Configure MuForce to a large number of "STACKLINES" and also include "STACKCHECK". Especially the stack traceback may be helpful as it would explain where the code is coming from.

I suspected one particular piece of code for sprite/pointer handling which was a fix that came in relatively late, but that does not seem to cause issues on Toni's side either, and I am also wondering why it might cause a difference. Anyhow, maybe you try with softsprite on or off (as tool type in the monitor driver icon) and check whether there is probably some correlation.
Thomas Richter is offline  
Old 24 April 2022, 14:16   #5
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
This is the output from WinUAEEnforcer... My WinUAE cfg in signature.
Better if I try with MuForce?

Code:
Enforcer Hit! Bad program
Illegal BYTE READ from: ffffffff                PC: 00003002
Data: 0000000c 00001000 00000002 00000000 0000000c 00000008 00001000 00000001
Addr: 646d53ac 60010a9a 6469ce78 60010a9a 60010aca 646d53ac 00000000 64694c18
Stck: 00000002 64684b8e 00000000 00000000 00000000 00000000 00000014 644222fc
Stck: 646d4288 64684b50 646d53ac 6469509c 00000001 00000001 00000006 6469ce74
Stck: 00000001 00000008 00000004 6469ce18 00000000 01010101 01010101 00010100
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 64684b8e - "UAEgfx" Hunk 0001 Offset 0000003e
----> 64684b50 - "UAEgfx" Hunk 0001 Offset 00000000
----> 6469ce74 - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 0000028c
----> 6469ce18 - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 00000230
----> 00fa1792 - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 000024da
----> 00fa4d68 - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 00005ab0
----> 00f81d64 - "ROM - exec 40.10 (15.7.93)" Hunk 0000 Offset 00001cae
----> 60313226 - "LIBS:iffparse.library" Hunk 0000 Offset 0000086e
----> 6469ce1a - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 00000232
----> 646c6358 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000249e0
----> 00f81b24 - "ROM - exec 40.10 (15.7.93)" Hunk 0000 Offset 00001a6e
----> 00fbf1d8 - "ROM - ramlib 40.2 (5.3.93)" Hunk 0000 Offset 00000158
----> 646d1aee - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030176
----> 64684c3c - "UAEgfx" Hunk 0001 Offset 000000ec
----> 64684a64 - "UAEgfx" Hunk 0000 Offset 0000023c
----> 64684ab4 - "UAEgfx" Hunk 0000 Offset 0000028c
----> 646848c0 - "UAEgfx" Hunk 0000 Offset 00000098
----> 00f9f86a - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 000005b2
----> 646c5722 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023daa
----> 646d213e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307c6
----> 646d2142 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307ca
----> 646a23cc - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00000a54
----> 646cf21e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002d8a6
----> 646c53a8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023a30
----> 646c5322 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000239aa
----> 646c331e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000219a6
----> 646c52cc - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023954
----> 646c5254 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000238dc
----> 646cdeb6 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002c53e
----> 646cd73e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002bdc6
----> 646cf7ae - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002de36
----> 646d0814 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002ee9c
----> 646d2492 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030b1a
----> 646d2598 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030c20
----> 646b0058 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0000e6e0
----> 646d2524 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030bac
----> 646cf39c - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002da24
----> 646caf54 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000295dc
----> 646cacb4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002933c
----> 646d234c - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000309d4
----> 646c57f8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023e80
----> 646c57d4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023e5c
----> 646d10e4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002f76c
----> 646d2114 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0003079c
----> 646a19e7 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0000006f
----> 646d2148 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307d0
----> 646d2178 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030800
----> 646d21a8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030830
----> 646d21d8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030860
----> 646d2208 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030890
----> 646d2238 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000308c0
----> 646d2268 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000308f0
----> 646d2298 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030920
----> 646d22c8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030950
----> 646d22f4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0003097c
00002fe2 :   0000 0000            OR.B #$00,
00002fe6 :   0000 0000            OR.B #$00,
00002fea :   0000 0000            OR.B #$00,
00002fee :   0000 0000            OR.B #$00,
00002ff2 :   0000 0000            OR.B #$00,
00002ff6 :   0000 0000            OR.B #$00,
00002ffa :   0000 0000            OR.B #$00,
00002ffe :   0000 6000            OR.B #$00,
00003002 : * 09e6                 BSET.B ,-(
00003004 :   6000 0000            BT .W #$0000
00003008 :   0af6 00f8 0382 0703  CAS.B #$00f8,([D0.W*2],$0703) == $00f811d9 [0e]
00003010 :   0000 3260            OR.B #$60,
00003014 :   0000 3020            OR.B #$20,
00003018 :   0080 0000 007a       OR.L #$0000007a,
0000301e :   2d58 0000            MOVE.L ( [00000000],( == $00000000 [00000000]
00003022 :   36b4 0000            MOVE.W (,,$00) == $60010ad6 [0000],( [0000]
00003026 :   38d8                 MOVE.W ( [0000],( [0000]
Name: "UAEgfx"

Enforcer Hit! Bad program
Illegal BYTE WRITE to: ffffffff                 PC: 00003002
Data: 0000000c 00001000 00000002 00000000 0000000c 00000008 00001000 00000001
Addr: 646d53ac 60010a9a 6469ce78 60010a9a 60010aca 646d53ac ffffffff 64694c18
Stck: 00000002 64684b8e 00000000 00000000 00000000 00000000 00000014 644222fc
Stck: 646d4288 64684b50 646d53ac 6469509c 00000001 00000001 00000006 6469ce74
Stck: 00000001 00000008 00000004 6469ce18 00000000 01010101 01010101 00010100
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 64684b8e - "UAEgfx" Hunk 0001 Offset 0000003e
----> 64684b50 - "UAEgfx" Hunk 0001 Offset 00000000
----> 6469ce74 - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 0000028c
----> 6469ce18 - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 00000230
----> 00fa1792 - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 000024da
----> 00fa4d68 - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 00005ab0
----> 00f81d64 - "ROM - exec 40.10 (15.7.93)" Hunk 0000 Offset 00001cae
----> 60313226 - "LIBS:iffparse.library" Hunk 0000 Offset 0000086e
----> 6469ce1a - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 00000232
----> 646c6358 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000249e0
----> 00f81b24 - "ROM - exec 40.10 (15.7.93)" Hunk 0000 Offset 00001a6e
----> 00fbf1d8 - "ROM - ramlib 40.2 (5.3.93)" Hunk 0000 Offset 00000158
----> 646d1aee - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030176
----> 64684c3c - "UAEgfx" Hunk 0001 Offset 000000ec
----> 64684a64 - "UAEgfx" Hunk 0000 Offset 0000023c
----> 64684ab4 - "UAEgfx" Hunk 0000 Offset 0000028c
----> 646848c0 - "UAEgfx" Hunk 0000 Offset 00000098
----> 00f9f86a - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 000005b2
----> 646c5722 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023daa
----> 646d213e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307c6
----> 646d2142 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307ca
----> 646a23cc - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00000a54
----> 646cf21e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002d8a6
----> 646c53a8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023a30
----> 646c5322 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000239aa
----> 646c331e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000219a6
----> 646c52cc - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023954
----> 646c5254 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000238dc
----> 646cdeb6 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002c53e
----> 646cd73e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002bdc6
----> 646cf7ae - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002de36
----> 646d0814 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002ee9c
----> 646d2492 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030b1a
----> 646d2598 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030c20
----> 646b0058 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0000e6e0
----> 646d2524 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030bac
----> 646cf39c - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002da24
----> 646caf54 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000295dc
----> 646cacb4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002933c
----> 646d234c - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000309d4
----> 646c57f8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023e80
----> 646c57d4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023e5c
----> 646d10e4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002f76c
----> 646d2114 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0003079c
----> 646a19e7 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0000006f
----> 646d2148 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307d0
----> 646d2178 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030800
----> 646d21a8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030830
----> 646d21d8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030860
----> 646d2208 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030890
----> 646d2238 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000308c0
----> 646d2268 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000308f0
----> 646d2298 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030920
----> 646d22c8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030950
----> 646d22f4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0003097c
00002fe2 :   0000 0000            OR.B #$00,
00002fe6 :   0000 0000            OR.B #$00,
00002fea :   0000 0000            OR.B #$00,
00002fee :   0000 0000            OR.B #$00,
00002ff2 :   0000 0000            OR.B #$00,
00002ff6 :   0000 0000            OR.B #$00,
00002ffa :   0000 0000            OR.B #$00,
00002ffe :   0000 6000            OR.B #$00,
00003002 : * 09e6                 BSET.B ,-(
00003004 :   6000 0000            BT .W #$0000
00003008 :   0af6 00f8 0382 0703  CAS.B #$00f8,([D0.W*2],$0703) == $00f811d9 [0e]
00003010 :   0000 3260            OR.B #$60,
00003014 :   0000 3020            OR.B #$20,
00003018 :   0080 0000 007a       OR.L #$0000007a,
0000301e :   2d58 0000            MOVE.L ( [00000000],( == $ffffffff
00003022 :   36b4 0000            MOVE.W (,,$00) == $60010ad6 [0000],( [0000]
00003026 :   38d8                 MOVE.W ( [0000],( [0000]
Name: "UAEgfx"

Enforcer Hit! Bad program
Illegal LONG WRITE to: ffffffff                 PC: 0000301e
Data: 000000fe 00001000 00000002 00000000 0000000c 00000008 00001000 00000001
Addr: 646d53b0 60010a9a 6469ce78 60010a9a 60010aca 646d53ac ffffffff 64694c18
Stck: 00000002 64684b8e 00000000 00000000 00000000 00000000 00000014 644222fc
Stck: 646d4288 64684b50 646d53ac 6469509c 00000001 00000001 00000006 6469ce74
Stck: 00000001 00000008 00000004 6469ce18 00000000 01010101 01010101 00010100
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
----> 64684b8e - "UAEgfx" Hunk 0001 Offset 0000003e
----> 64684b50 - "UAEgfx" Hunk 0001 Offset 00000000
----> 6469ce74 - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 0000028c
----> 6469ce18 - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 00000230
----> 00fa1792 - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 000024da
----> 00fa4d68 - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 00005ab0
----> 00f81d64 - "ROM - exec 40.10 (15.7.93)" Hunk 0000 Offset 00001cae
----> 60313226 - "LIBS:iffparse.library" Hunk 0000 Offset 0000086e
----> 6469ce1a - "LIBS:picasso96/rtg.library" Hunk 0001 Offset 00000232
----> 646c6358 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000249e0
----> 00f81b24 - "ROM - exec 40.10 (15.7.93)" Hunk 0000 Offset 00001a6e
----> 00fbf1d8 - "ROM - ramlib 40.2 (5.3.93)" Hunk 0000 Offset 00000158
----> 646d1aee - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030176
----> 64684c3c - "UAEgfx" Hunk 0001 Offset 000000ec
----> 64684a64 - "UAEgfx" Hunk 0000 Offset 0000023c
----> 64684ab4 - "UAEgfx" Hunk 0000 Offset 0000028c
----> 646848c0 - "UAEgfx" Hunk 0000 Offset 00000098
----> 00f9f86a - "ROM - dos 40.3 (1.4.93)" Hunk 0000 Offset 000005b2
----> 646c5722 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023daa
----> 646d213e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307c6
----> 646d2142 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307ca
----> 646a23cc - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00000a54
----> 646cf21e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002d8a6
----> 646c53a8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023a30
----> 646c5322 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000239aa
----> 646c331e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000219a6
----> 646c52cc - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023954
----> 646c5254 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000238dc
----> 646cdeb6 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002c53e
----> 646cd73e - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002bdc6
----> 646cf7ae - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002de36
----> 646d0814 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002ee9c
----> 646d2492 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030b1a
----> 646d2598 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030c20
----> 646b0058 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0000e6e0
----> 646d2524 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030bac
----> 646cf39c - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002da24
----> 646caf54 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000295dc
----> 646cacb4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002933c
----> 646d234c - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000309d4
----> 646c57f8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023e80
----> 646c57d4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00023e5c
----> 646d10e4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0002f76c
----> 646d2114 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0003079c
----> 646a19e7 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0000006f
----> 646d2148 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000307d0
----> 646d2178 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030800
----> 646d21a8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030830
----> 646d21d8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030860
----> 646d2208 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030890
----> 646d2238 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000308c0
----> 646d2268 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 000308f0
----> 646d2298 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030920
----> 646d22c8 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 00030950
----> 646d22f4 - "LIBS:picasso96/rtg.library" Hunk 0000 Offset 0003097c
00002ff8 :   0000 0000            OR.B #$00,
00002ffc :   0000 0000            OR.B #$00,
00003000 :   6000 09e6            BT .W #$09e6
00003004 :   6000 0000            BT .W #$0000
00003008 :   0af6 00f8 0382 0703  CAS.B #$00f8,([D0.W*2],$0703) == $00f8200b [06]
00003010 :   0000 3260            OR.B #$60,
00003014 :   0000 3020            OR.B #$20,
00003018 :   0080 0000 007a       OR.L #$0000007a,
0000301e : * 2d58 0000            MOVE.L ( [40000000],( == $ffffffff
00003022 :   36b4 0000            MOVE.W (,,$00) == $60010bc8 [0001],( [0000]
00003026 :   38d8                 MOVE.W ( [4000],( [0000]
00003028 :   0000 0000            OR.B #$00,
0000302c :   0000 0000            OR.B #$00,
00003030 :   0104                 BTST.L ,
00003032 :   0000 07db            OR.B #$db,
00003036 :   0000 0001            OR.B #$01,
0000303a :   0000 0000            OR.B #$00,
Name: "UAEgfx"
Seems something in new rtg.library: if I replace this file with old one from P963.2.3 everything runs fine (but I can't use different depth screen dragging of course).
BTW, I use @PeterK icon.library

Last edited by hexaae; 24 April 2022 at 14:40.
hexaae is offline  
Old 24 April 2022, 14:28   #6
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
Ah! That's it. As I supposed is due to new icon.library: using official OS3.9's (45.xx) it won't crash on boot! (I can still reproduce the glitches reported in this video though: http://eab.abime.net/showpost.php?p=...&postcount=413 )

Please, can you confirm crashes using new iconlib? http://eab.abime.net/showthread.php?t=64079
http://m68k.aminet.net/package/util/libs/IconLib_46.4 (just copy icon.library 51.4.563 (TC020) to LIBS: and reboot)

EDIT: sigh, reproduced even with old iconlib after some reboots, ignore this msg.

Last edited by hexaae; 24 April 2022 at 14:59.
hexaae is offline  
Old 24 April 2022, 14:48   #7
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
MuForce:

Code:
MuForce 46.4 by Thomas Richter, Copyright © 1998-2021,
based on the Enforcer by Michael Sinz, Copyright © 1992-1998
All Rights Reserved.

Contact: thorfdbg@alumni.tu-berlin.de           Enforcer@sinz.org

MuForce is installed.


24-Apr-22  14:46:22
WORD READ from 00000000 (INST)                 PC: 00000000
USP : 64CC7688 SR: 0000  (U0)(-)(-)  TCB: 64CC6860
Data: 0000000C 00001000 00000002 00000000 0000000C 00000008 00001000 00000001
Addr: 64D0E7BC 6000E972 64D023A0 6000E972 6000E9A2 64D0E7BC 00000000 60002308
Stck: 64CF5A0E 00000002 64CC0EE6 00000000 00000000 00000000 00000000 00000014
Stck: 64CB79DC 64D0C018 64CC0EA8 64D0E7BC 64CCD564 00000001 00000001 00000006
Stck: 64D0239C 00000001 00000008 00000004 64D02340 00000000 01010101 01010101
Stck: 00010100 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000001 00000100 00000101 00000000 01000000 00000000 00000001 00000000
Stck: 00000100 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000101 00FA1792 00000000
Stck: 00FA4D68 00000000 64D0C5F0 00F81D64 60938286 6074A828 64D0E7BC 64D0C5B0
Stck: 6074A828 64D0C5B0 00000000 00000000 64D02342 00000002 6074A828 00000000
Stck: 00000000 6000EA32 64CF5BC8 64CC0EE6 00000000 00000000 00000000 00000014
Stck: 64CB79DC 64D0C018 64CC0EA8 64D0E7BC 64CCD564 00D0C0BC 64D0C5B0 600F0714
Stck: 00F81B24 600008A0 00FBF1D8 64D0135E 64CC0EE6 00000000 00000000 00000000
Stck: 00000000 00000014 64CB79DC 64D0C018 64CC0EA8 00000000 64CCD564 64CC0EE6
Stck: 000464D0 E85A64D0 C1586000 E8E46010 B2380EE6 64D0CAA2 6075B05E 64CCD564
Stck: 64D14B4C 64D0CC04 000179DC 0000F144 00000000 64D0CBBD 64CC0DBC 0000415C
Stck: 00000000 64CC0E0C 000003EE 00000000 00000000 00000014 1932EDEB 00000000
Stck: 00000000 64CBB846 6001097C 64CBB846 64CBB846 64CC0C18 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 64CC6860 00F9F86A 00001000 55414567
Stck: 66780000 00000000 60A1CC40 600102F4 0D0464CC 8A340004 FF00E000 FFFFE000
Stck: 01000000 00000000 00008000 00000000 000000F8 35580000 000064C5 015864CC
----> 64CF5A0E - "LIBS:picasso96/rtg.library"  Hunk 0000 Offset 00024826
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 64CC0EA8 - "UAEgfx"  Hunk 0001 Offset 00000000
----> 64D0239C - "LIBS:picasso96/rtg.library"  Hunk 0001 Offset 0000028C
----> 64D02340 - "LIBS:picasso96/rtg.library"  Hunk 0001 Offset 00000230
----> 00FA1792 - "ROM - dos 40.3 (1.4.93)"  Hunk 0000 Offset 000024DA
----> 00FA4D68 - "ROM - dos 40.3 (1.4.93)"  Hunk 0000 Offset 00005AB0
----> 00F81D64 - "ROM - exec 40.10 (15.7.93)"  Hunk 0000 Offset 00001CAE
----> 60938286 - "LIBS:iffparse.library"  Hunk 0000 Offset 0000086E
----> 64D02342 - "LIBS:picasso96/rtg.library"  Hunk 0001 Offset 00000232
----> 64CF5BC8 - "LIBS:picasso96/rtg.library"  Hunk 0000 Offset 000249E0
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 64CC0EA8 - "UAEgfx"  Hunk 0001 Offset 00000000
----> 00F81B24 - "ROM - exec 40.10 (15.7.93)"  Hunk 0000 Offset 00001A6E
----> 00FBF1D8 - "ROM - ramlib 40.2 (5.3.93)"  Hunk 0000 Offset 00000158
----> 64D0135E - "LIBS:picasso96/rtg.library"  Hunk 0000 Offset 00030176
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 64CC0EA8 - "UAEgfx"  Hunk 0001 Offset 00000000
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 6075B05E - "LIBS:locale.library"  Hunk 0000 Offset 00003D1E
----> 64CC0DBC - "UAEgfx"  Hunk 0000 Offset 0000023C
----> 64CC0E0C - "UAEgfx"  Hunk 0000 Offset 0000028C
----> 64CC0C18 - "UAEgfx"  Hunk 0000 Offset 00000098
----> 00F9F86A - "ROM - dos 40.3 (1.4.93)"  Hunk 0000 Offset 000005B2
----> 00F83558 - "ROM - exec 40.10 (15.7.93)"  Hunk 0000 Offset 000034A2
----> 64C50158 - "MuForce"  Hunk 0000 Offset 00001BE8
PC Address invalid
Name: "UAEgfx"


24-Apr-22  14:46:22
Exception !!   00000002     TCB: 64CC6860     CTX: 6009F8C8     SSP: 60002308
USP : 64CC7688 SR: 0000  (U0)(-)(-)  TCB: 64CC6860
  PC: 00000000
Data: 0000000C 00001000 00000002 00000000 0000000C 00000008 00001000 00000001
Addr: 64D0E7BC 6000E972 64D023A0 6000E972 6000E9A2 64D0E7BC 00000000 60002308
Stck: 64CF5A0E 00000002 64CC0EE6 00000000 00000000 00000000 00000000 00000014
Stck: 64CB79DC 64D0C018 64CC0EA8 64D0E7BC 64CCD564 00000001 00000001 00000006
Stck: 64D0239C 00000001 00000008 00000004 64D02340 00000000 01010101 01010101
Stck: 00010100 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000001 00000100 00000101 00000000 01000000 00000000 00000001 00000000
Stck: 00000100 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 00000000 00000101 00FA1792 00000000
Stck: 00FA4D68 00000000 64D0C5F0 00F81D64 60938286 6074A828 64D0E7BC 64D0C5B0
Stck: 6074A828 64D0C5B0 00000000 00000000 64D02342 00000002 6074A828 00000000
Stck: 00000000 6000EA32 64CF5BC8 64CC0EE6 00000000 00000000 00000000 00000014
Stck: 64CB79DC 64D0C018 64CC0EA8 64D0E7BC 64CCD564 00D0C0BC 64D0C5B0 600F0714
Stck: 00F81B24 600008A0 00FBF1D8 64D0135E 64CC0EE6 00000000 00000000 00000000
Stck: 00000000 00000014 64CB79DC 64D0C018 64CC0EA8 00000000 64CCD564 64CC0EE6
Stck: 000464D0 E85A64D0 C1586000 E8E46010 B2380EE6 64D0CAA2 6075B05E 64CCD564
Stck: 64D14B4C 64D0CC04 000179DC 0000F144 00000000 64D0CBBD 64CC0DBC 0000415C
Stck: 00000000 64CC0E0C 000003EE 00000000 00000000 00000014 1932EDEB 00000000
Stck: 00000000 64CBB846 6001097C 64CBB846 64CBB846 64CC0C18 00000000 00000000
Stck: 00000000 00000000 00000000 00000000 64CC6860 00F9F86A 00001000 55414567
Stck: 66780000 00000000 60A1CC40 600102F4 0D0464CC 8A340004 FF00E000 FFFFE000
Stck: 01000000 00000000 00008000 00000000 000000F8 35580000 000064C5 015864CC
----> 64CF5A0E - "LIBS:picasso96/rtg.library"  Hunk 0000 Offset 00024826
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 64CC0EA8 - "UAEgfx"  Hunk 0001 Offset 00000000
----> 64D0239C - "LIBS:picasso96/rtg.library"  Hunk 0001 Offset 0000028C
----> 64D02340 - "LIBS:picasso96/rtg.library"  Hunk 0001 Offset 00000230
----> 00FA1792 - "ROM - dos 40.3 (1.4.93)"  Hunk 0000 Offset 000024DA
----> 00FA4D68 - "ROM - dos 40.3 (1.4.93)"  Hunk 0000 Offset 00005AB0
----> 00F81D64 - "ROM - exec 40.10 (15.7.93)"  Hunk 0000 Offset 00001CAE
----> 60938286 - "LIBS:iffparse.library"  Hunk 0000 Offset 0000086E
----> 64D02342 - "LIBS:picasso96/rtg.library"  Hunk 0001 Offset 00000232
----> 64CF5BC8 - "LIBS:picasso96/rtg.library"  Hunk 0000 Offset 000249E0
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 64CC0EA8 - "UAEgfx"  Hunk 0001 Offset 00000000
----> 00F81B24 - "ROM - exec 40.10 (15.7.93)"  Hunk 0000 Offset 00001A6E
----> 00FBF1D8 - "ROM - ramlib 40.2 (5.3.93)"  Hunk 0000 Offset 00000158
----> 64D0135E - "LIBS:picasso96/rtg.library"  Hunk 0000 Offset 00030176
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 64CC0EA8 - "UAEgfx"  Hunk 0001 Offset 00000000
----> 64CC0EE6 - "UAEgfx"  Hunk 0001 Offset 0000003E
----> 6075B05E - "LIBS:locale.library"  Hunk 0000 Offset 00003D1E
----> 64CC0DBC - "UAEgfx"  Hunk 0000 Offset 0000023C
----> 64CC0E0C - "UAEgfx"  Hunk 0000 Offset 0000028C
----> 64CC0C18 - "UAEgfx"  Hunk 0000 Offset 00000098
----> 00F9F86A - "ROM - dos 40.3 (1.4.93)"  Hunk 0000 Offset 000005B2
----> 00F83558 - "ROM - exec 40.10 (15.7.93)"  Hunk 0000 Offset 000034A2
----> 64C50158 - "MuForce"  Hunk 0000 Offset 00001BE8
PC Address invalid
Name: "UAEgfx"
hexaae is offline  
Old 24 April 2022, 14:54   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 47
Posts: 25,364
Not very useful output. It probably gets confused by UAE traps.

Download winuae2.7z and log the output. It has Picasso96 function logging enabled. I assume some P96 function gets corrupted parameters.
Toni Wilen is offline  
Old 24 April 2022, 15:11   #9
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
I can't reproduce the issue with this build!

It happens only when using old 64bit exe from your 4.9.1 ZIP public archive: https://www.winuae.net/download/
hexaae is offline  
Old 24 April 2022, 16:20   #10
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,095
Quote:
Originally Posted by hexaae View Post
I can't reproduce the issue with this build!

It happens only when using old 64bit exe from your 4.9.1 ZIP public archive: https://www.winuae.net/download/
Maybe you can find the last working WinUAE (beta) version or try again without Jit direct.

(Reason: together with another user I noticed that WinUAE seems to have a different problem (graphical glitches on dragged icons) with CGX4 15/16 bit screens and Jit direct since 4.9.1 beta 1. With WinUAE 4.9.0.0 it was still working correctly. Also with JIT indirect or non-JIT or on 8-bit, planar or 24 bit screens it was Ok. I didn't report this issue yet. Btw, on 4.9.x CGX4 24 bit screens blue and red channels are swapped.)
PeterK is offline  
Old 24 April 2022, 17:01   #11
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
The MuForce report was reproduced without JIT (to enable MMU emu option).
hexaae is offline  
Old 24 April 2022, 17:19   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 47
Posts: 25,364
JIT direct won't affect uaegfx because it has 100% linear VRAM. (and obviously the very first step is to test without JIT!)

Almost all emulated graphics boards have different "views" to same VRAM (endian swap etc) which are problematic when using JIT direct. JIT can still try too hard to use direct even when it should not be used.

Are you sure your config is same in 32-bit? For example if it has "too much" RAM configured.

winuae2.7z updated, now it has both 32-bit and 64-bit variant, compiled using same config as 4.9.1.
Toni Wilen is offline  
Old 24 April 2022, 18:08   #13
yelworC
Registered User

yelworC's Avatar
 
Join Date: Feb 2021
Location: Germany
Posts: 45
Happened here too.

Had previous version 3.2.3 of p96 running and working. Installed 3.3.0 and after reboot uaegfx crashed. Installed previous p96 again and still crashed. Had to uninstall p96 and install 3.2.3 again to fix it.

WinUAE 4.9.1, AmigaOS 3.2.1 with 040 and JIT.
yelworC is offline  
Old 24 April 2022, 18:25   #14
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
New builds (including x64) run fine and can't reproduce the issue. I use 8MB CHIP and 256MB FAST, RTG 512MB.

But now comes the best part...
If I run the old public buid 4.9.1 x64 without options or just "-p96test 1" it will crash with usual UAEgfx guru when running P96 3.3.0's new rtg.library, but if I run it as "winuae64.exe -p96test 1 -log -logflush -full -logfile" for a full output log it won't!

P.S.
New beta builds have a strange bug causing huge slowdown after running demos like http://aminet.net/package/demo/aga/e...hine-amiga.lha
Press ESC to break the demo and return to WB and you'll see mouse and audio in slow-motion.

Last edited by hexaae; 24 April 2022 at 18:40.
hexaae is offline  
Old 24 April 2022, 19:17   #15
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 1,741
[QUOTE=hexaae;1542923]MuForce:

Code:
 ----> 64CF5A0E - "LIBS:picasso96/rtg.library"  Hunk 0000 Offset 00024826
This is a call of the rtg.library in bi->GetCompatibleDACFormats() which is only made if the board indicates that DAC switching is possible. This call here comes from the board init phase where the rtg.library calls the driver to find out which modes require mode coercion because pixel resolutions are different. If UAE assumes that at this point video memory is already available or bitmaps are allocated, then this may fail.

Also, this call will go into the wild if UAE has indicated that DAC switching is supported, but the required methods bi->CoerceMode() and bi->GetCompatibleDACFormats() are not available and are NULL-pointers. They need to be available directly after the chip has been initialized as P96 requires them already to fill the display info database (again, for mode coercion purposes).
Thomas Richter is offline  
Old 24 April 2022, 19:40   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 47
Posts: 25,364
DACSWITCH parameter flag is always set (I guess I forgot to make it to depend on p96test because it was not defined in headers yet. Development package still hasn't been updated.)

But shouldn't it crash every time? I still can't duplicate any crashes, with or without GetCompatibleDACFormats or CoerceMode (Doesn't Picasso96 fill the function pointers with defaults before calling any card drives anyway?) EDIT: it also does not explain why it crashes even when GetCompatibleDACFormats/CoerceMode exists.

GetCompatibleDACFormats /CoerceMode is safe to call any time. They don't require anything because everything is supported, no need to check current bitmap size etc.

Last edited by Toni Wilen; 24 April 2022 at 20:33.
Toni Wilen is offline  
Old 24 April 2022, 20:11   #17
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
I will try to setup a minimal hdf...
hexaae is offline  
Old 26 April 2022, 10:36   #18
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 1,741
Any updates on this?
Thomas Richter is offline  
Old 26 April 2022, 10:42   #19
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
Sorry got no time... I'll try today and upload to my OneDrive with link.
hexaae is offline  
Old 26 April 2022, 16:13   #20
hexaae
Bug hunter

hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 46
Posts: 1,965
Sent PM to Toni and Thomas.
hexaae is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
OS4 crash with UAEGFx High Color @UAE support.WinUAE 1 26 August 2021 11:48
P96 UAEGFX / PicassoIV LoadView arcanist support.WinUAE 17 18 July 2019 18:32
Slow window dragging MCX2.8 and P96/UAEgfx Dunny New to Emulation or Amiga scene 5 18 January 2018 22:40
OpenPCI-Permedia2 P96-Driver Ratte News 0 23 February 2015 11:00
Picasso96, how to activate uaegfx driver ? Maverick357 support.WinUAE 7 21 February 2011 14:36

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Page generated in 0.10794 seconds with 13 queries