← Back to team overview

kicad-developers team mailing list archive

Re: [RFC] pcbnew internals refactoring for testing

 

Le 01/11/2017 à 23:58, Tomasz Wlostowski a écrit :
> Hi all,

<...>

Hi Tom,

Since the refactoring, Gerbview does not run, it crashes immediately.

The reason is in GERBVIEW_DRAW_PANEL_GAL, the member m_view is not initialized, unlike in
PCB_DRAW_PANEL_GAL.

Because the base class DRAW_PANEL_GAL ctor set m_view to nullptr, the first use of m_view segfaults.

Perhaps something like the PCB_VIEW class is missing in Gerbview (using just the base class VIEW
does not work).

Could you have a look to this annoying issue.

Thanks.

-- 
Jean-Pierre CHARRAS


References