v5926 is very unstable

Discussion about CodeLite development process and patches
qdii
CodeLite Enthusiast
Posts: 13
Joined: Sun Nov 13, 2011 10:34 pm
Genuine User: Yes
IDE Question: C++
Contact:

v5926 is very unstable

Post by qdii »

Hey,
I have taken the source code from trunk this evening and codelite keeps crashing:
codelite: xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
Sometimes it crashes just after codelite has finished initializing. I will compile a debug version and try to provide a callstack.
qdii
CodeLite Enthusiast
Posts: 13
Joined: Sun Nov 13, 2011 10:34 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: v5926 is very unstable

Post by qdii »

I recompiled with --enable-debug and --enable-asserts and everything works perfectly. I then recompiled without those flags, and crash every time I launch it. Some more information here:
*** buffer overflow detected ***: codelite terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f613047ab47]
/lib64/libc.so.6(+0xfdb30)[0x7f6130478b30]
/lib64/libc.so.6(+0xffaf7)[0x7f613047aaf7]
/usr/lib/codelite/libcodeliteu.so(_ZN15UnixProcessImpl4ReadER8wxString+0x31)[0x7f613629b771]
/usr/lib/codelite/libcodeliteu.so(_ZN19ProcessReaderThread5EntryEv+0x5d)[0x7f613626f01d]
/usr/lib/codelite/libwx_baseu-2.9.so.4(+0x1c25e8)[0x7f61337bf5e8]
/lib64/libpthread.so.0(+0x8f4a)[0x7f613072bf4a]
/lib64/libc.so.6(clone+0x6d)[0x7f613046533d]
dev
* master
00400000-008ab000 r-xp 00000000 fe:01 37347 /usr/bin/codelite
00aab000-00aac000 r--p 004ab000 fe:01 37347 /usr/bin/codelite
00aac000-00ada000 rw-p 004ac000 fe:01 37347 /usr/bin/codelite
00ada000-00b11000 rw-p 00000000 00:00 0
01e36000-02be6000 rw-p 00000000 00:00 0 [heap]
7f60d4000000-7f60d4021000 rw-p 00000000 00:00 0
7f60d4021000-7f60d8000000 ---p 00000000 00:00 0
7f60da292000-7f60da2f2000 r-xp 00000000 fe:01 37729 /usr/lib64/codelite/libwx_gtk2u_ribbon-2.9.so.4.0.0
7f60da2f2000-7f60da4f2000 ---p 00060000 fe:01 37729 /usr/lib64/codelite/libwx_gtk2u_ribbon-2.9.so.4.0.0
7f60da4f2000-7f60da4f7000 r--p 00060000 fe:01 37729 /usr/lib64/codelite/libwx_gtk2u_ribbon-2.9.so.4.0.0
7f60da4f7000-7f60da4f8000 rw-p 00065000 fe:01 37729 /usr/lib64/codelite/libwx_gtk2u_ribbon-2.9.so.4.0.0
7f60da4f8000-7f60da4f9000 rw-p 00000000 00:00 0
7f60da4f9000-7f60da4fa000 ---p 00000000 00:00 0
7f60da4fa000-7f60dacfa000 rw-p 00000000 00:00 0 [stack:4583]
7f60dacfa000-7f60dad33000 r-xp 00000000 fe:01 37815 /usr/lib64/codelite/cscope.so
7f60dad33000-7f60daf33000 ---p 00039000 fe:01 37815 /usr/lib64/codelite/cscope.so
7f60daf33000-7f60daf37000 r--p 00039000 fe:01 37815 /usr/lib64/codelite/cscope.so
7f60daf37000-7f60daf38000 rw-p 0003d000 fe:01 37815 /usr/lib64/codelite/cscope.so
7f60daf38000-7f60daf85000 r-xp 00000000 fe:01 37873 /usr/lib64/codelite/CppCheck.so
7f60daf85000-7f60db185000 ---p 0004d000 fe:01 37873 /usr/lib64/codelite/CppCheck.so
7f60db185000-7f60db18b000 r--p 0004d000 fe:01 37873 /usr/lib64/codelite/CppCheck.so
7f60db18b000-7f60db18c000 rw-p 00053000 fe:01 37873 /usr/lib64/codelite/CppCheck.so
7f60db18c000-7f60db263000 r-xp 00000000 fe:01 37651 /usr/lib64/codelite/libwx_gtk2u_propgrid-2.9.so.4.0.0
7f60db263000-7f60db462000 ---p 000d7000 fe:01 37651 /usr/lib64/codelite/libwx_gtk2u_propgrid-2.9.so.4.0.0
7f60db462000-7f60db470000 r--p 000d6000 fe:01 37651 /usr/lib64/codelite/libwx_gtk2u_propgrid-2.9.so.4.0.0
7f60db470000-7f60db472000 rw-p 000e4000 fe:01 37651 /usr/lib64/codelite/libwx_gtk2u_propgrid-2.9.so.4.0.0
7f60db472000-7f60db474000 rw-p 00000000 00:00 0
7f60db474000-7f60db543000 r-xp 00000000 fe:01 37592 /usr/lib64/codelite/libwx_gtk2u_adv-2.8.so.0.8.0
7f60db543000-7f60db743000 ---p 000cf000 fe:01 37592 /usr/lib64/codelite/libwx_gtk2u_adv-2.8.so.0.8.0
7f60db743000-7f60db753000 r--p 000cf000 fe:01 37592 /usr/lib64/codelite/libwx_gtk2u_adv-2.8.so.0.8.0
7f60db753000-7f60db755000 rw-p 000df000 fe:01 37592 /usr/lib64/codelite/libwx_gtk2u_adv-2.8.so.0.8.0
7f60db755000-7f60db759000 rw-p 00000000 00:00 0
7f60db759000-7f60db791000 r-xp 00000000 fe:01 37618 /usr/lib64/codelite/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60db791000-7f60db991000 ---p 00038000 fe:01 37618 /usr/lib64/codelite/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60db991000-7f60db996000 r--p 00038000 fe:01 37618 /usr/lib64/codelite/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60db996000-7f60db997000 rw-p 0003d000 fe:01 37618 /usr/lib64/codelite/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60db997000-7f60db998000 rw-p 00000000 00:00 0
7f60db998000-7f60dbace000 r-xp 00000000 fe:01 37870 /usr/lib64/codelite/DatabaseExplorer.so
7f60dbace000-7f60dbcce000 ---p 00136000 fe:01 37870 /usr/lib64/codelite/DatabaseExplorer.so
7f60dbcce000-7f60dbce6000 r--p 00136000 fe:01 37870 /usr/lib64/codelite/DatabaseExplorer.so
7f60dbce6000-7f60dbcec000 rw-p 0014e000 fe:01 37870 /usr/lib64/codelite/DatabaseExplorer.so
7f60dbcec000-7f60dbced000 rw-p 00000000 00:00 0
7f60dbced000-7f60dbd0c000 r-xp 00000000 fe:01 37682 /usr/lib64/codelite/libwx_gtk2u_qa-2.8.so.0.8.0
7f60dbd0c000-7f60dbf0c000 ---p 0001f000 fe:01 37682 /usr/lib64/codelite/libwx_gtk2u_qa-2.8.so.0.8.0
7f60dbf0c000-7f60dbf0e000 r--p 0001f000 fe:01 37682 /usr/lib64/codelite/libwx_gtk2u_qa-2.8.so.0.8.0
7f60dbf0e000-7f60dbf0f000 rw-p 00021000 fe:01 37682 /usr/lib64/codelite/libwx_gtk2u_qa-2.8.so.0.8.0
7f60dbf0f000-7f60dc01d000 r-xp 00000000 fe:01 37751 /usr/lib64/codelite/libwx_gtk2u_stc-2.8.so.0.8.0
7f60dc01d000-7f60dc21c000 ---p 0010e000 fe:01 37751 /usr/lib64/codelite/libwx_gtk2u_stc-2.8.so.0.8.0
7f60dc21c000-7f60dc221000 r--p 0010d000 fe:01 37751 /usr/lib64/codelite/libwx_gtk2u_stc-2.8.so.0.8.0
7f60dc221000-7f60dc223000 rw-p 00112000 fe:01 37751 /usr/lib64/codelite/libwx_gtk2u_stc-2.8.so.0.8.0
7f60dc223000-7f60dc225000 rw-p 00000000 00:00 0
7f60dc225000-7f60dc252000 r-xp 00000000 fe:01 37824 /usr/lib64/codelite/Copyright.so
7f60dc252000-7f60dc451000 ---p 0002d000 fe:01 37824 /usr/lib64/codelite/Copyright.so
7f60dc451000-7f60dc455000 r--p 0002c000 fe:01 37824 /usr/lib64/codelite/Copyright.so
7f60dc455000-7f60dc456000 rw-p 00030000 fe:01 37824 /usr/lib64/codelite/Copyright.so
7f60dc456000-7f60dc472000 r-xp 00000000 fe:01 37642 /usr/lib64/codelite/libwx_gtk2u_media-2.9.so.4.0.0
7f60dc472000-7f60dc671000 ---p 0001c000 fe:01 37642 /usr/lib64/codelite/libwx_gtk2u_media-2.9.so.4.0.0
7f60dc671000-7f60dc673000 r--p 0001b000 fe:01 37642 /usr/lib64/codelite/libwx_gtk2u_media-2.9.so.4.0.0
7f60dc673000-7f60dc674000 rw-p 0001d000 fe:01 37642 /usr/lib64/codelite/libwx_gtk2u_media-2.9.so.4.0.0
7f60dc674000-7f60dc690000 r-xp 00000000 fe:01 37648 /usr/lib64/codelite/libwx_gtk2u_plot-2.8.so.0.8.0
7f60dc690000-7f60dc88f000 ---p 0001c000 fe:01 37648 /usr/lib64/codelite/libwx_gtk2u_plot-2.8.so.0.8.0
7f60dc88f000-7f60dc892000 r--p 0001b000 fe:01 37648 /usr/lib64/codelite/libwx_gtk2u_plot-2.8.so.0.8.0
7f60dc892000-7f60dc893000 rw-p 0001e000 fe:01 37648 /usr/lib64/codelite/libwx_gtk2u_plot-2.8.so.0.8.0
7f60dc893000-7f60dc894000 rw-p 00000000 00:00 0
7f60dc894000-7f60dc8c1000 r-xp 00000000 fe:01 37861 /usr/lib64/codelite/wxformbuilder.so
7f60dc8c1000-7f60dcac0000 ---p 0002d000 fe:01 37861 /usr/lib64/codelite/wxformbuilder.so
7f60dcac0000-7f60dcac4000 r--p 0002c000 fe:01 37861 /usr/lib64/codelite/wxformbuilder.so
7f60dcac4000-7f60dcac5000 rw-p 00030000 fe:01 37861 /usr/lib64/codelite/wxformbuilder.so
7f60dcac5000-7f60dcb1e000 r-xp 00000000 fe:01 37859 /usr/lib64/codelite/SnipWiz.so
7f60dcb1e000-7f60dcd1e000 ---p 00059000 fe:01 37859 /usr/lib64/codelite/SnipWiz.so
7f60dcd1e000-7f60dcd24000 r--p 00059000 fe:01 37859 /usr/lib64/codelite/SnipWiz.so
7f60dcd24000-7f60dcd25000 rw-p 0005f000 fe:01 37859 /usr/lib64/codelite/SnipWiz.so
7f60dcd25000-7f60dcd26000 rw-p 00000000 00:00 0
7f60dcd26000-7f60dce01000 r-xp 00000000 fe:01 37816 /usr/lib64/codelite/Subversion2.so
7f60dce01000-7f60dd001000 ---p 000db000 fe:01 37816 /usr/lib64/codelite/Subversion2.so
7f60dd001000-7f60dd014000 r--p 000db000 fe:01 37816 /usr/lib64/codelite/Subversion2.so
7f60dd014000-7f60dd016000 rw-p 000ee000 fe:01 37816 /usr/lib64/codelite/Subversion2.so
7f60dd016000-7f60dd017000 rw-p 00000000 00:00 0
7f60dd017000-7f60dd082000 r-xp 00000000 fe:01 37820 /usr/lib64/codelite/CodeFormatter.so
7f60dd082000-7f60dd281000 ---p 0006b000 fe:01 37820 /usr/lib64/codelite/CodeFormatter.so
7f60dd281000-7f60dd286000 r--p 0006a000 fe:01 37820 /usr/lib64/codelite/CodeFormatter.so
7f60dd286000-7f60dd288000 rw-p 0006f000 fe:01 37820 /usr/lib64/codelite/CodeFormatter.so
7f60dd288000-7f60dd2c8000 r-xp 00000000 fe:01 37858 /usr/lib64/codelite/ExternalTools.so
7f60dd2c8000-7f60dd4c8000 ---p 00040000 fe:01 37858 /usr/lib64/codelite/ExternalTools.so
7f60dd4c8000-7f60dd4cd000 r--p 00040000 fe:01 37858 /usr/lib64/codelite/ExternalTools.so
7f60dd4cd000-7f60dd4ce000 rw-p 00045000 fe:01 37858 /usr/lib64/codelite/ExternalTools.so
7f60dd4ce000-7f60dd4de000 r-xp 00000000 fe:01 1388021 /usr/lib64/libgstinterfaces-0.10.so.0.24.0
7f60dd4de000-7f60dd6de000 ---p 00010000 fe:01 1388021 /usr/lib64/libgstinterfaces-0.10.so.0.24.0
7f60dd6de000-7f60dd6df000 r--p 00010000 fe:01 1388021 /usr/lib64/libgstinterfaces-0.10.so.0.24.0
7f60dd6df000-7f60dd6e0000 rw-p 00011000 fe:01 1388021 /usr/lib64/libgstinterfaces-0.10.so.0.24.0
7f60dd6e0000-7f60dd7be000 r-xp 00000000 fe:01 1398507 /usr/lib64/libgstreamer-0.10.so.0.29.0
7f60dd7be000-7f60dd9bd000 ---p 000de000 fe:01 1398507 /usr/lib64/libgstreamer-0.10.so.0.29.0
7f60dd9bd000-7f60dd9c2000 r--p 000dd000 fe:01 1398507 /usr/lib64/libgstreamer-0.10.so.0.29.0
7f60dd9c2000-7f60dd9c4000 rw-p 000e2000 fe:01 1398507 /usr/lib64/libgstreamer-0.10.so.0.29.0
7f60dd9c4000-7f60dd9c6000 rw-p 00000000 00:00 0
7f60dd9c6000-7f60dd9d8000 r-xp 00000000 fe:01 37636 /usr/lib64/codelite/libwx_gtk2u_media-2.8.so.0.8.0
7f60dd9d8000-7f60ddbd8000 ---p 00012000 fe:01 37636 /usr/lib64/codelite/libwx_gtk2u_media-2.8.so.0.8.0
7f60ddbd8000-7f60ddbd9000 r--p 00012000 fe:01 37636 /usr/lib64/codelite/libwx_gtk2u_media-2.8.so.0.8.0
7f60ddbd9000-7f60ddbda000 rw-p 00013000 fe:01 37636 /usr/lib64/codelite/libwx_gtk2u_media-2.8.so.0.8.0
7f60ddbda000-7f60ddbe6000 r-xp 00000000 fe:01 37624 /usr/lib64/codelite/libwx_gtk2u_gl-2.8.so.0.8.0
7f60ddbe6000-7f60ddde6000 ---p 0000c000 fe:01 37624 /usr/lib64/codelite/libwx_gtk2u_gl-2.8.so.0.8.0
7f60ddde6000-7f60ddde7000 r--p 0000c000 fe:01 37624 /usr/lib64/codelite/libwx_gtk2u_gl-2.8.so.0.8.0
7f60ddde7000-7f60ddde8000 rw-p 0000d000 fe:01 37624 /usr/lib64/codelite/libwx_gtk2u_gl-2.8.so.0.8.0
7f60ddde8000-7f60dddf9000 r-xp 00000000 fe:01 37782 /usr/lib64/codelite/libwx_gtk2u_svg-2.8.so.0.8.0
7f60dddf9000-7f60ddff9000 ---p 00011000 fe:01 37782 /usr/lib64/codelite/libwx_gtk2u_svg-2.8.so.0.8.0
7f60ddff9000-7f60ddffa000 r--p 00011000 fe:01 37782 /usr/lib64/codelite/libwx_gtk2u_svg-2.8.so.0.8.0
7f60ddffa000-7f60ddffb000 rw-p 00012000 fe:01 37782 /usr/lib64/codelite/libwx_gtk2u_svg-2.8.so.0.8.0
7f60ddffb000-7f60de012000 r-xp 00000000 fe:01 1498666 /usr/lib64/codelite/SymbolView.so
7f60de012000-7f60de211000 ---p 00017000 fe:01 1498666 /usr/lib64/codelite/SymbolView.so
7f60de211000-7f60de213000 r--p 00016000 fe:01 1498666 /usr/lib64/codelite/SymbolView.so
7f60de213000-7f60de214000 rw-p 00018000 fe:01 1498666 /usr/lib64/codelite/SymbolView.so
7f60de214000-7f60de24c000 r-xp 00000000 fe:01 1398783 /usr/lib64/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60de24c000-7f60de44c000 ---p 00038000 fe:01 1398783 /usr/lib64/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60de44c000-7f60de451000 r--p 00038000 fe:01 1398783 /usr/lib64/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60de451000-7f60de452000 rw-p 0003d000 fe:01 1398783 /usr/lib64/libwx_gtk2u_gizmos-2.8.so.0.8.0
7f60de452000-7f60de453000 rw-p 00000000 00:00 0
7f60de453000-7f60de457000 r-xp 00000000 fe:01 37621 /usr/lib64/codelite/libwx_gtk2u_gizmos_xrc-2.8.so.0.8.0
7f60de457000-7f60de656000 ---p 00004000 fe:01 37621 /usr/lib64/codelite/libwx_gtk2u_gizmos_xrc-2.8.so.0.8.0
7f60de656000-7f60de657000 r--p 00003000 fe:01 37621 /usr/lib64/codelite/libwx_gtk2u_gizmos_xrc-2.8.so.0.8.0
7f60de657000-7f60de658000 rw-p 00004000 fe:01 37621 /usr/lib64/codelite/libwx_gtk2u_gizmos_xrc-2.8.so.0.8.0
7f60de658000-7f60de6dd000 r-xp 00000000 fe:01 37799 /usr/lib64/codelite/libwx_gtk2u_xrc-2.8.so.0.8.0
7f60de6dd000-7f60de8dc000 ---p 00085000 fe:01 37799 /usr/lib64/codelite/libwx_gtk2u_xrc-2.8.so.0.8.0
7f60de8dc000-7f60de8e1000 r--p 00084000 fe:01 37799 /usr/lib64/codelite/libwx_gtk2u_xrc-2.8.so.0.8.0
7f60de8e1000-7f60de8e2000 rw-p 00089000 fe:01 37799 /usr/lib64/codelite/libwx_gtk2u_xrc-2.8.so.0.8.0
7f60de8e2000-7f60de8e5000 rw-p 00000000 00:00 0
7f60de8e5000-7f60dea28000 r-xp 00000000 fe:01 37573 /usr/lib64/codelite/libwx_baseu-2.8.so.0.8.0
7f60dea28000-7f60dec27000 ---p 00143000 fe:01 37573 /usr/lib64/codelite/libwx_baseu-2.8.so.0.8.0
7f60dec27000-7f60dec2f000 r--p 00142000 fe:01 37573 /usr/lib64/codelite/libwx_baseu-2.8.so.0.8.0
7f60dec2f000-7f60dec34000 rw-p 0014a000 fe:01 37573 /usr/lib64/codelite/libwx_baseu-2.8.so.0.8.0
7f60dec34000-7f60dec3e000 rw-p 00000000 00:00 0
7f60dec3e000-7f60deca8000 r-xp 00000000 fe:01 37812 /usr/lib64/codelite/Gizmos.so
7f60deca8000-7f60deea8000 ---p 0006a000 fe:01 37812 /usr/lib64/codelite/Gizmos.so
7f60deea8000-7f60deeb0000 r--p 0006a000 fe:01 37812 /usr/lib64/codelite/Gizmos.so
7f60deeb0000-7f60deeb1000 rw-p 00072000 fe:01 37812 /usr/lib64/codelite/Gizmos.so
7f60deeb1000-7f60def0c000 r-xp 00000000 fe:01 37615 /usr/lib64/codelite/libwx_gtk2u_fl-2.8.so.0.8.0
7f60def0c000-7f60df10b000 ---p 0005b000 fe:01 37615 /usr/lib64/codelite/libwx_gtk2u_fl-2.8.so.0.8.0
7f60df10b000-7f60df110000 r--p 0005a000 fe:01 37615 /usr/lib64/codelite/libwx_gtk2u_fl-2.8.so.0.8.0
7f60df110000-7f60df111000 rw-p 0005f000 fe:01 37615 /usr/lib64/codelite/libwx_gtk2u_fl-2.8.so.0.8.0
7f60df111000-7f60df113000 rw-p 00000000 00:00 0
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
codelite: /tmp/portage/x11-libs/libX11-1.5.0/work/libX11-1.5.0/src/xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Compiled with GCC 4.7.1 on a Gentoo, 64 -bit architecture. libxcb is version 1.8.1-r1. I can provide more information if needed
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: v5926 is very unstable

