Opened 3 weeks ago

Last modified 2 weeks ago

#69869 assigned defect

kicad @7.0.11: crashes when run

Reported by: Gamespeople Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: catalina Cc:
Port: kicad

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Catalina 10.15.7

Installed fine:

--->  Verifying checksums for kicad
--->  Extracting kicad
--->  Applying patches to kicad
--->  Configuring kicad
--->  Building kicad
--->  Staging kicad into destroot
--->  Installing kicad @7.0.11_0
--->  Activating kicad @7.0.11_0
--->  Cleaning kicad
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

however when trying to launch KiCad 7.0.11 it crashes when I try to do anything past the opening screen.

Is this a Ports problem or a KiCad issue.

I've attached the Apple error report.
Thanks!

Attachments (2)

KiCad7-0-11-failure-to-launch.rtf.zip (23.0 KB) - added by Gamespeople 3 weeks ago.
Apple report on crash
KiCad-7_Macport.png (98.8 KB) - added by Gamespeople 3 weeks ago.
Normal open for new file - can't open any function without crashing…

Download all attachments as: .zip

Change History (4)

Changed 3 weeks ago by Gamespeople

Apple report on crash

Changed 3 weeks ago by Gamespeople

Attachment: KiCad-7_Macport.png added

Normal open for new file - can't open any function without crashing...

comment:1 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: catalina added; Kicad crash removed
Owner: set to ra1nb0w
Port: kicad added; Kicad removed
Status: newassigned
Summary: KiCad 7.0.11 crashes when runkicad @7.0.11: crashes when run
Version: 2.9.3

Hmm. The crash log says:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.kicad.kicad               	0x0000000101fe548b KIWAY::Player(FRAME_T, bool, wxTopLevelWindow*) + 219
1   org.kicad.kicad               	0x0000000101e8b5cc KICAD_MANAGER_CONTROL::ShowPlayer(TOOL_EVENT const&) + 428
2   org.kicad.kicad               	0x000000010207d3e1 COROUTINE<int, TOOL_EVENT const&>::callerStub(long) + 49

I'm not sure why. I clicked around in the interface a bit and could not make it crash on macOS 12.

The mention of wx in the backtrace reminds me that we already know that we are not conforming to kicad's requirements by using it with a standard copy of wxWidgets. kicad wants us to use their fork of wxWidgets instead. I had kinda expected to need to switch to that for the update to kicad 8 anyway. It seems like a lot of work to need to build it separately so I was going to investigate if there is a preferred way to build kicad and their fork of wxWidgets and any other custom dependencies all at once in the kicad port.

comment:2 Changed 2 weeks ago by Gamespeople

Well, the point of using macports was to enable kicad 7.0.11 to be able to run in macOS 10.15.x, as kicad does run in macOS 12 natively. Appreciate your looking into this! Thanks!

Note: See TracTickets for help on using tickets.