News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 15 August 2011 build (7386) DEBUGGER BRANCH version is out.

Started by killerbot, August 15, 2011, 05:29:42 PM

Previous topic - Next topic

scarphin

Quote from: oBFusCATed on August 19, 2011, 12:24:54 PM
Do you have any of the access control features disabled?
I've non disabled, I think.
Do u mean UAC or something else? I have UAC disabled if that's what u're asking.

oBFusCATed

I don't know what it is named (probably UAC), this is the extremely annoying thing that everybody disables.
Can you enable it and try again?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Folco

Quote from: oBFusCATed on August 18, 2011, 09:47:17 PM
To windows users: can you open the Setting -> Debugger dialog? I can't in my self build C::B :( I'm on Windows7 64bit

edit: The nightly crashes in the same way :(
edit2: All nightlies with this new dialog crash in this way :(
No crash here. I can open the dialog, browse its pages and click OK (without changing anything nevertheless).

Windows 7, 64 bits. Current nightly (3787) installed over CB 10.05.
Kernel Extremist - PedroM power ©

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

scarphin

Should be UAC, enabled it and can still access 'settings->debugger', works as normal.

oBFusCATed

Tried several other win7 64bit installs and there are no crashes :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Folco

I used the nighly provided here, in this thread, so your build would be invalid ? Perhaps the version of something is wrong ?
Kernel Extremist - PedroM power ©

Jenna

A small issue:
removing all breakpoints does not work (at least not via context menu), removing a single breakpoint is no problem.

oBFusCATed

I've tried all the nightlies which have this feature, all of them crashed badly...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

Quote from: jens on August 19, 2011, 10:25:59 PM
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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Quote from: oBFusCATed on August 19, 2011, 10:39:53 PM
Quote from: jens on August 19, 2011, 10:25:59 PM
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&amp;)" offset="00000744"/>
    <frame level="4" function="GDB_driver::ParseOutput(wxString const&amp;)" offset="000001e3"/>
    <frame level="5" function="DebuggerGDB::OnGDBOutput(wxCommandEvent&amp;)" offset="0000002f"/>
    <frame level="6" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="00000055"/>
    <frame level="7" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="000000ac"/>
    <frame level="8" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" 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.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Quote from: oBFusCATed on August 20, 2011, 12:06:48 AM
I've seen this crash, too, but it is very rare :(
We had similar issues with the watches, that's why I added the pendingDelete flag.
It is set to true, if a watch has an active command and the real deletion is done in ParseOutput, so it can not crash.

I don't know, whether a similar mechanism would work for breakpoints.

Folco

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&amp;) const" offset="0000001d"/>
    <frame level="4" function="cbU2C(wxString const&amp;)" offset="00000013"/>
    <frame level="5" function="realpath(wxString const&amp;)" offset="0000003c"/>
    <frame level="6" function="EditorManager::IsOpen(wxString const&amp;)" 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
Kernel Extremist - PedroM power ©

oBFusCATed

Quote from: jens on August 20, 2011, 09:13:07 AM
We had similar issues with the watches, that's why I added the pendingDelete flag.
It is set to true, if a watch has an active command and the real deletion is done in ParseOutput, so it can not crash.

I don't know, whether a similar mechanism would work for breakpoints.
I plan to switch all pointers to cb::shared_ptr, probably this change will fix the bug...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]