kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43554
Re: [5.1.5] i965: Failed to submit batchbuffer
-
To:
eeli.kaikkonen@xxxxxxxxx
-
From:
BERTRAND Joël <joel.bertrand@xxxxxxxxxxx>
-
Date:
Wed, 4 Mar 2020 09:15:07 +0100
-
Autocrypt:
addr=joel.bertrand@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= mQINBFphqV8BEAC+ye6YQBdlEn9p/mbZhiQLkZQjIbGL84M0XOd66AgWqJ3T2TiwEyiExQyM Of0VswmB1q6SaIyh0x4bzaRyKwJLWDJy+AMGLGT2cpmsrDgllUxiBv3xAoLpwR8yDuLs5+bT vPpu81Pm/nzO2NDl85+3WAQbW+bUDAUdBhkg7X07bjJePypRxoRh4LF/syalOjzPEFARFNBY VrXFCTS/F7ZwmUHLv2xWJpEyKHfsC4BSo4ZPjrKmPJBxBPxuR+KiSYG/TkjU6CzoFvdwRY33 GNrK+dUmt9/VnPC/l1rGWS3durgah4OEkxciesKiTvQBUzVfMY0dvzBQKJeNNMFLstnjq3NP qvo3g5DnhFYFSAjI7wzqLkcYO8qg01wrWYyY/NLfAY6CvK0VjlenlKu84ePQDu7zh9/DUzBs 75ZAP2vZv4o00B2A3ksbkXSIs9eSDDx19OS1EUkSqw1VtFRfupoMkK7I7zrGR+DBENl5oK09 SOYJw594XVAoPpZ5zVUlEBDpatBNICTTT17EHrVpEB222TVfChvoE0cwYGkS40nVRIhQ1Yo3 A8qeKb2EeeCtslgiNcb1ajeZOSGUSHnczWHTaX5jMB/evNxZpLJH1WX8PqZ/+7wVRYuZGZ/b r8V3wXjZVNzPSTONwq3w/VjizPcQqdwicoNtxvuB6hM1J1tLGQARAQABtCpCRVJUUkFORCBK b8OrbCA8am9lbC5iZXJ0cmFuZEBzeXN0ZWxsYS5mcj6JAlQEEwEKAD4WIQSrhgKgAkzAsSVl Vhc4B+jSUpDz5wUCWmGpXwIbIwUJCWYBgAULCQgHAgYVCgkICwIEFgIDA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K7UCzxkBIFS5jPGzL8dSKDu5jIx8cboy9QUeH Tr6FXnLg
-
Cc:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAP0gFe8nEgUJKb8oSqq1A+DgHkOvxrg12Pk6eKZBoFTNneYVBQ@mail.gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.1
Eeli Kaikkonen a écrit :
> Have you tried an internet search?
>
> https://bugs.freedesktop.org/show_bug.cgi?id=107147
Hello,
I have done some tests as Linux kernel issue you have shown is not
mine. In a first time, I have no error in dmesg and GPU runs as
expected. glxinfo, glxgears and all other GL applications don't crash.
My running kernel is :
hilbert:[~/git/kicad-build-debug/build/bin] > uname -a
Linux hilbert 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64
GNU/Linux
I have rebuilt kicad with debug options. Kicad aborts with :
Missing GetBoundingBox()
Missing GetBoundingBox()
Missing GetBoundingBox()
Missing GetBoundingBox()
Missing GetBoundingBox()
Missing GetBoundingBox()
i965: Failed to submit batchbuffer: Aucun espace disponible sur le
périphérique
Erreur de segmentation (core dumped)
Core gives a backtrace but I don't know wx or GL to fix it :
(gdb) bt
#0 0x000056395e558160 in ()
#1 0x00007f975fd61f9c in wxMBConv::FromWChar(char*, unsigned long,
wchar_t const*, unsigned long) const () at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#2 0x00007f975fd6dfc8 in wxString::AsChar(wxMBConv const&) const ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3 0x00007f975fd1e8e3 in () at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4 0x00007f975fd200c6 in () at
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5 0x00007f975fd2351b in wxFileName::DirExists() const ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6 0x000056395e2a2855 in
JSON_SETTINGS::SaveToFile(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)
(this=0x56395e625990,
aDirectory="\340\256T^9V\000\000p\207\355^9V\000\000config/kicad/5.90")
at /home/bertrand/git/kicad/common/settings/json_settings.cpp:211
#7 0x000056395e2c10ea in SETTINGS_MANAGER::FlushAndRelease(JSON_SETTINGS*)
(this=0x56395e649780, aSettings=0x56395e625990)
at /home/bertrand/git/kicad/common/settings/settings_manager.cpp:147
#8 0x000056395e1e4811 in BIN_MOD::End() (this=0x56395e4e1bb0 <program+304>)
at /home/bertrand/git/kicad/common/bin_mod.cpp:74
#9 0x000056395e19d0a0 in PGM_KICAD::Destroy() (this=0x56395e4e1a80
<program>)
at /home/bertrand/git/kicad/kicad/kicad.cpp:211
#10 0x000056395e19e1a7 in PGM_KICAD::~PGM_KICAD()
(this=0x56395e4e1a80 <program>, __in_chrg=<optimized out>)
at /home/bertrand/git/kicad/kicad/pgm_kicad.h:48
#11 0x00007f975f6bf600 in __run_exit_handlers
(status=1, listp=0x7f975f83c718 <__exit_funcs>,
run_list_atexit=run_list_atexit@entry=true,
run_dtors=run_dtors@entry=true) at exit.c:108
#12 0x00007f975f6bf73a in __GI_exit (status=<optimized out>) at exit.c:139
#13 0x00007f9740166234 in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#14 0x00007f974014973b in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#15 0x00007f97403e4763 in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#16 0x00007f97403e4a68 in () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#17 0x00007f972d84e052 in KIGFX::GPU_CACHED_MANAGER::EndDrawing()
(this=0x56396a441990)
at /home/bertrand/git/kicad/common/gal/opengl/gpu_manager.cpp:183
#18 0x00007f972d84caa1 in KIGFX::VERTEX_MANAGER::EndDrawing() const
(this=0x56396a441330)
at /home/bertrand/git/kicad/common/gal/opengl/vertex_manager.cpp:250
#19 0x00007f972d83a3ca in KIGFX::OPENGL_GAL::endDrawing()
(this=0x56395eaa9600)
at /home/bertrand/git/kicad/common/gal/opengl/opengl_gal.cpp:534
#20 0x00007f972d697658 in KIGFX::GAL_DRAWING_CONTEXT::~GAL_DRAWING_CONTEXT()
(this=0x563969afa4f0, __in_chrg=<optimized out>)
at
/home/bertrand/git/kicad/include/gal/graphics_abstraction_layer.h:1224
#21 0x00007f972d822311 in EDA_DRAW_PANEL_GAL::onPaint(wxPaintEvent&)
(this=0x563961051b20)
at /home/bertrand/git/kicad/common/draw_panel_gal.cpp:177
#22 0x00007f975fe29231 in
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00007f975fe295aa in wxEvtHandler::SearchDynamicEventTable(wxEvent&) ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#24 0x00007f975fe29640 in wxEvtHandler::TryHereOnly(wxEvent&) ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#25 0x00007f975fe296f3 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#26 0x00007f975fe29791 in wxEvtHandler::ProcessEvent(wxEvent&) ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#27 0x00007f975fe2a13e in wxEvtHandler::ProcessPendingEvents() ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#28 0x00007f975fcaff8f in wxAppConsoleBase::ProcessPendingEvents() ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#29 0x00007f97601b5379 in wxApp::DoIdle() ()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#30 0x00007f97601b5473 in ()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#31 0x00007f975ebc1dfe in g_main_context_dispatch ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f975ebc21b0 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f975ebc2483 in g_main_loop_run ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f975f1c2705 in gtk_main ()
at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007f97601d2265 in wxGUIEventLoop::DoRun() ()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#36 0x00007f975fce899d in wxEventLoopBase::Run() ()
at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#37 0x00007f9760239d1e in wxDialog::ShowModal() ()
at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#38 0x00007f972d0792ab in
PCB_EDITOR_CONTROL::UpdatePCBFromSchematic(TOOL_EVENT const&)
(this=0x563961407700, aEvent=...)
at /home/bertrand/git/kicad/pcbnew/tools/pcb_editor_control.cpp:400
#39 0x00007f972d0820de in std::__invoke_impl<int, int
(PCB_EDITOR_CONTROL::*&)(TOOL_EVENT const&), PCB_EDITOR_CONTROL*&,
TOOL_EVENT const&>(std::__invoke_memfun_deref, int
(PCB_EDITOR_CONTROL::*&)(TOOL_EVENT const&), PCB_EDITOR_CONTROL*&,
TOOL_EVENT const&) (__f=
@0x5639699ec110: (int (PCB_EDITOR_CONTROL::*)(PCB_EDITOR_CONTROL *
const, const TOOL_EVENT &)) 0x7f972d07922c
<PCB_EDITOR_CONTROL::UpdatePCBFromSchematic(TOOL_EVENT const&)>,
__t=@0x5639699ec120: 0x563961407700)
at /usr/include/c++/9/bits/invoke.h:73
#40 0x00007f972d081da7 in std::__invoke<int
(PCB_EDITOR_CONTROL::*&)(TOOL_EVENT const&), PCB_EDITOR_CONTROL*&,
TOOL_EVENT const&>(int (PCB_EDITOR_CONTROL::*&)(TOOL_EVENT const&),
PCB_EDITOR_CONTROL*&, TOOL_EVENT const&) (__fn=
@0x5639699ec110: (int (PCB_EDITOR_CONTROL::*)(PCB_EDITOR_CONTROL *
const, const TOOL_EVENT &)) 0x7f972d07922c
<PCB_EDITOR_CONTROL::UpdatePCBFromSchematic(TOOL_EVENT const&)>) at
/usr/include/c++/9/bits/invoke.h:95
#41 0x00007f972d0817fb in std::_Bind<int
(PCB_EDITOR_CONTROL::*(PCB_EDITOR_CONTROL*,
std::_Placeholder<1>))(TOOL_EVENT const&)>::__call<int, TOOL_EVENT
const&, 0ul, 1ul>(std::tuple<TOOL_EVENT const&>&&,
std::_Index_tuple<0ul, 1ul>)
(this=0x5639699ec110, __args=...) at /usr/include/c++/9/functional:400
#42 0x00007f972d081319 in std::_Bind<int
(PCB_EDITOR_CONTROL::*(PCB_EDITOR_CONTROL*,
std::_Placeholder<1>))(TOOL_EVENT const&)>::operator()<TOOL_EVENT
const&, int>(TOOL_EVENT const&) (this=0x5639699ec110)
at /usr/include/c++/9/functional:484
#43 0x00007f972d080fc1 in std::_Function_handler<int (TOOL_EVENT
const&), std::_Bind<int (PCB_EDITOR_CONTROL::*(PCB_EDITOR_CONTROL*,
std::_Placeholder<1>))(TOOL_EVENT const&)> >::_M_invoke(std::_Any_data
const&, TOOL_EVENT const&)
(__functor=..., __args#0=...) at
/usr/include/c++/9/bits/std_function.h:285
#44 0x00007f972d7ac543 in std::function<int (TOOL_EVENT
const&)>::operator()(TOOL_EVENT const&) const (this=0x56395e9bdd50,
__args#0=...)
at /usr/include/c++/9/bits/std_function.h:688
#45 0x00007f972d7a9962 in COROUTINE<int, TOOL_EVENT
const&>::callerStub(long)
(aData=140728976532208)
at /home/bertrand/git/kicad/include/tool/coroutine.h:345
#46 0x000056395e2ca141 in make_fcontext ()
#47 0x000606ff004c4cff in ()
#48 0x000000db000000ff in ()
#49 0x00000000000000aa in ()
#50 0x0000000000006cd1 in ()
#51 0x00005639614329a0 in ()
#52 0x0000563973436520 in ()
#53 0x0000000000000000 in ()
(gdb)
Follow ups
References