Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
28 user(s) are online (16 user(s) are browsing Forums)

Members: 0
Guests: 28

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SDL1 open issues

Subject: Re: SDL1 open issues
by samo79 on 2019/3/15 10:33:04

@Capehill

Yes, i can reproduce it also with SDL1 debug version.
I do some test and i can say that i have atleast two kind of results when i run a second instance of that demo, or a freeze or a DSI crash and these seems happen randomly

As you may think it's probably caused by MiniGL, actually i'm using a beta version of MiniGL 2.23 (not yet publically released)

Here the library so you can test:

http://s000.tinyupload.com/index.php?file_id=00084931244575550894

And here the crash:

Quote:
Crash log for task "testgl"
Generated by GrimReaper 53.19
Crash occured in module minigl.library at address 0x6F8840B4
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003

Register dump:
GPR (General Purpose Registers):
0: 00023300 56693A70 00000000 00000000 566939E8 56693A88 021CAAFC 021CAB6C
8: 558E1DA0 54660000 00000000 57C14000 000001C4 5456AE88 00000000 55BDC4D8
16: 55BDC4BC 54560000 000001A6 20000000 54562EB4 56693BA0 56693B40 00000532
24: 56693B44 56693BA4 56693BA8 56693B48 56693B2C 54562EB0 5FF4DFA8 578B4000


FPR (Floating Point Registers, NaN = Not a Number):
0: nan -0.330823 0.615101 -0.330823
4: 0.715751 0.615102 0 0
8: -0.330823 0.715751 0.615102 0
12: 0 0.615102 0 -0
16: 0 0 0 0
20: 0 0 0 0
24: 0 0 2.65249e-315 0
28: 0 5 0 1

FPSCR (Floating Point Status and Control Register): 0x82008000


SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x4FB6DDA0
Instruction Pointer (ip) : 0x6F8840B4
Xtended Exception (xer) : 0x018233AC
Count (ctr) : 0x00000000
Link (lr) : 0x00000000
DSI Status (dsisr) : 0x01842B34
Data Address (dar) : 0x00000000



680x0 emulated registers:
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FPU0: 0 0 0 0
FPU4: 0 0 0 0



Symbol info:
Instruction pointer 0x6F8840B4 belongs to module "minigl.library" (HUNK/Kickstart)

Stack trace:
module LIBS:minigl.library at 0x6F8840B4 (section 5 @ 0x55090)
AmigaOS4:SObjs/libSDL-1.2.so:os4video_GL_SwapBuffers()+0xc0 (section 8 @ 0x3D918)
AmigaOS4:SObjs/libSDL-1.2.so:SDL_GL_SwapBuffers()+0x48 (section 8 @ 0x27F7C)
testgl:RunGLTest()+0xc7c (section 7 @ 0x2018)
testgl:main()+0x2d8 (section 7 @ 0x26C8)
native kernel module newlib.library.kmod+0x000020ac
native kernel module newlib.library.kmod+0x00002d14
native kernel module newlib.library.kmod+0x00002ef0
testgl:_start()+0x170 (section 7 @ 0x16C)
native kernel module dos.library.kmod+0x000255c8
native kernel module kernel+0x0003e7b4
native kernel module kernel+0x0003e7fc

PPC disassembly:
6f8840ac: 7d601850 sub r11,r3,r0
6f8840b0: 7d435378 mr r3,r10
*6f8840b4: 814a006c lwz r10,108(r10)
6f8840b8: 808b2210 lwz r4,8720(r11)
6f8840bc: 7d4903a6 mtctr r10

System information:

CPU
Model: AMCC PPC440EP V1.3
CPU speed: 799 MHz
FSB speed: 133 MHz
Extensions:

Machine
Machine name: Sam440EP
Memory: 1048576 KB
Extensions: bus.pci

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project