← Back to team overview

kicad-developers team mailing list archive

Re: GerbView: ASSERT: wxRound(): argument out of supported range

 

On 2018-02-27 23:59, Nick Østergaard wrote:
> Also, you need to add version info.

latest-git as of today / last hour: commit eb94d2f
(with my patch: GerbView: Minor cleanup of Menus + Toolbar for consistency.)
on Arch Linux

Application: kicad
Version: (5.0.0-rc2-dev-30-geb94d2fcd-dirty), debug build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0
Platform: Linux 4.15.5-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.66.0
    Curl: 7.58.0
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_SPICE=ON


Regards,

Clemens

> 
> 2018-02-27 23:52 GMT+01:00 Jon Evans <jon@xxxxxxxxxxxxx <mailto:jon@xxxxxxxxxxxxx>>:
> 
>     It's certainly fine, but if you have time to report them on Launchpad too it makes sure we don't let them slip through the cracks!
> 
>     Thanks
> 
>     -Jon
> 
>     On Tue, Feb 27, 2018 at 5:51 PM, Clemens Koller <cko@xxxxxxxxx <mailto:cko@xxxxxxxxx>> wrote:
> 
>         Hi!
> 
>         I hope you don't mind feeding you with more bug reports... ;-)
> 
>         In GerbView I open two Gerber files from the gerber_test_files:
>         apertures_rotated_and_arcs_in_tracks.gbr and
>         test_polygons_with_arcs.gbr
> 
>         When I choose Miscellaneous -> List DCodes, I run into the following assertion:
> 
>         ASSERT INFO:
>         ./include/wx/math.h(151): assert "x > INT_MIN - 0.5 && x < INT_MAX + 0.5" failed in wxRound(): argument out of supported range
> 
>         BACKTRACE:
>         [1] wxDCImpl::DeviceToLogicalY(int) const
>         [2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
>         [3] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
>         [4] wxEvtHandler::TryHereOnly(wxEvent&)
>         [5] wxEvtHandler::DoTryChain(wxEvent&)
>         [6] wxEvtHandler::ProcessEvent(wxEvent&)
>         [7] wxWindowBase::TryAfter(wxEvent&)
>         [8] wxEvtHandler::SafelyProcessEvent(wxEvent&)
>         [9] wxMenuBase::SendEvent(int, int)
>         [10] g_closure_invoke
>         [11] g_signal_emit_valist
>         [12] g_signal_emit
>         [13] gtk_widget_activate
>         [14] gtk_menu_shell_activate_item
>         [15] g_closure_invoke
>         [16] g_signal_emit_valist
>         [17] g_signal_emit
>         [18] gtk_propagate_event
>         [19] gtk_main_do_event
>         [20] g_main_context_dispatch
>         [21] g_main_loop_run
>         [22] gtk_main
>         [23] wxGUIEventLoop::DoRun()
>         [24] wxEventLoopBase::Run()
>         [25] wxAppConsoleBase::MainLoop()
>         [26] wxEntry(int&, wchar_t**)
>         [27] __libc_start_main
>         [28] _start
> 
>         Regards,
> 
>         Clemens
> 
>         _______________________________________________
>         Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>         Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>         Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>         More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> 
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> 


References