Bug #11538 2007-07-11 09:54

szczepan

wxSmith crashes after creating a wxWidgets project

The crash also occurs when opening the newly created project (which seems to be created successfully) and trying to open the resource file.

<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
  <system description="Linux 2.6.21-ck i686"/>
  <modules>
    <module path="/usr/local/bin/codeblocks" address="08048000" size="00091000"/>
    <module path="[heap]" address="080de000" size="00ef1000"/>
    <module path="/usr/lib/gconv/ISO8859-1.so" address="b228c000" size="00002000" version="1"/>
    <module path="/usr/share/fonts/TTF/DejaVuSansMono.ttf" address="b22d5000" size="00049000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcb_koders.so" address="b2b1f000" size="00015000"/>
    <module path="/usr/local/share/codeblocks/plugins/libhelp_plugin.so" address="b2b35000" size="00012000"/>
    <module path="/usr/local/share/codeblocks/plugins/libdebugger.so" address="b2b48000" size="00092000"/>
    <module path="/usr/local/share/codeblocks/plugins/liblib_finder.so" address="b2be1000" size="0001a000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcompiler.so" address="b2bfd000" size="000ff000"/>
    <module path="/usr/local/share/codeblocks/plugins/libautosave.so" address="b2d01000" size="0000b000"/>
    <module path="/usr/local/share/codeblocks/plugins/libclasswizard.so" address="b2d0d000" size="00010000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcodecompletion.so" address="b351f000" size="000a8000"/>
    <module path="/usr/local/share/codeblocks/plugins/libprojectsimporter.so" address="b35d4000" size="00028000"/>
    <module path="/usr/local/share/codeblocks/plugins/libRegExTestbed.so" address="b35fd000" size="0000b000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcodesnippets.so" address="b3609000" size="00091000"/>
    <module path="/usr/local/share/codeblocks/plugins/libbyogames.so" address="b36a2000" size="0002e000"/>
    <module path="/usr/local/share/codeblocks/plugins/libscriptedwizard.so" address="b36d3000" size="0005e000"/>
    <module path="/usr/local/lib/libwxsmithlib.so.0.0.1" address="b3736000" size="0020d000" version="0.0.1"/>
    <module path="/usr/local/share/codeblocks/plugins/libwxsmithcontribitems.so" address="b3959000" size="00040000"/>
    <module path="/usr/local/share/codeblocks/plugins/libexporter.so" address="b399d000" size="000b0000"/>
    <module path="/usr/local/share/codeblocks/plugins/libenvvars.so" address="b3a52000" size="00019000"/>
    <module path="/usr/local/share/codeblocks/plugins/libProfiler.so" address="b3a6d000" size="00018000"/>
    <module path="/usr/local/share/codeblocks/plugins/libtodo.so" address="b3a86000" size="00021000"/>
    <module path="/usr/local/share/codeblocks/plugins/libcodestat.so" address="b3aa9000" size="00013000"/>
    <module path="/usr/local/share/codeblocks/plugins/libastyle.so" address="b3abd000" size="0002d000"/>
    <module path="/usr/local/share/codeblocks/plugins/libkeybinder.so" address="b3aec000" size="0003b000"/>
    <module path="/usr/share/fonts/TTF/DejaVuSans.ttf" address="b5b2e000" size="0008b000"/>
    <module path="/SYSV00000000" address="b5c3d000" size="00060000"/>
    <module path="/usr/local/share/codeblocks/plugins/libSymTab.so" address="b5cb6000" size="00002000"/>
    <module path="/usr/local/share/codeblocks/plugins/libdefaultmimehandler.so" address="b5cc6000" size="00001000"/>
    <module path="/SYSV00000000" address="b5ce1000" size="00060000"/>
    <module path="/usr/local/share/codeblocks/plugins/libdragscroll.so" address="b5d6f000" size="00018000"/>
    <module path="/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so" address="b5d89000" size="00006000" version="xpm"/>
    <module path="/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so" address="b5d90000" size="00004000" version="png"/>
    <module path="/opt/kde/lib/libkdefx.so.4.2.0" address="b5d95000" size="00028000" version="4.2.0"/>
    <module path="/opt/kde/lib/kde3/plugins/styles/plastik.so" address="b5dbe000" size="0001c000"/>
    <module path="/var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-x86.cache-2" address="b5ddb000" size="00010000"/>
    <module path="/var/cache/fontconfig/f6b893a7224233d96cb72fd88691c0b4-x86.cache-2" address="b5df5000" size="00018000"/>
    <module path="/var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86.cache-2" address="b5e53000" size="00046000"/>
    <module path="/usr/lib/libXt.so.6.0.0" address="b5ee4000" size="00004000" version="6.0.0"/>
    <module path="/usr/lib/libdrm.so.2.3.0" address="b5ef0000" size="00001000" version="2.3.0"/>
    <module path="/usr/lib/libXft.so.2.1.2" address="b5f02000" size="00001000" version="2.1.2"/>
    <module path="/usr/lib/libXmu.so.6.2.0" address="b5f17000" size="00001000" version="6.2.0"/>
    <module path="/usr/lib/libGL.so.1.2" address="b5f6e000" size="00005000" version="1.2"/>
    <module path="/opt/qt/lib/libqt-mt.so.3.3.8" address="b5f74000" size="0067e000" version="3.3.8"/>
    <module path="/usr/share/locale/pl/LC_MESSAGES/libc.mo" address="b6636000" size="00020000"/>
    <module path="/lib/libnss_files-2.6.so" address="b665e000" size="00002000" version="2.6"/>
    <module path="/usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so" address="b667f000" size="00001000" version="2.0/2.10.0/engines/libqtengine"/>
    <module path="/usr/local/share/codeblocks/plugins/libwxsmith.so" address="b6682000" size="00001000"/>
    <module path="/usr/lib/locale/locale-archive" address="b66a5000" size="0003d000"/>
    <module path="/usr/lib/libICE.so.6.3.0" address="b68e5000" size="00015000" version="6.3.0"/>
    <module path="/usr/lib/libXdmcp.so.6.0.0" address="b68fd000" size="00004000" version="6.0.0"/>
    <module path="/usr/lib/libXau.so.6.0.0" address="b6902000" size="00002000" version="6.0.0"/>
    <module path="/usr/lib/libexpat.so.1.5.2" address="b6906000" size="0001e000" version="1.5.2"/>
    <module path="/usr/lib/libtiff.so.3.8.2" address="b6926000" size="00052000" version="3.8.2"/>
    <module path="/usr/lib/libjpeg.so.62.0.0" address="b697a000" size="0001f000" version="62.0.0"/>
    <module path="/usr/lib/libSM.so.6.0.0" address="b699a000" size="00007000" version="6.0.0"/>
    <module path="/usr/lib/libXxf86vm.so.1.0.0" address="b69a3000" size="00004000" version="1.0.0"/>
    <module path="/lib/librt-2.6.so" address="b69a8000" size="00007000" version="2.6"/>
    <module path="/usr/lib/libgthread-2.0.so.0.1200.12" address="b69b1000" size="00003000" version="0.1200.12"/>
    <module path="/usr/lib/libfreetype.so.6.3.16" address="b69b5000" size="00077000" version="6.3.16"/>
    <module path="/usr/lib/libpangoft2-1.0.so.0.1600.4" address="b6a30000" size="0002a000" version="0.1600.4"/>
    <module path="/lib/libz.so.1.2.3" address="b6a5c000" size="00011000" version="1.2.3"/>
    <module path="/usr/lib/libXcursor.so.1.0.2" address="b6a6e000" size="00008000" version="1.0.2"/>
    <module path="/usr/lib/libXrandr.so.2.1.0" address="b6a77000" size="00005000" version="2.1.0"/>
    <module path="/usr/lib/libXi.so.6.0.0" address="b6a7d000" size="00007000" version="6.0.0"/>
    <module path="/usr/lib/libXinerama.so.1.0.0" address="b6a85000" size="00002000" version="1.0.0"/>
    <module path="/usr/lib/libXrender.so.1.3.0" address="b6a89000" size="00007000" version="1.3.0"/>
    <module path="/usr/lib/libXext.so.6.4.0" address="b6a91000" size="0000d000" version="6.4.0"/>
    <module path="/usr/lib/libfontconfig.so.1.2.0" address="b6a9f000" size="00023000" version="1.2.0"/>
    <module path="/usr/lib/libXfixes.so.3.1.0" address="b6aca000" size="00004000" version="3.1.0"/>
    <module path="/usr/lib/libX11.so.6.2.0" address="b6acf000" size="000e8000" version="6.2.0"/>
    <module path="/lib/libc-2.6.so" address="b6bbc000" size="0012a000" version="2.6"/>
    <module path="/lib/libc-2.6.so" address="b6ce7000" size="00002000" version="2.6"/>
    <module path="/usr/lib/libgcc_s.so.1" address="b6cec000" size="0000a000" version="1"/>
    <module path="/lib/libm-2.6.so" address="b6cf7000" size="00022000" version="2.6"/>
    <module path="/usr/lib/libstdc++.so.6.0.9" address="b6d1b000" size="000de000" version="6.0.9"/>
    <module path="/usr/lib/libstdc++.so.6.0.9" address="b6dfc000" size="00002000" version="6.0.9"/>
    <module path="/lib/libdl-2.6.so" address="b6e04000" size="00002000" version="2.6"/>
    <module path="/lib/libpthread-2.6.so" address="b6e08000" size="00013000" version="2.6"/>
    <module path="/usr/lib/libwx_baseu-2.8.so.0.0.0" address="b6e20000" size="00146000" version="0.0.0"/>
    <module path="/usr/lib/libwx_baseu_net-2.8.so.0.0.0" address="b6f75000" size="0002b000" version="0.0.0"/>
    <module path="/usr/lib/libwx_baseu_xml-2.8.so.0.0.0" address="b6fa2000" size="00009000" version="0.0.0"/>
    <module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.0.0" address="b6fac000" size="00311000" version="0.0.0"/>
    <module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.0.0" address="b72ef000" size="000b3000" version="0.0.0"/>
    <module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.0.0" address="b73ae000" size="00094000" version="0.0.0"/>
    <module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.0.0" address="b7449000" size="0001d000" version="0.0.0"/>
    <module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.0.0" address="b7468000" size="0008c000" version="0.0.0"/>
    <module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.0.0" address="b74f9000" size="0004b000" version="0.0.0"/>
    <module path="/usr/local/lib/libcodeblocks.so.0.0.1" address="b7548000" size="004ba000" version="0.0.1"/>
    <module path="/usr/lib/libglib-2.0.so.0.1200.12" address="b7a24000" size="00091000" version="0.1200.12"/>
    <module path="/usr/lib/libgmodule-2.0.so.0.1200.12" address="b7ab6000" size="00002000" version="0.1200.12"/>
    <module path="/usr/lib/libgobject-2.0.so.0.1200.12" address="b7ab9000" size="00038000" version="0.1200.12"/>
    <module path="/usr/lib/libcairo.so.2.11.5" address="b7af2000" size="00072000" version="2.11.5"/>
    <module path="/usr/lib/libpango-1.0.so.0.1600.4" address="b7b66000" size="0003b000" version="0.1600.4"/>
    <module path="/usr/lib/libpangocairo-1.0.so.0.1600.4" address="b7ba3000" size="00007000" version="0.1600.4"/>
    <module path="/usr/lib/libpng12.so.0.18.0" address="b7bac000" size="00021000" version="0.18.0"/>
    <module path="/usr/lib/libgdk_pixbuf-2.0.so.0.1000.13" address="b7bce000" size="00015000" version="0.1000.13"/>
    <module path="/usr/lib/libatk-1.0.so.0.1809.1" address="b7be4000" size="00018000" version="0.1809.1"/>
    <module path="/usr/lib/libgdk-x11-2.0.so.0.1000.13" address="b7bfe000" size="0007e000" version="0.1000.13"/>
    <module path="/usr/lib/libgtk-x11-2.0.so.0.1000.13" address="b7c7f000" size="00336000" version="0.1000.13"/>
    <module path="/SYSV00000000" address="b7fbf000" size="00003000"/>
    <module path="/usr/lib/pango/1.6.0/modules/pango-basic-fc.so" address="b7fc4000" size="00001000" version="fc"/>
    <module path="/usr/lib/gconv/ISO8859-2.so" address="b7fd5000" size="00002000" version="2"/>
    <module path="/usr/lib/gconv/UTF-32.so" address="b7fd9000" size="00002000" version="32"/>
    <module path="[vdso]" address="b7fdd000" size="00001000"/>
    <module path="/lib/ld-2.6.so" address="b7ff8000" size="00001000" version="2.6"/>
  </modules>
  <stack>
    <frame level="0" function="wxFatalSignalHandler" offset="00000026"/>
    <frame level="1"/>
    <frame level="2" function="wcslen" offset="00000008"/>
    <frame level="3" function="wxStringBase::InitWith(wchar_t const*, unsigned int, unsigned int)" offset="00000095"/>
    <frame level="4" function="wxPGChoices::Add(wchar_t const**, long const*)" offset="00000086"/>
    <frame level="5" function="wxEnumPropertyClass::wxEnumPropertyClass(wxString const&amp;, wxString const&amp;, wchar_t const**, long const*, int)" offset="0000006d"/>
    <frame level="6"/>
    <frame level="7" function="wxsColourProperty::PGCreate(wxsPropertyContainer*, wxPropertyGridManager*, wxPGId)" offset="00000030"/>
    <frame level="8" function="wxsPropertyContainer::Property(wxsProperty&amp;)" offset="00000160"/>
    <frame level="9" function="wxsBaseProperties::OnEnumProperties(long)" offset="0000015c"/>
    <frame level="10" function="wxsPropertyContainer::SubContainer(wxsPropertyContainer*, long)" offset="0000004c"/>
    <frame level="11" function="wxsItem::EnumItemProperties(long)" offset="00000401"/>
    <frame level="12" function="wxsItem::OnEnumProperties(long)" offset="0000004c"/>
    <frame level="13" function="wxsPropertyContainer::ShowInPropertyGrid()" offset="00000098"/>
    <frame level="14" function="wxsItemResData::SelectItem(wxsItem*, bool)" offset="00000070"/>
    <frame level="15" function="wxsItemResData::Load()" offset="000000ba"/>
    <frame level="16" function="wxsItemResData::wxsItemResData(wxString const&amp;, wxString const&amp;, wxString const&amp;, wxString const&amp;, wxString const&amp;, wxString const&amp;, wxsCodingLang, wxTreeItemId, wxsItemEditor*, wxsItemResFunctions*)" offset="0000019f"/>
    <frame level="17" function="wxsItemEditor::InitializeResourceData()" offset="00000167"/>
    <frame level="18" function="wxsItemEditor::wxsItemEditor(wxWindow*, wxsItemRes*)" offset="0000014c"/>
    <frame level="19" function="wxsItemRes::OnCreateEditor(wxWindow*)" offset="0000003e"/>
    <frame level="20" function="wxsResource::EditOpen()" offset="0000006e"/>
    <frame level="21"/>
    <frame level="22" function="int SqPlus::Call&lt;void, cbProject*, wxString const&amp;, wxString const&amp;, wxString const&amp;, wxString const&amp;&gt;(void (*)(cbProject*, wxString const&amp;, wxString const&amp;, wxString const&amp;, wxString const&amp;), SQVM*, int)" offset="0000011d"/>
    <frame level="23" function="SqPlus::DirectCallFunction&lt;void (*)(cbProject*, wxString const&amp;, wxString const&amp;, wxString const&amp;, wxString const&amp;)&gt;::Dispatch(SQVM*)" offset="00000061"/>
    <frame level="24" function="SQVM::CallNative(SQNativeClosure*, int, int, bool, SQObjectPtr&amp;, bool&amp;)" offset="000002bb"/>
    <frame level="25" function="SQVM::Execute(SQObjectPtr&amp;, int, int, int, SQObjectPtr&amp;, unsigned int, SQVM::ExecutionType)" offset="00002dda"/>
    <frame level="26" function="SQVM::Call(SQObjectPtr&amp;, int, int, SQObjectPtr&amp;, unsigned int)" offset="0000008a"/>
    <frame level="27" function="sq_call" offset="0000006f"/>
    <frame level="28" function="Wiz::RunProjectWizard(wxString*)" offset="00000cf7"/>
    <frame level="29" function="Wiz::Launch(int, wxString*)" offset="00000eb2"/>
    <frame level="30" function="TemplateManager::NewFromTemplate(NewFromTemplateDlg&amp;, wxString*)" offset="00000052"/>
    <frame level="31" function="TemplateManager::New(TemplateOutputType, wxString*)" offset="000000c6"/>
    <frame level="32" function="MainFrame::OnFileNewWhat(wxCommandEvent&amp;)" offset="00000000" file="../../../trunk/src/src/main.cpp" line="2065"/>
    <frame level="33" function="wxStringBase::GetStringData() const" offset="00000000" file="/usr/include/wx-2.8/wx/string.h" line="265"/>
    <frame level="34" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000035"/>
    <frame level="35" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="0000008f"/>
    <frame level="36" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="0000007b"/>
    <frame level="37" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000cf"/>
    <frame level="38" function="wxEvtHandler::ProcessPendingEvents()" offset="00000070"/>
    <frame level="39" function="wxAppConsole::ProcessPendingEvents()" offset="0000005f"/>
    <frame level="40" function="wxAppBase::OnIdle(wxIdleEvent&amp;)" offset="00000022"/>
    <frame level="41" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000035"/>
    <frame level="42" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="0000008f"/>
    <frame level="43" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="0000007b"/>
    <frame level="44" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000cf"/>
    <frame level="45" function="wxAppBase::ProcessIdle()" offset="0000009c"/>
    <frame level="46"/>
    <frame level="47"/>
    <frame level="48" function="g_main_context_dispatch" offset="00000182"/>
    <frame level="49"/>
    <frame level="50" function="g_main_loop_run" offset="000001a9"/>
    <frame level="51" function="gtk_main" offset="000000b4"/>
    <frame level="52" function="wxEventLoop::Run()" offset="0000005c"/>
    <frame level="53" function="wxAppBase::MainLoop()" offset="0000004e"/>
    <frame level="54" function="wxAppBase::OnRun()" offset="00000021"/>
    <frame level="55" function="CodeBlocksApp::OnRun()" offset="00000000" file="../../../trunk/src/src/app.cpp" line="602"/>
  </stack>
</report>
Category
Plugin::wxSmith
Group
 
Status
Closed
Close date
2007-07-27 17:42
Assigned to
biplab
szczepan 2007-07-13 08:56

Additional information:

The report above was generated by a wxGTK 2.8.0 unicode build, but a wxGTK 2.8.4 unicode build has the same crash.

biplab 2007-07-14 06:39

It seems your system is still having wx-2.8.0 files. I've tested this with wx-2.8.4 and it works perfectly.

biplab 2007-07-27 17:42

Report is closed.

Note: This is a preformatted standard message.

Possible reasons for closing this report are:

* the developer in charge of the issue

- could not reproduce it despite trying several times

- did not get sufficient information

- got no reply to an inquiry for specific information

* the report is quite a bit dated of now, and

- no user comments have been added for several weeks

- significant changes have been made to the code

- no other developer could reproduce it either

It is assumed that the problem does not persist and the report

can be closed.

If the problem reappears in future releases, please feel free to

re-open this report and provide precise information on how to

reproduce it.