← Back to team overview

kicad-developers team mailing list archive

Re: Pcbnew - wxWidgets Debug Alerts on startup

 

Found the problem, it was an unintialized enum in the property system
(PCB_LAYER_T). I have just pushed a fix to master for it.

-Ian

On Tue, Aug 18, 2020 at 8:20 PM Ian McInerney <Ian.S.McInerney@xxxxxxxx>
wrote:

> I saw those when I opened up a windows build yesterday, but I haven't had
> time to dig into it (they appear to be windows only).
>
> -Ian
>
> On Tue, Aug 18, 2020 at 8:02 PM Jeff Young <jeff@xxxxxxxxx> wrote:
>
>> I don’t see them.
>>
>> Can you drop into a debugger and give us the stack trace for each one of
>> them?
>>
>> Thanks,
>> Jeff.
>>
>> On 18 Aug 2020, at 19:56, pjmonty@xxxxxxx wrote:
>>
>> Is it just me or does anyone else get these "wxWidgets Debug Alert"
>> messages when starting up Pcbnew:
>>
>> -------------------------
>> C:/msys64/home/kicad-master/kicad/include/property.h(418): assert
>> "m_choices.GetCount() > 0" failed in PROPERTY_ENUM(): No enum choices
>> defined
>> Do you want to stop the program?
>> You can also choose [Cancel] to suppress further warnings.
>> -------------------------
>>
>> If you click "No" to continue, you get two more of them before Pcbnew
>> finally starts.  Clicking cancel on the first skips the other two.
>>
>> I've been seeing these for probably 3-4 weeks and assumed it would be
>> found and fixed long ago.  However, since the glitch still shows up even
>> in the 96f4e8f6f877a4a13ac7 commit from 8/17/2020, I'd like to know if
>> anyone else is seeing this?
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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