kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00181
pcbnew crashes when opening general options
Clicking the general options menu item in the preferences menu causes a repeatable
crash. As far as I know, all other menus and menu items work. It looks to be either a bad
pointer being passed to wxWidgets from WinEDA_PcbGeneralOptionsFrame::Create, or a
bug in wxWidgets itself. Here's an excerpt of the crash dump:
Date/Time: 2006-12-01 14:16:55.281 -0500
OS Version: 10.4.8 (Build 8L2127)
Report Version: 4
Command: pcbnew
Path: /usr/local/kicad/macosx/pcbnew
Parent: kicad [16809]
Version: 1.0d0 (1.0d0)
PID: 16816
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 pcbnew 0x001b3731 wxWindow::MacUpdateControlFont() + 17
1 pcbnew 0x001b3806 wxWindow::SetFont(wxFont const&) + 36
2 pcbnew 0x0007cece WinEDA_PcbGeneralOptionsFrame::Create(wxWindow*,
int, wxString const&, wxPoint const&, wxSize const&, long) + 40
3 pcbnew 0x0007d13c
WinEDA_PcbGeneralOptionsFrame::WinEDA_PcbGeneralOptionsFrame[in-charge]
(WinEDA_PcbFrame*, wxDC*, int, wxString const&, wxPoint const&, wxSize const&, long) +
196
4 pcbnew 0x0008747d WinEDA_PcbFrame::InstallPcbOptionsFrame(wxPoint
const&, wxDC*, int) + 741
5 pcbnew 0x000589b3 WinEDA_PcbFrame::Process_Config(wxCommandEvent&)
+ 483
6 pcbnew 0x0017c90b wxEvtHandler::ProcessEventIfMatches
(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 111
7 pcbnew 0x0017caa3 wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) + 103
8 pcbnew 0x0017cf2a wxEvtHandler::ProcessEvent(wxEvent&) + 186
9 pcbnew 0x0017b299 wxMenuBase::SendEvent(int, int) + 217
10 pcbnew 0x002123f8 wxMacAppEventHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*) + 1444
11 com.apple.HIToolbox 0x92dc886b DispatchEventToHandlers(EventTargetRec*,
OpaqueEventRef*, HandlerCallRec*) + 1093
12 com.apple.HIToolbox 0x92dc7f10 SendEventToEventTargetInternal(OpaqueEventRef*,
OpaqueEventTargetRef*, HandlerCallRec*) + 304
13 com.apple.HIToolbox 0x92dcf1f0 SendEventToEventTarget + 56
14 com.apple.HIToolbox 0x92e4faf1 SendHICommandEvent(unsigned long, HICommand
const*, unsigned long, unsigned long, unsigned char, OpaqueEventTargetRef*,
OpaqueEventTargetRef*, OpaqueEventRef**) + 405
15 com.apple.HIToolbox 0x92e8375a ProcessHICommandWithContextAndModifiers+ 60
16 com.apple.HIToolbox 0x92e83704 SendMenuItemSelectedEvent + 128
17 com.apple.HIToolbox 0x92e8361c FinishMenuSelection(MenuData*, MenuData*,
MenuResult*, MenuResult*, unsigned long, unsigned long, unsigned long, unsigned char)
+ 122
18 com.apple.HIToolbox 0x92e68485 MenuSelectCore(MenuData*, Point, double,
unsigned long, OpaqueMenuRef**, unsigned short*) + 515
19 com.apple.HIToolbox 0x92e67f26 MenuSelect + 100
20 pcbnew 0x001c766a wxMacTopLevelMouseEventHandler
(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2468
21 pcbnew 0x0021244a wxMacAppEventHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*) + 1526
22 com.apple.HIToolbox 0x92dc886b DispatchEventToHandlers(EventTargetRec*,
OpaqueEventRef*, HandlerCallRec*) + 1093
23 com.apple.HIToolbox 0x92dc7f10 SendEventToEventTargetInternal(OpaqueEventRef*,
OpaqueEventTargetRef*, HandlerCallRec*) + 304
24 com.apple.HIToolbox 0x92dcf1f0 SendEventToEventTarget + 56
25 com.apple.HIToolbox 0x92dcfc0d ToolboxEventDispatcherHandler
(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2587
26 com.apple.HIToolbox 0x92dc8c22 DispatchEventToHandlers(EventTargetRec*,
OpaqueEventRef*, HandlerCallRec*) + 2044
27 com.apple.HIToolbox 0x92dc7f10 SendEventToEventTargetInternal(OpaqueEventRef*,
OpaqueEventTargetRef*, HandlerCallRec*) + 304
28 com.apple.HIToolbox 0x92dcf1f0 SendEventToEventTarget + 56
29 pcbnew 0x0020fe9c wxApp::MacHandleOneEvent(void*) + 34
30 pcbnew 0x0020ff3e wxApp::MacDoOneEvent() + 108
31 pcbnew 0x0020ffcc wxApp::MainLoop() + 22
32 pcbnew 0x00164346 wxEntry(int&, wchar_t**) + 86
33 pcbnew 0x00002cd2 main + 24
34 pcbnew 0x000025de _start + 216
35 pcbnew 0x00002505 start + 41
Follow ups