User forums > Nightly builds
The 17 october 2006 build is out.
MortenMacFly:
--- Quote from: Pecan on October 18, 2006, 06:19:47 pm ---When a project is loaded, and a file is open in the editor, an infinite loop results trying to change syntax hilighting.
--- End quote ---
Cannot reproduce?! You just change the syntax hightlight? To what? (I tried several but they all wored ok.) What's the base language of the syntax highlight of your file before the change?
With regards, Morten (r3004).
mandrav:
--- Quote from: MortenMacFly on October 18, 2006, 07:52:46 pm ---
--- Quote from: Pecan on October 18, 2006, 07:03:23 pm ---
--- Code: ---ERROR: Plugin resource not found: compilergcc.zip
ERROR: Plugin resource not found: debuggergdb.zip
--- End code ---
--- End quote ---
I think I know, why this happens: The ZIP files are being created by the update batch file, not within the project (as post-compilation steps). I think this should be changed for the plugins in CodeBlock's main project file and removed from update.bat. Also the option "always execute even if target is up-to-date" should be enabled then... Any objections?
With regards, Morten.
--- End quote ---
People, don't search in the bushes ;)
When a plugins folder is scanned for plugins, for each plugin found a same-named resource (.zip) is searched for. If it's not found, you see that message.
In short, Pecan got it right: there are older dlls in the plugins folder. Just delete them and move on.
These dlls are the ones we renamed at some point: compilergcc.dll->compiler.dll, debuggergdb.dll->debugger.dll, pluginwizard.dll->[removed] and wizard.dll->scriptedwizard.dll.
mandrav:
--- Quote from: killerbot on October 18, 2006, 07:50:32 pm ---
--- Quote from: Pecan on October 18, 2006, 06:19:47 pm ---Version 1.0 revision 3103 (2006-10-18 07:54:00) gcc 3.4.4 Windows/unicode
Infinite loop.
When a project is loaded, and a file is open in the editor, an infinite loop results trying to change syntax hilighting.
EDIT:
Woops, I just got it at the html page after closing codeblocks.cbp then attempting to change the active line highlite.
It happens at the OK press to dismiss the config dialog.
It does not happen when a project is *never* loaded.
SVN 3094 is ok. (My last backup)
Damn, caused by codecompletion plugin. Remove plugins one by one, then restored one by one.
Also, disabling code completion via the plugin manager solve the problem.
--- End quote ---
Could you do some further tests to narrow it down ??
Possible candidates could be :
rev 3098 : dragscroll update ( I don't think this has something to do with it, but today after this update it turned on the auto focus while I didn't hav that in the past)
rev 3099 : contains a changed for the native parser (but ifdef-ed and just fo logging purposes)
rev 3100 : specific change for codecompletion !!!!!!!
I think rev 3100 is the most likely one ?
I also had some crashes today, but hard to reproduce.
--- End quote ---
I have noticed another lock-up: open a couple of files and try Ctrl-Tabbing between them...
Indeed it is code-completion related. And, to narrow it down, it is related to the symbols browser updating.
Isn't 3100 the revision with that fix for the linux crashes (regarding cairo_font_something)?
If yes, maybe this patch doesn't work too well on windows?
Pecan:
While editing an .xrc file, I hit the taskbar save icon and got the following crash. Looks like a codecompletion crash.
XP svn3103
--- Code: ---Program received signal SIGSEGV, Segmentation fault.
0x6068bbde in cbThreadedTask::Abort (this=0xfeeefeee)
at sdk//cbthreadedtask.h:62
62 m_abort = true;
Current language: auto; currently c++
(gdb) bt
#0 0x6068bbde in cbThreadedTask::Abort (this=0xfeeefeee)
at sdk//cbthreadedtask.h:62
#1 0x604e824e in cbThreadPool::cbWorkerThread::AbortTask (this=0x4061970)
at sdk/cbthreadpool.cpp:257
#2 0x604e820e in cbThreadPool::cbWorkerThread::Abort (this=0x4061970)
at sdk/cbthreadpool.cpp:243
#3 0x606dfe1d in std::mem_fun_t<void, cbThreadPool::cbWorkerThread>::operator()
(this=0x22e758, __p=0x4061970)
at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
4.4/bits/stl_function.h:728
#4 0x6070edbc in std::for_each<__gnu_cxx::__normal_iterator<cbThreadPool::cbWor
kerThread**, std::vector<cbThreadPool::cbWorkerThread*, std::allocator<cbThreadP
ool::cbWorkerThread*> > >, std::mem_fun_t<void, cbThreadPool::cbWorkerThread> >
(__first={_M_current = 0x55127b8}, __last={_M_current = 0x55127bc}, __f=
{<unary_function<cbThreadPool::cbWorkerThread*,void>> = {<No data fields
>}, _M_f = {__pfn = &cbThreadPool::cbWorkerThread::Abort(), __delta = 0}})
at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
4.4/bits/stl_algo.h:158
#5 0x604e6f45 in cbThreadPool::~cbThreadPool (this=0x22e9bc)
at sdk/cbthreadpool.cpp:18
#6 0x64bb8272 in Parser::~Parser (this=0x22e930)
at plugins/codecompletion/parser/parser.cpp:167
#7 0x64ba3e00 in CodeCompletion::ParseFunctionsAndFillToolbar (this=0x1ec79f0)
---Type <return> to continue, or q <return> to quit---
at plugins/codecompletion/codecompletion.cpp:1117
#8 0x64ba32ed in CodeCompletion::OnReparseActiveEditor (this=0x1ec79f0,
event=@0x22ece0) at plugins/codecompletion/codecompletion.cpp:982
#9 0x100aa808 in wxEvtHandler::ProcessEventIfMatches ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#10 0x100aabcc in wxEventHashTable::HandleEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#11 0x100abba9 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#12 0x100abb49 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#13 0x100abb49 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#14 0x100abb49 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#15 0x100abb49 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#16 0x100abb49 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#17 0x100abb49 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
#18 0x100abb49 in wxEvtHandler::ProcessEvent ()
from c:\usr\codeblocks\bin\wxmsw26u_gcc_custom.dll
(gdb) bt full
#0 0x6068bbde in cbThreadedTask::Abort (this=0xfeeefeee)
at sdk//cbthreadedtask.h:62
No locals.
#1 0x604e824e in cbThreadPool::cbWorkerThread::AbortTask (this=0x4061970)
at sdk/cbthreadpool.cpp:257
lock = {m_isOk = true, m_mutex = @0x40619a4}
#2 0x604e820e in cbThreadPool::cbWorkerThread::Abort (this=0x4061970)
at sdk/cbthreadpool.cpp:243
No locals.
#3 0x606dfe1d in std::mem_fun_t<void, cbThreadPool::cbWorkerThread>::operator()
(this=0x22e758, __p=0x4061970)
at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
4.4/bits/stl_function.h:728
No locals.
#4 0x6070edbc in std::for_each<__gnu_cxx::__normal_iterator<cbThreadPool::cbWor
kerThread**, std::vector<cbThreadPool::cbWorkerThread*, std::allocator<cbThreadP
ool::cbWorkerThread*> > >, std::mem_fun_t<void, cbThreadPool::cbWorkerThread> >
(__first={_M_current = 0x55127b8}, __last={_M_current = 0x55127bc}, __f=
{<unary_function<cbThreadPool::cbWorkerThread*,void>> = {<No data fields
>}, _M_f = {__pfn = &cbThreadPool::cbWorkerThread::Abort(), __delta = 0}})
at c:/usr/codeblocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.
4.4/bits/stl_algo.h:158
No locals.
---Type <return> to continue, or q <return> to quit---
#5 0x604e6f45 in cbThreadPool::~cbThreadPool (this=0x22e9bc)
at sdk/cbthreadpool.cpp:18
lock = {m_isOk = true, m_mutex = @0x22e9e8}
#6 0x64bb8272 in Parser::~Parser (this=0x22e930)
at plugins/codecompletion/parser/parser.cpp:167
No locals.
#7 0x64ba3e00 in CodeCompletion::ParseFunctionsAndFillToolbar (this=0x1ec79f0)
at plugins/codecompletion/codecompletion.cpp:1117
edMan = (class EditorManager *) 0x1da10b8
ed = (class cbEditor *) 0x3bf42a8
parser = {<> = {<No data fields>}, m_Options = {
followLocalIncludes = true, followGlobalIncludes = false,
caseSensitive = false, wantPreprocessor = false, useSmartSense = true},
m_BrowserOptions = {showInheritance = false, displayFilter = bdfWorkspace},
m_GlobalIncludes = {<BasicSearchTree> = {_vptr$BasicSearchTree = 0x64c456c4,
m_Labels = {<_Vector_base<wxString,std::allocator<wxString> >> = {
_M_impl = {<allocator<wxString>> = {<new_allocator<wxString>> = {<No d
ata fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
_M_end_of_storage = 0x0}}, <No data fields>},
m_pNodes = {<_Vector_base<SearchTreeNode*,std::allocator<SearchTreeNode*>
>> = {
_M_impl = {<allocator<SearchTreeNode*>> = {<new_allocator<SearchTreeNo
de*>> = {<No data fields>}, <No data fields>}, _M_start = 0x5510a58,
---Type <return> to continue, or q <return> to quit---
_M_finish = 0x5510a5c,
_M_end_of_storage = 0x5510a5c}}, <No data fields>},
m_Points = {<_Vector_base<SearchTreePoint,std::allocator<SearchTreePoint>
>> = {
_M_impl = {<allocator<SearchTreePoint>> = {<new_allocator<SearchTreePo
int>> = {<No data fields>}, <No data fields>}, _M_start = 0x40b9ab0,
_M_finish = 0x40b9ab8,
_M_end_of_storage = 0x40b9ab8}}, <No data fields>}},
m_Items = {<_Vector_base<wxString,std::allocator<wxString> >> = {
_M_impl = {<allocator<wxString>> = {<new_allocator<wxString>> = {<No dat
a fields>}, <No data fields>}, _M_start = 0x3d1a5b0, _M_finish = 0x3d1a5b4,
_M_end_of_storage = 0x3d1a5b4}}, <No data fields>}},
m_IncludeDirs = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0,
m_autoSort = false}, m_pParent = 0x1ec79f0, m_RootNode = {m_pItem = 0x0},
m_pImageList = 0x0, m_UsingCache = false, m_Pool = {m_pOwner = 0x22e930,
m_ID = 900, m_batching = false, m_concurrentThreads = 1,
m_concurrentThreadsSchedule = 0,
m_threads = {<_Vector_base<cbThreadPool::cbWorkerThread*,std::allocator<cbTh
readPool::cbWorkerThread*> >> = {
_M_impl = {<allocator<cbThreadPool::cbWorkerThread*>> = {<new_allocator<
cbThreadPool::cbWorkerThread*>> = {<No data fields>}, <No data fields>},
_M_start = 0x55127b8, _M_finish = 0x55127bc,
_M_end_of_storage = 0x55127bc}}, <No data fields>},
---Type <return> to continue, or q <return> to quit---
m_tasksQueue = {<_List_base<cbThreadPool::cbThreadedTaskElement,std::allocat
or<cbThreadPool::cbThreadedTaskElement> >> = {
_M_impl = {<allocator<std::_List_node<cbThreadPool::cbThreadedTaskElemen
t> >> = {<new_allocator<std::_List_node<cbThreadPool::cbThreadedTaskElement> >>
= {<No data fields>}, <No data fields>}, _M_node = {_M_next = 0x22e9dc,
_M_prev = 0x22e9dc}}}, <No data fields>}, m_workingThreads = 0,
m_Mutex = {m_internal = 0x54d4360}, m_semaphore = {ptr = 0x5511a88,
count = 0x5512980}}, m_pTokens = 0x0, m_pTempTokens = 0x0,
m_LocalFiles = {_M_t = {
_M_impl = {<allocator<std::_Rb_tree_node<wxString> >> = {<new_allocator<st
d::_Rb_tree_node<wxString> >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<binary_function<wxString,wxString,bool>> = {<No data
fields>}, <No data fields>}, _M_header = {_M_color = _S_red, _M_parent = 0x0,
_M_left = 0x22ea00, _M_right = 0x22ea00}, _M_node_count = 0}}},
m_NeedsReparse = false, m_IsBatch = false, m_pClassBrowser = 0x0,
m_TreeBuildingStatus = 0, m_TreeBuildingTokenIdx = 0,
m_timer = <incomplete type>, m_batchtimer = <incomplete type>,
m_StopWatch = {m_t0 = {m_ll = 1161194714453}, m_pause = 0,
m_pauseCount = 0}, m_StopWatchRunning = false, m_LastStopWatchTime = 0,
m_IgnoreThreadEvents = true, m_ShuttingDown = true,
m_pClassBrowserBuilderThread = 0x0, static sm_eventTableEntries = {
{<wxEventTableEntryBase> = {m_id = 0, m_lastId = 0, m_fn = {__pfn = invalid
pointer to member function
(gdb)
--- End code ---
Pecan:
--- Quote from: killerbot on October 18, 2006, 07:50:32 pm ---rev 3098 : dragscroll update ( I don't think this has something to do with it, but today after this update it turned on the auto focus while I didn't hav that in the past)
--- End quote ---
The loop is definitely codecompletion related.
However, I apologize for the dragscroll bug. I thought I had carefully set focus follows mouse to default=off. I'll check it again.
thanks
pecan
Edit:
Fixed svn 3105. I had mistakenly set AutoFocusEditor to default true when I set FocusFollowsMouse to default off.
Bad bad robot.
Navigation
[0] Message Index
[*] Previous page
Go to full version