Eeschema Linedraw has problems

Bug #1025310 reported by Berthold Benning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

by Place a wire, Place a Bus, Place graphic lines or Polygones have i following problem:
by the first mouseclick begin the draw, is OK, by the secound Mouseclick crasht the Tool Eeschema.
Otherwise end the Line with Menu right Click, then is Linedraw ok.

System SuSe Linux 11.4 4GB 64 Bit , wxWidgets 2.9.4 (and bevor 2.9.2)
Version KiCad testing 3647

Revision history for this message
jean-pierre charras (jp-charras) wrote :

I cannot reproduce your issue.
Can you compile Kicad in debug mode, run eeschema from gdb, and send me a back trace?

Revision history for this message
Berthold Benning (berthold-benning) wrote : Re: [Bug 1025310] Re: Eeschema Linedraw has problems

Am Montag, 16. Juli 2012, 20:03:28 schrieben Sie:
> I cannot reproduce your issue.
> Can you compile Kicad in debug mode, run eeschema from gdb, and send me a
> back trace?

Hello jan-pierre,
the gdb has by the secound Mouse-Click by Place a wire following output:

Try: zypper install -C "debuginfo(build-
id)=431121ef1587267acebc96fbd7758186a8eba44c"
tok:-4
18:51:11: Debug: Zoom:9,438356164383562 1/Zoom:0,1059506531204644
Missing separate debuginfo for /usr/lib64/gdk-
pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
Try: zypper install -C "debuginfo(build-
id)=702b226f52ff510961eae83a596fad9137dda8af"

Program received signal SIGSEGV, Segmentation fault.
0x000000000052b406 in SCH_EDIT_FRAME::BeginSegment (this=0xb892f0,
DC=0x7fffffffd180, type=0)
    at /home/bbenning/kicad_dev/testing/eeschema/bus-wire-junction.cpp:170
170 wxLogDebug( wxT( "Adding new segment after " ) + prevSegment-
>GetSelectMenuText() );

kinds regard Berthold Benning

Revision history for this message
Berthold Benning (berthold-benning) wrote :

Am Montag, 16. Juli 2012, 20:03:28 schrieben Sie:
> I cannot reproduce your issue.
> Can you compile Kicad in debug mode, run eeschema from gdb, and send me a
> back trace?

Hello jean-pierre

in bus-wire-junction.cpp

was at Line 170 on NULL Pointer:

Repair:

 if(prevSegment != NULL)
   wxLogDebug( wxT( "Adding new segment after " ) + prevSegment-
>GetSelectMenuText() );
 else
   wxLogDebug( wxT( "prevSegment is NULL " ) );

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Thanks for your report: it allowed me to fix this bug.

Changed in kicad:
status: New → Fix Committed
Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote :

On Sat, Jul 21, 2012 at 04:53:58PM -0000, jean-pierre charras wrote:
> Thanks for your report: it allowed me to fix this bug.

Great, you tracked it down! I've never succeeded in reproducing it reliably...

--
Lorenzo Marcantonio
Logos Srl

Revision history for this message
Berthold Benning (berthold-benning) wrote :

Am Samstag, 21. Juli 2012, 18:53:58 schrieben Sie:
> Thanks for your report: it allowed me to fix this bug.
>
> ** Changed in: kicad
> Status: New => Fix Committed

Hallo Jean-Pierre,
the eeschema tool is now super !!!
Thanks !!
kind regard

Jon Neal (reportingsjr)
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.