-
Notifications
You must be signed in to change notification settings - Fork 58
Invalid OpenGL call in GLSceneRendererImpl #80
Comments
Could you tell me what operation causes this error? Does it crashe a Choreonoid process? |
As I said, this happened while looking for something else, and I thought you might want to know about my findings. Basically, I enabled SIGFPE checking with |
I'm sorry for this late replay, and thank you for your advise. |
In the manual of apitrace ( https://github.com/apitrace/apitrace/blob/master/docs/USAGE.markdown ), there is a description on "OpenGL annotations". It seems that this is used for getting OpenGL error messages, and I'll try this first. |
おそらく関連する事象かもと思い、ここに報告します。 |
ご報告ありがとうございます。 |
お手数おかけいたします。 使用している仮想マシンソフトウェアは、VMware Workstation 12 Player 12.5.5 build-5234757 ホストOSは、Windows 7 Professional, 64-bit 6.1.7601, Service Pack 1 また、Ubuntuは仮想マシン上で動作させています。バージョンはUbuntu 14.04.5 LTS |
デバッグ指定で再ビルドして、スタックトレースをとってみました。
Sceneをリサイズ後に、マウスポインタを入れて落ちたときのコード位置は、cnoid::SceneWidgetImpl::updateLatestEventPath() の以下の行でした。
調査に役立つとよいのですが、、、。 |
After seeing the following SIGFPE in
GLSceneRenderer
:I noticed that there was no OpenGL error checking in choreonoid. After enabling that, the error appears there:
The error should probably be solved in
SceneWidgetImpl::updateLatestEventPath()
were the call topick()
is made (see here). I don't know if that's the actual issue, but the OpenGL doc states:Using an OpenGL debugger such as apitrace would probably help there.
Also, if you want, I can make a PR for the OpenGL error checking code in debug mode. This is highly recommended.
The text was updated successfully, but these errors were encountered: