[meta-freescale] 3D mesh rendering segmentation fault

Pierluigi Passaro pierluigi.passaro at phoenixsoftware.it
Thu May 22 02:55:13 PDT 2014


Hi all,
I compiled daisy branch of meta-qt5 against daisy branch of meta-fsl-arm 
for a SabreSD with iMX6 Dual Lite.
I need to import and render standard 3D mesh file formats as PLY, STL, 
OFF, OBJ, 3DS, ...

When I try the load_model qt3d demo, the application crash for a 
segmentation fault: attached you can find the gdb trace.

Do you have any suggestion on how to approach the problem?

Thanks
Regards
Pierluigi
-------------- next part --------------
GNU gdb (GDB) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-poky-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/share/qt5/examples/qt3d/load_model...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/share/qt5/examples/qt3d/load_model 
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
	add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "/home/root/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.

Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
No option to clear stereo buffers
Could not create requested format:
 QSurfaceFormat(version 2.0, options QFlags() , depthBufferSize  24 , redBufferSize  -1 , greenBufferSize  -1 , blueBufferSize  -1 , alphaBufferSize  -1 , stencilBufferSize  -1 , samples  -1 , swapBehavior  2 , profile   0 )  
	got format:
	 QSurfaceFormat(version 2.0, options QFlags() , depthBufferSize  24 , redBufferSize  5 , greenBufferSize  6 , blueBufferSize  5 , alphaBufferSize  0 , stencilBufferSize  0 , samples  0 , swapBehavior  0 , profile   0 )  

Program received signal SIGSEGV, Segmentation fault.
0x75bf17a0 in gcoSTREAM_DynamicCacheAttributes (Stream=<optimized out>, 
    First=0, Count=18, Bytes=<optimized out>, BufferCount=1, 
    BufferCount at entry=2130701232, Buffers=0x7effed30, 
    Buffers at entry=0x75bed1d8 <gcoVERTEXARRAY_Bind+2792>, 
    AttributeCount=AttributeCount at entry=1, 
    Attributes=Attributes at entry=0x7effebb0, Physical=Physical at entry=0x7effe8dc)
    at gc_hal_user_vertex.c:4314
4314	gc_hal_user_vertex.c: No such file or directory.
(gdb) 
(gdb) 
(gdb) 
(gdb) bt
#0  0x75bf17a0 in gcoSTREAM_DynamicCacheAttributes (Stream=<optimized out>, 
    First=0, Count=18, Bytes=<optimized out>, BufferCount=1, 
    BufferCount at entry=2130701232, Buffers=0x7effed30, 
    Buffers at entry=0x75bed1d8 <gcoVERTEXARRAY_Bind+2792>, 
    AttributeCount=AttributeCount at entry=1, 
    Attributes=Attributes at entry=0x7effebb0, Physical=Physical at entry=0x7effe8dc)
    at gc_hal_user_vertex.c:4314
#1  0x75bf19b4 in gcoSTREAM_CacheAttributes (Stream=<optimized out>, First=0, 
    First at entry=1, Count=18, Count at entry=0, Bytes=Bytes at entry=6240, 
    BufferCount=BufferCount at entry=1, Buffers=Buffers at entry=0x7effed30, 
    AttributeCount=1, AttributeCount at entry=2130700848, Attributes=0x7effebb0, 
    Attributes at entry=0x7effed30, Physical=Physical at entry=0x7effe8dc)
    at gc_hal_user_vertex.c:4385
#2  0x75bed1d8 in gcoVERTEXARRAY_Bind (Vertex=0x1, EnableBits=<optimized out>, 
    VertexArray=<optimized out>, First=First at entry=0, Count=18, 
    Count at entry=96, IndexType=<optimized out>, IndexObject=0x6c0db2c8, 
    IndexMemory=0x0, PrimitiveType=0x7efff3a8, PrimitiveType at entry=0x0, 
    PrimitiveCount=0x7efff3b8, PrimitiveCount at entry=0x69e25d34, 
    WLimitRms=WLimitRms at entry=0x69e25d34, 
    WLimitRmsDirty=WLimitRmsDirty at entry=0x69e25d38)
    at gc_hal_user_vertex_array.c:1207
