Ubuntu 11.10 (oneiric) 64 bits, wxWidgets 2.8.12, code::blocks svn 7899
If I try to add a bitmap button to any container, the program crashes, opening a totally blank crash report window (nothing on it except the window system close button). If I close it the program closes and any changes are lost.
Ubuntu 11.10 (oneiric) 64 bits, wxWidgets 2.8.12, code::blocks svn 7899
If I try to add a bitmap button to any container, the program crashes, opening a totally blank crash report window (nothing on it except the window system close button). If I close it the program closes and any changes are lost.
I managed to get one bug report, sending attached as a .zip file, in the hope this helps.
Ubuntu 11.10 (oneiric) 64 bits, wxWidgets 2.8.12, code::blocks svn 7899
If I try to add a bitmap button to any container, the program crashes, opening a totally blank crash report window (nothing on it except the window system close button). If I close it the program closes and any changes are lost.
I managed to get one bug report, sending attached as a .zip file, in the hope this helps.
Whatever it was, it's gone in the new nightlie.
It's been back for a while. I've upgraded both Ubuntu and codeblocks, and the problem persists. Last time it generated a report in Ubuntu, the error seems to be trying to access an invalid memory area. Is there a default bitmap that is used? COuld the path to it be corrupted on an installation?
Nope, that was not it, happening again. If someone could please help me, I'd be immensely grateful, this is driving me nuts.I get it too using the new code blocks with wxpack. I can use the old version nightly 8500 and I do not get a crash when adding a bitmap button. Is there any fix for this?
Nope, that was not it, happening again. If someone could please help me, I'd be immensely grateful, this is driving me nuts.I get it too using the new code blocks with wxpack. I can use the old version nightly 8500 and I do not get a crash when adding a bitmap button. Is there any fix for this?
I am using Windows7 and wxWidgets(same version I think) and I have the same problem.If you add a bitmap button when the "Resources" tab is selected,or if you add the bitmap button and then select "Resources" tab, Codeblocks crashes...
Works here, gentoo linux r8897.
Please describe the exact steps to reproduce the problem.
If you provide a sample project one step from the crash might help, too.
Edit: talked too early, I've made it crash, by placing the button inside a panel.
(gdb) bt
#0 0x00007ffff7a9f964 in wxBoolProperty::GetValueAsString(int) const () from /usr/lib64/libcodeblocks.so.0
#1 0x00007ffff7a7f8c0 in wxPGProperty::GetValueString(int) const () from /usr/lib64/libcodeblocks.so.0
#2 0x00007ffff7a801e1 in wxPGDefaultRenderer::Render(wxDC&, wxRect const&, wxPropertyGrid const*, wxPGProperty*, int, int, int) const () from /usr/lib64/libcodeblocks.so.0
#3 0x00007ffff7a911dd in wxPropertyGrid::DoDrawItems(wxDC&, wxPGProperty const*, wxPGProperty const*, wxRect const*, bool) const () from /usr/lib64/libcodeblocks.so.0
#4 0x00007ffff7a91bbc in wxPropertyGrid::DrawItems(wxDC&, unsigned int, unsigned int, wxRect const*) () from /usr/lib64/libcodeblocks.so.0
#5 0x00007ffff7a920a7 in wxPGCanvas::OnPaint(wxPaintEvent&) () from /usr/lib64/libcodeblocks.so.0
#6 0x00007ffff5da9e26 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib64/libwx_baseu-2.8.so.0
#7 0x00007ffff5da9fab in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib64/libwx_baseu-2.8.so.0
#8 0x00007ffff5daa2e4 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/libwx_baseu-2.8.so.0
#9 0x00007ffff6449c40 in wxWindow::GtkSendPaintEvents() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#10 0x00007ffff644a108 in ?? () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff57be618 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#12 0x00007ffff54414f3 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
This is a pretty strange issue :(
(snip)
Edit: Running optimized builds is enough to reproduce the crashes, still no clue where is the problem :(
ollydbg: debug or release build of C::B are you using? This happens only in release build, turn of optimizations and it is done.Typos in your post: of->off, done->gone.