Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
5406 : refuses to startup on linux
killerbot:
at the guy who committed today : linux version is broken :
--- Quote ---lieven@pcldcp:~> codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
OpenFilesList: loaded
ScriptedWizard: loaded
Profiler: loaded
Valgrind: loaded
AutoVersioning: loaded
HelpPlugin: loaded
Exporter: loaded
wxSmithContribItems: loaded
HexEditor: loaded
cbKeyBinder: loaded
ClassWizard: loaded
HeaderFixup: loaded
lib_finder: loaded
cbDragScroll: loaded
SymTab: loaded
CodeSnippets: loaded
EnvVars: loaded
ToDoList: loaded
BrowseTracker: loaded
CB_Koders: loaded
ProjectsImporter: loaded
FilesExtensionHandler: loaded
RegExTestbed: loaded
BYOGames: loaded
Debugger: loaded
IncrementalSearch: loaded
CodeStat: loaded
AStylePlugin: loaded
Compiler: loaded
Autosave: loaded
CodeCompletion: loaded
ThreadSearch: loaded
wxSmith: loaded
wxSmithMime: loaded
Open files list plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
Code profiler plugin activated
Valgrind plugin activated
AutoVersioning plugin activated
Help plugin plugin activated
Source Exporter plugin activated
wxSmith - Contrib Items plugin activated
HexEditor plugin activated
Keyboard shortcuts plugin activated
Class wizard plugin activated
Header Fixup plugin activated
Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).
Library finder plugin activated
DragScroll plugin activated
Symbol Table Plugin plugin activated
Code snippets plugin activated
Environment variables plugin activated
To-Do List plugin activated
BrowseTracker plugin activated
Koders query plugin activated
Foreign projects importer plugin activated
Files extension handler plugin activated
Regular expressions testbed plugin activated
BYO Games plugin activated
Debugger plugin activated
IncrementalSearch plugin activated
Code statistics plugin activated
Source code formatter (AStyle) plugin activated
Added compiler "GNU GCC Compiler"
Segmentation fault
--- End quote ---
Before I was at rev 5402 which worked OK.
mmkider:
--- Quote from: killerbot on January 16, 2009, 05:36:09 pm ---at the guy who committed today : linux version is broken :
--- Quote ---lieven@pcldcp:~> codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
OpenFilesList: loaded
ScriptedWizard: loaded
Profiler: loaded
Valgrind: loaded
AutoVersioning: loaded
HelpPlugin: loaded
Exporter: loaded
wxSmithContribItems: loaded
HexEditor: loaded
cbKeyBinder: loaded
ClassWizard: loaded
HeaderFixup: loaded
lib_finder: loaded
cbDragScroll: loaded
SymTab: loaded
CodeSnippets: loaded
EnvVars: loaded
ToDoList: loaded
BrowseTracker: loaded
CB_Koders: loaded
ProjectsImporter: loaded
FilesExtensionHandler: loaded
RegExTestbed: loaded
BYOGames: loaded
Debugger: loaded
IncrementalSearch: loaded
CodeStat: loaded
AStylePlugin: loaded
Compiler: loaded
Autosave: loaded
CodeCompletion: loaded
ThreadSearch: loaded
wxSmith: loaded
wxSmithMime: loaded
Open files list plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Lightfeather project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'SDL project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
Code profiler plugin activated
Valgrind plugin activated
AutoVersioning plugin activated
Help plugin plugin activated
Source Exporter plugin activated
wxSmith - Contrib Items plugin activated
HexEditor plugin activated
Keyboard shortcuts plugin activated
Class wizard plugin activated
Header Fixup plugin activated
Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).
Library finder plugin activated
DragScroll plugin activated
Symbol Table Plugin plugin activated
Code snippets plugin activated
Environment variables plugin activated
To-Do List plugin activated
BrowseTracker plugin activated
Koders query plugin activated
Foreign projects importer plugin activated
Files extension handler plugin activated
Regular expressions testbed plugin activated
BYO Games plugin activated
Debugger plugin activated
IncrementalSearch plugin activated
Code statistics plugin activated
Source code formatter (AStyle) plugin activated
Added compiler "GNU GCC Compiler"
Segmentation fault
--- End quote ---
Before I was at rev 5402 which worked OK.
--- End quote ---
The \src\plugins\compilergcc\compilergcc.cpp(line 3371) have a keyin error at rev 5403.
you need change some code from
--- Code: --- Quoted.Replace(_T("??), _T("\""), true);
Quoted.Replace(_T("??), _T("\""), true);
--- End code ---
to
--- Code: --- Quoted.Replace(_T("??"), _T("\""), true);
Quoted.Replace(_T("??"), _T("\""), true);
--- End code ---
I test rev 5406 in winxp with patch this place.
It run fine.
Jenna:
C::B core (built with C::B) works without problems.
I try it with plugins now, and if it still works, I try automake.
@mmkider
no such error here, if I change it manually I get a compile error, not a segfault at runtime:
--- Code: ---g++ -Wall -g -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -fmessage-length=0 -fexceptions -Winvalid-pch -Ulinux -Uunix -fPIC -DcbDEBUG -DCB_PRECOMP -Iinclude -Iplugins/compilergcc/depslib/src -Iinclude/scripting/include -Iinclude/scripting/sqplus -Iinclude/wxscintilla/include -c /home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp -o .objs/plugins/compilergcc/compilergcc.o
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371:28: warning: trigraph ??) ignored, use -trigraphs to enable
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371: error: stray ‘\’ in program
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372:28: warning: trigraph ??) ignored, use -trigraphs to enable
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372: error: stray ‘\’ in program
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp: In member function ‘void CompilerGCC::LogMessage(const wxString&, CompilerLineType, LogTarget, bool, bool, bool)’:
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3371: error: no matching function for call to ‘wxString::Replace(const wchar_t [9], bool)’
/usr/include/wx-2.8/wx/string.h:1175: note: candidates are: size_t wxString::Replace(const wxChar*, const wxChar*, bool)
/home/jens/codeblocks-build/codeblocks.trunk/src/plugins/compilergcc/compilergcc.cpp:3372: error: no matching function for call to ‘wxString::Replace(const wchar_t [9], bool)’
/usr/include/wx-2.8/wx/string.h:1175: note: candidates are: size_t wxString::Replace(const wxChar*, const wxChar*, bool)
--- End code ---
MortenMacFly:
--- Quote from: killerbot on January 16, 2009, 05:36:09 pm ---at the guy who committed today : linux version is broken :
[...]
Added compiler "GNU GCC Compiler"
Segmentation fault
--- End quote ---
Who is that guy? :lol:
What happens if you revert the modification of compilergcc (and just those) to r5402?
MortenMacFly:
--- Quote from: mmkider on January 16, 2009, 05:47:24 pm ---
--- Code: --- Quoted.Replace(_T("??), _T("\""), true);
Quoted.Replace(_T("??), _T("\""), true);
--- End code ---
to
--- Code: --- Quoted.Replace(_T("??"), _T("\""), true);
Quoted.Replace(_T("??"), _T("\""), true);
--- End code ---
--- End quote ---
This I didn't touch at all...?! And in addition: it looks fine for me in SVN an on my local copy...?!
Navigation
[0] Message Index
[#] Next page
Go to full version