User forums > Help

wxSmith crashes when adding bitmap button

<< < (3/5) > >>

kencamargo:

--- Quote from: Awareness on March 04, 2013, 09:34:20 pm ---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...

--- End quote ---

At least now I know I'm not crazy. :)

oBFusCATed:
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.

kencamargo:

--- Quote from: oBFusCATed on March 05, 2013, 12:49:01 am ---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.

--- End quote ---

Steps:
- use the wizard to create a new dialog-based wxWidgets project;
- open the dialog layout for editing with wxSmith;
- add a wxBitmapButton to the dialog, anywhere;
- BOOM.

The project one step from crashing is the initial project created with Project|New.

oBFusCATed:
This is a pretty strange issue :(

This is the bt from my installed version of C::B

--- Code: ---(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

--- End code ---
This seems like a wxPropGrid issue...

I was not able to reproduce the crash, when I tried with C::B and wxSmith compiled inside C::B :(
Pretty strange.

Edit: Running optimized builds is enough to reproduce the crashes, still no clue where is the problem :(

kencamargo:

--- Quote from: oBFusCATed on March 05, 2013, 01:10:06 am ---This is a pretty strange issue :(

(snip)

Edit: Running optimized builds is enough to reproduce the crashes, still no clue where is the problem :(

--- End quote ---

At least now other people are having the same trouble, for almost an year I was resigned to this being some sort of private curse... I can try to generate an error report again, the problem being that 9 times out of ten the report itself got wiped out.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version