wxGrid bus error under wxMac

Kip Warner kip at thevertigo.com
Thu May 3 22:24:39 PDT 2007


Greetings,

I am using wxGTK 2.8.3 under Ubuntu Feisty with GCC 4.1.2.. I installed
it pre-packaged off of the Feisty repository.

My application runs fine under Ubuntu without a hitch.

I've compiled wxMac from source on my OS X 10.4.9 (PPC) box with the
following options...

../configure 
	--enable-monolithic
	--disable-shared 
	--with-opengl
	--enable-universal_binary
	--disable-gtk
	--with-wx-config=../../wxMac-2.8.3/build/wx-config 
	--enable-debug
	--enable-debug_gdb
	--disable-optimise
	--enable-mediactrl
	--enable-unicode
	--prefix=/Users/Kip/local

My MainFrame crashes right on allocation. I've tracked it down to the
embedded XRC. The other controls appear to all load fine, but as soon as
the loader gets to the wxGrid control on my GUI, it crashes in
wxGrid::Refresh (src/generic/grid.cpp:6898 of wxMac 2.8.3).

The call...

m_cornerLabelWin->Refresh(eraseb, NULL);

...causes a bus error since m_cornerLabelWin is a NULL pointer.

I've been debugging for days and I badly need help. Any help would be
much appreciated.

Thank you.

-- 
Kip Warner
Vertigo
http://TheVertigo.com





More information about the wx-users mailing list