#3  0x761e77d8 in glshDrawElements (Context=Context at entry=0x69e23f88, 
    Mode=<optimized out>, Count=<optimized out>, Count at entry=96, Type=0, 
    Type at entry=5123, Indices=0x0, Buffer=0x6c0db5d8) at gc_glsh_draw.c:5320
#4  0x761e7eb0 in glshfDrawElements (Indices=0x0, Type=5123, Count=96, Mode=4)
    at gc_glsh_draw.c:4773
#5  glDrawElements (Mode=4, Count=96, Type=5123, Indices=0x0)
    at gc_glsh_draw.c:4784
#6  0x76d512a0 in QGeometryData::draw(QGLPainter*, int, int, unsigned int, float) () from /usr/lib/libQt53D.so.5
#7  0x76d7a30c in QGLSceneNode::drawGeometry(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
#8  0x76d7d8b4 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
#9  0x76d7d6e8 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
#10 0x76d7d6e8 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
#11 0x76d7d6e8 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
#12 0x76d7d968 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
#13 0x0000b1b4 in ?? ()
#14 0x0000b1b4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 
(gdb) 
(gdb) 
(gdb) bt full
#0  0x75bf17a0 in gcoSTREAM_DynamicCacheAttributes (Stream=<optimized out>, 
    First=0, Count=18, Bytes=<optimized out>, BufferCount=1, 
    BufferCount at entry=2130701232, Buffers=0x7effed30, 
    Buffers at entry=0x75bed1d8 <gcoVERTEXARRAY_Bind+2792>, 
    AttributeCount=AttributeCount at entry=1, 
    Attributes=Attributes at entry=0x7effebb0, Physical=Physical at entry=0x7effe8dc)
    at gc_hal_user_vertex.c:4314
        status = <optimized out>
        cache = 0x69e21af0
        bytes = <optimized out>
        offset = 0
        copiedBytes = 0
        __user__ = 1 '\001'
        __user_ptr__ = <synthetic pointer>
#1  0x75bf19b4 in gcoSTREAM_CacheAttributes (Stream=<optimized out>, First=0, 
    First at entry=1, Count=18, Count at entry=0, Bytes=Bytes at entry=6240, 
    BufferCount=BufferCount at entry=1, Buffers=Buffers at entry=0x7effed30, 
    AttributeCount=1, AttributeCount at entry=2130700848, Attributes=0x7effebb0, 
    Attributes at entry=0x7effed30, Physical=Physical at entry=0x7effe8dc)
    at gc_hal_user_vertex.c:4385
        status = gcvSTATUS_OK
        cache = 0x0
        bytes = <optimized out>
        offset = <optimized out>
        copiedBytes = 0
        __user__ = 1 '\001'
        __user_ptr__ = <synthetic pointer>
