@Capehill
Sure, please find the stack trace below:
Crash log for task "testver"
Generated by GrimReaper 53.19
Crash occured in module newlib.library.kmod at address 0x01A93CC0
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003
Register dump:
GPR (General Purpose Registers):
0: 6FFB1340 5D6C2980 00000002 00000000 5D735010 00000000 00000011 00000000
8: 63229E74 00000000 5D73501C 01A93CB8 000007BC 61A94CF8 00000000 00000000
16: 00000000 00000000 00000000 19FB76AE 1AEC1F0A 7F8DDA68 02018AC8 5D6C29C8
24: 5D6F0FAC 5D734E78 00000000 00000000 00000000 5D734E88 021FA968 5D735010
FPR (Floating Point Registers, NaN = Not a Number):
0: -nan 616 4.14294e+25 4.751e-114
4: 5.08447e-277 4.5036e+15 4.5036e+15 64
8: 64 1 64 64
12: 256 4.5036e+15 6.54657e-144 5.06737e+58
16: 9.88992e+299 -1.00019e+44 4.42262 9.53257
20: 4.41275e-06 3.13471e+167 1.73446e+131 270354
24: 1.71324e-257 1.14901e-144 -3.29678e+272 -5.82453e+202
28: 3.69051e+89 -7.83227e-306 1.67869e-201 2.2192e-131
FPSCR (Floating Point Status and Control Register): 0x82008000
SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x5DB09DC0
Instruction Pointer (ip) : 0x01A93CC0
Xtended Exception (xer) : 0x018407B0
Count (ctr) : 0x00000000
Link (lr) : 0x00000000
DSI Status (dsisr) : 0x01860BA0
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 0x01A93CC0 belongs to module "newlib.library.kmod" (HUNK/Kickstart)
Stack trace:
native kernel module newlib.library.kmod+0x00034ba0
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA9212C (section 0 @ 0x96AE0)
native kernel module dos.library.kmod+0x00031550
native kernel module dos.library.kmod+0x00031b44
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA8D1FC (section 0 @ 0x91BB0)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA8D284 (section 0 @ 0x91C38)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA8DA1C (section 0 @ 0x923D0)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FE828 (section 0 @ 0x31DC)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FEEB8 (section 0 @ 0x386C)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FF390 (section 0 @ 0x3D44)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FF8C8 (section 0 @ 0x427C)
module Workbench:SObjs/libSDL3-3.2.so at 0x7C9FFCB0 (section 0 @ 0x4664)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA002A0 (section 0 @ 0x4C54)
module Workbench:SObjs/libSDL3-3.2.so at 0x7CA0050C (section 0 @ 0x4EC0)
[testver.c:28] testver:main()+0x28 (section 7 @ 0x3514)
native kernel module newlib.library.kmod+0x00002614
native kernel module newlib.library.kmod+0x000032f0
native kernel module newlib.library.kmod+0x00003864
testver:_start()+0x1e0 (section 7 @ 0x3280)
native kernel module dos.library.kmod+0x0002a458
native kernel module kernel+0x0005c18c
native kernel module kernel+0x0005c204
PPC disassembly:
01a93cb8: 5467003a rlwinm r7,r3,0,0,29
01a93cbc: 7f833840 cmplw cr7,r3,r7
*01a93cc0: 81070000 lwz r8,0(r7)
01a93cc4: 419e0024 beq- cr7,0x1A93CE8
01a93cc8: 7c6918f8 not r9,r3
The default stack size of WB is 65kB. I also created an icon and set the stack size to 100kB, still the same crash.
It only works for me and McFly when we run the programs from a shell.
Best regards,
Josef