Steps to reproduce:
0. download given wrl file,
1. take random board,
2. edit footprint, set the wrl file as 3d model,
3. start 3d-viewer
=> crash.
(gdb) bt
#0 0x00007ffff40ae527 in __strcasecmp_l_avx () from /lib64/libc.so.6
#1 0x00000000007c33f3 in VRML_MODEL_PARSER::Load(wxString) ()
#2 0x00000000007b7abe in S3D_MASTER::ReadData() ()
#3 0x00000000007c9852 in MODULE::ReadAndInsert3DComponentShape(EDA_3D_CANVAS*) ()
#4 0x00000000007cb027 in EDA_3D_CANVAS::BuildBoard3DView() ()
#5 0x00000000007cb7d3 in EDA_3D_CANVAS::CreateDrawGL_List() ()
Apply given patch, problem gone.
Didn't investigated into the deeper problem with this wrl file. At least it doesn't crash any longer :).
Steps to reproduce:
0. download given wrl file,
1. take random board,
2. edit footprint, set the wrl file as 3d model,
3. start 3d-viewer
=> crash.
(gdb) bt PARSER: :Load(wxString) () :ReadData( ) () :ReadAndInsert3 DComponentShape (EDA_3D_ CANVAS* ) () CANVAS: :BuildBoard3DVi ew() () CANVAS: :CreateDrawGL_ List() ()
#0 0x00007ffff40ae527 in __strcasecmp_l_avx () from /lib64/libc.so.6
#1 0x00000000007c33f3 in VRML_MODEL_
#2 0x00000000007b7abe in S3D_MASTER:
#3 0x00000000007c9852 in MODULE:
#4 0x00000000007cb027 in EDA_3D_
#5 0x00000000007cb7d3 in EDA_3D_
Apply given patch, problem gone.
Didn't investigated into the deeper problem with this wrl file. At least it doesn't crash any longer :).