Hello Hannes,

On Sat, Mar 18, 2017 at 01:51:22AM +0100, Hannes Diethelm wrote:
> Hello,
> 
> I found the line of code which is responsible for the segfault. With the
> following patch, KiCad doesn't crash any more and dragging works. However,
> the GUI looks a bit funny because the selection is not cleared:
> 
> --- a/pcbnew/router/router_tool.cpp     2017-03-18 01:07:08.635185047 +0100
> +++ b/pcbnew/router/router_tool.cpp     2017-03-18 01:09:54.667179894 +0100
> @@ -795,7 +795,7 @@
>      PCB_EDIT_FRAME* frame = getEditFrame<PCB_EDIT_FRAME>();
>      VIEW_CONTROLS* ctls = getViewControls();
> 
> -    m_toolMgr->RunAction( COMMON_ACTIONS::selectionClear, true );
> +    //m_toolMgr->RunAction( COMMON_ACTIONS::selectionClear, true );
> 
>      Activate();
> 
> It is not a real bugfix, but it is a starting point.

thanks for digging into the problem.
Can you please forward your actions into the upstream bug report? By
this the KiCad developers can take a closer look.

I'm working on version 4.0.6 for uploading, but currently I haven't much
time for doing all the needed things now. I've a first running version
4.0.6 but could not take a look at this is this report is about.

Regards
Carsten

Reply via email to