Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo.
If you want to use apt (or dselect, synaptic or whatever) you need to add the following entries to /etc/apt/sources.list :
deb http://apt.jenslody.de/ any dbg
deb-src http://apt.jenslody.de/ any dbg
and remove entries for the normal nightlies.
Alternatively you can download the deb's directly from http://apt.jenslody.de/pool/dbg/c/codeblocks/ (http://apt.jenslody.de/pool/dbg/c/codeblocks/) .
A small issue:
removing all breakpoints does not work (at least not via context menu), removing a single breakpoint is no problem.
Seems to work here.
Can you give me the exact steps to reproduce the problem?
No.
At the moment it works (again).
It happened after debugging C::B with several breakpoints and several restarts of C::B.
I will try to reproduce and post the steps later (or find the cause).
By the way:
I stumbled over a crash, when removing all breakpoints while the debugge was running.
Here is the backtrace from crash-logger:
<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
<system description="Linux 3.0.0 x86_64"/>
<stack>
<frame level="0"/>
<frame level="1"/>
<frame level="2" function="wxStringBase::ConcatSelf(unsigned long, wchar_t const*, unsigned long)" offset="000000d3"/>
<frame level="3" function="GdbCmd_AddBreakpoint::ParseOutput(wxString const&)" offset="00000744"/>
<frame level="4" function="GDB_driver::ParseOutput(wxString const&)" offset="000001e3"/>
<frame level="5" function="DebuggerGDB::OnGDBOutput(wxCommandEvent&)" offset="0000002f"/>
<frame level="6" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)" offset="00000055"/>
<frame level="7" function="wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)" offset="000000ac"/>
<frame level="8" function="wxEvtHandler::ProcessEvent(wxEvent&)" offset="000000b4"/>
<frame level="9" function="wxEvtHandler::ProcessPendingEvents()" offset="00000065"/>
<frame level="10" function="wxAppConsole::ProcessPendingEvents()" offset="00000049"/>
<frame level="11" function="wxAppBase::ProcessIdle()" offset="00000019"/>
<frame level="12"/>
<frame level="13" function="g_main_context_dispatch" offset="000001dd"/>
<frame level="14"/>
<frame level="15" function="g_main_loop_run" offset="0000016a"/>
<frame level="16" function="gtk_main" offset="000000a7"/>
<frame level="17" function="wxEventLoop::Run()" offset="00000048"/>
<frame level="18" function="wxAppBase::MainLoop()" offset="0000004b"/>
</stack>
</report>
It might be that ParseOutput was called after the bp was removed.
I don't know if this applies especially to this branch of to trunk, but I got this crash :
<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
<system description="Linux 2.6.32-5-amd64 x86_64"/>
<modules>
<module path="/usr/local/bin/codeblocks" address="00400000" size="000ed000"/>
<module path="[heap]" address="0156e000" size="00ded000"/>
<module path="/SYSV00000000" address="7f29ad53d000" size="00060000"/>
<module path="/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so" address="7f29ad5a3000" size="001ff000" version="xpm"/>
<module path="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf" address="7f29ad7a3000" size="0004f000"/>
<module path="/usr/share/icons/hicolor/icon-theme.cache" address="7f29af7f6000" size="0002d000"/>
<module path="/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf" address="7f29af8be000" size="0008f000"/>
<module path="/usr/lib/pango/1.6.0/modules/pango-basic-fc.so" address="7f29af94f000" size="001ff000" version="fc"/>
<module path="/var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-le64.cache-3" address="7f29afb4f000" size="00004000"/>
<module path="/lib/libnss_files-2.11.2.so" address="7f29afba3000" size="0000b000" version="2.11.2"/>
<module path="/lib/libnss_files-2.11.2.so" address="7f29afdad000" size="00001000" version="2.11.2"/>
<module path="/lib/libnss_nis-2.11.2.so" address="7f29afdaf000" size="0000a000" version="2.11.2"/>
<module path="/lib/libnss_nis-2.11.2.so" address="7f29affb8000" size="00001000" version="2.11.2"/>
<module path="/lib/libnsl-2.11.2.so" address="7f29affba000" size="00015000" version="2.11.2"/>
<module path="/lib/libnsl-2.11.2.so" address="7f29b01ce000" size="00001000" version="2.11.2"/>
<module path="/lib/libnss_compat-2.11.2.so" address="7f29b01d2000" size="00007000" version="2.11.2"/>
<module path="/lib/libnss_compat-2.11.2.so" address="7f29b03d8000" size="00001000" version="2.11.2"/>
<module path="/usr/lib/gconv/UTF-32.so" address="7f29b03da000" size="00002000" version="32"/>
<module path="/usr/lib/gconv/UTF-32.so" address="7f29b05db000" size="00001000" version="32"/>
<module path="/usr/lib/libXdmcp.so.6.0.0" address="7f29b05dd000" size="00005000" version="6.0.0"/>
<module path="/usr/lib/libXdmcp.so.6.0.0" address="7f29b07e1000" size="00001000" version="6.0.0"/>
<module path="/usr/lib/libXau.so.6.0.0" address="7f29b07e4000" size="00200000" version="6.0.0"/>
<module path="/usr/lib/libxcb-render.so.0.0.0" address="7f29b09e5000" size="00007000" version="0.0.0"/>
<module path="/usr/lib/libxcb-render.so.0.0.0" address="7f29b0bec000" size="00001000" version="0.0.0"/>
<module path="/usr/lib/libxcb-render-util.so.0.0.0" address="7f29b0bf0000" size="001ff000" version="0.0.0"/>
<module path="/usr/lib/libpixman-1.so.0.16.4" address="7f29b0df0000" size="00056000" version="0.16.4"/>
<module path="/usr/lib/libpixman-1.so.0.16.4" address="7f29b1045000" size="00003000" version="0.16.4"/>
<module path="/usr/lib/libxcb.so.1.1.0" address="7f29b1064000" size="001ff000" version="1.1.0"/>
<module path="/lib/libuuid.so.1.3.0" address="7f29b1264000" size="00004000" version="1.3.0"/>
<module path="/lib/libuuid.so.1.3.0" address="7f29b1467000" size="00001000" version="1.3.0"/>
<module path="/usr/lib/libICE.so.6.3.0" address="7f29b147f000" size="001ff000" version="6.3.0"/>
<module path="/lib/libselinux.so.1" address="7f29b1683000" size="0001c000" version="1"/>
<module path="/lib/libselinux.so.1" address="7f29b189e000" size="00001000" version="1"/>
<module path="/lib/libresolv-2.11.2.so" address="7f29b18a1000" size="00013000" version="2.11.2"/>
<module path="/lib/libresolv-2.11.2.so" address="7f29b1ab3000" size="00001000" version="2.11.2"/>
<module path="/lib/libpcre.so.3.12.1" address="7f29b1ab7000" size="00030000" version="3.12.1"/>
<module path="/lib/libpcre.so.3.12.1" address="7f29b1ce6000" size="00001000" version="3.12.1"/>
<module path="/usr/lib/libXcursor.so.1.0.2" address="7f29b1cf0000" size="00200000" version="1.0.2"/>
<module path="/usr/lib/libXrandr.so.2.2.0" address="7f29b1ef1000" size="00008000" version="2.2.0"/>
<module path="/usr/lib/libXrandr.so.2.2.0" address="7f29b20f8000" size="00001000" version="2.2.0"/>
<module path="/usr/lib/libXi.so.6.1.0" address="7f29b2108000" size="001ff000" version="6.1.0"/>
<module path="/usr/lib/libXrender.so.1.3.0" address="7f29b2308000" size="00009000" version="1.3.0"/>
<module path="/usr/lib/libXrender.so.1.3.0" address="7f29b2511000" size="00001000" version="1.3.0"/>
<module path="/usr/lib/libXext.so.6.4.0" address="7f29b2523000" size="00200000" version="6.4.0"/>
<module path="/usr/lib/libcairo.so.2.10800.10" address="7f29b2724000" size="0007b000" version="2.10800.10"/>
<module path="/usr/lib/libcairo.so.2.10800.10" address="7f29b299e000" size="00003000" version="2.10800.10"/>
<module path="/usr/lib/libXfixes.so.3.1.0" address="7f29b29a6000" size="001ff000" version="3.1.0"/>
<module path="/usr/lib/libXdamage.so.1.1.0" address="7f29b2ba6000" size="00002000" version="1.1.0"/>
<module path="/usr/lib/libXdamage.so.1.1.0" address="7f29b2da7000" size="00001000" version="1.1.0"/>
<module path="/usr/lib/libXcomposite.so.1.0.0" address="7f29b2daa000" size="001ff000" version="1.0.0"/>
<module path="/usr/lib/libX11.so.6.3.0" address="7f29b2faa000" size="00135000" version="6.3.0"/>
<module path="/usr/lib/libX11.so.6.3.0" address="7f29b32df000" size="00006000" version="6.3.0"/>
<module path="/usr/lib/libpangocairo-1.0.so.0.2800.3" address="7f29b32f1000" size="001ff000" version="0.2800.3"/>
<module path="/usr/lib/libexpat.so.1.5.2" address="7f29b34f1000" size="00026000" version="1.5.2"/>
<module path="/usr/lib/libexpat.so.1.5.2" address="7f29b3717000" size="00002000" version="1.5.2"/>
<module path="/usr/lib/libtiff.so.4.3.3" address="7f29b377a000" size="001ff000" version="4.3.3"/>
<module path="/usr/lib/libjpeg.so.62.0.0" address="7f29b397c000" size="00023000" version="62.0.0"/>
<module path="/usr/lib/libjpeg.so.62.0.0" address="7f29b3b9e000" size="00001000" version="62.0.0"/>
<module path="/usr/lib/libz.so.1.2.3.4" address="7f29b3bb6000" size="001ff000" version="1.2.3.4"/>
<module path="/lib/libpng12.so.0.44.0" address="7f29b3db6000" size="00025000" version="0.44.0"/>
<module path="/lib/libpng12.so.0.44.0" address="7f29b3fdb000" size="00001000" version="0.44.0"/>
<module path="/usr/lib/libSM.so.6.0.1" address="7f29b3fe4000" size="001ff000" version="6.0.1"/>
<module path="/usr/lib/libXinerama.so.1.0.0" address="7f29b41e4000" size="00002000" version="1.0.0"/>
<module path="/usr/lib/libXinerama.so.1.0.0" address="7f29b43e5000" size="00001000" version="1.0.0"/>
<module path="/lib/libglib-2.0.so.0.2400.2" address="7f29b44c1000" size="001ff000" version="0.2400.2"/>
<module path="/lib/librt-2.11.2.so" address="7f29b46c2000" size="00007000" version="2.11.2"/>
<module path="/lib/librt-2.11.2.so" address="7f29b48c8000" size="00001000" version="2.11.2"/>
<module path="/usr/lib/libgthread-2.0.so.0.2400.2" address="7f29b48ca000" size="00004000" version="0.2400.2"/>
<module path="/usr/lib/libgthread-2.0.so.0.2400.2" address="7f29b4acd000" size="00001000" version="0.2400.2"/>
<module path="/usr/lib/libgmodule-2.0.so.0.2400.2" address="7f29b4ad1000" size="001ff000" version="0.2400.2"/>
<module path="/usr/lib/libgobject-2.0.so.0.2400.2" address="7f29b4cd1000" size="00045000" version="0.2400.2"/>
<module path="/usr/lib/libgobject-2.0.so.0.2400.2" address="7f29b4f16000" size="00002000" version="0.2400.2"/>
<module path="/usr/lib/libfontconfig.so.1.4.4" address="7f29b4f4b000" size="00200000" version="1.4.4"/>
<module path="/usr/lib/libfreetype.so.6.6.0" address="7f29b514d000" size="00083000" version="6.6.0"/>
<module path="/usr/lib/libfreetype.so.6.6.0" address="7f29b53cf000" size="00006000" version="6.6.0"/>
<module path="/usr/lib/libpango-1.0.so.0.2800.3" address="7f29b541e000" size="00200000" version="0.2800.3"/>
<module path="/usr/lib/libgio-2.0.so.0.2400.2" address="7f29b5621000" size="000ae000" version="0.2400.2"/>
<module path="/usr/lib/libgio-2.0.so.0.2400.2" address="7f29b58cf000" size="00003000" version="0.2400.2"/>
<module path="/usr/lib/libgdk_pixbuf-2.0.so.0.2000.1" address="7f29b58d3000" size="0001b000" version="0.2000.1"/>
<module path="/usr/lib/libgdk_pixbuf-2.0.so.0.2000.1" address="7f29b5aee000" size="00001000" version="0.2000.1"/>
<module path="/usr/lib/libpangoft2-1.0.so.0.2800.3" address="7f29b5b18000" size="00200000" version="0.2800.3"/>
<module path="/usr/lib/libatk-1.0.so.0.3009.1" address="7f29b5d19000" size="0001f000" version="0.3009.1"/>
<module path="/usr/lib/libatk-1.0.so.0.3009.1" address="7f29b5f37000" size="00003000" version="0.3009.1"/>
<module path="/usr/lib/libgdk-x11-2.0.so.0.2000.1" address="7f29b5fe2000" size="00200000" version="0.2000.1"/>
<module path="/usr/lib/libgtk-x11-2.0.so.0.2000.1" address="7f29b61e7000" size="00415000" version="0.2000.1"/>
<module path="/usr/lib/libgtk-x11-2.0.so.0.2000.1" address="7f29b67fb000" size="0000b000" version="0.2000.1"/>
<module path="/lib/libc-2.11.2.so" address="7f29b6808000" size="00158000" version="2.11.2"/>
<module path="/lib/libc-2.11.2.so" address="7f29b6b5f000" size="00004000" version="2.11.2"/>
<module path="/lib/libgcc_s.so.1" address="7f29b6b69000" size="00016000" version="1"/>
<module path="/lib/libgcc_s.so.1" address="7f29b6d7e000" size="00001000" version="1"/>
<module path="/lib/libm-2.11.2.so" address="7f29b6dff000" size="00200000" version="2.11.2"/>
<module path="/lib/libm-2.11.2.so" address="7f29b7000000" size="00001000" version="2.11.2"/>
<module path="/usr/lib/libstdc++.so.6.0.13" address="7f29b70f7000" size="00200000" version="6.0.13"/>
<module path="/usr/lib/libstdc++.so.6.0.13" address="7f29b72fe000" size="00002000" version="6.0.13"/>
<module path="/lib/libdl-2.11.2.so" address="7f29b7315000" size="00002000" version="2.11.2"/>
<module path="/lib/libdl-2.11.2.so" address="7f29b7517000" size="00001000" version="2.11.2"/>
<module path="/lib/libpthread-2.11.2.so" address="7f29b7519000" size="00017000" version="2.11.2"/>
<module path="/lib/libpthread-2.11.2.so" address="7f29b772f000" size="00001000" version="2.11.2"/>
<module path="/usr/lib/libwx_baseu-2.8.so.0.6.0" address="7f29b7735000" size="0014f000" version="0.6.0"/>
<module path="/usr/lib/libwx_baseu-2.8.so.0.6.0" address="7f29b7a84000" size="0000c000" version="0.6.0"/>
<module path="/usr/lib/libwx_baseu_net-2.8.so.0.6.0" address="7f29b7a9a000" size="0002e000" version="0.6.0"/>
<module path="/usr/lib/libwx_baseu_net-2.8.so.0.6.0" address="7f29b7cc8000" size="00003000" version="0.6.0"/>
<module path="/usr/lib/libwx_baseu_xml-2.8.so.0.6.0" address="7f29b7cd4000" size="00200000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.6.0" address="7f29b7ed5000" size="003cb000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_core-2.8.so.0.6.0" address="7f29b84a0000" size="00057000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.6.0" address="7f29b8503000" size="000d2000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_adv-2.8.so.0.6.0" address="7f29b87d5000" size="00012000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.6.0" address="7f29b87ea000" size="000a8000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_html-2.8.so.0.6.0" address="7f29b8a91000" size="0000c000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.6.0" address="7f29b8a9e000" size="00020000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_qa-2.8.so.0.6.0" address="7f29b8cbd000" size="00003000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_xrc-2.8.so.0.6.0" address="7f29b8d53000" size="00200000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.6.0" address="7f29b8f5c000" size="00073000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_aui-2.8.so.0.6.0" address="7f29b91cf000" size="00006000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.6.0" address="7f29b91d6000" size="000f1000" version="0.6.0"/>
<module path="/usr/lib/libwx_gtk2u_richtext-2.8.so.0.6.0" address="7f29b94c6000" size="0000d000" version="0.6.0"/>
<module path="/usr/local/lib/libcodeblocks.so.0.0.1" address="7f29b94d6000" size="0061f000" version="0.0.1"/>
<module path="/usr/local/lib/libcodeblocks.so.0.0.1" address="7f29b9cf4000" size="00036000" version="0.0.1"/>
<module path="/lib/ld-2.11.2.so" address="7f29b9d36000" size="0001e000" version="2.11.2"/>
<module path="/SYSV00000000" address="7f29b9d55000" size="00003000"/>
<module path="/usr/lib/locale/locale-archive" address="7f29b9db8000" size="00175000"/>
<module path="/usr/lib/gconv/gconv-modules.cache" address="7f29b9f4a000" size="00007000"/>
<module path="/lib/ld-2.11.2.so" address="7f29b9f53000" size="00001000" version="2.11.2"/>
<module path="[stack]" address="7fff5189a000" size="00015000"/>
</modules>
<stack>
<frame level="0"/>
<frame level="1" function="wxMBConv::FromWChar(char*, unsigned long, wchar_t const*, unsigned long) const" offset="000000e0"/>
<frame level="2" function="wxMBConv::cWC2MB(wchar_t const*, unsigned long, unsigned long*) const" offset="00000046"/>
<frame level="3" function="wxString::mb_str(wxMBConv const&) const" offset="0000001d"/>
<frame level="4" function="cbU2C(wxString const&)" offset="00000013"/>
<frame level="5" function="realpath(wxString const&)" offset="0000003c"/>
<frame level="6" function="EditorManager::IsOpen(wxString const&)" offset="00000023"/>
<frame level="7" function="MainFrame::ShowHideStartPage(bool)" offset="00000000"/>
<frame level="8" function="MainFrame::MainFrame(wxWindow*)" offset="00000000"/>
<frame level="9" function="CodeBlocksApp::InitFrame()" offset="00000000"/>
</stack>
</report>
I did that :
- installed Debian Squeeze 46 bits
- compiled Codeblocks svn 7398 (configure: --with-contrib-plugins=all)
- installed it
- modified /etc/ld.so.conf and run ldconfig
- launched codeblocks via xterm. I just closed the "tip" and the "script" windows of this instance
- tried to launch another instance of codeblocks via xterm. the carsh happened immediately
Report from 'codeblocks.rpt' file:
Error occured on Tuesday, September 13, 2011 at 22:20:15.
C:\GNU\CodeBlocks\codeblocks.exe caused an Access Violation at location 65eae3bd in module C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll Reading from location 00000000.
Registers:
eax=00000000 ebx=00000000 ecx=00000001 edx=00000000 esi=00000483 edi=0028e67c
eip=65eae3bd esp=0028e544 ebp=0028e56c iopl=0 nv up ei pl zr na po nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246
Call stack:
65EAE3BD C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EAE3BD
6CCC7670 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCC7670 _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6CCC77A9 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCC77A9 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler
6CCC7B74 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCC7B74 _ZN12wxEvtHandler12ProcessEventER7wxEvent
6CDD70ED C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CDD70ED _ZN11wxTimerBase6NotifyEv
6CD07BDC C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD07BDC _ZN7wxTimer4InitEv
74F362FA C:\Windows\syswow64\USER32.dll:74F362FA gapfnScSendMessage
74F36D3A C:\Windows\syswow64\USER32.dll:74F36D3A GetThreadDesktop
74F377C4 C:\Windows\syswow64\USER32.dll:74F377C4 CharPrevW
74F3788A C:\Windows\syswow64\USER32.dll:74F3788A DispatchMessageW
74F5C81F C:\Windows\syswow64\USER32.dll:74F5C81F IsDialogMessageW
6CCF59BC C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCF59BC _ZN11wxEventLoop17PreProcessMessageEP6tagMSG
6CCF556D C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCF556D _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CCF576B C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCF576B _ZN11wxEventLoop8DispatchEv
6CCDDC1C C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCDDC1C _ZN5wxApp5YieldEb
6CCCBC72 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCBC72 _Z7wxYieldv
6CCC4B53 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCC4B53 _Z9wxExecuteRK8wxStringiP9wxProcess
6CCCA31B C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCA31B _ZN15wxMessageOutput3SetEPS_
65EC1408 C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EC1408
65EBF38A C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EBF38A
65EC276B C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EC276B
65EC1DA8 C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EC1DA8
65EAB622 C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EAB622
65F09C84 C:\GNU\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65F09C84 _ZN12cbToolPlugin9BuildMenuEP9wxMenuBar
61880F24 C:\GNU\CodeBlocks\codeblocks.dll:61880F24 _ZN7Manager12ProcessEventER15CodeBlocksEvent
61897A18 C:\GNU\CodeBlocks\codeblocks.dll:61897A18 _ZN13PluginManager13NotifyPluginsER15CodeBlocksEvent
618B534A C:\GNU\CodeBlocks\codeblocks.dll:618B534A _ZN14ProjectManager10SetProjectEP9cbProjectb
618B8A93 C:\GNU\CodeBlocks\codeblocks.dll:618B8A93 _ZN14ProjectManager11LoadProjectERK8wxStringb
004461E6 C:\GNU\CodeBlocks\codeblocks.exe:004461E6
00445CB9 C:\GNU\CodeBlocks\codeblocks.exe:00445CB9
00445567 C:\GNU\CodeBlocks\codeblocks.exe:00445567
0040830F C:\GNU\CodeBlocks\codeblocks.exe:0040830F
0040198D C:\GNU\CodeBlocks\codeblocks.exe:0040198D
6CCB2025 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCB2025 _ZN11wxDDEClient16DeleteConnectionEPv
74F4E97A C:\Windows\syswow64\USER32.dll:74F4E97A DdeCreateStringHandleW
74F4E928 C:\Windows\syswow64\USER32.dll:74F4E928 DdeCreateStringHandleW
74F4FE0C C:\Windows\syswow64\USER32.dll:74F4FE0C DdeGetData
74F4FD92 C:\Windows\syswow64\USER32.dll:74F4FD92 DdeGetData
74F4FD62 C:\Windows\syswow64\USER32.dll:74F4FD62 DdeGetData
74F362FA C:\Windows\syswow64\USER32.dll:74F362FA gapfnScSendMessage
74F36D3A C:\Windows\syswow64\USER32.dll:74F36D3A GetThreadDesktop
74F377C4 C:\Windows\syswow64\USER32.dll:74F377C4 CharPrevW
74F3788A C:\Windows\syswow64\USER32.dll:74F3788A DispatchMessageW
74F5C81F C:\Windows\syswow64\USER32.dll:74F5C81F IsDialogMessageW
6CCF59BC C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCF59BC _ZN11wxEventLoop17PreProcessMessageEP6tagMSG
6CCF556D C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCF556D _ZN11wxEventLoop14ProcessMessageEP6tagMSG
6CCF576B C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCF576B _ZN11wxEventLoop8DispatchEv
6CD8D518 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD8D518 _ZN17wxEventLoopManual3RunEv
6CD6BB19 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CD6BB19 _ZN9wxAppBase8MainLoopEv
004058C4 C:\GNU\CodeBlocks\codeblocks.exe:004058C4
6CC73248 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CC73248 _Z14wxUninitializev
6CCCD392 C:\GNU\CodeBlocks\wxmsw28u_gcc_cb.dll:6CCCD392 _Z7wxEntryP11HINSTANCE__S0_Pci
00401D71 C:\GNU\CodeBlocks\codeblocks.exe:00401D71
004823C6 C:\GNU\CodeBlocks\codeblocks.exe:004823C6
004010DB C:\GNU\CodeBlocks\codeblocks.exe:004010DB
00401158 C:\GNU\CodeBlocks\codeblocks.exe:00401158
7503339A C:\Windows\syswow64\kernel32.dll:7503339A BaseThreadInitThunk
77439ED2 C:\Windows\SysWOW64\ntdll.dll:77439ED2 RtlInitializeExceptionChain
77439EA5 C:\Windows\SysWOW64\ntdll.dll:77439EA5 RtlInitializeExceptionChain
Hello
I use MinGw/GDB. I'm getting this issue while debugging:
When the GDB just execute this line of code:
wxString *psty = (wxString*) NULL;
I put the mouse over 'psty' and a SIGSEGV is prompt:
> whatis psty
type = wxString *
>>>>>>cb_gdb:
> output psty
(wxString *) 0x0>>>>>>cb_gdb:
> output /c psty->wx_str()[0]@psty->length()
The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off".
Evaluation of the expression containing the function
(wxString::wx_str() const) will be abandoned.
Program received signal SIGSEGV, Segmentation fault.
0x6fc611d6 in libstdc++-6!_ZNKSbIwSt11char_traitsIwESaIwEE5c_strEv () from c:\mingw\bin\libstdc++-6.dll
>>>>>>cb_gdb:
I'm also using the script I posted some days ago:
http://forums.codeblocks.org/index.php/topic,15050.msg101768.html#msg101768 (http://forums.codeblocks.org/index.php/topic,15050.msg101768.html#msg101768)
Of course, the problems arise because psty is not pointing to a valid wxString object.
What I ask here and myself is: How can C:B be aware of this before trying to output this invalid var?
Regards
Hello
I use MinGw/GDB. I'm getting this issue while debugging:
When the GDB just execute this line of code:
wxString *psty = (wxString*) NULL;
I put the mouse over 'psty' and a SIGSEGV is prompt:
> whatis psty
type = wxString *
>>>>>>cb_gdb:
> output psty
(wxString *) 0x0>>>>>>cb_gdb:
> output /c psty->wx_str()[0]@psty->length()
The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off".
Evaluation of the expression containing the function
(wxString::wx_str() const) will be abandoned.
Program received signal SIGSEGV, Segmentation fault.
0x6fc611d6 in libstdc++-6!_ZNKSbIwSt11char_traitsIwESaIwEE5c_strEv () from c:\mingw\bin\libstdc++-6.dll
>>>>>>cb_gdb:
I'm also using the script I posted some days ago:
http://forums.codeblocks.org/index.php/topic,15050.msg101768.html#msg101768 (http://forums.codeblocks.org/index.php/topic,15050.msg101768.html#msg101768)
Of course, the problems arise because psty is not pointing to a valid wxString object.
What I ask here and myself is: How can C:B be aware of this before trying to output this invalid var?
Regards
I just test on gdb (the gdb build myself with python support, you can find download links in this forum), the log is below, it seems there is no crash.
> p psty
$1 = (wxString *) 0x0
>>>>>>cb_gdb:
> whatis psty
type = wxString *
>>>>>>cb_gdb:
> output /c psty->m_pchData[0]@((wxStringData*)psty->m_pchData - 1)->nDataLength
Cannot access memory at address 0x0
>>>>>>cb_gdb: