kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #36931
Re: Strange crashes
-
To:
Seth Hillbrand <seth@xxxxxxxxxxxxx>
-
From:
"Steven A. Falco" <stevenfalco@xxxxxxxxx>
-
Date:
Mon, 30 Jul 2018 22:08:33 -0400
-
Autocrypt:
addr=stevenfalco@xxxxxxxxx; keydata= xsBNBFsz14EBCACybmOt8ADXje8UJJ4hPBTZo3Sm3XS5hhMUDb1/6rQSbT7dpFf3CGp4qwIB DMfS4sV1JMyr3Sl67HzvTMqqHCOTj/QSWiRtFEiasYy82ujfN0/82esM5uKK7Ev2QTs+PZ+Z oqZCwuD7FIRgKtKogJrYmM0aNkKYf1cw4WsND8eGcN1EmmVAQ0PIptpXhiSkJbQLFm06lyTp OBA9MctcPXCRE3DRgByx0YJAjeSckHnU8grJY6niIJgYv5pfrOYSEI+aHgEyePgPzuVz5Y1G 1lb35JG6kdH7GJ406Gggrwe/ia15+HDUMMIy+7EHUSeVWhuXjyW8h4IbbdJ9/YJJa5R9ABEB AAHNJ1N0ZXZlbiBBLiBGYWxjbyA8c3RldmVuZmFsY29AZ21haWwuY29tPsLAlAQTAQgAPhYh BFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJbM9eBAhsDBQkDwmcABQsJCAcCBhUKCQgLAgQWAgMB Ah4BAheAAAoJELdBZWVuLJcia4EIAKziir4OlOCoOnrcLkL5uHGPD1DmbmvBPGiAmgMRvtFC TZ+AhAH10B/Bl7zrti3sNrCs4Q74cU9ApY13ZWeRHfFGnoQnVNQHMf7bTF+iBLqMJvCLOLva mT0mE38fwhwiHD/f1E8AG+vQWgodOwX6Y1qFc4XkozkOJGSW/ZH8mOS28ctdSjVliV4dqTZ3 5Tfb34HDKBtmh/pPAfEfEldN9p3iNo8nkKfAFaYS4HcGj7M2EZ3yPPs8ALRUKs3D4YvDMM8G Uc63nBYmOAnXnXkqb39VnqpELJQjVoL9vDOmxY/yxoZQvtwBhTsXtWGH6czoNxj+QHp+KjUW PmMweX10dyjOwE0EWzPXgQEIAN5WNTBUyL/eZ6wr4le5J6zoUZTm2pwxaqsyOje+iyoa/Cpa imhAaFnYe3N3z3gvlIPOLUAmyzUmy2ph9yMsi+GXFP3ZxaPk5uP4fmvivF6OuOlrNSpbEdn1 2AU0msRZccTbWIU6wunkvi7cUYJLe+ZZEn43ALaIMwFegRZqe57Re8pc8k0wlYOsVrZ8UTTp NEXGJ+c/aC1K5xhPUt6nCZNfvkAOdQ74mVrg4ogXuGl1vbZS0J8mv+OOe9RYUqFSUPo3MIGT M68SOfE6NmsVXI/Glb7m6kMKQt+Tm22hKVxyptIgNqA4qrYBc/PMCvGObnCKEy4GSLii1bcz D9a+2ZcAEQEAAcLAfAQYAQgAJhYhBFyBX3Re/Ohwg2zkVLdBZWVuLJciBQJbM9eBAhsMBQkD wmcAAAoJELdBZWVuLJci65cIAKbId2gAW8DVDkra1aMfhqp9NvdiMVCMSvDbSY8iHKDURMHp Tj1Dzi5W8yroqM3Gi2P4ixDHxMuEiwRLqP/E9XubXCBEJyZz/9oTiG9XumY2x2lj4U9/YZsQ 3Cn9vS7r4197ryw/xWBDZeqx/JpUwLhRSK6t8PaXD+nlrwHfs0CihfiYdkCbgJljibZAGziF 31gG4iTqNVpJupOAjL8pFt9KuuvcJEDjU9xPxvfFn3MwbBWSEBH1xbVc8Mwt3Tq1tD7+47GR HLb/21KLBIxfXB+wDvl3Dlgg9UhQCuxVfjTFPUBi9Lqv3NZg8+o0gEzHepAmFc/QvdH8quum hkppYOY=
-
Cc:
KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CALHbTmb1SYdqgZ_o=7d-uq29j+D9JkS06wDtqL9O-THLJ_txHA@mail.gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Thanks for looking at it. Regarding your first question, I've placed a copy of my build log in the same dropbox directory, named "build.log".
Regarding your second question, the gdb crash dump from the Copr nightly build looks about the same as the one from my local build. Both builds fail with the same error. I've placed both gdb logs in the dropbox directory, named "err-mine.log" and "err-nightly.log".
The cmake command used for my build is:
cmake \
-DKICAD_SCRIPTING=OFF \
-DKICAD_SCRIPTING_MODULES=OFF \
-DKICAD_SCRIPTING_WXPYTHON=OFF \
-DKICAD_SPICE=OFF \
-DKICAD_VERSION_EXTRA=%{release} \
-DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/%{wx_config} \
.
The type of build should default to "Release", according to CMakeLists.txt. The Fedora build tools add some options to the above command. From the build log, the command expands to:
/usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF -DKICAD_SPICE=OFF -DKICAD_VERSION_EXTRA=2.fc28 -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config .
wx-config reports its version as:
saf$ /usr/bin/wx-config --version-full
3.0.4.0
Please let me know any other info you need to help track this down.
Steve
On 07/30/2018 05:08 PM, Seth Hillbrand wrote:
> Hi Steve-
>
> The assert is not triggering for me using Debian. However, I note that this is a wxWidgets assertion, which should be disabled for release builds. Since you did the packaging for Fedora, do you have a build log? Alternatively, do you see this assertion when running a local build?
>
> -S
>
> Am Mo., 30. Juli 2018 um 12:37 Uhr schrieb Steven A. Falco <stevenfalco@xxxxxxxxx <mailto:stevenfalco@xxxxxxxxx>>:
>
> I am using Fedora 28, and have just noticed a strange crash. This happens with 5.0.0 and also with the latest nightly (r13432-e750382e).
>
> I've got to assume I'm doing something wrong, but I am baffled, so I want to see what folks think.
>
> I've attached a backtrace. The way I cause this crash is to highlight a part in the design here:
>
> https://www.dropbox.com/sh/46lxxedoalq0sdm/AABTNAmVP7wKjbv3_4hBcdcoa?dl=0
>
> I've attached several screenshots for reference.
>
> In "highlighted.png" you can see the part I've selected - an Atmel micro. I type "E" to get the properties, and I wind up with a blank dialog as shown in "blank_alert.png". It is at that point that I did the backtrace.
>
> This is with the fallback version of the modern toolset. If I try to switch to the accelerated toolset, I get an error that I need OpenGL 2.1 or higher. However, I think I have OpenGL 3.3.0:
>
> saf# glxinfo | grep "OpenGL version"
> OpenGL version string: 3.3.0 NVIDIA 340.107
>
> Here is the version info from my build of 5.0.0:
>
> Application: kicad
> Version: 5.0.0-2.fc28, release build
> Libraries:
> wxWidgets 3.0.4
> libcurl/7.59.0 OpenSSL/1.1.0h zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) libssh/0.7.5/openssl/zlib nghttp2/1.32.0
> Platform: Linux 4.17.9-200.fc28.x86_64 x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
> Boost: 1.66.0
> OpenCASCADE Community Edition: 6.9.1
> Curl: 7.59.0
> Compiler: GCC 8.1.1 with C++ ABI 1013
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=OFF
> KICAD_SCRIPTING_MODULES=OFF
> KICAD_SCRIPTING_WXPYTHON=OFF
> KICAD_SCRIPTING_ACTION_MENU=OFF
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_USE_OCC=OFF
> KICAD_SPICE=OFF
>
> Please let me know what you think. I'm mystified.
>
> Steve
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/%7Ekicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/%7Ekicad-developers>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References