← Back to team overview

kicad-developers team mailing list archive

Re: Nightly builds.

 

Even if you could launch kicad from gdb and to a backtrace after the segfault would be helpful. I have never had any luck interrupting an running process using gdb on windows.

On 02/23/2018 08:01 PM, Nick Østergaard wrote:
In the installer I also tried to include gdb, such that it could potentiallyt be possible to run kicad on windows in here, but this is not well tested. All I did was successfully make it run and break on a kicad function. I am not sure how much debugging you can actually do with that.

2018-02-23 19:10 GMT+01:00 Wayne Stambaugh <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>>:

    Hi Simon,

    Thanks.  I've never used a RelWithDebInfo build.  What kind of debugging
    info would this give me if I ran it gdb?  Would it be good enough for
    someone to do produce useful debugging information performing a
    backtrace on a segfault?

    Wayne

    On 02/23/2018 12:26 PM, Simon Richter wrote:
     > Hi Wayne,
     >
     > On 23.02.2018 <tel:23.02.2018> 18:00, Wayne Stambaugh wrote:
     >
     >> Are our nightly windows builds built with debugging
    information?  I was
     >> just curious.  The file sizes would indicate that they may be
    but given
     >> the current size of the libraries it's hard to tell.
     >
     > Yes, the CMAKE_BUILD_TYPE is set to RelWithDebInfo for
    nightlies[1], and
     > left at default (Release) for stable[2].
     >
     >    Simon
     >
     > [1]
    https://github.com/KiCad/kicad-winbuilder/blob/master/PKGBUILD
    <https://github.com/KiCad/kicad-winbuilder/blob/master/PKGBUILD>
     > [2]
    https://github.com/KiCad/kicad-winbuilder/blob/master/PKGBUILD-STABLE <https://github.com/KiCad/kicad-winbuilder/blob/master/PKGBUILD-STABLE>
     >
     >
     >
     > _______________________________________________
     > Mailing list: https://launchpad.net/~kicad-developers
    <https://launchpad.net/~kicad-developers>
     > Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
     > Unsubscribe : https://launchpad.net/~kicad-developers
    <https://launchpad.net/~kicad-developers>
     > More help   : https://help.launchpad.net/ListHelp
    <https://help.launchpad.net/ListHelp>
     >

    _______________________________________________
    Mailing list: https://launchpad.net/~kicad-developers
    <https://launchpad.net/~kicad-developers>
    Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
    <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~kicad-developers
    <https://launchpad.net/~kicad-developers>
    More help   : https://help.launchpad.net/ListHelp
    <https://help.launchpad.net/ListHelp>




References