3d-viewer segfaults when raytracing if OpenGL 2.1 is not available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Wayne Stambaugh |
Bug Description
backtrace:
#0 0x0000000000000000 in ?? ()
#1 0x00007fffe1f71a8c in C3D_RENDER_
at /home/seth/
#2 0x00007fffe1f556bd in EDA_3D_
at /home/seth/
#3 0x00007ffff634440e in wxAppConsoleBas
at ../src/
#4 0x00007ffff64c9ea5 in wxEvtHandler:
at ../src/
#5 0x00007ffff64c9f9b in wxEventHashTabl
at ../src/
#6 0x00007ffff64ca34b in wxEvtHandler:
#7 0x00007ffff64ca3d3 in wxEvtHandler:
#8 wxEvtHandler:
#9 0x00007ffff64ca435 in wxEvtHandler:
#10 0x00007ffff64caef3 in wxEvtHandler:
#11 0x00007ffff6346bff in wxAppConsoleBas
#12 0x00007ffff6c21e0a in wxApp::DoIdle (this=0x5555559
#13 0x00007ffff6c21ef3 in wxapp_idle_callback () at ../src/
#14 0x00007ffff24006aa in g_main_
#15 0x00007ffff2400a60 in ?? () from /lib/x86_
#16 0x00007ffff2400d82 in g_main_loop_run () from /lib/x86_
Application: kicad
Version: (6.0.0-
Libraries:
wxWidgets 3.0.2
Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.62.0
OpenCASCADE Community Edition: 6.8.0
Compiler: GCC 6.3.0 with C++ ABI 1010
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: 3d-viewer |
Changed in kicad: | |
status: | In Progress → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
@Seth, I'm surprised the 3D viewer doesn't crash when there is no openGL. AFAIK, the 3D viewer requires opengl for rendering and does not use cairo or any other device context. Is there some way to disable the ray tracing if opengl is missing?