#2  0x75bed1d8 in gcoVERTEXARRAY_Bind (Vertex=0x1, EnableBits=<optimized out>, 
    VertexArray=<optimized out>, First=First at entry=0, Count=18, 
    Count at entry=96, IndexType=<optimized out>, IndexObject=0x6c0db2c8, 
    IndexMemory=0x0, PrimitiveType=0x7efff3a8, PrimitiveType at entry=0x0, 
    PrimitiveCount=0x7efff3b8, PrimitiveCount at entry=0x69e25d34, 
    WLimitRms=WLimitRms at entry=0x69e25d34, 
    WLimitRmsDirty=WLimitRmsDirty at entry=0x69e25d38)
    at gc_hal_user_vertex_array.c:1207
        hwStream = <optimized out>
        bufferOffset = <optimized out>
        j = <optimized out>
        k = <optimized out>
        status = <optimized out>
        vertexPtr = <optimized out>
        i = <optimized out>
        n = <optimized out>
        first = <optimized out>
        count = 0
        attributeArray = {{vertexPtr = 0x69e24ba0, next = 0x0, 
            logical = 0x6c555b80, format = gcvVERTEX_FLOAT, offset = 0, 
            bytes = 12}, {vertexPtr = 0x69e24c48, next = 0x0, 
            logical = 0x69e24c64, format = gcvVERTEX_FLOAT, offset = 0, 
            bytes = 16}, {vertexPtr = 0x744e5748, next = 0x7effedec, 
            logical = 0x7effede8, format = 2130701799, offset = 2130702000, 
            bytes = 1996379020}, {vertexPtr = 0x744e5748, next = 0x7effedec, 
            logical = 0x7effedec, format = 2130701800, offset = 2130701799, 
            bytes = 2130700924}, {vertexPtr = 0x744e7ba0, next = 0x744f25f0, 
            logical = 0x0, format = gcvVERTEX_BYTE, offset = 1951299568, 
            bytes = 0}, {vertexPtr = 0x76ff7890, next = 0x7effee2c, 
            logical = 0xfc6e5e1d, format = 4100967653, offset = 1065353216, 
            bytes = 1065353216}, {vertexPtr = 0x3f800000, next = 0xc12c5345, 
            logical = 0x36, format = 1984380928, offset = 56, 
            bytes = 1984380928}, {vertexPtr = 0x0, next = 0x0, logical = 0x0, 
            format = 80, offset = 0, bytes = 57}, {vertexPtr = 0x5b, 
            next = 0x6e, logical = 0x77, format = 124, offset = 1984381488, 
            bytes = 1984295404}, {vertexPtr = 0x3e4ccccd, next = 0x0, 
            logical = 0x0, format = 430024, offset = 54, bytes = 1984382184}, {
            vertexPtr = 0x38, next = 0x744e56e0, logical = 0x0, format = 24, 
            offset = 32, bytes = 2130702396}, {vertexPtr = 0x7efff074, 
            next = 0x763b4e04 <malloc+124>, logical = 0x0, 
            format = gcvVERTEX_BYTE, offset = 1996470912, bytes = 2130702632}, 
          {vertexPtr = 0x76ffba80, next = 0x7effefc8, logical = 0x7efff128, 
            format = 1996387816, offset = 0, bytes = 0}, {
            vertexPtr = 0x3e4ccccd, next = 0x0, logical = 0x0, 
            format = gcvVERTEX_BYTE, offset = 0, bytes = 0}, {
            vertexPtr = 0x3e4ccccd, next = 0x0, logical = 0x0, 
            format = gcvVERTEX_BYTE, offset = 124, bytes = 1984380928}, {
            vertexPtr = 0x10, next = 0x2, logical = 0x40, format = 1812832632, 
            offset = 64, bytes = 1812838160}}
        attributePtr = 0x7effea60
        attributeCount = <optimized out>
        copyArray = {{vertexPtr = 0x69e24c48, next = 0x76fe0880, 
            logical = 0x69e24c64, format = gcvVERTEX_FLOAT, offset = 0, 
            bytes = 16}, {vertexPtr = 0x76474230, next = 0x7645f1ec, 
            logical = 0x0, format = gcvVERTEX_BYTE, offset = 0, 
            bytes = 1984382184}, {vertexPtr = 0x7c, next = 0x744e56e0, 
            logical = 0x0, format = 1951299568, offset = 1996452584, 
            bytes = 1996454032}, {vertexPtr = 0x7effee2c, 
            next = 0x763b4e04 <malloc+124>, logical = 0x0, 
            format = gcvVERTEX_BYTE, offset = 65536, bytes = 65537}, {
            vertexPtr = 0x10001, next = 0x10001, logical = 0x10001, 
            format = 65537, offset = 65537, bytes = 1}, {vertexPtr = 0x1, 
            next = 0x76ff7890, logical = 0x0, format = 1996379584, 
            offset = 2130701808, bytes = 0}, {vertexPtr = 0x1, 
            next = 0x76ff75e8, logical = 0x7effec28, format = 1996379584, 
            offset = 2130701808, bytes = 4}, {vertexPtr = 0x1, 
            next = 0x76ff7340, logical = 0x7effec40, format = 1996379584, 
            offset = 2130701808, bytes = 55116}, {vertexPtr = 0x1, 
            next = 0x76fff570 <_rtld_global+1304>, logical = 0x7effec58, 
            format = 1996379584, offset = 2130701808, bytes = 87884}, {
            vertexPtr = 0x1, next = 0x76ff7000, logical = 0x7effec70, 
            format = 1996379584, offset = 2130701808, bytes = 2}, {
            vertexPtr = 0x1, next = 0x76ff8c88, logical = 0x7effec88, 
            format = 1996379584, offset = 2130701808, bytes = 6}, {
            vertexPtr = 0x1, next = 0x76ff89e0, logical = 0x7effeca0, 
            format = 1996379584, offset = 2130701808, bytes = 36}, {
            vertexPtr = 0x1, next = 0x76ff8730, logical = 0x7effecb8, 
            format = 1996379584, offset = 2130701808, bytes = 0}, {
            vertexPtr = 0x1, next = 0x76ff9000, logical = 0x7effecd0, 
            format = 1996379584, offset = 2130701808, bytes = 4}, {
            vertexPtr = 0x1, next = 0x76ffa068, logical = 0x7effece8, 
            format = 1996379584, offset = 2130701808, bytes = 3822475841}, {
            vertexPtr = 0x1, next = 0x76ffb2a0, logical = 0x7effed00, 
            format = 1996379584, offset = 2130701808, bytes = 9}}
        copyPtr = <optimized out>
        copyCount = 2130700848
        copyBytes = <optimized out>
        copyPhysical = 4294967295
        streamArray = {{stream = 0x6c0db728, 
            logical = 0x6c555b80 <Address 0x6c555b80 out of bounds>, 
            physical = 1018239872, attribute = 0x7effea30, 
            subStream = 0x6c0db8a8}, {stream = 0x76fe0880, logical = 0x0, 
            physical = 1392792, attribute = 0x40, subStream = 0x75baf7d2}, {
            stream = 0x0, logical = 0x76fe0880 "", physical = 8388619, 
            attribute = 0x0, subStream = 0x0}, {stream = 0x154018, 
            logical = 0x78b1018 <Address 0x78b1018 out of bounds>, 
            physical = 352370465, attribute = 0x0, subStream = 0x0}, {
            stream = 0x116, 
            logical = 0x2a80a800 <Address 0x2a80a800 out of bounds>, 
            physical = 1472, attribute = 0x2680, subStream = 0x811009}, {
            stream = 0x0, logical = 0x0, physical = 536871096, 
            attribute = 0x16, subStream = 0x0}, {stream = 0x0, 
            logical = 0x2700 <Address 0x2700 out of bounds>, 
            physical = 8458249, attribute = 0x0, subStream = 0x0}, {
            stream = 0x202a8098, 
            logical = 0x811001 <Address 0x811001 out of bounds>, 
            physical = 713037824, attribute = 0x0, subStream = 0x18}, {
            stream = 0x6011001, 
            logical = 0x1000a800 <Address 0x1000a800 out of bounds>, 
            physical = 0, attribute = 0x500098, subStream = 0x80000b}, {
            stream = 0x0, logical = 0x0, physical = 1392664, 
            attribute = 0x78b1018, subStream = 0x3f801f21}, {stream = 0x0, 
            logical = 0x0, physical = 278, attribute = 0x2a80a800, 
            subStream = 0x5c0}, {stream = 0x2a80, 
            logical = 0x2011009 <Address 0x2011009 out of bounds>, 
            physical = 0, attribute = 0x0, subStream = 0x200000b8}, {
            stream = 0x16, logical = 0x0, physical = 0, attribute = 0x2b00, 
            subStream = 0x2011009}, {stream = 0x0, logical = 0x0, 
            physical = 539656344, attribute = 0x16, subStream = 0x76474000}, {
            stream = 0x0, logical = 0x2a8018 <Address 0x2a8018 out of bounds>, 
            physical = 100732929, attribute = 0x1000a800, subStream = 0x0}, {
            stream = 0x3a8098, 
            logical = 0x80000b <Address 0x80000b out of bounds>, physical = 0, 
            attribute = 0x0, subStream = 0x7effedf0}}
        streamPtr = <optimized out>
        stream = <optimized out>
        streamCount = <optimized out>
        bufferArray = {{map = {0 <repeats 16 times>}, count = 1, combined = 0, 
            start = 0x69e24c64 "", end = 0x69e24c74 "\004", 
            minStart = 0x69e24c74 "\004", maxEnd = 0x69e24c64 "", stride = 0, 
            offset = 0}, {map = {117, 119, 0, 2130701340, 1996379020, 
              1996483984, 0, 1996486000, 0, 2130701344, 4, 429908, 14, 0, 56, 
              0}, count = 60, combined = 1996455936, 
            start = 0x76ff603c "ld-linux-armhf.so.3", end = 0x0, 
            minStart = 0x76ff603c "ld-linux-armhf.so.3", maxEnd = 0x0, 
            stride = 0, offset = 11}, {map = {1, 1996484696, 1996447824, 
              1978043264, 1996447804, 1996447824, 1996447840, 1996447852, 
              1812832632, 0, 1812838160, 1996463032, 1812838160, 1978043264, 
              1976020340, 260}, count = 2130701972, combined = 1996406104, 
            start = 0x90000002 <Address 0x90000002 out of bounds>, end = 0x0, 
            minStart = 0x0, 
            maxEnd = 0x75bdc994 <gcoHAL_GetHardwareType+40> "", stride = 0, 
            offset = 2130701872}, {map = {0, 0, 0, 2147483650, 0, 2147483650, 
              13, 2130702444, 2147483650, 0, 2147483650, 1996484696, 
              1812838160, 1978043264, 1976020340, 260}, count = 2130702508, 
            combined = 1996388524, start = 0x744e5748 "", 
            end = 0x7efff064 "\005", minStart = 0x7efff068 "n?", 
            maxEnd = 0x7efff063 "", stride = 2130702584, offset = 1996405900}, 
          {map = {2130702428, 2130702432, 2130702436, 2130702440, 2130702435, 
              2130702004, 4294967294, 2147483650, 1996484696, 1812838160, 
              1978043264, 1976020340, 260, 2130702508, 4235090661, 
              4100967653}, count = 1065353216, combined = 1065353216, 
            start = 0x3f800000 <Address 0x3f800000 out of bounds>, 
            end = 0xc12c5345 <Address 0xc12c5345 out of bounds>, 
            minStart = 0x0, maxEnd = 0x0, stride = 0, offset = 0}, {map = {0, 
              1045220557, 0, 0, 0, 0, 1045220557, 0, 2130702184, 1976147908, 
              30, 1975278084, 0, 2130702208, 1975276000, 1996365024}, 
            count = 0, combined = 1975278084, 
            start = 0x1e <Address 0x1e out of bounds>, 
            end = 0x76ffed90 <_rtld_global_ro> "", 
            minStart = 0x3 <Address 0x3 out of bounds>, 
            maxEnd = 0xdf7d4a <Address 0xdf7d4a out of bounds>, 
            stride = 1996483984, offset = 1996484608}, {map = {2130702360, 
              1996443824, 1996486848, 1996437696, 0, 0, 5, 449, 0, 1996463032, 
              1975309842, 1975293604, 1975285268, 1, 1975276360, 1996463472}, 
            count = 1975309842, combined = 2130702476, 
            start = 0x7efff018 "\377\377\377\377\270\233\377v\024v\274u\270\233\377v\324\360\377~0 \376v\200\360\377~\274\372\377v", end = 0x76ff9bb8 "", 
            minStart = 0x7efff020 "\024v\274u\270\233\377v\324\360\377~0 \376v\200\360\377~\274\372\377v", 
            maxEnd = 0x1befa943 <Address 0x1befa943 out of bounds>, 
            stride = 2130702452, offset = 1996365872}, {map = {2130702368, 
              1996487356, 0, 0, 5, 0, 1, 1996463032, 0, 1996463032, 
              1975307632, 1975293604, 1975286708, 1, 0, 1996463472}, 
            count = 1975307632, combined = 2130702572, 
            start = 0xffffffff <Address 0xffffffff out of bounds>, 
            end = 0x76ff9bb8 "", minStart = 0x75bc7614 "n?", 
            maxEnd = 0x76ff9bb8 "", stride = 2130702548, offset = 1996365872}, 
          {map = {2130702464, 1996487356, 0, 0, 5, 0, 1, 1996463032, 
              1812838160, 1951291104, 860884, 1975271424, 0, 5, 16238, 
              1814788040}, count = 4096, combined = 1996385696, start = 0x0, 
            end = 0x1 <Address 0x1 out of bounds>, 
            minStart = 0x5 <Address 0x5 out of bounds>, maxEnd = 0x0, 
            stride = 2130705684, offset = 1975285268}, {map = {2130703032, 
              2130702748, 586498, 70389760, 0, 8388736, 1, 1996413084, 128, 
              131072, 128, 3145728, 2130702748, 1975889300, 0, 0}, 
            count = 325064, combined = 0, 
            start = 0x800080 <Address 0x800080 out of bounds>, end = 0x0, 
            minStart = 0x0, 
            maxEnd = 0xe000 "\271\327\225\331\351\374\a:\377\311\r:\236\251\021\355:\034#/\321\227k\226\233F\344\067\253\037\300\070^\241\352\260\334\205\303\340\267#_\n\037]Ko\274\v\301\320^\r_\307E\336\202\307\356\333'\340\217\374{5~77\237\200\337\255\313O\300\217\371\311\017\362\367\035\370\334\275\334\021\275\063*\177\017\274\305\266\303\067\206\335)\254\215\303\n\357\a\316-x!\276\341\347\201\071\307\037\265\377\b\277\313\356\t\374fl\351\t<Loko\360\224\367\017\200oO\230O\303G\346\217n\213=\274W\366}\267\305\220\067S\310K\025|%\376I_\365\263Ty\373)\037\025K\254C\336\230\226\311\256\210\035o5g\273\252ve\266\343\r\247\330"..., 
            stride = 0, offset = 4096}, {map = {3145728, 524288, 1812853976, 
              325064, 2130702708, 0, 8, 1812858676, 2130702808, 65536, 
              2130702720, 2130702708, 0, 1975562584, 0, 325064}, count = 0, 
            combined = 0, start = 0x6c0db3d0 "\006", 
            end = 0x75c22c9c <gcoHARDWARE_Lock+176> "", 
            minStart = 0x7efff148 "\r", 
            maxEnd = 0xf8 <Address 0xf8 out of bounds>, stride = 13, 
            offset = 1}, {map = {0, 340, 4235085173, 4100967653, 30, 
              1975278084, 0, 2130702760, 1975277972, 1996365024, 30, 
              1975278084, 30, 1975278084, 30, 1975278084}, count = 0, 
            combined = 2130702800, 
            start = 0x75bc535c "\241*K\231\304\362e\252)\334\232\244\323\230\255\242\003\253\067\263Z\225\017\257X?%\331%\205\253\305\365", 
            end = 0x76fe1ce0 "", minStart = 0x1e <Address 0x1e out of bounds>, 
            maxEnd = 0x75bc5a04 "", stride = 30, offset = 1996483984}, {map = {
              1, 80370005, 1996483984, 1996484608, 2130702952, 1996443824, 30, 
              1975278084, 0, 2130702864, 1975276868, 1996365024, 0, 
              1975278084, 30, 1996483984}, count = 23, combined = 89881448, 
            start = 0x76ffed90 <_rtld_global_ro> "", 
            end = 0x76fff000 "Do\002", 
            minStart = 0x7efff2a8 "\377\377\377\377", 
            maxEnd = 0x76ff50b0 "symbol=%s;  lookup in file=%s [%lu]\n", 
            stride = 1996486848, offset = 1996437696}, {map = {0, 0, 5, 666, 
              0, 1996463032, 1981636391, 1975293604, 1981627560, 1, 1, 
              1996471376, 1981636391, 2130703132, 2130703016, 1996470936}, 
            count = 2130703024, combined = -1418760937, 
            start = 0x7efff304 "\240m\376v", end = 0x76fe2030 "", 
            minStart = 0x7efff2b0 "\244\203\274u\270\233\377v@\n", 
            maxEnd = 0x76fffabc "\364|\377v\036", stride = 0, offset = 0}, {
            map = {5, 0, 1, 1996470936, 2130703044, 0, 1814788040, 1813366872, 
              5136, 0, 0, 1996471376, 325064, 1951291104, 4294967295, 
              1981624320}, count = 1975288740, combined = 1996463032, 
            start = 0xa40 <Address 0xa40 out of bounds>, end = 0x0, 
            minStart = 0x0, maxEnd = 0x76fe6da0 "\300\064\024\345", 
            stride = 325064, offset = 1}, {map = {5, 1976147944, 1976148496, 
              0, 1976131248, 1951291104, 353144, 1981624320, 0, 5, 3375, 
              1776442676, 0, 1996385696, 0, 1}, count = 5, combined = 0, 
            start = 0x320 <Address 0x320 out of bounds>, 
            end = 0x75bc83a4 "!%", 
            minStart = 0x320 <Address 0x320 out of bounds>, 
            maxEnd = 0x69e23f88 "", stride = 96, offset = 4}}
        bufferPtr = <optimized out>
        bufferCount = 1
        bufferSize = 6240
        fakeLineLoop = 2130701232
        convertToIndexedTriangleList = <optimized out>
        indexBuffer = 0x0
        __user__ = 1 '\001'
        __user_ptr__ = <synthetic pointer>
