crash in combo sample (HEAD)

Jose' Cruanyes cruanyes at cegroup.it
Wed Nov 1 09:49:38 PST 2006


Xcode 2.2
MacOSX 10.4.8

compiled with make

launch program and click in the "List View wxComboCtrl" arrow (middle  
of the window)

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x000a7e68 in wxWindowDC::DoGetAsBitmap ()(this=0xbfffe9a4,  
subrect=0xbfffe888) at ../wxWidgets27/src/mac/carbon/dcclient.cpp:194
194         ControlRef handle = (ControlRef) m_window->GetHandle();

(gdb) print m_window
$3 = (wxWindow *) 0x0

(gdb) bt
#0  0x000a7e68 in wxWindowDC::DoGetAsBitmap ()
#1  0x00081a70 in wxDC::DoBlit ()
#2  0x0021a9b0 in wxComboCtrlWithCustomPopupAnim::AnimateShow ()
#3  0x00046fdc in wxComboCtrlBase::ShowPopup ()
#4  0x00044a10 in wxComboCtrlBase::HandleButtonMouseEvent ()
#5  0x0003fb0c in wxGenericComboCtrl::OnMouseEvent ()
#6  0x0004a830 in wxEvtHandler::ProcessEventIfMatches ()
#7  0x0004aa94 in wxEventHashTable::HandleEvent ()
#8  0x0004ac58 in wxEvtHandler::ProcessEvent ()
#9  0x0007a198 in wxMacTopLevelMouseEventHandler ()
#10 0x0007b3d4 in wxMacTopLevelEventHandler ()
#11 0x93207554 in DispatchEventToHandlers ()
#12 0x93206cac in SendEventToEventTargetInternal ()
#13 0x9320da60 in SendEventToEventTarget ()
#14 0x93299d48 in HandleMouseEventForWindow ()
#15 0x932992c0 in HandleMouseEvent ()
#16 0x9320ddcc in ToolboxEventDispatcherHandler ()
#17 0x932077a4 in DispatchEventToHandlers ()
#18 0x93206cac in SendEventToEventTargetInternal ()
#19 0x9320da60 in SendEventToEventTarget ()
#20 0x000857d4 in wxApp::MacHandleOneEvent ()
#21 0x000858c0 in wxApp::MacDoOneEvent ()
#22 0x00155f30 in wxEventLoop::Dispatch ()
#23 0x00155d7c in wxEventLoopManual::Run ()
#24 0x000a604c in wxAppBase::MainLoop ()
#25 0x000196e0 in wxEntry ()
#26 0x000031fc in main ()


Pax et Bonum

# dott. Jose' Cruanyes Aguilar  -  C.E. Soft srl
#  Pzza. Firenze,4 MILANO  -  XX Settembre 10, CREMONA
#   02,33603122                0372,460602






More information about the wx-dev mailing list