kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #37101
Re: C++ standard lib expertise requested
OK, here's a stab at decoding. Better guesses, welcome
This is std::function, which stores a bound function call. It is a bound
function call to a POINT_EDITOR class function that takes a TOOL_EVENT as a
parameter and returns an int. It is 16 bytes inside the function, so
second instruction. My guess would be removeCorner was called and
m_editPoints is NULL.
It's odd that the user reports trying to move a component when this
triggered.
-S
Am Do., 9. Aug. 2018 um 15:12 Uhr schrieb Jeff Young <jeff@xxxxxxxxx>:
> Can anyone decipher the following stack trace:
>
> 1 _pcbnew.kiface 0x000000012df91800 std::__1::__function::__func<std::__1::__bind<int (POINT_EDITOR::*&)(TOOL_EVENT const&), POINT_EDITOR*, std::__1::placeholders::__ph<1>&>, std::__1::allocator<std::__1::__bind<int (POINT_EDITOR::*&)(TOOL_EVENT const&), POINT_EDITOR*, std::__1::placeholders::__ph<1>&> >, int (TOOL_EVENT const&)>::~__func() + 16
>
>
> We’re getting a null-pointer access there.
>
> https://bugs.launchpad.net/kicad/+bug/1786349
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References