You need to run your application i debug mode, and trace the stack:

0   com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x00001234003a5708
IntelVertexArray::setElemData(unsigned int, unsigned int, unsigned short,
unsigned int) + 140
1   com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x00001234003a5667
IntelVertexArray::extractState(GLDVertexArrayDataRec const*, unsigned long
long) + 81
2   libGPUSupportMercury.dylib     0x00007fff9118d6b6
gpusLoadCurrentVertexArray + 188
3   com.apple.driver.AppleIntelHD5000GraphicsGLDriver 0x00001234003a3227
updateDispatch + 1355
4   GLEngine                       0x00007fff9aecf2a0 gleDoDrawDispatchCore
+ 502
5   GLEngine                       0x00007fff9ae76712
gleSetupAndDrawArraysOrElementsOutOfLine_ListExec + 841
6   GLEngine                       0x00007fff9ae0bc91 gleCallList + 165
7   libosgUtil.100.dylib           0x000000010e8bea59
osgUtil::RenderLeaf::render(osg::RenderInfo&, osgUtil::RenderLeaf*) + 181
8   libosgUtil.100.dylib           0x000000010e8bb665
osgUtil::RenderBin::drawImplementation(osg::RenderInfo&,
osgUtil::RenderLeaf*&) + 309
9   libosgUtil.100.dylib           0x000000010e8c2e27
osgUtil::RenderStage::drawImplementation(osg::RenderInfo&,
osgUtil::RenderLeaf*&) + 709
10  libosgUtil.100.dylib           0x000000010e8c1f31
osgUtil::RenderStage::drawInner(osg::RenderInfo&, osgUtil::RenderLeaf*&,
bool&) + 293
11  libosgUtil.100.dylib           0x000000010e8c28c8
osgUtil::RenderStage::draw(osg::RenderInfo&, osgUtil::RenderLeaf*&) + 1058
12  libosgUtil.100.dylib           0x000000010e8ca724
osgUtil::SceneView::draw() + 938
13  libosgViewer.100.dylib         0x000000010e789396
osgViewer::Renderer::draw() + 856
14  libosg.100.dylib               0x000000010e417673
osg::GraphicsContext::runOperations() + 185
15  libosg.100.dylib               0x000000010e456325
osg::OperationThread::run() + 413
16  libosg.100.dylib               0x000000010e419e31
osg::GraphicsThread::run() + 89
17  libOpenThreads.20.dylib       0x000000010e39ebc2
OpenThreads::ThreadPrivateActions::StartThread(void*) + 178
18  libsystem_pthread.dylib       0x00007fff9924a899 _pthread_body + 138
19  libsystem_pthread.dylib       0x00007fff9924a72a _pthread_start + 137
20  libsystem_pthread.dylib       0x00007fff9924efc9 thread_start + 13

I think + ### is the line number in corresponding cpp file.

Kind regards
Patrik


On Thu, Sep 4, 2014 at 5:01 PM, Felipe Ramos <[email protected]> wrote:

> Patrik,
>
> I tried to change to change the code you suggested and still get the crash
> when executing my program, but I don't know exactly what to do... Could you
> please give me more information about what actions I need to take?
> I changed some lines of the code (oculusdevice.cpp) and recompiled the lib.
> The source code and some images are attached to this message.
> Thanks in advance!
>
>
>
> Regards,
> Felipe
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=60952#60952
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to