bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

Crash on exit #88

Closed rickyviking closed 7 years ago

rickyviking commented 8 years ago

After updating to branch 1.5.0 I get a crash on exit on the OculusViewerExample application, as well as on other apps I'm using the library with. My config is:

I don't know if this is related somehow to https://github.com/bjornblissing/osgoculusviewer/issues/49

bjornblissing commented 8 years ago

Strange! I was not able to get this behavior even though I tried.

I have just pushed a special feature branch which tries to remedy these issues. Would you mind trying it out? It can be found here: https://github.com/bjornblissing/osgoculusviewer/tree/feature/CleanupOnExit

Note that this branch requires you to compile against the current master of OpenSceneGraph. Since the required cleanupOperation have not been merged to any stable branch yet.

rickyviking commented 8 years ago

I have investigated a bit further and it turns out it was a driver issue. I've updated nVidia driver to 368.39 and the crash went away. I've haven't tested your patch then, cannot comment on it atm.