Viewing Issue Advanced Details
|ID||Category [?]||Severity [?]||Reproducibility||Date Submitted||Last Update|
|05878||Misc.||Critical (emulator)||Always||Mar 11, 2015, 17:22||Jan 3, 2018, 16:14|
|Tester||Firewave||View Status||Public||Platform||MAME (Self-compiled)|
|Assigned To||Resolution||No change required||OS|
|Version||0.159||Fixed in Version||Build||Debug|
|Summary||05878: AddressSanitizer: stack-buffer-underflow with -video bgfx|
Happened with ubuntu 14.04.2 64-bit and clang 3.6.0 using VirtualBox 4.3.24.
"-video soft" - works fine
"-video opengl" - doesn't give an error and the X curser is shown, but nothing is being drawn at all
==1721==ERROR: AddressSanitizer: stack-buffer-underflow on address 0x7f36ed0963e0 at pc 0x000000eafe23 bp 0x7f36ed095c00 sp 0x7f36ed0953b8
|Steps To Reproduce|
|Affected Sets / Systems|
virtualbox_bgfx.jpg (52,505 bytes) Mar 12, 2015, 18:22 Uploaded by Firewave
-video bgfx output in VirtaulBox with 3D accleration enabled
|There are no relationsihp linked to this issue.|
Mar 12, 2015, 18:21
edited on: Mar 12, 2015, 19:04
"opengl" works with "Enable 3D Acceleration" set in the virtual machine.
Running "bgfx" with UndefinedBehaviorSanitizer gives the errors listed below and weird output (see attachement). Even with "Enable 3D Acceleration" the AddressSanititer error will still occur.
3rdparty/bgfx/src/bgfx_p.h:930:13: runtime error: index 10 out of bounds for type 'char '
Jan 2, 2018, 19:53
edited on: Jan 2, 2018, 19:58
The underflow no longer happens with 0.193 on ubuntu 16.04 (although swrast_dri is extremely slow) and I reported the other issue upstream - https://github.com/bkaradzic/bgfx/issues/1307
Also all other video modes work fine. Closing.