Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
C::B segfault on startup (~2387)
polygon7:
C::B 2387 and below to (if i remember correctly) 236x.
--- Quote ---gcc (GCC) 4.1.0 (Gentoo 4.1.0),
GNU Make 3.81,
glibc 2.4 - Available extensions:
The C stubs add-on version 2.1.2.
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
GNU libio by Per Bothner
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
Thread-local storage support included.
wxGTK 2.6.3.2 Unicode (wx_gtk2u)
--- End quote ---
C::B compiled with flags that i use in emerge:
--- Quote -----enable-contrib CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -m3dnow \
-mmmx -mfpmath=387 -pipe -fomit-frame-pointer -fno-rename-registers -fno-ident \
-fvisibility-inlines-hidden -s"
--- End quote ---
--- Quote ---(gdb) run
Starting program: /usr/local/bin/codeblocks
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1231894864 (LWP 21084)]
[New Thread -1252234336 (LWP 21169)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231894864 (LWP 21084)]
0xb7dc6bf1 in copyloop () from /usr/local/lib/libcodeblocks.so.0
(gdb) bt
#0 0xb7dc6bf1 in copyloop () from /usr/local/lib/libcodeblocks.so.0
#1 0xb7da4470 in scWxString::scWxString () from /usr/local/lib/libcodeblocks.so.0
#2 0xb7dc79cf in CallSystemFunction () from /usr/local/lib/libcodeblocks.so.0
#3 0xb7de8dd7 in asCContext::ExecuteNext () from /usr/local/lib/libcodeblocks.so.0
#4 0xb7dea3ab in asCContext::Execute () from /usr/local/lib/libcodeblocks.so.0
#5 0xb7d84292 in ScriptingManager::Compile () from /usr/local/lib/libcodeblocks.so.0
#6 0xb58c0424 in Wiz::OnAttach () from /usr/local/share/codeblocks/plugins/libprojectwizard.so
#7 0xb7c90cee in cbPlugin::Attach () from /usr/local/lib/libcodeblocks.so.0
#8 0xb7d451a0 in PluginManager::LoadAllPlugins () from /usr/local/lib/libcodeblocks.so.0
#9 0x08083f40 in MainFrame::OnToggleStatusBar ()
#10 0x08090c27 in MainFrame::OnPluginLoaded ()
#11 0x08063420 in CodeBlocksApp::OnAppActivate ()
#12 0x0806422f in CodeBlocksApp::OnAppActivate ()
#13 0x0806520f in CodeBlocksApp::OnAppActivate ()
#14 0xb74872c2 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#15 0xb74873a7 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#16 0x0805fc0f in ?? ()
#17 0xb72ca8bf in __libc_start_main () from /lib/libc.so.6
--- End quote ---
Clean install, ~/.codeblocks dir deleted. I dont know why but it segfaults on splashscreen.
Did i do something wrong here? If more info is needed then please tell me what,
and i will try to put it here.
mandrav:
For some reason it fails when running the new project wizard's script. A temporary fix is to disable it by moving away or renaming <install_prefix>/share/codeblocks/templates/wizard/config.script.
polygon7:
Thanks, it works :)
tiger683:
Any progress with this one?
mandrav:
--- Quote from: tiger683 on May 05, 2006, 12:57:57 pm ---Any progress with this one?
--- End quote ---
What progress? It works just fine in any 32bit distro I tested it (scripting is not supported for 64bit currently), I can't see any errors. I don't have a Gentoo system to test though nor can I provide support for ebuilds (don't know about them), sorry.
Navigation
[0] Message Index
[#] Next page
Go to full version