Opened 13 years ago
Closed 11 years ago
#9800 closed defect (fixed)
Crash in VBoxOGLpackspu.so when using glInterleavedArrays
Reported by: | Philip Taylor | Owned by: | |
---|---|---|---|
Component: | 3D support | Version: | VirtualBox 4.1.4 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Windows |
Description (last modified by )
When running the game 0 A.D. and starting a match, it crashes inside the guest with
Program received signal SIGSEGV, Segmentation fault. 0x00007fffc75e8f86 in ?? () from /usr/lib/VBoxOGLpackspu.so (gdb) bt #0 0x00007fffc75e8f86 in ?? () from /usr/lib/VBoxOGLpackspu.so #1 0x00007fffc75be86b in crPackExpandArrayElement () from /usr/lib/VBoxOGLpackspu.so #2 0x00007fffc75bea10 in crPackExpandDrawArrays () from /usr/lib/VBoxOGLpackspu.so #3 0x00000000006b9653 in CMiniMap::Draw (this=0x7fffca6f02f0) at ../../../source/gui/MiniMap.cpp:404
where source/gui/MiniMap.cpp is doing
glInterleavedArrays(GL_C4UB_V2F, sizeof(MinimapUnitVertex), &vertexArray[0]); glDrawArrays(GL_POINTS, 0, (GLsizei)vertexArray.size()); glDisableClientState(GL_COLOR_ARRAY); glDisableClientState(GL_VERTEX_ARRAY);
I changed the game in http://trac.wildfiregames.com/changeset/10419 to explicitly perform equivalent behaviour to glInterleavedArrays, which stops it from crashing, suggesting a possible problem with glInterleavedArrays.
I think I have the latest version of Guest Additions installed, though I'm not sure how to verify that. I haven't tried setting up a minimised test case for this bug.
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
I wonder if some of the "uninitialized value" warnings mentioned here could be related:
https://forums.virtualbox.org/viewtopic.php?uid=71800&f=3&t=45319&start=0
comment:3 by , 13 years ago
Description: | modified (diff) |
---|
Could you give me the exact testcase (i.e. point me to exact version of your java application that causes the crash, or whatever) so that I can reproduce it locally and fix it?
comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
No response, closing.. Please give a try to VBox 4.3 and 4.3 Additions, and re-open if needed, providing a VM log file and the info requested above.
I'm seeing a similar issue under VirtualBox 4.1.14 with a Java application that uses JOGL.