User forums > Nightly builds
The 25 september 2010 build (6634) CODECOMPLETION BRANCH version is out.
polygon7:
Hi,
I have following segfaults when loading some big project ~800k LOC /
~3000-4000 files (but about 10 files are opened) with C::B version 10.05cc6634-1
from Jens repository (CC branch). I have it usually three times on five C::B starts.
--- Quote ---Editor Open
project data set for /home/xxxxx.h
Top Editor: /home/xxxxx.cpp
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
[New Thread 0xa9bb1b70 (LWP 30027)]
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
Caching GCC dir: /usr/include/c++/4.4
Caching GCC dir: /usr/include/c++/4.4/i486-linux-gnu
Caching GCC dir: /usr/include/c++/4.4/backward
Caching GCC dir: /usr/local/include
Caching GCC dir: /usr/lib/gcc/i486-linux-gnu/4.4.3/include
Caching GCC dir: /usr/lib/gcc/i486-linux-gnu/4.4.3/include-fixed
Caching GCC dir: /usr/include
Passing list of files to batch-parser.
Header to parse up-front: '/usr/include/c++/4.4/cstddef'
Add up-front parsing 1 file(s) for project 'xxxxx'...
Add batch-parsing 4979 file(s) for project 'xxxxx'...
Create new parser for project 'xxxxx'
Starting batch parsing for project 'xxxxx'...
Start switch from OnParserStart::ptCreateParser
Switch parser to project 'xxxxx'
[New Thread 0xa93b0b70 (LWP 30032)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa9bb1b70 (LWP 30027)]
0x00000adf in ?? ()
(gdb) bt
#0 0x00000adf in ?? ()
#1 0x00f06698 in wxEvtHandler::AddPendingEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#2 0x00263e91 in wxPostEvent (this=0xb1c148c) at /usr/include/wx-2.8/wx/event.h:2570
#3 cbThreadPool::TaskDone (this=0xb1c148c) at cbthreadpool.cpp:167
#4 0x002642e4 in cbThreadPool::cbWorkerThread::Entry (this=0xa936000) at cbthreadpool.cpp:236
#5 0x00f058b8 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#6 0x00f0591d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#7 0x00f7396e in start_thread (arg=0xa9bb1b70) at pthread_create.c:300
#8 0x01193a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
(gdb)
--- End quote ---
Loaden:
What is the meaning about this log?
--- Quote ---** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
[New Thread 0xa9bb1b70 (LWP 30027)]
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
--- End quote ---
:(
polygon7:
--- Quote from: Loaden on September 30, 2010, 01:02:49 pm ---What is the meaning about this log?
--- Quote ---** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
[New Thread 0xa9bb1b70 (LWP 30027)]
** (codeblocks:29715): CRITICAL **: smooth_draw_flat_box: assertion `width >= -1' failed
--- End quote ---
:(
--- End quote ---
I think it is related to gtk/wxgtk, but unfortunately google says nothing special about that message.
I don't remember if I see it earlier but I don't run C::B in console or in gdb very often.
// EDIT: Yet another thing - I have lot of messages:
--- Quote ---C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
C++ Parser is still parsing files...
--- End quote ---
and Ctrl+Space (CC) is not working.
childinsilence:
--- Quote from: polygon7 on September 30, 2010, 01:53:32 pm ---I think it is related to gtk/wxgtk, but unfortunately google says nothing special about that message.
I don't remember if I see it earlier but I don't run C::B in console or in gdb very often.
--- End quote ---
The function can be found here (for example, don't know which version you use): Google Codesearch
The message you get is related to GTK, because I get it in one of my wxWidget applications too.
EDIT: Forgot to say, that I use wxGTK on the one and wxMSW on another system. I get that message only on wxGTK. :lol:
killerbot:
I found some issues with code completion. They are described here : http://forums.codeblocks.org/index.php/topic,13413.0.html
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version