#3  0x761e77d8 in glshDrawElements (Context=Context at entry=0x69e23f88, 
    Mode=<optimized out>, Count=<optimized out>, Count at entry=96, Type=0, 
    Type at entry=5123, Indices=0x0, Buffer=0x6c0db5d8) at gc_glsh_draw.c:5320
        primitiveType = gcvPRIMITIVE_TRIANGLE_LIST
        primitiveCount = 32
        indexType = gcvINDEX_16
        status = <optimized out>
        enable = 9
        i = <optimized out>
        vertexArray = 0x69e24ba0
        vertexArrayGL = <optimized out>
        indexBuffer = 0x6c0db2c8
        indexPatched = <optimized out>
        newIndices = 0
        elementArrayBuffer = <optimized out>
        patchStream = <optimized out>
        wLimitCalculated = <optimized out>
#4  0x761e7eb0 in glshfDrawElements (Indices=0x0, Type=5123, Count=96, Mode=4)
    at gc_glsh_draw.c:4773
        context = 0x69e23f88
        startTimeusec = 0
        apiId = 0
        __user_ptr__ = <synthetic pointer>
        elementArrayBuffer = <optimized out>
        endTimeusec = 0
        __user__ = 1 '\001'
#5  glDrawElements (Mode=4, Count=96, Type=5123, Indices=0x0)
    at gc_glsh_draw.c:4784
No locals.
#6  0x76d512a0 in QGeometryData::draw(QGLPainter*, int, int, unsigned int, float) () from /usr/lib/libQt53D.so.5
No symbol table info available.
#7  0x76d7a30c in QGLSceneNode::drawGeometry(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
No symbol table info available.
#8  0x76d7d8b4 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
No symbol table info available.
#9  0x76d7d6e8 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
No symbol table info available.
#10 0x76d7d6e8 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
No symbol table info available.
#11 0x76d7d6e8 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
No symbol table info available.
#12 0x76d7d968 in QGLSceneNode::draw(QGLPainter*) ()
   from /usr/lib/libQt53D.so.5
No symbol table info available.
#13 0x0000b1b4 in ?? ()
Cannot access memory at address 0x0
No symbol table info available.
#14 0x0000b1b4 in ?? ()
Cannot access memory at address 0x0
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 



More information about the meta-freescale mailing list