JungWhoNam / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
0 stars 0 forks source link

pressing 'g' in ospExamples (to hide ImGui panel) crashes the program #4

Open ghost opened 1 year ago

ghost commented 1 year ago
Assertion failed: ((g.FrameCount == 0 || g.FrameCountEnded == g.FrameCount) && "Forgot to call Render() or EndFrame() at the end of the previous frame?"), function ErrorCheckNewFrameSanityChecks, file imgui.cpp, line 7939.
zsh: abort      ./ospExamples

Version: ospray 2.10.0 macOS Ventura 13.0.1 Apple clang version 14.0.0 (clang-1400.0.29.202)

ghost commented 1 year ago

The commit 812eccd seems to fix the issue in macOS and ubuntu 18.04 (using Docker).

However, the issue still present when running the program from Apptainer.

ghost commented 1 year ago

Meanwhile we investigate this issue, I made a commit 4ec2731, which allows us to change the current scene by pressing left or right arrow key.

ghost commented 1 year ago
[vislab@rattler:~/ospray] $ python run.py 
launching with command: mpirun -host localhost,localhost,localhost apptainer run /home/vislab/ospray/images/ospray-multidisplays_v2.11.0-alpha.2.sif /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays /home/vislab/ospray/config/display_settings.json /home/vislab/ospray/config/tracking_settings.json
OSPRay rank 0/3
OSPRay rank 2/3
OSPRay rank 1/3
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[rattler:10718] *** Process received signal ***
[rattler:10718] Signal: Segmentation fault (11)
[rattler:10718] Signal code: Address not mapped (1)
[rattler:10718] Failing at address: 0x556670dd1a52
[rattler:10714] *** Process received signal ***
[rattler:10714] Signal: Segmentation fault (11)
[rattler:10714] Signal code: Address not mapped (1)
[rattler:10714] Failing at address: 0x556670dd1a52
[rattler:10718] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0[rattler:10714] [ 0] (+0x12980)[0x7f555b4ac980]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12980)[0x7f4b906b6980]
[rattler:10714] [ 1] [rattler:10718] [ 1] /lib/x86_64-linux-gnu/libc.so.6(+0x18ea13)[0x7f4b8ef48a13/lib/x86_64-linux-gnu/libc.so.6(+0x18ea13)[0x7f5559d3ea13]
]
[rattler:10714] [ 2] [rattler:10718] [ 2] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_+0x8d)/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_+0x8d)[0x7f555a67baad]
[rattler:10718] [ 3] [0x7f4b8f885aad]
[rattler:10714] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(_ZN16GLFWOSPRayWindow19startNewOSPRayFrameEv+0x197)[0x56270d88a077]
[rattler:10718] [ 4] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(_ZN16GLFWOSPRayWindow8mainLoopEv+0xa5)[ 3] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(_ZN16GLFWOSPRayWindow19startNewOSPRayFrameEv+0x197)[0x557f5ada1077]
[rattler:10714] [ 4] [0x56270d88a175]
[rattler:10718] [ 5] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(_ZN16GLFWOSPRayWindow8mainLoopEv+0xa5)[0x557f5ada1175]
[rattler:10714] [ 5] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(main+0x1f1)[0x56270d8759e1]
[rattler:10718] [ 6] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(main+0x1f1)[0x557f5ad8c9e1/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f5559bd1c87]
[rattler:10718] [ 7] ]
[rattler:10714] [ 6] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(_start+0x2a)[0x56270d87687a]
[rattler:10718] *** End of error message ***
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f4b8eddbc87]
[rattler:10714] [ 7] /home/ospray/ospray-2.11.0-alpha.2/build/install/ospray/bin/ospMPIMultiDisplays(_start+0x2a)[0x557f5ad8d87a]
[rattler:10714] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 0 on node rattler exited on signal 11 (Segmentation fault).

Pressing the arrow keys causes this problem in Rattler.