Post by eranif »

Hi,

I dont see any crashes on this kind here (ubuntu 12.04, 64)
In addition, codelite does not make any use of 'xcb_xlib_unknown_req_in_deq'

Are you using GTK 3?
Which version of wxWidgets are you using?

My guess is that it is a wxWidgets bug - as I dont see any crashes here (GTK2) both in debug and release mode

Eran
Make sure you have read the HOW TO POST thread
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: v5926 is very unstable

Post by DavidGH »

Hi,

I've tested a release build of r5926 here (debian wheezy: gcc version 4.7.1 (Debian 4.7.1-7), libxcb 1.8.1-1) and can't make it crash, so I doubt that it's an intrinsic CodeLite issue.

A few random suggestions:
Which wxGTK are you using?( I just tested against both 2.9.4 and a recent svn trunk.)
Try temporarily renaming your ~/.codelite, in case it's caused by some particular setting or corrupt configuration.
Try building with -g -O3 (or whatever your optimisation setting normally is). That might get it to crash, but still produce a useful backtrace.
Have earlier CodeLite versions not crashed? If so, it would be great if you could bisect (try building/testing the version mid way between r5926 and the last known good one; then repeat with the new middle version; then repeat... until you find the earliest version that fails).

I hope some of the above helps.

Regards,

