NPLB在SbBlitterDestroySwapChain中与钴崩溃

时间:2017-04-20 02:42:13

标签: cobalt

当运行NPLB测试时,它会在starboard/shared/directfb/blitter_destroy_swap_chain.cc中崩溃,因为当使用openGL(不是directfb)来绘制UI时不会创建directfb表面,所以这个directfb测试用例可能需要被滑落当它使用openGL时。如果是这样,是否有计划在使用openGL绘制UI时跳过与directfb相关的测试用例?

Caught signal: SIGSEGV (11)
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]
        SbBlitterDestroySwapChain [0x1ae304]

1 个答案:

答案 0 :(得分:0)

您似乎在starboard/shared/directfb的{​​{1}}中包含支持OpenGL ES的平台上的文件。您需要根据starboard_platform.gypi条件有条件地添加来源:

'gl_type'

请参阅'conditions': [ ['gl_type == "none"', { 'sources': [ # Blitter source files. ], }, { 'sources': [ # OpenGL ES source files. ], }], ], 了解真实案例。