Author Topic: Crash on C::B startup  (Read 2272 times)

catron

  • Guest
Crash on C::B startup
« on: November 30, 2008, 09:27:41 pm »
Hello,
First of all I would like to say thank you for code::blocks, it is definitely my favorite IDE.
I was using the 8.02 build from the ubuntu repository, and I removed those, and I dled the latest svn (5325).
I was already using wxGTK (2.8.9) for some of my projects, which I had built from source. I was getting an error regarding ACLOCAL and WXCONFIG,
so I copied over the wxwin.m4 file to my /usr/share/aclocal. bootstrap also advised me to add m4 to Makefile.am and configure.in, and I did.
./bootstrap ran without error.
./configure ran without error.
make ran without error.
sudo make install ran without error.

Now I went to start up codeblocks, and it immediately crashes, giving me the option to send a bug report. No Splash screen, just a bug report.
valgrind output is this:
Code: [Select]
==15543== Memcheck, a memory error detector.
==15543== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==15543== Using LibVEX rev 1854, a library for dynamic binary translation.
==15543== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==15543== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==15543== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==15543== For more details, rerun with: -v
==15543==
==15543== Invalid read of size 8
==15543==    at 0xEDDC029: wxStandardPathsBase::AppendAppName(wxString const&) (in /usr/lib/libwx_baseu-2.8.so.0.5.0)
==15543==    by 0xEE1DACF: wxStandardPaths::GetUserDataDir() const (in /usr/lib/libwx_baseu-2.8.so.0.5.0)
==15543==    by 0x853D330: CfgMgrBldr::FindConfigFile(wxString const&) (in /usr/lib/libcodeblocks.so.0.0.1)
==15543==    by 0x853E384: CfgMgrBldr::CfgMgrBldr() (in /usr/lib/libcodeblocks.so.0.0.1)
==15543==    by 0x853E7B0: CfgMgrBldr::GetConfigManager(wxString const&) (in /usr/lib/libcodeblocks.so.0.0.1)
==15543==    by 0x42F385: CodeBlocksApp::LoadConfig() (appglobals.h:229)
==15543==    by 0x430013: CodeBlocksApp::OnInit() (appglobals.h:455)
==15543==    by 0xA4A4522: wxEntry(int&, char**) (in /usr/local/lib/libwx_base-2.8.so.0.5.0)
==15543==    by 0x42D301: main (appglobals.h:198)
==15543==  Address 0x60 is not stack'd, malloc'd or (recently) free'd
==15543==
==15543== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 8 from 1)
==15543== malloc/free: in use at exit: 6,708,138 bytes in 70,528 blocks.
==15543== malloc/free: 246,870 allocs, 176,342 frees, 74,888,304 bytes allocated.
==15543== For counts of detected errors, rerun with: -v
==15543== searching for pointers to 70,528 not-freed blocks.
==15543== checked 6,715,432 bytes.
==15543==
==15543== LEAK SUMMARY:
==15543==    definitely lost: 77,188 bytes in 1,466 blocks.
==15543==      possibly lost: 382,088 bytes in 2,584 blocks.
==15543==    still reachable: 6,248,862 bytes in 66,478 blocks.
==15543==         suppressed: 0 bytes in 0 blocks.
==15543== Rerun with --leak-check=full to see details of leaked memory.
Aborted


Valgrind output is almost identical to the bug report .xml file.

Anyways, thanks again for a great IDE.
Any help is greatly appreciated.