Fatal error Library mismatch on Windows Nightly

Bug #1708984 reported by David Pearce
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

The Windows Nightly x64 build http://downloads.kicad-pcb.org/windows/nightly/kicad-r8385.b8c621a99-x86_64.exe installs but when run immediately crashes with a Fatal Error, reporting wchar_t, C++ ABI1011 vs ABI1010
See https://forum.kicad.info/t/inconsistent-libraries-in-kicad-nigtly-builds/7342 for more information and screenshot of the error message.

Revision history for this message
David Pearce (halzia) wrote :

My PC is Windows 7 64bit. KiCad does not even start, so I cannot copy version info normally

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1708984] Re: Fatal error Library mismatch on Windows Nightly

This is a known issue with recent versions of the msys2 environment due
to the change to gcc 7. The following build options are required to
resolve this issue:

-DCMAKE_CXX_FLAGS="-fabi-version=10" -DCMAKE_C_FLAGS="-fabi-version=10"

This is what I had to do to when building from source. Would one of our
package devs please resolve this issue as soon as possible?

The other option is to use gcc 6 instead of gcc 7.

On 8/7/2017 7:02 AM, David Pearce wrote:
> My PC is Windows 7 64bit. KiCad does not even start, so I cannot copy
> version info normally
>

Revision history for this message
Simon Richter (sjr) wrote :

That is a workaround, but will break again in the other direction when the msys people get around to building wx with gcc 7.

Revision history for this message
Simon Richter (sjr) wrote :

I rebuilt wx with the new compiler, should be better now. Possibly we need to rebuild more libraries, so I'm not closing this bug yet.

Revision history for this message
Simon Richter (sjr) wrote :

wxPython also needs to be rebuilt, so scripting is broken. Will do another round.

Revision history for this message
Mark Roszko (mark-roszko) wrote :

Isn't it worth just switching to the new abi? I had the issue on my install of the nightly but it turns out the installer wasn't overwriting files correctly so it mixed abis.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

wxWidgets has an abi compatibility test that is the problem. I modified
the wxWidgets abi test to accept -fabi-version=11 and it seemed to work
just fine but I did not do any exhaustive testing. I took a look at the
wxWidgets repo on github at the time and the test was still at abi 10.
It may be fixed by now. I don't know if there is any reason why abi 10
wouldn't work but I didn't want to risk it. Setting the
-fabi-version=10 gcc option is known to work. I'm not opposed to using
yet another patched version of wxwidgets but it this means that we will
have to build a patched version of wxWidgets on windows which we
currently do not have to do when using msys2.

On 8/7/2017 6:38 PM, Mark Roszko wrote:
> Isn't it worth just switching to the new abi? I had the issue on my
> install of the nightly but it turns out the installer wasn't overwriting
> files correctly so it mixed abis.
>

Revision history for this message
David Pearce (halzia) wrote :

The latest Nightly http://downloads.kicad-pcb.org/windows/nightly/kicad-r8389.2d9ab80b4-x86_64.exe
seems to work OK. Please note that I do not test the i686 build

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Is there any remaining reason that we should not close out this bug report?

On 8/7/2017 9:54 PM, David Pearce wrote:
> The latest Nightly http://downloads.kicad-pcb.org/windows/nightly/kicad-r8389.2d9ab80b4-x86_64.exe
> seems to work OK. Please note that I do not test the i686 build
>

Revision history for this message
Rob Kam (robkam) wrote :

No the bug can be closed. The install is working fine again.
Thanks for all the work going into KiCad.
      From: Wayne Stambaugh <email address hidden>
 To: <email address hidden>
 Sent: Wednesday, 9 August 2017, 14:01
 Subject: Re: [Bug 1708984] Re: Fatal error Library mismatch on Windows Nightly

Is there any remaining reason that we should not close out this bug
report?

On 8/7/2017 9:54 PM, David Pearce wrote:
> The latest Nightly http://downloads.kicad-pcb.org/windows/nightly/kicad-r8389.2d9ab80b4-x86_64.exe
> seems to work OK. Please note that I do not test the i686 build
>

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1708984

Title:
  Fatal error Library mismatch on Windows Nightly

Status in KiCad:
  New

Bug description:
  The Windows Nightly x64 build http://downloads.kicad-pcb.org/windows/nightly/kicad-r8385.b8c621a99-x86_64.exe installs but when run immediately crashes with a Fatal Error, reporting wchar_t, C++ ABI1011 vs ABI1010
  See https://forum.kicad.info/t/inconsistent-libraries-in-kicad-nigtly-builds/7342 for more information and screenshot of the error message.

To manage notifications about this bug go to:
https://bugs.launchpad.net/kicad/+bug/1708984/+subscriptions

Changed in kicad:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.