← Back to team overview

kicad-developers team mailing list archive

Re: Segfault when pcbnew starts with an invalid file

 

Chris has pointed out that it was already discussed [1] and the change
was not entirely clear. Apparently it had not been wrapped before
revision 5834, so maybe OnPgmExit() should be still called for both
Python and non-Python versions of pcbnew?

Regards,
Orson

1.
https://www.mail-archive.com/kicad-developers@xxxxxxxxxxxxxxxxxxx/msg14014.html

On 08/05/2015 11:22 AM, Maciej Sumiński wrote:
> Pcbnew without scripting support crashes when run with an invalid file
> given as a parameter (stack overflow in ~wxSingleInstanceChecker()).
> 
> There is a fix for that, but wrapped with #ifdef
> KICAD_SCRIPTING_WXPYTHON .. #endif. I removed the mentioned directives
> and it seems fine here, but I am not confident enough to commit it
> immediately. Any thoughts?
> 
> Regards,
> Orson
> 
> 
> 
> _______________________________________________
> 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
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References