Crash on export SVG file with mirrored option

Bug #1685188 reported by Luis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
jean-pierre charras

Bug Description

Application crashes when exporting a SVG only when the mirrored option is enabled, the following message is displayed:

/build/kicad-4.0.5+dfsg1/common/class_plotter.cpp(518): assert "!outputFile" failed in SetPageSettings().

ASSERT INFO:
/build/kicad-4.0.5+dfsg1/common/class_plotter.cpp(518): assert "!outputFile" failed in SetPageSettings().

BACKTRACE:
[1] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[3] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[4] wxEvtHandler::TryHereOnly(wxEvent&)
[5] wxEvtHandler::ProcessEventLocally(wxEvent&)
[6] wxEvtHandler::ProcessEvent(wxEvent&)
[7] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[8] g_signal_emit_valist
[9] g_signal_emit
[10] g_signal_emit_valist
[11] g_signal_emit
[12] g_closure_invoke
[13] g_signal_emit_valist
[14] g_signal_emit
[15] gtk_propagate_event
[16] gtk_main_do_event
[17] g_main_context_dispatch
[18] g_main_loop_run
[19] gtk_main
[20] wxGUIEventLoop::DoRun()
[21] wxEventLoopBase::Run()
[22] wxDialog::ShowModal()
[23] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[24] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[25] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[26] wxEvtHandler::TryHereOnly(wxEvent&)
[27] wxEvtHandler::DoTryChain(wxEvent&)
[28] wxEvtHandler::ProcessEvent(wxEvent&)
[29] wxWindowBase::TryAfter(wxEvent&)
[30] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[31] wxMenuBase::SendEvent(int, int)
[32] g_closure_invoke
[33] g_signal_emit_valist
[34] g_signal_emit
[35] gtk_widget_activate
[36] gtk_menu_shell_activate_item
[37] g_closure_invoke
[38] g_signal_emit_valist
[39] g_signal_emit
[40] gtk_propagate_event
[41] gtk_main_do_event
[42] g_main_context_dispatch
[43] g_main_loop_run
[44] gtk_main
[45] wxGUIEventLoop::DoRun()
[46] wxEventLoopBase::Run()
[47] wxAppConsoleBase::MainLoop()
[48] wxEntry(int&, wchar_t**)
[49] __libc_start_main

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I tried several of my boards and I cannot duplicate this with 4.0.6. There were no changes the SVG export code between 4.0.5 and 4.0.6 so it may be specific to your board. If possible, please post your board or a minimal sample board that causes the segfault so I can duplicate the problem.

Changed in kicad:
status: New → Incomplete
Revision history for this message
jean-pierre charras (jp-charras) wrote :

Hi Wayne,
it is not a crash, but a wxASSERT only shown in debug mode.
I am thinking I fixed it (it was a incorrect assert in a plot function) both in stable and devel. tree.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1685188] Re: Crash on export SVG file with mirrored option

@JP, thanks. Is there any reason not to tag this bug report as fix
committed?

On 4/25/2017 12:35 PM, jean-pierre charras wrote:
> Hi Wayne,
> it is not a crash, but a wxASSERT only shown in debug mode.
> I am thinking I fixed it (it was a incorrect assert in a plot function) both in stable and devel. tree.
>

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

Sorry Wayne!

I am becoming old...
I made the fix in the master branch only (among other fixes), not in the stable branch.

I'll fix it soon in the stable branch.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

No problem @JP. I have the same problem. Thanks for fixing this in the
stable branch.

On 4/25/2017 1:59 PM, jean-pierre charras wrote:
> Sorry Wayne!
>
> I am becoming old...
> I made the fix in the master branch only (among other fixes), not in the stable branch.
>
> I'll fix it soon in the stable branch.
>

Changed in kicad:
status: Incomplete → Fix Committed
assignee: nobody → jean-pierre charras (jp-charras)
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.