codelite 9.1 failed on start

CodeLite installation/troubleshooting forum
bobcat
CodeLite Enthusiast
Posts: 11
Joined: Wed Aug 08, 2012 2:52 pm
Genuine User: Yes
IDE Question: c++
Contact:

codelite 9.1 failed on start

Post by bobcat »

Hi,

Just installed codelite 9.1-1.trusty on Ubuntu 14.04 (64bits).
Tried to start it, but it crashed.
The backtrace is:

*** Error in `/usr/bin/codelite': free(): invalid pointer: 0x00007fff8854e280 ***

Program received signal SIGABRT, Aborted.
0x00007ffff2c6dcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff2c6dcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff2c710d8 in __GI_abort () at abort.c:89
#2 0x00007ffff2caa394 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7ffff2db8b28 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff2cb666e in malloc_printerr (ptr=<optimized out>, str=0x7ffff2db4c19 "free(): invalid pointer", action=1) at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5 0x0000000000567b96 in wxFormatString::~wxFormatString() ()
#6 0x00007fff881debe2 in ?? () from /usr/lib/x86_64-linux-gnu/codelite/libwx_baseu_unofficial-3.0.so.0
#7 0x00007fff881e1e76 in wxCSConv::DoCreate() const () from /usr/lib/x86_64-linux-gnu/codelite/libwx_baseu_unofficial-3.0.so.0
#8 0x00007fff881e3233 in wxCSConv::wxCSConv(wxFontEncoding) () from /usr/lib/x86_64-linux-gnu/codelite/libwx_baseu_unofficial-3.0.so.0
#9 0x00007fff881e32a9 in wxGet_wxConvLocalPtr() () from /usr/lib/x86_64-linux-gnu/codelite/libwx_baseu_unofficial-3.0.so.0
#10 0x00007fff8811cc7e in ?? () from /usr/lib/x86_64-linux-gnu/codelite/libwx_baseu_unofficial-3.0.so.0
#11 0x00007ffff7dea13a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdff8, env=env@entry=0xec0b30) at dl-init.c:78
#12 0x00007ffff7dea223 in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:36
#13 _dl_init (main_map=main_map@entry=0x23119b0, argc=1, argv=0x7fffffffdff8, env=0xec0b30) at dl-init.c:126
#14 0x00007ffff7deec70 in dl_open_worker (a=a@entry=0x7fffffffbf28) at dl-open.c:577
#15 0x00007ffff7de9ff4 in _dl_catch_error (objname=objname@entry=0x7fffffffbf18, errstring=errstring@entry=0x7fffffffbf20, mallocedp=mallocedp@entry=0x7fffffffbf10,
operate=operate@entry=0x7ffff7dee9a0 <dl_open_worker>, args=args@entry=0x7fffffffbf28) at dl-error.c:187
#16 0x00007ffff7dee3bb in _dl_open (file=0x22f3130 "/usr/lib/x86_64-linux-gnu/codelite/wxCrafter.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7fffffffdff8, env=0xec0b30)
at dl-open.c:661
#17 0x00007fffefa3102b in dlopen_doit (a=a@entry=0x7fffffffc140) at dlopen.c:66
#18 0x00007ffff7de9ff4 in _dl_catch_error (objname=0xd94400, errstring=0xd94408, mallocedp=0xd943f8, operate=0x7fffefa30fd0 <dlopen_doit>, args=0x7fffffffc140) at dl-error.c:187
#19 0x00007fffefa3162d in _dlerror_run (operate=operate@entry=0x7fffefa30fd0 <dlopen_doit>, args=args@entry=0x7fffffffc140) at dlerror.c:163
#20 0x00007fffefa310c1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#21 0x00007ffff3bab794 in clDynamicLibrary::Load(wxString const&) () from /usr/lib/x86_64-linux-gnu/codelite/libplugin.so
#22 0x000000000060676f in PluginManager::Load() ()
#23 0x00000000006d910d in clMainFrame::CompleteInitialization() ()
#24 0x00000000006d98c3 in clMainFrame::Initialize(bool) ()
#25 0x000000000083fdaa in CodeLiteApp::OnInit() ()
#26 0x00007ffff52f90fc in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/codelite/libwx_baseu_unofficial-3.1.so.0
#27 0x000000000054d94e in main ()


Any idea how to fix the problem?

Thanks in advance
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: codelite 9.1 failed on start

Post by DavidGH »

Hi,

It's crashing trying to load the wxCrafter plugin. I don't know why this would actually cause a crash (usually if there's a problem it just fails to load), but I've seen similar ones before.

First, try uninstalling wxCrafter and try CodeLite again. If I'm right, it'll now run OK.

If so, check you have the correct wxCrafter version; it should be wxcrafter_2.5-1.trusty_amd64.deb, with a size of 1785008 bytes.

Please report back with your results.

Regards,

David
bobcat
CodeLite Enthusiast
Posts: 11
Joined: Wed Aug 08, 2012 2:52 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: codelite 9.1 failed on start

Post by bobcat »

I checked the version of wxcrafter. It was wxcrafter 2.6-1.xenial. Since I do not need it, I just removed it, and Codelite started without a problem.

Thanks
Post Reply