Open davec555 opened 11 months ago
Seems "fpe: correctly unload EBOs" mean instead now uncorrectly unload EBOs :)
@Icenowy The DSI on amigaos4 means bad access to the memory , which may not happens on other OSes by luck.
@davec555 Can you post crashlog and steps to reprodue ? Maybe it will help to pinpoint problem
Ah does it fail on this line? This should just be unbinding a buffer and shouldn't cause memory fault...
It can fail if there is no buffer to unbind , so a wrong memory access can cause DSI. I will try to build today latest gl4es to try to reproduce it, and from crashlog it will be clear what kind of fault memory access happens : null pointer one, or something else.
Here is a crash log when that line is enabled. Thing to note, is my program does not use VBO's (at least not directly). I just used display lists.
Crash log for task "bin_amiga/displwo_gl4es"
Generated by GrimReaper 53.19
Crash occured in module ogles2.library at address 0x7EB65234
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003
Register dump:
GPR (General Purpose Registers):
0: 7EB6807C 562D5670 00000002 00000000 00000534 00000008 58EF301C 58EF4E0C
8: 000000A6 00000000 14D014D0 00000000 0000803F 5732F2A8 561CDF10 00000002
16: 573E8B10 EFAC73C0 61D2F4F0 0000000B 562D5DA8 00000000 00000000 00000002
24: 00000000 00000000 58EF45B0 58EF7768 58EF7720 00000003 00000000 00000534
FPR (Floating Point Registers, NaN = Not a Number):
0: -nan 80 0 0
4: 1 10 500 0.152926
8: 10 2.68581 1 0
12: 1 -0.435512 4.06137e-270 4.79379e-176
16: -2.14145e-296 9.03066e-277 5.70573e-305 2.52492e-192
20: 1.84705e+11 6.46913e-188 4.0872e-270 2.68362e-83
24: 2.59264e-130 1.15233e-308 -2.10566e-286 -1.26636e-255
28: 3.79323e-270 1.57168e-207 2.18125e+135 1.98689e-301
FPSCR (Floating Point Status and Control Register): 0x9A004000
SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x56729DC0
Instruction Pointer (ip) : 0x7EB65234
Xtended Exception (xer) : 0x018407B0
Count (ctr) : 0x00000000
Link (lr) : 0x00000000
DSI Status (dsisr) : 0x56729DB0
Data Address (dar) : 0x00000010
680x0 emulated registers:
DATA: 82D81700 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 6FFA4000 826DF000 00000000 00000000 00000000 00000000 00000000 562D5320
FPU0: 0 0 0 0
FPU4: 0 0 0 0
Symbol info:
Instruction pointer 0x7EB65234 belongs to module "ogles2.library" (HUNK/Kickstart)
Stack trace:
module LIBS:ogles2.library at 0x7EB65234 (section 0 @ 0x7210)
module LIBS:ogles2.library at 0x7EB68714 (section 0 @ 0xA6F0)
module LIBS:ogles2.library at 0x7EB62070 (section 0 @ 0x404C)
bin_amiga/displwo_gl4es:AmiglDrawElements()+0x54 (section 1 @ 0x19772C)
bin_amiga/displwo_gl4es:fpe_glDrawElements()+0x224 (section 1 @ 0xEB370)
bin_amiga/displwo_gl4es:draw_renderlist()+0x2938 (section 1 @ 0x126FA4)
bin_amiga/displwo_gl4es:gl4es_glCallList()+0x90 (section 1 @ 0x10C4CC)
[displwo.cc:3300] bin_amiga/displwo_gl4es:_Z9drawsolid13wireframetype10switchtype()+0xf4 (section 1 @ 0xF694)
[displwo.cc:3747] bin_amiga/displwo_gl4es:_Z10drawobjectv()+0x70 (section 1 @ 0x1187C)
[displwo.cc:3890] bin_amiga/displwo_gl4es:_Z7displayv()+0x13c (section 1 @ 0x11E38)
[displwo.cc:6238] bin_amiga/displwo_gl4es:main()+0x980 (section 1 @ 0x176C4)
native kernel module newlib.library.kmod+0x00002614
native kernel module newlib.library.kmod+0x00003340
native kernel module newlib.library.kmod+0x00003864
bin_amiga/displwo_gl4es:_start()+0x1e0 (section 1 @ 0x3280)
native kernel module dos.library.kmod+0x0002a458
native kernel module kernel+0x0005c18c
native kernel module kernel+0x0005c204
PPC disassembly:
7eb6522c: 39080001 addi r8,r8,1
7eb65230: 7d0903a6 mtctr r8
*7eb65234: a1090000 lhz r8,0(r9)
7eb65238: 3884fff8 subi r4,r4,8
7eb6523c: a0e90002 lhz r7,2(r9)
System information:
CPU
Model: Freescale P5040 (E5500 core) V1.2
CPU speed: 2200 MHz
FSB speed: 800 MHz
Extensions:
Machine
Machine name: AmigaOne X5000/40
Memory: 2097152 KB
Extensions: bus.pci bus.pcie
Expansion buses
PCI/AGP
00:00.0 Vendor 0x1957 Device 0x0451
01:00.0 Vendor 0x1002 Device 0x699F
Range 0: 80000000 - 90000000 (PREF.MEM)
Range 2: 90000000 - 90200000 (PREF.MEM)
Range 4: 00001000 - 00001100 (IO)
01:00.1 Vendor 0x1002 Device 0xAAE0
Range 0: 90240000 - 90244000 (MEM)
02:00.0 Vendor 0x1957 Device 0x0451
03:00.0 Vendor 0x111D Device 0x8092
04:01.0 Vendor 0x111D Device 0x8092
04:02.0 Vendor 0x111D Device 0x8092
04:03.0 Vendor 0x111D Device 0x8092
04:08.0 Vendor 0x111D Device 0x8092
04:10.0 Vendor 0x111D Device 0x8092
05:00.0 Vendor 0x12D8 Device 0xE111
06:05.0 Vendor 0x13F6 Device 0x0111
Range 0: 00001000 - FFFF1100 (IO)
Libraries
0x0236ecc2: exec.library V54.30
0x6fef99a8: cgxvideo.library V42.1
0x58f1caa8: mglut.library V2.24
0x58f1cc28: minigl.library V2.24
0x5909d960: Warp3D.library V53.27
0x59f1b138: W3D_NovaBridge.library V54.16
0x5ec0dbe8: W3D_Avenger.library V53.1
0x5ec0d9e8: W3D_Napalm.library V53.1
0x5ec0db68: W3D_Permedia2.library V53.4
0x5fbca338: W3D_Picasso96.library V53.12
0x59ed27a8: PCI_SoundCardHornet.driver V52.2
0x59ed2628: PCI_sblive.pci V52.1
0x59ed2568: PCI_Soundcard.driver V52.2
0x59ed23e8: PCI_GamePortHornet.driver V52.2
0x59ed2328: PCI_GamePort.driver V53.1
0x59ed2268: Generic_usb.driver V53.3
0x59ed21a8: Generic_Mouse.driver V52.1
0x6ea2b768: AmigaInput.library V53.4
0x5d824a28: ogles2.library V3.3
0x5d824728: W3DN_GCN.library V54.16
0x5d824ba8: Warp3DNova.library V54.16
0x5fbca2fe: mathtrans.library V52.1 (Legacy)
0x5fbca240: mathffp.library V52.1 (Legacy)
0x5cb0ef18: filesysbox.library V54.9
0x5cb0e698: docklib.library V2.54
0x5f0f8388: picflow.gadget V1.7
0x5edfedc8: speedbar.gadget V53.14
0x5d942860: palette.gadget V53.7
0x5d823a48: RAMDock.docky V51.3
0x61c26e10: fuelgauge.gadget V53.8
0x5d6d67b0: datebrowser.gadget V53.9
0x618269f8: toolbar.gadget V53.6
0x5d6d2398: NetDock.docky V52.0
0x5d6d2698: infodata.gadget V53.3
0x5d6d2218: GFXDock.docky V51.6
0x61571e88: piechart.gadget V53.1
0x5d64a968: listviewer.gadget V54.25
0x5d5f2450: select.gadget V53.7
0x5d96a970: getcolor.gadget V53.11
0x5d6d63f8: radiobutton.gadget V53.11
0x5d89eba8: sliderbar.gadget V53.22
0x5d7447e0: time.gadget V1.14
0x5d96a828: infowindow.class V53.15
0x5d6945e0: texteditor.gadget V53.28
0x5d9425d8: tickbox.gadget V53.14
0x5d7442d8: CPUDock.docky V51.2
0x5d9427c0: clock.gadget V53.1
0x5d8234e0: datesheet.gadget V1.9
0x5d823850: tabbed.gadget V54.455
0x5d823ac8: SubDock.docky V53.1
0x5d8238d0: anim.gadget V53.7
0x5d9424a0: gradientslider.gadget V53.7
0x5f48df58: Separator.docky V53.2
0x5d823348: progressbar.gadget V53.12
0x61826550: shared.image V2.1
0x5d942220: slider.gadget V53.17
0x5d942180: arexx.class V53.6
0x5d9420e4: colorwheel.gadget V53.7
0x5d942040: getfont.gadget V53.11
0x5d902024: clipview.library V1.12
0x5f496670: getfile.gadget V53.12
0x5ee655f0: requester.class V53.20
0x5f496a30: space.gadget V53.7
0x5f496ad0: bitmap.image V53.9
0x5f4968f0: integer.gadget V53.13
0x5eefc498: screenblanker.library V53.7
0x5edfe048: clicktab.gadget V53.50
0x619eec98: chooser.gadget V53.22
0x5f496530: penmap.image V53.6
0x5f496350: checkbox.gadget V53.12
0x61c2d6d8: filesave.audio V6.5
0x61c2cc24: device.audio V6.2
0x6ea29528: listbrowser.gadget V53.74
0x61c2d620: scroller.gadget V53.16
0x6ea2b500: string.gadget V53.24
0x61c2d318: cmi8738.audio V5.18
0x6181bd04: camd.library V53.7
0x61d2daa4: usergroup.library V4.30
0x615598f0: bsdsocket.library V4.307
0x616d2e2c: textclip.library V53.4
0x616e4ec8: usbhidgate.library V53.3
0x61bf9aac: hid.usbfd V53.14
0x617750bc: xadmaster.library V13.1
0x61bf9734: xpkmaster.library V5.2
0x61c26870: button.gadget V53.22
0x61c26910: glyph.image V53.4
0x61bfce40: window.class V54.14
0x61867078: popupmenu.class V53.2
0x61c33cc8: popupmenu.library V53.14
0x61c267d0: label.image V53.14
0x61c26730: drawlist.image V53.3
0x6fef9b88: layout.gadget V54.8
0x619eed80: bevel.image V53.6
0x61bf9258: AK-PNG.datatype V54.15
0x61d26484: picture.datatype V53.10
0x61d2e380: Picasso96API.library V54.18
0x61bc8514: mpega.library V2.4
0x61bf91e0: mathieeedoubbas.library V53.1
0x61d2f140: datatypes.library V54.15
0x61d6d3a4: asl.library V53.54
0x61d6fb6c: ft2.library V53.2
0x6ff15c4c: workbench.library V53.62
0x61bfc5c0: gadtools.library V53.8
0x61c33018: timezone.library V53.11
0x6ff0fe38: application.library V53.30
0x61d65cfc: commodities.library V53.10
0x61d830cc: icon.library V54.6
0x6ff0f820: z.library V53.9
0x61d6d160: iffparse.library V53.3
0x61f04258: version.library V53.18
0x6ffb8ecc: locale.library V54.2
0x6fef87ac: diskfont.library V53.13
0x6ff9ca98: petunia.library V53.6
0x6ff9c9d8: diskcache.library V3.31
0x6ff09db8: dos.library V54.112
0x6ff0f094: usbprivate.library V53.22
0x6ff0d4bc: massstorage.usbfd V53.84
0x6fef9e3c: hub.usbfd V53.11
0x6ff0d428: bootkeyboard.usbfd V52.3
0x6ff0d3a8: bootmouse.usbfd V53.3
0x6ff0d2a8: mounter.library V53.20
0x6fef9d8c: usbresource.library V53.22
0x6ff91518: hunk.library V53.4
0x6fef9c84: elf.library V53.30
0x6f0a24d0: intuition.library V54.28
0x6ff587a0: keymap.library V53.9
0x6ff5a544: nonvolatile.library V54.7
0x6ff7e9f0: cybergraphics.library V43.0
0x6ff90420: RadeonRX.chip V2.12
0x6ffa3420: graphics.library V54.248
0x6fffe4f0: layers.library V54.12
0x6ff50150: rtg.library V54.90
0x6ff902a4: PCIGraphics.card V53.18
0x6ffaa258: newlib.library V53.80
0x6ff9f1ac: utility.library V54.2
0x6ffa8398: expansion.library V53.1
0x61c71cae: rexxsyslib.library V53.4 (Legacy)
Devices
0x61826be4: clipboard.device V53.5
0x6181bb44: ahi.device V6.2
0x5f6cc024: p50x0_eth.device V52.6
0x618632a4: diskimage.device V53.4
0x6ff10b20: usbsys.device V53.22
0x6ff91984: p50x0sata.device V54.79
0x6ff918d8: vsata.device V54.8
0x6ff91870: ehci.usbhcd V53.26
0x6ff917d0: ohci.usbhcd V53.22
0x6ff91730: uhci.usbhcd V53.15
0x6ff10258: console.device V53.105
0x6ff5a670: ramdrive.device V54.1
0x6ff589ec: input.device V53.6
0x6fef83b4: keyboard.device V53.12
0x6ff5a050: timer.device V53.4
Tasks
rx_pm (Waiting)
Stack: 0x6f0d2000 - 0x6f0da000, pointer @ 0x6f0d9f40 (Cookie OK)
Signals: SigRec 0x80000001, SigWait 0x00000000
State: Task (Waiting)
rx_gc (Waiting)
Stack: 0x6f0da000 - 0x6f0e2000, pointer @ 0x6f0e1f50 (Cookie OK)
Signals: SigRec 0x80000001, SigWait 0x00000000
State: Task (Waiting)
Exec Command and Control (Waiting)
Stack: 0x6f044000 - 0x6f048000, pointer @ 0x6f047f50 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Task (Waiting)
ClickToFront (Waiting)
Stack: 0x5edbe004 - 0x5edcdffc, pointer @ 0x5edcdef0 (Cookie OK)
Signals: SigRec 0xe000d000, SigWait 0x00000100
State: Process (Waiting)
input.device (Waiting)
Stack: 0x6f0b2000 - 0x6f0c2000, pointer @ 0x6f0c1f00 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Task (Waiting)
P50x0 Ethernet (Waiting)
Stack: 0x61c2f000 - 0x61c30000, pointer @ 0x61c2ff20 (Cookie OK)
Signals: SigRec 0x00001000, SigWait 0x00000000
State: Task (Waiting)
SFS DosList handler (Waiting)
Stack: 0x61fff004 - 0x62006ffc, pointer @ 0x62006f20 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Process (Waiting)
USB stack (Waiting)
Stack: 0x6f04c000 - 0x6f050000, pointer @ 0x6f04ff20 (Cookie OK)
Signals: SigRec 0xf800d000, SigWait 0x00000000
State: Task (Waiting)
EHCI Controller Task Unit 1 (Waiting)
Stack: 0x6eb8e000 - 0x6eb96000, pointer @ 0x6eb95f10 (Cookie OK)
Signals: SigRec 0xbe009000, SigWait 0x00000000
State: Task (Waiting)
EHCI Controller Task Unit 0 (Waiting)
Stack: 0x6ebd6000 - 0x6ebde000, pointer @ 0x6ebddf10 (Cookie OK)
Signals: SigRec 0xbe009000, SigWait 0x00000000
State: Task (Waiting)
p50x0sata.device Port 1 (Waiting)
Stack: 0x6edfe000 - 0x6ee0ca60, pointer @ 0x6ee0c900 (Cookie OK)
Signals: SigRec 0xc0007000, SigWait 0x10000000
State: Task (Waiting)
p50x0sata.device Port 0 (Waiting)
Stack: 0x6f01a000 - 0x6f028a60, pointer @ 0x6f028900 (Cookie OK)
Signals: SigRec 0xc0007000, SigWait 0x00000000
State: Task (Waiting)
hid.usbfd (Waiting)
Stack: 0x5f76d004 - 0x5f774ffc, pointer @ 0x5f774ea0 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Mouse (Waiting)
Stack: 0x5807d004 - 0x5808cffc, pointer @ 0x5808cef0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
ICD0/CDFileSystem 53.8 (Waiting)
Stack: 0x615cd004 - 0x615dcffc, pointer @ 0x615dcf20 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
ICD1/CDFileSystem 53.8 (Waiting)
Stack: 0x61660004 - 0x6166fffc, pointer @ 0x6166ff20 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
CDDH0/SmartFilesystem 1.293 (Waiting)
Stack: 0x6ea20004 - 0x6ea27ffc, pointer @ 0x6ea27eb0 (Cookie OK)
Signals: SigRec 0xe0000100, SigWait 0x00000000
State: Process (Waiting)
CDDH1/SmartFilesystem 1.293 (Waiting)
Stack: 0x61fdf004 - 0x61fe6ffc, pointer @ 0x61fe6eb0 (Cookie OK)
Signals: SigRec 0xe0000100, SigWait 0x00000000
State: Process (Waiting)
reaper.task (Waiting)
Stack: 0x61e3e004 - 0x61e45ffc, pointer @ 0x61e45e50 (Cookie OK)
Signals: SigRec 0x00007000, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x59fab004 - 0x59fb2ffc, pointer @ 0x59fb2ea0 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Keyboard (Waiting)
Stack: 0x5f710004 - 0x5f71fffc, pointer @ 0x5f71ff00 (Cookie OK)
Signals: SigRec 0x90001000, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x59f29004 - 0x59f30ffc, pointer @ 0x59f30ea0 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Mouse (Waiting)
Stack: 0x58091004 - 0x580a0ffc, pointer @ 0x580a0ef0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x615f5004 - 0x615fcffc, pointer @ 0x615fcea0 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Keyboard (Waiting)
Stack: 0x61534004 - 0x61543ffc, pointer @ 0x61543f00 (Cookie OK)
Signals: SigRec 0x90001000, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x6ea96004 - 0x6ea9dffc, pointer @ 0x6ea9dea0 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Mouse (Waiting)
Stack: 0x5f60f004 - 0x5f61effc, pointer @ 0x5f61eef0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
hid.usbfd (Waiting)
Stack: 0x615e9004 - 0x615f0ffc, pointer @ 0x615f0ea0 (Cookie OK)
Signals: SigRec 0xe0000000, SigWait 0x00000100
State: Process (Waiting)
HID Mouse (Waiting)
Stack: 0x5f62b004 - 0x5f63affc, pointer @ 0x5f63aef0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
RAM/ram-handler 54.24 (Waiting)
Stack: 0x61da1004 - 0x61da4ffc, pointer @ 0x61da4d40 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
HID Consumer (Waiting)
Stack: 0x61504004 - 0x61513ffc, pointer @ 0x61513f20 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
HID Mouse (Waiting)
Stack: 0x61520004 - 0x6152fffc, pointer @ 0x6152fef0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
READYNAS/smb2-handler 53.7 (Waiting)
Stack: 0x5f683004 - 0x5f692ffc, pointer @ 0x5f692c00 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000180
State: Process (Waiting)
MATHILDA/smb2-handler 53.7 (Waiting)
Stack: 0x5a125004 - 0x5a134ffc, pointer @ 0x5a134c00 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000180
State: Process (Waiting)
WinFrame 3 Process (Waiting)
Stack: 0x575a5004 - 0x575e4ffc, pointer @ 0x575e4eb0 (Cookie OK)
Signals: SigRec 0xff800000, SigWait 0x00000000
State: Process (Waiting)
IDF1/FastFileSystem 53.2 (Waiting)
Stack: 0x613ac004 - 0x613bbffc, pointer @ 0x613bbed0 (Cookie OK)
Signals: SigRec 0xa8000100, SigWait 0x00000000
State: Process (Waiting)
IDF0/FastFileSystem 53.2 (Waiting)
Stack: 0x617ae004 - 0x617bdffc, pointer @ 0x617bded0 (Cookie OK)
Signals: SigRec 0xa8000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x57609004 - 0x57618ffc, pointer @ 0x57618e20 (Cookie OK)
Signals: SigRec 0xb0000100, SigWait 0x00000000
State: Process (Waiting)
dos_filedir_notify (Waiting)
Stack: 0x6ea65004 - 0x6ea69ffc, pointer @ 0x6ea68eb0 (Cookie OK)
Signals: SigRec 0x40001000, SigWait 0x80000000
State: Process (Waiting)
RANDOM/Random-Handler 52.1 (Waiting)
Stack: 0x613c8004 - 0x613d7ffc, pointer @ 0x613d7ef0 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
URL/launch-handler 53.39 (Waiting)
Stack: 0x61419004 - 0x61493ffc, pointer @ 0x6148ffa0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5d781004 - 0x5d790ffc, pointer @ 0x5d790e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5ec61004 - 0x5ec70ffc, pointer @ 0x5ec70e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5d66f004 - 0x5d67effc, pointer @ 0x5d67ee20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5d844004 - 0x5d853ffc, pointer @ 0x5d853e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5d8be004 - 0x5d8cdffc, pointer @ 0x5d8cde20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5ec8e004 - 0x5ec9dffc, pointer @ 0x5ec9de20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5ed54004 - 0x5ed63ffc, pointer @ 0x5ed63e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5ee2b004 - 0x5ee3affc, pointer @ 0x5ee3ae20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5ee8c004 - 0x5ee9bffc, pointer @ 0x5ee9be20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x5ef22004 - 0x5ef31ffc, pointer @ 0x5ef31e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
Camd Wait Proc (Waiting)
Stack: 0x5f2d1004 - 0x5f3c5ffc, pointer @ 0x5f3c5f10 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x61d53004 - 0x61d62ffc, pointer @ 0x61d62e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
AUDIO/AHI-Handler 6.2 (Waiting)
Stack: 0x614c0004 - 0x614d0004, pointer @ 0x614cfed0 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
ENV/env-handler 54.18 (Waiting)
Stack: 0x61d8d004 - 0x61d94ffc, pointer @ 0x61d94ef0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
APPDIR/appdir-handler 54.17 (Waiting)
Stack: 0x61dd5004 - 0x61ddbffc, pointer @ 0x61ddbec0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x61eaa004 - 0x61eb1ffc, pointer @ 0x61eb1e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
RAW/con-handler 53.82 (Waiting)
Stack: 0x61ece004 - 0x61ed5ffc, pointer @ 0x61ed5e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
CON/con-handler 53.82 (Waiting)
Stack: 0x61efa004 - 0x61f01ffc, pointer @ 0x61f01e20 (Cookie OK)
Signals: SigRec 0xa0000100, SigWait 0x00000000
State: Process (Waiting)
dos_nbmd_process (Waiting)
Stack: 0x6ea86004 - 0x6ea89ffc, pointer @ 0x6ea89f30 (Cookie OK)
Signals: SigRec 0x00001100, SigWait 0x00000000
State: Process (Waiting)
dos_lock_handler (Waiting)
Stack: 0x6ea8e004 - 0x6ea91ffc, pointer @ 0x6ea91f00 (Cookie OK)
Signals: SigRec 0x00001100, SigWait 0x00000000
State: Process (Waiting)
RexxMaster (Waiting)
Stack: 0x61370004 - 0x6137fffc, pointer @ 0x6137fec0 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000100
State: Process (Waiting)
diskimage.device unit 1 (Waiting)
Stack: 0x6138c004 - 0x6139fffc, pointer @ 0x6139fc50 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000100
State: Process (Waiting)
diskimage.device unit 4 (Waiting)
Stack: 0x6159a004 - 0x615adffc, pointer @ 0x615adc50 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000100
State: Process (Waiting)
diskimage.device unit 5 (Waiting)
Stack: 0x61631004 - 0x61644ffc, pointer @ 0x61644c50 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000100
State: Process (Waiting)
diskimage.device unit 0 (Waiting)
Stack: 0x6168c004 - 0x6169fffc, pointer @ 0x6169fc50 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000100
State: Process (Waiting)
TEXTCLIP/textclip-handler 53.4 (Waiting)
Stack: 0x613e4004 - 0x613f3ffc, pointer @ 0x613f3ec0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
compose.task (Waiting)
Stack: 0x5fcba000 - 0x5fcc2000, pointer @ 0x5fcc1f30 (Cookie OK)
Signals: SigRec 0x00000021, SigWait 0x00000000
State: Task (Waiting)
Workbench (Waiting)
Stack: 0x5fc26004 - 0x5fc35ffc, pointer @ 0x5fc35e50 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000180
State: Process (Waiting)
ScreenBlanker Library. (Waiting)
Stack: 0x5ed8d004 - 0x5ed9dffc, pointer @ 0x5ed9df00 (Cookie OK)
Signals: SigRec 0xb4001000, SigWait 0x00000100
State: Process (Waiting)
ramlib (Waiting)
Stack: 0x61dec004 - 0x61e04ffc, pointer @ 0x61e04f20 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
ContextMenus Command Dispatcher (Waiting)
Stack: 0x5b5f3004 - 0x5b602ffc, pointer @ 0x5b602f30 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
Workbench DosList Notify (Waiting)
Stack: 0x5f2ad004 - 0x5f2bcffc, pointer @ 0x5f2bcf40 (Cookie OK)
Signals: SigRec 0x00003000, SigWait 0x00000100
State: Process (Waiting)
texteditor.gadget Clipboard Server (Waiting)
Stack: 0x5d583004 - 0x5d59bffc, pointer @ 0x5d59bf00 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
string.gadget server (Waiting)
Stack: 0x5f49f004 - 0x5f4aeffc, pointer @ 0x5f4aedb0 (Cookie OK)
Signals: SigRec 0x40000000, SigWait 0x00000100
State: Process (Waiting)
Workbench Clipboard Server (Waiting)
Stack: 0x60f4c004 - 0x60f5bffc, pointer @ 0x60f5bef0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
NotificationServer (Waiting)
Stack: 0x5d8da004 - 0x5d8f9ffc, pointer @ 0x5d8f9b10 (Cookie OK)
Signals: SigRec 0xbc001000, SigWait 0x00000000
State: Process (Waiting)
AmiDock (Waiting)
Stack: 0x5ef3e004 - 0x5ef4dffc, pointer @ 0x5ef4d740 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
TCP/IP Control (Waiting)
Stack: 0x5f7d9004 - 0x5f8cdffc, pointer @ 0x5f8cddc0 (Cookie OK)
Signals: SigRec 0xf8009080, SigWait 0x00000000
State: Process (Waiting)
vsata disk changer (Waiting)
Stack: 0x6ebe2000 - 0x6ebf0a60, pointer @ 0x6ebf09b0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Task (Waiting)
X-Dock (Waiting)
Stack: 0x5d79d004 - 0x5d7acffc, pointer @ 0x5d7acc90 (Cookie OK)
Signals: SigRec 0xfe001000, SigWait 0x01000000
State: Process (Waiting)
hub.usbfd (Waiting)
Stack: 0x6eb4e004 - 0x6eb55ffc, pointer @ 0x6eb55eb0 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
hub.usbfd (Waiting)
Stack: 0x6eb5a004 - 0x6eb61ffc, pointer @ 0x6eb61eb0 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
Clock (Waiting)
Stack: 0x5eca2004 - 0x5ecb1ffc, pointer @ 0x5ecb1820 (Cookie OK)
Signals: SigRec 0x6e001000, SigWait 0x00000000
State: Process (Waiting)
ELF Collector (Waiting)
Stack: 0x6ea40004 - 0x6ea50ffc, pointer @ 0x6ea50e70 (Cookie OK)
Signals: SigRec 0x00000100, SigWait 0x00000000
State: Process (Waiting)
Calendar (Waiting)
Stack: 0x5d860004 - 0x5d878ffc, pointer @ 0x5d878810 (Cookie OK)
Signals: SigRec 0xdc001000, SigWait 0x00000000
State: Process (Waiting)
TimeGuard (Waiting)
Stack: 0x5d71c004 - 0x5d72bffc, pointer @ 0x5d72be00 (Cookie OK)
Signals: SigRec 0xf0001000, SigWait 0x0d000100
State: Process (Waiting)
Background CLI [AmigaOS:Utilities/X-Dock/DockApps/clock.dockapp] (Waiting)
Stack: 0x5bc05004 - 0x5bc14ffc, pointer @ 0x5bc14c60 (Cookie OK)
Signals: SigRec 0x70001000, SigWait 0x00000100
State: Process (Waiting)
application.library messageserver (Waiting)
Stack: 0x61c83000 - 0x61c83fa0, pointer @ 0x61c83f10 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000000
State: Task (Waiting)
AmigaInput Dispatcher (Waiting)
Stack: 0x59d5e000 - 0x59d62000, pointer @ 0x59d61f30 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Task (Waiting)
ScreenBlankerEngine (Waiting)
Stack: 0x5ee47004 - 0x5ee56ffc, pointer @ 0x5ee56c00 (Cookie OK)
Signals: SigRec 0xd8001000, SigWait 0x00000100
State: Process (Waiting)
WorkbenchExplorer (Waiting)
Stack: 0x5d4b2004 - 0x5d4d4ffc, pointer @ 0x5d4d4c20 (Cookie OK)
Signals: SigRec 0x53f80001, SigWait 0x00000000
State: Process (Waiting)
SDL thread SDLTimer (0x5741fad8) (Waiting)
Stack: 0x57360004 - 0x5736fffc, pointer @ 0x5736fea0 (Cookie OK)
Signals: SigRec 0x80009000, SigWait 0x00000000
State: Process (Waiting)
AsyncWB (Waiting)
Stack: 0x5eecd004 - 0x5eedcffc, pointer @ 0x5eedce90 (Cookie OK)
Signals: SigRec 0xc0001000, SigWait 0x00000100
State: Process (Waiting)
ContextMenus (Waiting)
Stack: 0x5ed68004 - 0x5ed77ffc, pointer @ 0x5ed77c90 (Cookie OK)
Signals: SigRec 0xe0001000, SigWait 0x0c000000
State: Process (Waiting)
TCP/IP Superserver (Waiting)
Stack: 0x5f8d2004 - 0x5f9c6ffc, pointer @ 0x5f9c69f0 (Cookie OK)
Signals: SigRec 0xd0000080, SigWait 0x00000000
State: Process (Waiting)
Mounter GUI (Waiting)
Stack: 0x61832004 - 0x61845ffc, pointer @ 0x61845e10 (Cookie OK)
Signals: SigRec 0x80007000, SigWait 0x00000000
State: Process (Waiting)
FrontPub (Waiting)
Stack: 0x5d50a004 - 0x5d51a004, pointer @ 0x5d519ee0 (Cookie OK)
Signals: SigRec 0xe0001000, SigWait 0x00000000
State: Process (Waiting)
hub.usbfd (Waiting)
Stack: 0x6eae6004 - 0x6eaedffc, pointer @ 0x6eaedeb0 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
hub.usbfd (Waiting)
Stack: 0x6ead6004 - 0x6eaddffc, pointer @ 0x6eaddeb0 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
TCP/IP Configuration (Waiting)
Stack: 0x5f9cb004 - 0x5fabfffc, pointer @ 0x5fabfe10 (Cookie OK)
Signals: SigRec 0xf8003000, SigWait 0x00000000
State: Process (Waiting)
Background CLI [AmigaOS:System/ModePro] (Waiting)
Stack: 0x6103804c - 0x6112cfcc, pointer @ 0x6112cf10 (Cookie OK)
Signals: SigRec 0xf8001000, SigWait 0x00000100
State: Process (Waiting)
clipview.library server (Waiting)
Stack: 0x5d4d9004 - 0x5d4f8ffc, pointer @ 0x5d4f8df0 (Cookie OK)
Signals: SigRec 0xd8003000, SigWait 0x00000000
State: Process (Waiting)
New Process (Waiting)
Stack: 0x5cde2004 - 0x5ce04ffc, pointer @ 0x5ce04f00 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
New Process (Waiting)
Stack: 0x5ce11004 - 0x5ce33ffc, pointer @ 0x5ce33f40 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
New Process (Waiting)
Stack: 0x5ce50004 - 0x5ce72ffc, pointer @ 0x5ce72f40 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000100
State: Process (Waiting)
InfoWB (Waiting)
Stack: 0x5d683004 - 0x5d692ffc, pointer @ 0x5d692c90 (Cookie OK)
Signals: SigRec 0xf8001000, SigWait 0x00000100
State: Process (Waiting)
select.gadget prefs (Waiting)
Stack: 0x5d532004 - 0x5d541ffc, pointer @ 0x5d541ca0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
DefIcons (Waiting)
Stack: 0x5eea0004 - 0x5eeafffc, pointer @ 0x5eeafdb0 (Cookie OK)
Signals: SigRec 0x80009000, SigWait 0x00000100
State: Process (Waiting)
IPrefs (Waiting)
Stack: 0x61c8b004 - 0x61c9affc, pointer @ 0x61c9aa20 (Cookie OK)
Signals: SigRec 0x0000f000, SigWait 0x00000000
State: Process (Waiting)
TCP/IP Log (Waiting)
Stack: 0x5fac4004 - 0x5fbb8ffc, pointer @ 0x5fbb8f00 (Cookie OK)
Signals: SigRec 0x80003000, SigWait 0x00000000
State: Process (Waiting)
ConClip (Waiting)
Stack: 0x617f2004 - 0x61801ffc, pointer @ 0x61801eb0 (Cookie OK)
Signals: SigRec 0x80000000, SigWait 0x00000000
State: Process (Waiting)
USB stack Process (Waiting)
Stack: 0x6184a004 - 0x61859ffc, pointer @ 0x61859ee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Process (Waiting)
MassStorage Notifier (Waiting)
Stack: 0x6f029000 - 0x6f030d00, pointer @ 0x6f030c70 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DST watcher (Waiting)
Stack: 0x61bde004 - 0x61bedffc, pointer @ 0x61bedf10 (Cookie OK)
Signals: SigRec 0xc0000000, SigWait 0x00000000
State: Process (Waiting)
hub.usbfd (Waiting)
Stack: 0x6eb02004 - 0x6eb09ffc, pointer @ 0x6eb09eb0 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
hub.usbfd (Waiting)
Stack: 0x6eb0e004 - 0x6eb15ffc, pointer @ 0x6eb15eb0 (Cookie OK)
Signals: SigRec 0x30000000, SigWait 0x00000000
State: Task (Waiting)
DMA2 Channel 4 Handler (Waiting)
Stack: 0x6f040000 - 0x6f044000, pointer @ 0x6f043ee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DMA1 Channel 4 Handler (Waiting)
Stack: 0x6f05c000 - 0x6f060000, pointer @ 0x6f05fee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DMA2 Channel 3 Handler (Waiting)
Stack: 0x6f058000 - 0x6f05c000, pointer @ 0x6f05bee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DMA1 Channel 3 Handler (Waiting)
Stack: 0x6f054000 - 0x6f058000, pointer @ 0x6f057ee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DMA2 Channel 2 Handler (Waiting)
Stack: 0x6f050000 - 0x6f054000, pointer @ 0x6f053ee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DMA1 Channel 2 Handler (Waiting)
Stack: 0x6f0ce000 - 0x6f0d2000, pointer @ 0x6f0d1ee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DMA2 Channel 1 Handler (Waiting)
Stack: 0x6f0ca000 - 0x6f0ce000, pointer @ 0x6f0cdee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
DMA1 Channel 1 Handler (Waiting)
Stack: 0x6f0c6000 - 0x6f0ca000, pointer @ 0x6f0c9ee0 (Cookie OK)
Signals: SigRec 0x80001000, SigWait 0x00000000
State: Task (Waiting)
Shell Process [bin_amiga/displwo_gl4es] (Crashed)
Stack: 0x562c6004 - 0x562d5ffc, pointer @ 0x562d5670 (Cookie OK)
Signals: SigRec 0x00000010, SigWait 0x28000000
State: Process (Crashed)
Mounter Task (Waiting)
Stack: 0x6f031000 - 0x6f03fa60, pointer @ 0x6f03f970 (Cookie OK)
Signals: SigRec 0xb0001000, SigWait 0x00000000
State: Task (Waiting)
Mounter Companion Process (Waiting)
Stack: 0x61887004 - 0x61896ffc, pointer @ 0x61896f40 (Cookie OK)
Signals: SigRec 0x80003000, SigWait 0x00000000
State: Process (Waiting)
ramlib.support (Waiting)
Stack: 0x61e21004 - 0x61e39ffc, pointer @ 0x61e39f00 (Cookie OK)
Signals: SigRec 0x80005000, SigWait 0x00000000
State: Process (Waiting)
dos_signal_server (Waiting)
Stack: 0x6ea6e004 - 0x6ea71ffc, pointer @ 0x6ea71f20 (Cookie OK)
Signals: SigRec 0x0000f000, SigWait 0x00000000
State: Process (Waiting)
appdir envarc manager (Waiting)
Stack: 0x61dc1004 - 0x61dc8ffc, pointer @ 0x61dc7be0 (Cookie OK)
Signals: SigRec 0x80005000, SigWait 0x00000000
State: Process (Waiting)
CPUDock_idleTask (Ready)
Stack: 0x5d6bd000 - 0x5d6bf000, pointer @ 0x5d6bef60 (Cookie OK)
Signals: SigRec 0x40000000, SigWait 0x00000000
State: Task (Ready)
idle.task (Ready)
Stack: 0x6ff7f000 - 0x6ff80000, pointer @ 0x6ff7ffc0 (Cookie OK)
Signals: SigRec 0x00000000, SigWait 0x00000000
State: Task (Ready)
Display Lists are converted to VBO as much as possible, as it can be faster.
@davec555 Can you provide us with the simple test case , so we can be 100% sure it's not the programm's fault ?
So I have determined that the crash occurs due to the commenting out of the line that i did for this issue (https://github.com/ptitSeb/gl4es/issues/445) where displayLists are super slow. If I go back to a vanilla compile of gl4es, no crashes, but back to super slow execution. So it looks like an investigation of issue 445 is needed and this one can be put to bed.
@kas1e I used an example from your gl4es_sdk to test (from_minigl/torus).
If you have a un-adulterated clone of the repository, then my program draws the displayLists slowly but no crash.
If I remove the line or change the value to 0 or 1 for: glstate->list.active->use_vbo_array = 2; // (gl4es_glBegin() function in gl4es.c) then I get a DSI crash on Amiga OS4 with the fpe.c containing the "bindBuffer(GL_ELEMENT_ARRAY_BUFFER,0) ".
By commenting out that bindBuffer() line in fpe.c then the following tweaks of the gl4es.c line give the following results: //glstate->list.active->use_vbo_array = 0; // fast - no crash glstate->list.active->use_vbo_array = 0; // fast - no crash glstate->list.active->use_vbo_array = 1; // fast - no crash glstate->list.active->use_vbo_array = 2; // slow - no crash
So I have determined that the crash occurs due to the commenting out of the line that i did for this issue (#445) where displayLists are super slow. If I go back to a vanilla compile of gl4es, no crashes, but back to super slow execution. So it looks like an investigation of issue 445 is needed and this one can be put to bed.
Hello, Commit c8cf6cb31aa12700e7cf30261159436653de8103
at line 819 (src/gl/fpe.c)
bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
causes DSI errors on AmigaOS4. Comment out line and error goes away.
Dave