Legacy canvas should be disabled in GTK3 based builds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
John Beard |
Bug Description
Whenever I start gerbview, it asserts endlessly (or at least very many times!):
./include/
This is with wx-gtk3.
Stack (I can't see exactly what is going on as I don't have the debug symbols to hand):
#0 0x00007f1716b5a25f in raise () at /usr/lib/
#1 0x00007f171841acfe in wxGUIAppTraits:
#2 0x00007f1717f15282 in () at /usr/lib/
#3 0x00007f1717f154a9 in wxAppConsoleBas
#4 0x00007f17183e9021 in wxApp::
#5 0x00007f1717f1577b in () at /usr/lib/
#6 0x00007f1717f1216b in wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) ()
at /usr/lib/
#7 0x00007f17184d1e33 in wxDCImpl:
#8 0x00007f17184d6fa9 in wxGCDCImpl::Clear() () at /usr/lib/
#9 0x00007f170dd55db7 in wxDC::Clear() (this=0x7ffd519
#10 0x00007f170dd54781 in GBR_LAYOUT:
0x564a870112e0, aPanel=
#11 0x00007f170dd708d9 in GERBVIEW_
0x564a86f35aa0, DC=0x7ffd519d2220, EraseBg=true) at /home/john/
#12 0x00007f170dfaea3a in EDA_DRAW_
at /home/john/
#13 0x00007f170dfae7c4 in EDA_DRAW_
at /home/john/
#14 0x00007f171808089e in wxEvtHandler:
#15 0x00007f17180809a4 in wxEventHashTabl
#16 0x00007f1718080cde in wxEvtHandler:
#17 0x00007f1718080d64 in wxEvtHandler:
#18 0x00007f1718080e02 in wxEvtHandler:
#19 0x00007f171862467d in wxScrollHelperE
#20 0x00007f1718080ba7 in wxEvtHandler:
#21 0x00007f171842aa6b in wxWindow:
#22 0x00007f171842af6c in () at /usr/lib/
#23 0x00007f171660973c in () at /usr/lib/
#24 0x00007f17165b2c22 in () at /usr/lib/
#25 0x00007f17161083d5 in g_closure_invoke () at /usr/lib/
#26 0x00007f17160f5195 in () at /usr/lib/
#27 0x00007f17160f85ed in g_signal_
#28 0x00007f17160f9a80 in g_signal_emit () at /usr/lib/
#29 0x00007f17165bfca3 in () at /usr/lib/
#30 0x00007f171639c55f in gtk_container_
#31 0x00007f171639c62e in () at /usr/lib/
#32 0x00007f17164f200e in () at /usr/lib/
#33 0x00007f17163a18dd in () at /usr/lib/
#34 0x00007f17163a6717 in () at /usr/lib/
#35 0x00007f17164f02d2 in () at /usr/lib/
#36 0x00007f17165bfb3a in () at /usr/lib/
#37 0x00007f171639c55f in gtk_container_
#38 0x00007f171640f6b2 in () at /usr/lib/
#39 0x00007f171660973c in () at /usr/lib/
#40 0x00007f17165b2c22 in () at /usr/lib/
#41 0x00007f17161083d5 in g_closure_invoke () at /usr/lib/
#42 0x00007f17160f499f in () at /usr/lib/
#43 0x00007f17160f85ed in g_signal_
#44 0x00007f17160f9a80 in g_signal_emit () at /usr/lib/
#45 0x00007f17165bfca3 in () at /usr/lib/
#46 0x00007f171639c55f in gtk_container_
#47 0x00007f171639c62e in () at /usr/lib/
#48 0x00007f171634c5e5 in () at /usr/lib/
#49 0x00007f17163a18dd in () at /usr/lib/
#50 0x00007f17163a6717 in () at /usr/lib/
#51 0x00007f171634eed2 in () at /usr/lib/
#52 0x00007f17165bfb3a in () at /usr/lib/
----
Application: kicad
Version: (6.0.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.62.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.34.0
Platform: Linux 4.18.16-
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.68.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.62.0
Compiler: GCC 8.2.1 with C++ ABI 1013
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
description: | updated |
Changed in kicad: | |
milestone: | none → 5.1.0 |
summary: |
- Out-of-range asserts on Gerbview startup + Legacy canvas should be disabled in GTK3 based builds |
Changed in kicad: | |
assignee: | nobody → John Beard (john-j-beard) |
status: | New → In Progress |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
@John,
I am guessing you are using the legacy canvas on GTK3.
If you are trying to use the legacy canvas on GTK3, it just does not work.
If you have this issue on GTK2, please send the gerber file that creates this issue.