User forums > Nightly builds
The 30 March 2008 build (4977) is out.
hawk:
Sorry if I writing to you in wrong theme, but I should get the answer in short time.
My CodeBlocks 8.02 doesn't mark up the lines with errors, when I "doubleclicking" to the error in build messages log! How can I fix it, koz i saw this function working at another PC. Please.
Pecan:
svn build rev 4999 (2008-04-06T11:09:14.941468Z) gcc 3.4.5 Windows/unicode
Directory structure
cbSnipSearch
App
Plugin
Editor
I cut two file from App, pasted them to Plugin with Explorer.
CB says "file deleted, keep them open or close?"
I responded "with the close option"
CB crashed
Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---bt
0x00b92f64 in ProjectFile::SetFileState (this=0xfeeefeee, state=fvsMissing)
at c:/Usr/Proj/cbBeta/trunk/src/sdk/projectfile.cpp:274
274 if (state != m_VisualState)
Current language: auto; currently c++
(gdb) bt
#0 0x00b92f64 in ProjectFile::SetFileState (this=0xfeeefeee, state=fvsMissing)
at c:/Usr/Proj/cbBeta/trunk/src/sdk/projectfile.cpp:274
#1 0x00b34ee4 in EditorManager::CheckForExternallyModifiedFiles (
this=0x2dd1db0) at c:/Usr/Proj/cbBeta/trunk/src/sdk/editormanager.cpp:869
#2 0x00b3f069 in EditorManager::OnCheckForModifiedFiles (this=0x2dd1db0,
event=@0x537d2d8)
at c:/Usr/Proj/cbBeta/trunk/src/sdk/editormanager.cpp:2507
#3 0x627c8185 in wxEvtHandler::ProcessEventIfMatches ()
from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
#4 0x627c84dc in wxEventHashTable::HandleEvent ()
from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
#5 0x627c94a9 in wxEvtHandler::ProcessEvent ()
from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
#6 0x627c92c9 in wxEvtHandler::ProcessPendingEvents ()
from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
#7 0x62701bf4 in wxAppConsole::ProcessPendingEvents ()
from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
#8 0x62cc47c5 in wxIdleWakeUpModule::MsgHookProc ()
from c:\Usr\Proj\cbBeta\trunk\src\devel\wxmsw28u_gcc_custom.dll
#9 0x77d4ed1a in USER32!IsCharAlphaW () from C:\WINDOWS\system32\user32.dll
#10 0x00000000 in ?? () from
#11 0x00000001 in ?? ()
#12 0x0022facc in ?? ()
---Type <return> to continue, or q <return> to quit---
Biplab:
--- Quote from: Pecan on April 18, 2008, 04:08:47 pm ---svn build rev 4999 (2008-04-06T11:09:14.941468Z) gcc 3.4.5 Windows/unicode
Directory structure
cbSnipSearch
App
Plugin
Editor
I cut two file from App, pasted them to Plugin with Explorer.
CB says "file deleted, keep them open or close?"
I responded "with the close option"
CB crashed
--- End quote ---
Though I couldn't reproduce the crash in my PC, but I think the following patch can fix this crash. :)
--- Code: ---Index: src/sdk/editormanager.cpp
===================================================================
--- src/sdk/editormanager.cpp (revision 5006)
+++ src/sdk/editormanager.cpp (working copy)
@@ -863,10 +863,10 @@
ed->SetModified(true);
else
{
- ed->Close();
ProjectFile* pf = ed->GetProjectFile();
if (pf)
pf->SetFileState(fvsMissing);
+ ed->Close();
}
continue;
}
--- End code ---
Navigation
[0] Message Index
[*] Previous page
Go to full version