David
qdii
CodeLite Enthusiast
Posts: 13
Joined: Sun Nov 13, 2011 10:34 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: v5926 is very unstable

Post by qdii »

Hey guys,
I have been unable to reproduce the crash with "-O0 -g", but I crash a lot in O1, O2 and O3.
For the last crash I observed, gdb signals a buffer overflow with this callstack in thread 21

Code: Select all

 #0  0x00007ffff09d5f95 in raise () from /lib64/libc.so.6
#1  0x00007ffff09d7418 in abort () from /lib64/libc.so.6
#2  0x00007ffff0a14d3b in __libc_message () from /lib64/libc.so.6
#3  0x00007ffff0a9db47 in __fortify_fail () from /lib64/libc.so.6
#4  0x00007ffff0a9bb30 in __chk_fail () from /lib64/libc.so.6
#5  0x00007ffff0a9daf7 in __fdelt_warn () from /lib64/libc.so.6
#6  0x00007ffff65801cc in UnixProcessImpl::Read (this=0xd0c620, buff=...) at CodeLite/unixprocess_impl.cpp:293
#7  0x00007ffff6553dd2 in ProcessReaderThread::Entry (this=0x18769f0) at CodeLite/processreaderthread.cpp:57
#8  0x00007ffff3aeb5e8 in ?? () from /usr/lib/codelite/libwx_baseu-2.9.so.4
#9  0x00007ffff0d4ef4a in start_thread () from /lib64/libpthread.so.0
#10 0x00007ffff0a8833d in clone () from /lib64/libc.so.6 
and this call stack in thread 19:

Code: Select all

 #0  0x00007ffff0a81b63 in select () from /lib64/libc.so.6
#1  0x00007ffff6580225 in UnixProcessImpl::Read (this=0x1824dd0, buff=...) at CodeLite/unixprocess_impl.cpp:300
#2  0x00007ffff6553dd2 in ProcessReaderThread::Entry (this=0xc5f080) at CodeLite/processreaderthread.cpp:57
#3  0x00007ffff3aeb5e8 in ?? () from /usr/lib/codelite/libwx_baseu-2.9.so.4
#4  0x00007ffff0d4ef4a in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff0a8833d in clone () from /lib64/libc.so.6 
I understand that this is not helping a lot, as the buffer in question could have been allocated in so many different locations.
The good news is that, running codelite in valgrind shows a lot of errors that are related to wxGTK, so I will investigate on that side for the moment.

(errors given by valgrind: http://bpaste.net/show/54671/ )
Post Reply