User forums > Nightly builds
The 19 september 2006 build is out.
Schlumie:
--- Quote from: artoj on September 20, 2006, 01:06:17 pm ---As far as I know, unions are not currently supported.
--- End quote ---
Should'nt it be parsed like "struct" ? Ok, the data is stored on the same memposition, but this doesnt matter for the codecompletition... so if union and struct would be be handled the same way for the code completition it would be ok ?
Pecan:
--- Quote from: artoj on September 20, 2006, 09:15:37 am --- if we look at the menu of Code snippets you can see effects clearly.
...<snip>...
The "corruption" seems like it's missing the menu images (which don't even exist) so it won't even show the scope menu's check mark.
I'm fairly sure that this issue is because of XRC loaded menus in the main application.
--- End quote ---
Would you turn KeyBinder off and see if the problem still exists.
Because Keybinder reWrites images and menu items, I'm always suspicious.
artoj:
--- Quote from: Pecan on September 20, 2006, 02:06:09 pm ---Would you turn KeyBinder off and see if the problem still exists.
Because Keybinder rewrites images and menu items, I'm always suspicious.
--- End quote ---
The problem still exists; I have only compiler, debugger, file extensions handler plugins enabled.
once_upon_user:
Hello,
I'm new to Code Blocks, using it for a few days right now. I tried SVN Source that correspond to the 19 September Built and some earlier one.
I had to compiled source from SVN because of my retired distro: Fedora Core 3. I have compiled and installed CodeBlocks and wxWidgets along the Installation guide from the CB Wiki. My system is:
kernel: 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686 i686 i386 GNU/Linux
wx-config --version : 2.6.3
glibc-2.3.3-74
gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
xorg-x11: 6.8.1-12
I Use CB to work with my project which is rather big and was created in VC++ so I have imported it to CB and edit my code with CB, and
CodeBlocks runs in pretty unstable way.. I often get Segmentation Faults.. I present three situations in which I get segfault:
1. Sometimes without any particular action (during diffrent operations) I get SegFault. Most often My console(The one I used to run CB) output
looks like this:
Xft: locking error too many file unlocks
Xft: locking error too many file unlocks
Xft: locking error too many file unlocks
Xft: locking error too many file unlocks
....
And after some time , in GDB:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -225825872 (LWP 5424)]
0x00000019 in ?? ()
(gdb) bt
#0 0x00000019 in ?? ()
#1 0x00a6842c in g_hash_table_insert () from /usr/lib/libglib-2.0.so.0
#2 0x00c53a70 in pango_context_get_base_dir () from /usr/lib/libpango-1.0.so.0
#3 0x00c54270 in pango_context_get_base_dir () from /usr/lib/libpango-1.0.so.0
#4 0x00c545b4 in pango_context_get_base_dir () from /usr/lib/libpango-1.0.so.0
#5 0x00c5495a in pango_itemize_with_base_dir () from /usr/lib/libpango-1.0.so.0
#6 0x00c5b75c in pango_layout_line_get_pixel_extents () from /usr/lib/libpango-1.0.so.0
#7 0x00c5c4f7 in pango_layout_line_get_pixel_extents () from /usr/lib/libpango-1.0.so.0
#8 0x00c5cccf in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#9 0xf686c784 in wxWindowDC::DoGetTextExtent () from /opt/wx/2.6/lib/libwx_gtk2u-2.6.so.0
#10 0xf6989942 in wxGenericTreeCtrl::CalculateSize () from /opt/wx/2.6/lib/libwx_gtk2u-2.6.so.0
#11 0xf6989bf8 in wxGenericTreeCtrl::SetItemImage () from /opt/wx/2.6/lib/libwx_gtk2u-2.6.so.0
#12 0xf37f7316 in ClassBrowserBuilderThread::AddNodeIfNotThere (this=0x53, tree=0x9165fe0, parent={m_pItem = 0xf2acfc58}, name=@0xf28a2260, imgIndex=1,
data=0xee893b00, sorted=152) at classbrowserbuilderthread.cpp:192
#13 0xf37f7e31 in ClassBrowserBuilderThread::AddNodes (this=0x8fcafc8, tree=0x9165fe0, parent={m_pItem = 0xf2acfc58}, start={_M_node = 0xf11718a0},
tokenKindMask=-609, allowGlobals=false) at openfilestree.h:14
#14 0xf37f80fe in ClassBrowserBuilderThread::AddChildrenOf (this=0x8fcafc8, tree=0x9165fe0, parentTokenIdx=-1, tokenKindMask=-609)
at classbrowserbuilderthread.cpp:253
#15 0xf37f8207 in ClassBrowserBuilderThread::ExpandItem (this=0x8fcafc8, item={m_pItem = 0xf2acfc58}) at token.h:91
#16 0xf37f8b66 in ClassBrowserBuilderThread::BuildTree (this=0x8fcafc8) at classbrowserbuilderthread.cpp:128
#17 0xf37f8bfb in ClassBrowserBuilderThread::Entry (this=0x8fcafc8) at classbrowserbuilderthread.cpp:85
#18 0xf68317bd in wxThreadInternal::PthreadStart () from /opt/wx/2.6/lib/libwx_gtk2u-2.6.so.0
#19 0xf683182b in wxPthreadStart () from /opt/wx/2.6/lib/libwx_gtk2u-2.6.so.0
#20 0x0092c1d5 in start_thread () from /lib/tls/libpthread.so.0
#21 0x007ad2da in clone () from /lib/tls/libc.so.6
2. Another situation when I have launched CB (another case after quitting )
I have got in console:
Starting program: /usr/local/bin/codeblocks
[Thread debugging using libthread_db enabled]
[New Thread -161216832 (LWP 5480)]
[New Thread -165549136 (LWP 5483)]
[New Thread -176038992 (LWP 5484)]
[New Thread -186528848 (LWP 5485)]
[New Thread -197018704 (LWP 5486)]
[New Thread -209982544 (LWP 5487)]
[New Thread -225899600 (LWP 5488)]
Detaching after fork from child process 5489.
Detaching after fork from child process 5491.
Detaching after fork from child process 5493.
[New Thread -236389456 (LWP 5495)]
[Thread -236389456 (zombie) exited]
[New Thread -236389456 (LWP 5496)]
[Thread -236389456 (LWP 5496) exited]
[New Thread -236389456 (LWP 5497)]
[Thread -236389456 (LWP 5497) exited]
[New Thread -236389456 (LWP 5498)]
[Thread -236389456 (LWP 5498) exited]
and Backtrace from GDB (Attachment1)
3. Another situations occured during usual way:
Console:
[Thread debugging using libthread_db enabled]
[New Thread -161216832 (LWP 11507)]
[New Thread -165549136 (LWP 11510)]
[New Thread -176038992 (LWP 11511)]
[New Thread -186528848 (LWP 11512)]
[New Thread -197018704 (LWP 11513)]
[New Thread -209982544 (LWP 11514)]
[New Thread -225825872 (LWP 11515)]
Detaching after fork from child process 11516.
Detaching after fork from child process 11518.
Detaching after fork from child process 11520.
[New Thread -238232656 (LWP 11522)]
[Thread -238232656 (zombie) exited]
[New Thread -238232656 (LWP 11523)]
[Thread -238232656 (LWP 11523) exited]
[New Thread -238232656 (LWP 11524)]
[Thread -238232656 (LWP 11524) exited]
[New Thread -238232656 (LWP 11525)]
[Thread -238232656 (LWP 11525) exited]
[New Thread -238232656 (LWP 11526)]
[Thread -238232656 (LWP 11526) exited]
[New Thread -238232656 (LWP 11527)]
[Thread -238232656 (LWP 11527) exited]
[New Thread -238232656 (LWP 11528)]
[Thread -238232656 (LWP 11528) exited]
*** glibc detected *** double free or corruption: 0x08eea1a8 ***
And GDB log (attachment2)
So, thanks in advance for any suggestions, opinions any other contribution that will allow me to use CB without SegFault
Greets
[attachment deleted by admin]
Pecan:
--- Quote from: artoj on September 20, 2006, 02:31:08 pm ---
--- Quote from: Pecan on September 20, 2006, 02:06:09 pm ---Would you turn KeyBinder off and see if the problem still exists.
Because Keybinder rewrites images and menu items, I'm always suspicious.
--- End quote ---
The problem still exists; I have only compiler, debugger, file extensions handler plugins enabled.
--- End quote ---
I still cannot recreate the error(latest SVN). I click on codeSnippets/searchButton/Scope. The dot is there.
I then click on File/Open/cancel. I then click on Codesnippet/SearachButton/Scope. Again, the dot is there.
How do you create the error?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version