wxGrid bus error under wxMac
Vadim Zeitlin
vadim at wxwindows.org
Fri May 4 00:10:12 PDT 2007
On Thu, 03 May 2007 22:24:39 -0700 Kip Warner <kip at thevertigo.com> wrote:
KW> Greetings,
KW>
KW> I am using wxGTK 2.8.3 under Ubuntu Feisty with GCC 4.1.2.. I installed
KW> it pre-packaged off of the Feisty repository.
KW>
KW> My application runs fine under Ubuntu without a hitch.
KW>
KW> I've compiled wxMac from source on my OS X 10.4.9 (PPC) box with the
KW> following options...
KW>
KW> ../configure
KW> --enable-monolithic
KW> --disable-shared
KW> --with-opengl
KW> --enable-universal_binary
KW> --disable-gtk
This is the default.
KW> --with-wx-config=../../wxMac-2.8.3/build/wx-config
And this option is invalid with wx configure itself. Not that it changes
anything, of course, as configure just ignores unknown with/enable options.
KW> --enable-debug
KW> --enable-debug_gdb
KW> --disable-optimise
KW> --enable-mediactrl
KW> --enable-unicode
KW> --prefix=/Users/Kip/local
KW>
KW> My MainFrame crashes right on allocation. I've tracked it down to the
KW> embedded XRC. The other controls appear to all load fine, but as soon as
KW> the loader gets to the wxGrid control on my GUI, it crashes in
KW> wxGrid::Refresh (src/generic/grid.cpp:6898 of wxMac 2.8.3).
KW>
KW> The call...
KW>
KW> m_cornerLabelWin->Refresh(eraseb, NULL);
KW>
KW> ...causes a bus error since m_cornerLabelWin is a NULL pointer.
KW>
KW> I've been debugging for days and I badly need help. Any help would be
KW> much appreciated.
Can you reproduce the problem in a sample? I.e. if you just add 3 lines of
code needed to load wxGrid from XRC to minimal sample, does it happen
there? If yes, please show us the backtrace of the sample. If not, you
should try to understand what's the difference between the sample and your
program. At the very least, give us the backtrace of your application. But
it's very difficult to help you without any more information.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list