Re: [osg-users] Interesting Problem with Segmentation Fault in eventTraversal
Hi, Turns out it isn't when the mouse leaves the full screen window of the VM but rather is moved into certain regions of the window. I'm going to have to spend some time figuring out what the heck is going on here Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49255#49255 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Interesting Problem with Segmentation Fault in eventTraversal
Hi, I kind of provided a miniature stack trace by showing the function calls back to draw() which of course is part of the main loop but here it is anyway: Thread [1] 16436 [core: 0] (Suspended : Signal : SIGSEGV:Segmentation fault) osgViewer::CompositeViewer::eventTraversal() at 0x389fc4d756 osgViewer::ViewerBase::frame() at 0x389fc8c5a6 vis::OsgViewerRenderImplementation::frame() at OsgViewerRenderImplementation.cpp:548 0x70b09c26 vis::Camera::frame() at Camera.cpp:155 0x70b04119 vis::View::drawFrame() at View.cpp:83 0x70b22a82 Visuals::drawView() at Visuals.cpp:805 0x70afc439 Visuals::execute() at Visuals.cpp:154 0x70af9c8a VisualsExecute() at vectionVisuals.cpp:145 0x70af29cd SimExecute() at core.c:533 0x40ec82 SimCoreMain() at core.c:1,194 0x40fc62 ...more frames... If I understood more about OSG and how it was built/designed I might know what's going on after a few minutes but I don't :( The origin of the problem is another story. There is something about losing the mouse (mouse leaves both window and entire screen (VM guest) at the same time. It isn't like I'm doing something strange with camera manipulators or anything. It's pretty strait forward. In fact I don't even care about keyboard or mouse input. All the input comes from a separate control interface subsystem outside OSG anyway. Although I did try something that uses frame() and draw() calls to update the display inside the VM and could not reproduce the problem so it may well be something I'm doing with my code but I can't imagine what. Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49238#49238 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Interesting Problem with Segmentation Fault in eventTraversal
Hi, So here is the catch, my window is created full screen but it is inside of a Virtual Machine running in VMware. I have vmware tools installed to I get seamless mouse transitions through between guest and host. I'm using CompositeViewer and it doesn't matter if I set the camera manipulator to NULL or the Trackball manipulator or anything else. Whenever the mouse is moved outside the viewer window OSG hits a segmentation fault in osgViewer::CompositeViewer::eventTraversal() called from osgViewer::ViewerBase::frame() I'm running OSG 3.0.1 on linux (Fedora Core 17) with the OSG packages available with the distribution. So I can understand maybe some odd behavior from the trackball manipulator when the mouse is moved outside the window or something like that but a segmentation fault??? Anyone have any ideas? I haven't setup a debug version of OSG to use yet to try and figure out why this is happening but I was hoping someone here might have either tried this or have some conceptual idea of what is going on based on their massive and awesome knowledge of OSG :) Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49222#49222 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Interesting Problem with Segmentation Fault in eventTraversal
Hi, Mike With crash under debugger at hand you gonna know precisely what happening in a few minutes... what point in guessing? Also backtrace (even from release build) would help a lot. 10.08.2012, 12:47, Mike Hatcher mike.hatche...@yahoo.com: Hi, So here is the catch, my window is created full screen but it is inside of a Virtual Machine running in VMware. I have vmware tools installed to I get seamless mouse transitions through between guest and host. I'm using CompositeViewer and it doesn't matter if I set the camera manipulator to NULL or the Trackball manipulator or anything else. Whenever the mouse is moved outside the viewer window OSG hits a segmentation fault in osgViewer::CompositeViewer::eventTraversal() called from osgViewer::ViewerBase::frame() I'm running OSG 3.0.1 on linux (Fedora Core 17) with the OSG packages available with the distribution. So I can understand maybe some odd behavior from the trackball manipulator when the mouse is moved outside the window or something like that but a segmentation fault??? Anyone have any ideas? I haven't setup a debug version of OSG to use yet to try and figure out why this is happening but I was hoping someone here might have either tried this or have some conceptual idea of what is going on based on their massive and awesome knowledge of OSG :) Thank you! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49222#49222 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org