3d file crashes PCBNew

Bug #673603 reported by Michael Wilt
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Unassigned

Bug Description

This file was generated by FreeCAD. The 3D view in PCBNew foot print library editor crashes promptly if this file is selected. I am running PCBNew (2010-05-05 BZR 2356)-stable under Window XP, The version of FreeCAD which made this file is 0.10 Revision number 3332 (the current version I downloaded yesterday).

Mike

Michael Wilt

Revision history for this message
Michael Wilt (mjwilt) wrote :
Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote : Re: [Bug 673603] Re: 3d file crashes PCBNew

On Wed, 10 Nov 2010, Michael Wilt wrote:

>
> ** Attachment added: "1877285-2.wrl"
> https://bugs.launchpad.net/bugs/673603/+attachment/1729218/+files/1877285-2.wrl

Last time I checked pcbnew only read file wrote by wings3d. It has an
adhoc parser, not a full wrml importer. I agree that anyway a crash
isn't a good thing...

--
Lorenzo Marcantonio
Logos Srl

Martin Errenst (imp-d)
tags: added: 3d-viewer
Revision history for this message
Martin Errenst (imp-d) wrote :

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 :).

Changed in kicad:
status: New → Confirmed
importance: Undecided → Critical
Changed in kicad:
status: Confirmed → Fix Committed
tags: added: freecad
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.