FP EDITOR : occasionally CRASH at view 3D following filename editing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Unassigned |
Bug Description
/*
OS : Windows 10
Application: kicad
Version: (2015-10-14 BZR 6269, Git 3ca8244)-product release build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
*/
CRASH ... occasionally, not always. It happens at click 3D Viewer following edit the filename ( at fp properties ).
jbdw (jbdwiyono) wrote : | #1 |
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1506864] Re: FP EDITOR : occasionally CRASH at view 3D following filename editing | #2 |
Please open a separate bug report for this bug since it appears to have
nothing to do with the bug report. Specifying more than one bug in a
report makes it difficult to link the bug to a branch containing the fix
and harder to close out the bug report.
On 10/16/2015 10:32 AM, jbdw wrote:
> Also in FP EDITOR :
> - CRASH occasionally at "move item exactly"
>
> ** Attachment added: "KICAD - BUG REPORT - CRASH AT FP - MOVING EXACTLY.jpg"
> https:/
>
jbdw (jbdwiyono) wrote : | #3 |
Wayne,
OK, I'll open it as separate report. Thanks.
Wayne Stambaugh (stambaughw) wrote : | #4 |
Please include the steps that you used to produce the crash and if possible the footprint file. The more you can narrow down the step to reproduce the error, the easier it will be for us to debug it. I noticed that in your second crash report that you are using the same footprint. Is it possible that there is something in this footprint that is causing the issue.
Changed in kicad: | |
importance: | Undecided → High |
jbdw (jbdwiyono) wrote : | #5 |
- the steps before crash Edit (85.9 KiB, image/jpeg)
Well,
This' happenned not only in one footprint. As could be seen in the screenshot below, this happened in the other footprint. Anyway, attached here both footprints ( the Transformer_
Regarding the steps, as I said previously, it happened occasionally. Usually, mostly, this case didnt happened. The steps as shown in following screenshot.
1). I have temporal library folder, said : d:/github/
This means that the 3d model doesnt exist yet in default library folder.
2). To make suit to the default path, the I did edit the filename by remove the temporal folder path as shown in s/c 2 and 3.
Klik OK as usual. No problem up to this point.
3). Next, just to make sure, I did view 3d by klik 3D Viewer ..... and occasionally, not always, not repeatable , the Kicad goes crashing.
Thanks.
// FOOTPRINT LISTS
//1 : Transformer_
//
(module Transformer_
(descr Transformer_
(tags transformer,
(fp_text reference REF** (at 17.78 -42.545) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Transformer_
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -3.302 -41.402) (end 38.862 -41.402) (layer F.CrtYd) (width 0.05))
(fp_line (start 38.862 -41.402) (end 38.862 5.842) (layer F.CrtYd) (width 0.05))
(fp_line (start 38.862 5.842) (end -3.302 5.7658) (layer F.CrtYd) (width 0.05))
(fp_line (start -3.302 5.7658) (end -3.302 -41.402) (layer F.CrtYd) (width 0.05))
(fp_text user 16 (at 0 -39.37) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user 9 (at 35.56 -39.37) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user 8 (at 35.56 3.81) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user 1 (at 0 3.81) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 10.16 -16.51) (end 25.4 -16.51) (layer F.SilkS) (width 0.15))
(fp_line (start 10.16 -19.05) (end 25.4 -19.05) (layer F.SilkS) (width 0.15))
(fp_arc (start 22.86 -22.86) (end 25.4 -22.86) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 22.86 -22.86) (end 22.86 -20.32) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 17.78 -22.86) (end 20.32 -22.86) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 17.78 -22.86) (end 17.78 -20.32) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 12.7 -22.86) (end 15.24 -22.86) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 12.7 -22.86) (end 12.7 -20.32) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 22.86 -12.7) (end 22.86 -15.24) (angle 90) (layer F.SilkS) (width 0.15))
(fp_arc (start 22.86 -1...
jbdw (jbdwiyono) wrote : | #6 |
- KICAD - BUG REPORT - CRASH AT SHOW 3D FOLLOWING EDIT FILENAME PATH 3.jpg Edit (30.8 KiB, image/jpeg)
And yet addtitional note :
This also occasionally, not alway, not always repeatable :
- on SAVE FOOTPRINT IN ACTIVE LIBRARY ( Ctlr-S ) , an err message prompted as shown in the screenshot here.
jbdw (jbdwiyono) wrote : | #7 |
Additional note again , still related to this case :
If above case happened, then when I did list the footprint in the library file, not all the existing files displayed ( pict 4).
That's why an above err.message prompted.
Only if the Kicad restarted, then it displayed the complete files on the library, it backs to normal ( pict 5 )
Thanks, and if any other required infos pls let me know.
jbdw (jbdwiyono) wrote : | #8 |
- KICAD - BUG REPORT - CRASH AT SHOW 3D FOLLOWING EDIT FILENAME PATH 4.jpg Edit (55.8 KiB, image/jpeg)
jbdw (jbdwiyono) wrote : | #9 |
Wayne and Nick,
I found this case still happened in : Version: (2015-10-16 BZR 6271, Git 9aba2f2)-product release build.
- again, it is not alway reproduceable ... but sometimes , occasionally happened.
- the step still similiar, begining form editing the 3dmodel path dialogues. In my case, I did modify or remove my test folder path from : D:/GITHUB/
to : Terminal_
Additional note : Since this my 3dmodel test, the files "Bornier.
jbdw (jbdwiyono) wrote : | #10 |
For futrther investigation, here is the Bornier.
(module Bornier.V1_Unit (layer F.Cu) (tedit 562484D7)
(descr Bornier.
(tags "DEV, Bornier")
(fp_text reference REF** (at 0 -6.985) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Bornier.V1_Unit (at 0 5.08) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -2.667 -5.207) (end 2.667 -5.207) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.667 -5.207) (end 2.667 3.175) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.667 3.175) (end -2.667 3.175) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.667 3.175) (end -2.667 -5.207) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.54 -5.08) (end 2.54 3.048) (layer F.SilkS) (width 0.15))
(fp_line (start -2.54 3.048) (end -2.54 -5.08) (layer F.SilkS) (width 0.15))
(fp_line (start -2.54 -5.08) (end 2.54 -5.08) (layer F.SilkS) (width 0.15))
(fp_line (start 2.54 3.048) (end -2.54 3.048) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole rect (at 0 0) (size 2.54 2.54) (drill 1.3) (layers *.Cu *.Mask F.SilkS))
(model Terminal_
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
Wayne Stambaugh (stambaughw) wrote : | #11 |
On 10/16/2015 11:30 PM, jbdw wrote:
> Well,
>
> This' happenned not only in one footprint. As could be seen in the
> screenshot below, this happened in the other footprint. Anyway, attached
> here both footprints ( the
> Transformer_
> Bornier.
>
> Regarding the steps, as I said previously, it happened occasionally. Usually, mostly, this case didnt happened. The steps as shown in following screenshot.
> 1). I have temporal library folder, said : d:/github/
> This means that the 3d model doesnt exist yet in default library folder.
What did you copy and where did you copy it too? Step 1 is not clear.
>
> 2). To make suit to the default path, the I did edit the filename by remove the temporal folder path as shown in s/c 2 and 3.
> Klik OK as usual. No problem up to this point.
What file name did you edit? The 3D model file name or some other file
name? You need to be clear.
>
> 3). Next, just to make sure, I did view 3d by klik 3D Viewer ..... and
> occasionally, not always, not repeatable , the Kicad goes crashing.
You really need to do a better job of explaining the steps you took to
produce the bug. Your steps should be simple and clear like this:
1) Open footprint editor.
2) Open fooprint foo from library bar.
3) Open the edit footprint properties dialog.
4) Change 3D model file name from foo.wrl to bar.wrl.
5) Click OK button, this is when crash occurred.
I cannot duplicate this bug with the steps you provided. Also, where
you using the OpenGL canvas?
>
>
> Thanks.
>
> // FOOTPRINT LISTS
>
> //1 : Transformer_
> //
> (module Transformer_
> (descr Transformer_
> (tags transformer,
> (fp_text reference REF** (at 17.78 -42.545) (layer F.SilkS)
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_text value Transformer_
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_line (start -3.302 -41.402) (end 38.862 -41.402) (layer F.CrtYd) (width 0.05))
> (fp_line (start 38.862 -41.402) (end 38.862 5.842) (layer F.CrtYd) (width 0.05))
> (fp_line (start 38.862 5.842) (end -3.302 5.7658) (layer F.CrtYd) (width 0.05))
> (fp_line (start -3.302 5.7658) (end -3.302 -41.402) (layer F.CrtYd) (width 0.05))
> (fp_text user 16 (at 0 -39.37) (layer F.SilkS)
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_text user 9 (at 35.56 -39.37) (layer F.SilkS)
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_text user 8 (at 35.56 3.81) (layer F.SilkS)
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_text user 1 (at 0 3.81) (layer F.SilkS)
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_line (start 10.16 -16.51) (end 25.4 -16.51...
Wayne Stambaugh (stambaughw) wrote : | #12 |
Where are the 3D model files? I'll need those as well. Please attach
files. I'm not going to waste time copying the inline file contents
into an editor to create the files.
On 10/19/2015 2:20 AM, jbdw wrote:
> For futrther investigation, here is the Bornier.
>
> (module Bornier.V1_Unit (layer F.Cu) (tedit 562484D7)
> (descr Bornier.
> (tags "DEV, Bornier")
> (fp_text reference REF** (at 0 -6.985) (layer F.SilkS)
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_text value Bornier.V1_Unit (at 0 5.08) (layer F.Fab)
> (effects (font (size 1 1) (thickness 0.15)))
> )
> (fp_line (start -2.667 -5.207) (end 2.667 -5.207) (layer F.CrtYd) (width 0.05))
> (fp_line (start 2.667 -5.207) (end 2.667 3.175) (layer F.CrtYd) (width 0.05))
> (fp_line (start 2.667 3.175) (end -2.667 3.175) (layer F.CrtYd) (width 0.05))
> (fp_line (start -2.667 3.175) (end -2.667 -5.207) (layer F.CrtYd) (width 0.05))
> (fp_line (start 2.54 -5.08) (end 2.54 3.048) (layer F.SilkS) (width 0.15))
> (fp_line (start -2.54 3.048) (end -2.54 -5.08) (layer F.SilkS) (width 0.15))
> (fp_line (start -2.54 -5.08) (end 2.54 -5.08) (layer F.SilkS) (width 0.15))
> (fp_line (start 2.54 3.048) (end -2.54 3.048) (layer F.SilkS) (width 0.15))
> (pad 1 thru_hole rect (at 0 0) (size 2.54 2.54) (drill 1.3) (layers *.Cu *.Mask F.SilkS))
> (model Terminal_
> (at (xyz 0 0 0))
> (scale (xyz 1 1 1))
> (rotate (xyz 0 0 0))
> )
> )
>
jbdw (jbdwiyono) wrote : | #13 |
jbdw (jbdwiyono) wrote : | #14 |
jbdw (jbdwiyono) wrote : | #15 |
jbdw (jbdwiyono) wrote : | #16 |
I added 3 additional related files sample which made my Kicad installation crashed.
Well, very sorry if these bug infos has been wasting your time.
Thanks.
Wayne Stambaugh (stambaughw) wrote : | #17 |
On 10/19/2015 5:08 PM, jbdw wrote:
> Bornier.
>
> ** Attachment added: "Bornier.
> https:/
>
The 3D viewer cannot read wings files. They must be converted to wrl
(VRML) files. Did you actually attempt to assign a wings file to a
footprint? If so, the wrl parser should have complained about the file
format. I should not have crashed. If this is what you did, it could
be a vital piece of information.
jbdw (jbdwiyono) wrote : | #18 |
Sir,
Of course I knew that 3dviewer cannot read the wings files. So I didn't assign the WINGS to footprint.
Take a look the WRL file attached above which is assigned to the footprint.
What I did was : just removed the unnecessarily "relative-path" , save it, viewing 3d ... and crash. And as I ve explained in previous notes, that it happened ocassionally, not always happened, unpredictable .... but sometimes happened.
jbdw (jbdwiyono) wrote : | #19 |
- KICAD - BUG REPORT - CRASH FOLLOWING EDIT FILENAME 5.jpg Edit (44.2 KiB, image/jpeg)
Next additional info :
// now in Version: (2015-10-22 BZR 6274, Git d63c017)
In "3D Shape Names -> Edit Filename "
- edit filename ( in this example I just edited TO247_V1_
- press OK
- CRASH Messsage
- Press Debug Tab , in here is the message.
Again, occasional, not always, not always repeated.
jbdw (jbdwiyono) wrote : | #20 |
- KICAD - BUG REPORT - CRASH AT FOOTPRINT TEXT EDIT.jpg Edit (46.3 KiB, image/jpeg)
Next Additional Info :
// Version: (2015-10-22 BZR 6274, Git d63c017)
Text editing @ Footprint text properties also occasionally CRASH.
Not always repeatable.
Attached related err msg screenshot.
jbdw (jbdwiyono) wrote : | #21 |
- KICAD - BUG REPORT - FOOTPRINT EDIT - CRASH AT UNDO DRAWING LINE.jpg Edit (100.3 KiB, image/jpeg)
Next Additional Info :
// Version: (2015-10-22 BZR 6274, Git d63c017)
I intentionally report this bugs in this thread since it is similar and related case with previous bugs.
CRASH in this footprint editor : at UNDO DRAWING LINE.
jbdw (jbdwiyono) wrote : | #22 |
- KICAD - BUG REPORT - FOOTPRINT EDIT - CRASH AT UNDO DRAWING LINE.jpg Edit (100.3 KiB, image/jpeg)
Next Additional Info :
// Version: (2015-10-22 BZR 6274, Git d63c017)
I intentionally report this bugs in this thread since it is similar and related case with previous bugs.
CRASH in this footprint editor : at UNDO DRAWING LINE.
Wayne Stambaugh (stambaughw) wrote : | #23 |
You still have not answered my question about which canvas (default, cairo, or opengl) you are using during your editing sessions. You also need to copy the full build version information in your bug reports. The version information you are providing is incomplete. The instructions on how to copy the KiCad version information can be found at http://
jbdw (jbdwiyono) wrote : | #24 |
Hi,
I have informed about the copy infos in the first report above .
Here is again if you have not read it.
1).
Application: kicad
Version: (2015-10-22 BZR 6274, Git d63c017)-product release build
wxWidgets: Version 3.0.2 (debug,
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.57.0
MY OS IS WINDOWS 10.
2). I dont know about default, caoiro or opengl. I have not yet open the PCBNEW EDITOR.
What I did , directly open FPEditor.
3). Very sorry. I just want to inform a problem I found. I can not help further since I am not a programmer.
Nick Østergaard (nickoe) wrote : | #25 |
Zoom in on the canvas such that you can see the grid. Is it dots or
straight lines? If dots it is the default canvas. If it is lines it is
likely to be the opengl canvas. Try to switch to another and see if it
changes.
2015-10-27 18:39 GMT+01:00 jbdw <email address hidden>:
> Hi,
>
> I have informed about the copy infos in the first report above .
> Here is again if you have not read it.
>
> 1).
> Application: kicad
> Version: (2015-10-22 BZR 6274, Git d63c017)-product release build
> wxWidgets: Version 3.0.2 (debug,
> Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
> Boost version: 1.57.0
> USE_WX_
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING
> KICAD_SCRIPTING
> USE_FP_
> BUILD_GITHUB_
>
> MY OS IS WINDOWS 10.
>
>
> 2). I dont know about default, caoiro or opengl. I have not yet open the PCBNEW EDITOR.
> What I did , directly open FPEditor.
>
> 3). Very sorry. I just want to inform a problem I found. I can not help
> further since I am not a programmer.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> FP EDITOR : occasionally CRASH at view 3D following filename editing
>
> Status in KiCad:
> New
>
> Bug description:
> /*
> OS : Windows 10
> Application: kicad
> Version: (2015-10-14 BZR 6269, Git 3ca8244)-product release build
> wxWidgets: Version 3.0.2 (debug,
> Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
> */
>
>
> CRASH ... occasionally, not always. It happens at click 3D Viewer following edit the filename ( at fp properties ).
>
> To manage notifications about this bug go to:
> https:/
jbdw (jbdwiyono) wrote : | #26 |
Thank you Nick.
If like that, so far I did always in default canvas since I never saw "straight lines" while heavy zoomed.
jbdw (jbdwiyono) wrote : | #27 |
Well, I'd try with cairo and opengl canvas to know if any crash as well in those canvas.
jbdw (jbdwiyono) wrote : | #28 |
I d like to know is there any "steps log file" so that the user just send the latest steps before any error or crash. Pls advise the filename if any in the KiCad system.
xzcvczx (xzcvczx) wrote : | #29 |
is this still ocurring for anyone, cant say i have seen it in at least a couple of months
jbdw (jbdwiyono) wrote : | #30 |
@ Simon :
It's okay now, not anymore.
Changed in kicad: | |
status: | New → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Also in FP EDITOR :
- CRASH occasionally at "move item exactly"