New issue
Advanced search Search tips

Issue 815185 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 737384
Owner:
Closed: Aug 6
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug

Blocking:
issue 815183



Sign in to add a comment

gl_unittests's GLSurfaceEGLTest.SurfaceFormatTest fails on UBSanVptr Linux

Project Member Reported by thakis@chromium.org, Feb 23 2018

Issue description

https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.clang%2FUBSanVptr_Linux%2F6355%2F%2B%2Frecipes%2Fsteps%2Fgl_unittests%2F0%2Flogs%2FGLSurfaceEGLTest.SurfaceFormatTest%2F0


[ RUN      ] GLSurfaceEGLTest.SurfaceFormatTest
libEGL warning: DRI2: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
libEGL warning: GLX: XOpenDisplay failed
[26374:26374:0223/015318.057034:513001596:ERROR:gl_surface_egl.cc(843)] eglInitialize Default failed with error EGL_NOT_INITIALIZED
[26374:26374:0223/015318.057083:513001637:ERROR:gl_initializer_x11.cc(170)] GLSurfaceEGL::InitializeOneOff failed.
../../third_party/swiftshader/src/OpenGL/libEGL/Surface.cpp:121:17: runtime error: member call on address 0x0865fb058100 which does not point to an object of type 'egl::Image'
0x0865fb058100: note: object is of type 'egl::ImageImplementation'
 00 00 00 00  e8 e1 ad 21 05 7f 00 00  30 f6 0d fb 65 08 00 00  00 00 00 00 00 00 00 00  01 00 00 00
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'egl::ImageImplementation'
    #0 0x7f05271c7e27  (/b/s/w/ir/out/Release/swiftshader/libEGL.so+0xce27)
    #1 0x7f05271c84b3  (/b/s/w/ir/out/Release/swiftshader/libEGL.so+0xd4b3)
    #2 0x7f05271c8521  (/b/s/w/ir/out/Release/swiftshader/libEGL.so+0xd521)
    #3 0x7f05271c5695  (/b/s/w/ir/out/Release/swiftshader/libEGL.so+0xa695)
    #4 0x7f05271c8e21  (/b/s/w/ir/out/Release/swiftshader/libEGL.so+0xde21)
    #5 0x49bfdd  (/b/s/w/ir/out/Release/gl_unittests+0x49bfdd)
    #6 0x49c3d7  (/b/s/w/ir/out/Release/gl_unittests+0x49c3d7)
    #7 0x3bd1e5  (/b/s/w/ir/out/Release/gl_unittests+0x3bd1e5)
    #8 0x413807  (/b/s/w/ir/out/Release/gl_unittests+0x413807)
    #9 0x414ca8  (/b/s/w/ir/out/Release/gl_unittests+0x414ca8)
    #10 0x415ee1  (/b/s/w/ir/out/Release/gl_unittests+0x415ee1)
    #11 0x422737  (/b/s/w/ir/out/Release/gl_unittests+0x422737)
    #12 0x42180a  (/b/s/w/ir/out/Release/gl_unittests+0x42180a)
    #13 0xa2c955  (/b/s/w/ir/out/Release/gl_unittests+0xa2c955)
    #14 0xa7125d  (/b/s/w/ir/out/Release/gl_unittests+0xa7125d)
    #15 0xa7111a  (/b/s/w/ir/out/Release/gl_unittests+0xa7111a)
    #16 0x3d3cf1  (/b/s/w/ir/out/Release/gl_unittests+0x3d3cf1)
    #17 0x7f052b36ff44  (/lib/x86_64-linux-gnu/libc.so.6+0x21f44)
    #18 0x361029  (/b/s/w/ir/out/Release/gl_unittests+0x361029)


Looks like some legit type confusion in swiftshader.
 
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Labels: -OS-Windows OS-Linux
Mergedinto: 737384
Status: Duplicate (was: Assigned)

Sign in to add a comment