<div dir="ltr"><div><div><div>Hi Thomas,<br><br></div>Thanks for the details. <br><br></div>The stack trace is a bit too incomplete to be able to spot where exactly the problem might lie. In particular the [Externer Code] should give us an idea how StandardManipulator::centerMousePointer(..) is eventually calling GraphicsContext::getTraits().<br><br></div><div><br></div>Robert.<br><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 September 2015 at 11:53, Thomas Stegemann <span dir="ltr"><<a href="mailto:thomas.stegemann@outlook.com" target="_blank">thomas.stegemann@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><span style="color:rgb(68,68,68);font-family:Calibri;line-height:22.7199993133545px;background-color:rgb(255,255,255)">Hi Robert,</span><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><br style="line-height:22.7199993133545px"></div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><span style="line-height:22.7199993133545px;font-size:12pt">HW: Nvidia GeForce GTX 770, Intel i7 4770, 32GB, 2 Displays (each 1920x1200 px)</span></div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">OS: Win7 x64,</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><br style="line-height:22.7199993133545px"></div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">- compiled using Visual Studio 12 (2013) for x64</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">- same settings worked with OpenSceneGraph 3.2.3</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">- did a full (re)build (no old data kept, flushed build folders first)</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><br style="line-height:22.7199993133545px"></div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><br style="line-height:22.7199993133545px"></div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)">Call stack until crashed (sorry, some parts are in german):</div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><br style="line-height:22.7199993133545px"></div><div style="line-height:22.7199993133545px;color:rgb(68,68,68);font-family:Calibri;background-color:rgb(255,255,255)"><div style="line-height:22.7199993133545px"><div style="line-height:22.7199993133545px">> osgd.dll!osg::ref_ptr<osg::GraphicsContext::Traits>::get() Zeile 92 C++</div><div style="line-height:22.7199993133545px"> osgd.dll!osg::GraphicsContext::getTraits() Zeile 291 C++</div><div style="line-height:22.7199993133545px"> [Externer Code]</div><div style="line-height:22.7199993133545px"> osgGAd.dll!osgGA::StandardManipulator::centerMousePointer(const osgGA::GUIEventAdapter & ea, osgGA::GUIActionAdapter & us) Zeile 539 C++</div><div style="line-height:22.7199993133545px"> osgGAd.dll!osgGA::FlightManipulator::home(const osgGA::GUIEventAdapter & ea, osgGA::GUIActionAdapter & us) Zeile 53 C++</div><div style="line-height:22.7199993133545px"> osgGAd.dll!osgGA::KeySwitchMatrixManipulator::home(const osgGA::GUIEventAdapter & ee, osgGA::GUIActionAdapter & aa) Zeile 125 C++</div><div style="line-height:22.7199993133545px"> [Externer Code]</div><div style="line-height:22.7199993133545px"> osgviewerd.exe!main(int argc, char * * argv) Zeile 127 C++</div><div style="line-height:22.7199993133545px"> [Externer Code]</div><div style="line-height:22.7199993133545px"><br></div><div style="line-height:22.7199993133545px"><br></div><div style="line-height:22.7199993133545px">Thanks in advance,</div><div style="line-height:22.7199993133545px">Thomas</div></div></div><br><div><hr>Date: Tue, 1 Sep 2015 09:34:51 +0100<br>From: <a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a><br>To: <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>Subject: Re: [osg-users] Open Scene Graph 3.4.0 has bug when using two monitor setup<div><div class="h5"><br><br><div dir="ltr">Hi Thomas,<br><div><br><div>On 1 September 2015 at 08:58, Thomas Stegemann <span dir="ltr"><<a href="mailto:thomas.stegemann@outlook.com" target="_blank">thomas.stegemann@outlook.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><p><span style="font-size:10.5pt;font-family:"Helvetica","sans-serif";color:#333333;background:white" lang="EN-US"> </span><span style="font-size:10.5pt;font-family:"Helvetica","sans-serif";color:#333333;background:white" lang="EN-US">If you have a
multi-monitor setup (e.g. 2 Monitors attached) running the latest stable
release 3.4.0 of OpenSceneGraph, the application crashed at startup when no
--screen parameter is set. (OSG tries to use all monitors by default, worked
with 3.2.3) This doesn't happen if you explicitely call osgviewer --screen 0 to
start rendering only at one screen.</span><span lang="EN-US"></span> </p></div></div></blockquote><div><br><br></div><div>What hardware and OS combination are you seeing this issue with?<br><br></div><div>Could you build the OSG with debug and see where about the crash occurs? A stack trace would be very useful.<br><br></div><div>Unfortunately I don't have two monitors available to test right away, but should have one by next week so will test then.<br><br></div><div>Robert.<br></div><div><br> <br></div></div></div></div>
<br></div></div>_______________________________________________
osg-users mailing list
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a></div> </div></div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>