<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:EN-IN;}
span.code-comment
        {mso-style-name:code-comment;}
span.code-quote
        {mso-style-name:code-quote;}
span.code-keyword
        {mso-style-name:code-keyword;}
span.code-object
        {mso-style-name:code-object;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am using mesa 12.0.1 from yocto project (<a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-graphics/mesa/mesa_12.0.1.bb?h=morty">http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-graphics/mesa/mesa_12.0.1.bb?h=morty</a>).
 While building core-image-sato ( which is the graphical image ), I found that Qt5 examples for opengl are failing for x32. The target machine used is intel-corei7-64. This is for minnowmax board. The image uses mesa and below is the console log of one of the
 Qt5 example ran on the target:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Log:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'ImportError'> No module named 'imp':
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">gdb: warning:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Could not load the Python gdb module from `/usr/share/gdb/python'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Limited Python support is available from the _gdb module.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Suggest passing --data-directory=/path/to/gdb/data-directory.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">GNU gdb (GDB) 7.11.0.20160511-git<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Copyright (C) 2016 Free Software Foundation, Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">This is free software: you are free to change and redistribute it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">and "show warranty" for details.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">This GDB was configured as "x86_64-mel-linux-gnux32".<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Type "show configuration" for configuration details.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">For bug reporting instructions, please see:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN"><http://www.gnu.org/software/gdb/bugs/>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Find the GDB manual and other documentation resources online at:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN"><http://www.gnu.org/software/gdb/documentation/>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">For help, type "help".<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Type "apropos word" to search for commands related to "word"...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Reading symbols from ./opengl/hellowindow/hellowindow...Reading symbols from /usr/share/qt5/examples/opengl/hellowindow/.debug/hellowindow...done.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">done.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">(gdb) run<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Starting program: /usr/share/qt5/examples/opengl/hellowindow/hellowindow
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">  File "/usr/share/gdb/auto-load/usr/libx32/libglib-2.0.so.0.4800.2-gdb.py", line 2, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">    import gdb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">  File "/usr/share/gdb/python/gdb/__init__.py", line 23, in <module><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">    from imp import reload<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">ImportError: No module named 'imp'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">[New LWP 731]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">[New LWP 732]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">[New LWP 733]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">[  944.753665] NOHZ: local_softirq_pending 202<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <clas[  945.196771] NOHZ: local_softirq_pending 02<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">s 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Thread 1 "hellowindow" received signal SIGSEGV, Segmentation fault.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">0xf6772cab in glGetString () from /usr/libx32/libGLESv2.so.2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">(gdb) bt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'ImportError'> No module named 'imp':
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">#0  0xf6772cab in glGetString () from /usr/libx32/libGLESv2.so.2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">#1  0xebee492a in QEGLPlatformContext::updateFormatFromGL (this=<optimized out>) at /usr/src/debug/qtbase/5.6.2+gitAUTOINC+b4ada3f0d8-r0/git/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:314<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">#2  0xf7177131 in QOpenGLContext::create (this=<optimized out>) at /usr/src/debug/qtbase/5.6.2+gitAUTOINC+b4ada3f0d8-r0/git/src/gui/kernel/qopenglcontext.cpp:609<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">#3  0x00404221 in Renderer::Renderer (this=<optimized out>, format=..., share=<optimized out>, screen=<optimized out>)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">    at /usr/src/debug/qtbase/5.6.2+gitAUTOINC+b4ada3f0d8-r0/git/examples/opengl/hellowindow/hellowindow.cpp:58<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">#4  0x00403367 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/qtbase/5.6.2+gitAUTOINC+b4ada3f0d8-r0/git/examples/opengl/hellowindow/main.cpp:71<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">(gdb) quit<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">A debugging session is active.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">        Inferior 1 [process 724] will be killed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">Quit anyway? (y or n) y
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:EN-IN">root@intel-corei7-64:/usr/share/qt5/examples#<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US">I saw that glGetString was causing the issue from the backtrace in gdb.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">To my surprise the mesa-demos are also failing with segmentation fault.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have even tried to apply patch: <a href="https://cgit.freedesktop.org/mesa/mesa/commit/?id=89458366585c34879b70110758bb4fd3acb62ce0">
https://cgit.freedesktop.org/mesa/mesa/commit/?id=89458366585c34879b70110758bb4fd3acb62ce0</a> now the error changed to bus error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span lang="EN-US">Below are the logs:<o:p></o:p></span></p>
</div>
<pre>root@intel-corei7-64:/usr/share/qt5/examples# ./opengl/hellowindow/hellowindow     <o:p></o:p></pre>
<pre>Bus error (core dumped)<o:p></o:p></pre>
<pre>root@intel-corei7-64:/usr/share/qt5/examples# gdb ./opengl/hellowindow/hellowindow <o:p></o:p></pre>
<pre>Python Exception <class 'ImportError'> No module named 'imp': <o:p></o:p></pre>
<pre>gdb: warning: <o:p></o:p></pre>
<pre>Could not load the Python gdb module from `/usr/share/gdb/python'.<o:p></o:p></pre>
<pre>Limited Python support is available from the _gdb module.<o:p></o:p></pre>
<pre>Suggest passing --data-directory=/path/to/gdb/data-directory.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>GNU gdb (GDB) 7.11.0.20160511-git<o:p></o:p></pre>
<pre>Copyright (C) 2016 Free Software Foundation, Inc.<o:p></o:p></pre>
<pre>License GPLv3+: GNU GPL version 3 or later <http:<span class="code-comment">//gnu.org/licenses/gpl.html><o:p></o:p></span></pre>
<pre>This is free software: you are free to change and redistribute it.<o:p></o:p></pre>
<pre>There is NO WARRANTY, to the extent permitted by law.  Type <span class="code-quote">"show copying"</span><o:p></o:p></pre>
<pre>and <span class="code-quote">"show warranty"</span> <span class="code-keyword">for</span> details.<o:p></o:p></pre>
<pre>This GDB was configured as <span class="code-quote">"x86_64-mel-linux-gnux32"</span>.<o:p></o:p></pre>
<pre>Type <span class="code-quote">"show configuration"</span> <span class="code-keyword">for</span> configuration details.<o:p></o:p></pre>
<pre>For bug reporting instructions, please see:<o:p></o:p></pre>
<pre><http:<span class="code-comment">//www.gnu.org/software/gdb/bugs/>.<o:p></o:p></span></pre>
<pre>Find the GDB manual and other documentation resources online at:<o:p></o:p></pre>
<pre><http:<span class="code-comment">//www.gnu.org/software/gdb/documentation/>.<o:p></o:p></span></pre>
<pre>For help, type <span class="code-quote">"help"</span>.<o:p></o:p></pre>
<pre>Type <span class="code-quote">"apropos word"</span> to search <span class="code-keyword">for</span> commands related to <span class="code-quote">"word"</span>...<o:p></o:p></pre>
<pre>Reading symbols from ./opengl/hellowindow/hellowindow...Reading symbols from /usr/share/qt5/examples/opengl/hellowindow/.debug/hellowindow...done.<o:p></o:p></pre>
<pre>done.<o:p></o:p></pre>
<pre>(gdb) run<o:p></o:p></pre>
<pre>Starting program: /usr/share/qt5/examples/opengl/hellowindow/hellowindow <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.<o:p></o:p></pre>
<pre>Traceback (most recent call last):<o:p></o:p></pre>
<pre>  File <span class="code-quote">"/usr/share/gdb/auto-load/usr/libx32/libglib-2.0.so.0.4800.2-gdb.py"</span>, line 2, in <module><o:p></o:p></pre>
<pre>    <span class="code-keyword">import</span> gdb<o:p></o:p></pre>
<pre>  File <span class="code-quote">"/usr/share/gdb/python/gdb/__init__.py"</span>, line 23, in <module><o:p></o:p></pre>
<pre>    from imp <span class="code-keyword">import</span> reload<o:p></o:p></pre>
<pre>ImportError: No module named 'imp'<o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>[New LWP 771]<o:p></o:p></pre>
<pre>[New LWP 772]<o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>[New LWP 773]<o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>[New LWP 774]<o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><span class="code-object">Thread</span> 1 <span class="code-quote">"hellowindow"</span> received signal SIGBUS, Bus error.<o:p></o:p></pre>
<pre>0xf7fb8030 in ?? ()<o:p></o:p></pre>
<pre>(gdb) bt<o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<pre>Python Exception <class 'ImportError'> No module named 'imp': <o:p></o:p></pre>
<pre>#0  0xf7fb8030 in ?? ()<o:p></o:p></pre>
<pre>#1  0x00000000 in ?? ()<o:p></o:p></pre>
<pre>Python Exception <class 'NameError'> Installation error: gdb.execute_unwinders function is missing: <o:p></o:p></pre>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<pre style="border:none;padding:0cm">(gdb)<o:p></o:p></pre>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Any helping hand would be much appreciated regarding the failure to run mesa-demos or Qt5 apps on the target. I am completely new with Mesa code base.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Sujith H<o:p></o:p></span></p>
</div>
</body>
</html>