[OSX] PCBnew crashes on startup right after install from nightly build

Bug #1466027 reported by StrangeMan
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Unassigned

Bug Description

Just downloaded

kicad-r5763.20150617-034528.dmg
and
kicad-extras.20150617-034628.dmg

and installed both according to their instructions. When I startup kicad the PCBnew button is greyed out and when I click it, the following error message pops up:

11:46:33: dlopen(/Applications/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface, 10): Library not loaded: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
  Referenced from: /Applications/Kicad/kicad.app/Contents/MacOS/../Frameworks/libcairo.2.dylib
  Reason: image not found
11:46:33: IO_ERROR: Fatal Installation Bug. File:
'/Applications/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface'
could not be loaded
Perhaps a wxWidgets shared (.dll or .so) file is missing.
From command line: argv[0]:
'/Applications/Kicad/kicad.app/Contents/MacOS/kicad'

from /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/common/kiway.cpp : KiFACE() : line 225

I'm using OSX 10.7. I never used or installed kicad before.

Tags: osx
Revision history for this message
Adam Wolf (adamwolf) wrote :

I'll take a look.

tags: added: osx
Revision history for this message
Adam Wolf (adamwolf) wrote :

Can you try with any daily build from today (july 2 2015) or newer?

Revision history for this message
Garth Corral (gcorral) wrote :

This is also a deployment target issue, I suspect.

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

Would someone please confirm if this bug is still valid with more recent nightly builds?

Revision history for this message
Garth Corral (gcorral) wrote :

Yes, this is still valid but we need to decide whether 10.7 is a supported configuration or not. We started a discussion on the list some time back about dropping support for 10.7 but we never finalized the discussion.

Revision history for this message
Otmar (otlist09) wrote :

Assuming that this is a duplicate to this bug:
https://bugs.launchpad.net/kicad/+bug/1463614
Then it's happening in 10.8 as well.

Revision history for this message
StrangeMan (jonop) wrote :

I had issues with other software not supported on 10.7 so I migrated to 10.10
I still have the harddrive with 10.7 installed on it. I could test the issue again, but I need some more time due to issues IRL.

I can understand if 10.7 was decided not to be supported anymore. Keep resources focused.

Revision history for this message
Garth Corral (gcorral) wrote :

While this is not an exact duplicate of #1463614, the root cause is the same. If that issue is being seen on 10.8, then this needs to be addressed regardless of whether 10.7 is supported or not.

The fix should be to rebuild Cairo for the nightly builds against either the 10.7 or 10.8 SDK, depending on which is deemed the minimum supported OS version for kicad.

Revision history for this message
Adam Wolf (adamwolf) wrote : Re: [Bug 1466027] Re: [OSX] PCBnew crashes on startup right after install from nightly build

I have a feeling the nightly builds just use the cairo from brew. I will
take a look.

On Tue, Jul 14, 2015 at 3:20 PM, Garth Corral <email address hidden>
wrote:

> While this is not an exact duplicate of #1463614, the root cause is the
> same. If that issue is being seen on 10.8, then this needs to be
> addressed regardless of whether 10.7 is supported or not.
>
> The fix should be to rebuild Cairo for the nightly builds against either
> the 10.7 or 10.8 SDK, depending on which is deemed the minimum supported
> OS version for kicad.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1466027
>
> Title:
> [OSX] PCBnew crashes on startup right after install from nightly build
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1466027/+subscriptions
>

Revision history for this message
Nick Østergaard (nickoe) wrote :

@Adam Wolf, any update on this?

Revision history for this message
Adam Wolf (adamwolf) wrote :

So this looks like it's due to the Cairo on the build server being not
compatible with OS X 10.7, on the surface.

However, the Cairo packages haven't changed since the first OS X build, and
they claim they're 10.7 compatible.

Hmm. Anyone else have thoughts on this?

On Mon, Aug 10, 2015 at 1:10 PM, Nick Østergaard <<email address hidden>
> wrote:

> ... assuming that it crashes again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1466027
>
> Title:
> [OSX] PCBnew crashes on startup right after install from nightly build
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1466027/+subscriptions
>

Revision history for this message
Cameron Adamez (soycamo) wrote :

I'm running the July 28th build on my 10.7 partition and everything is
fine for me so far.
(I ended up running Fedora on my laptop instead since I know most
people are targeting builds for 10.8 / 10.9 nowadays.)

On Mon, Aug 10, 2015 at 11:24 AM, Adam Wolf
<email address hidden> wrote:
> So this looks like it's due to the Cairo on the build server being not
> compatible with OS X 10.7, on the surface.
>
> However, the Cairo packages haven't changed since the first OS X
> build, and
> they claim they're 10.7 compatible.
>
> Hmm. Anyone else have thoughts on this?
>
> On Mon, Aug 10, 2015 at 1:10 PM, Nick Østergaard
> <<email address hidden>
>> wrote:
>
>> ... assuming that it crashes again.
>>
>> --
>> You received this bug notification because you are subscribed to
>> the bug
>> report.
>> https://bugs.launchpad.net/bugs/1466027
>>
>> Title:
>> [OSX] PCBnew crashes on startup right after install from nightly
>> build
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/kicad/+bug/1466027/+subscriptions
>>
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1447903).
> https://bugs.launchpad.net/bugs/1466027
>
> Title:
> [OSX] PCBnew crashes on startup right after install from nightly
> build
>
> Status in KiCad:
> New
>
> Bug description:
> Just downloaded
>
> kicad-r5763.20150617-034528.dmg
> and
> kicad-extras.20150617-034628.dmg
>
> and installed both according to their instructions. When I startup
> kicad the PCBnew button is greyed out and when I click it, the
> following error message pops up:
>
> 11:46:33:
> dlopen(/Applications/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface,
> 10): Library not loaded:
> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
> Referenced from:
> /Applications/Kicad/kicad.app/Contents/MacOS/../Frameworks/libcairo.2.dylib
> Reason: image not found
> 11:46:33: IO_ERROR: Fatal Installation Bug. File:
> '/Applications/Kicad/kicad.app/Contents/PlugIns/_pcbnew.kiface'
> could not be loaded
> Perhaps a wxWidgets shared (.dll or .so) file is missing.
> From command line: argv[0]:
> '/Applications/Kicad/kicad.app/Contents/MacOS/kicad'
>
> from
>
> /Users/jenkins/remoteroot/workspace/KiCadBuildMac/kicad/common/kiway.cpp
> : KiFACE() : line 225
>
> I'm using OSX 10.7. I never used or installed kicad before.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1466027/+subscriptions

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

Can we close this bug report? It does seem that it was addressed by Adam's nightly builds.

Changed in kicad:
importance: Undecided → High
Revision history for this message
Adam Wolf (adamwolf) wrote :

I think it's ok to close.

On Fri, Aug 21, 2015 at 10:12 AM, Wayne Stambaugh <
<email address hidden>> wrote:

> Can we close this bug report? It does seem that it was addressed by
> Adam's nightly builds.
>
> ** Changed in: kicad
> Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1466027
>
> Title:
> [OSX] PCBnew crashes on startup right after install from nightly build
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1466027/+subscriptions
>

Revision history for this message
Nick Østergaard (nickoe) wrote :

Since this seems to be a packaging issuse that has been resolved, I mark this a such.

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.