Page 1 of 1

Exit on Saving

Posted: Mon Sep 08, 2008 3:14 am
by paxswill
Whenever I save a file, CodeLite closes. I compiled it myself (Ubuntu 8.04 on PowerPC 32). Can't find any logs, but I checked the source out last night, and the splash screen says it's rev 2082.

Re: Exit on Saving

Posted: Mon Sep 08, 2008 9:38 am
by eranif
paxswill wrote:Whenever I save a file, CodeLite closes
Some questions:

- Did it ever used to work on your machine?
- Is it the first time yo build codelite your self?
- When crashing, codelite usually leaves a file crash.log under ~/.codelite/ - do you have it
- What happens when u disable all the plugins?

When u do this:
When codelite is up, can u run this command from the command line?

Code: Select all

ps -ef|grep ctags-le
and paste the output?

And if all this does not help, can u run codelite under gdb? to do this:

Btw, u wil need libwxgtk2.8-dbg for this

Code: Select all

sudo apt-get install libwxgtk2.8-dbg

Code: Select all

./configure --enable-debug
make
make install
gdb /usr/local/bin/CodeLite
and try to save a file, when it crashes, can u paste the gdb trace here?

Thanks,
Eran

Re: Exit on Saving

Posted: Mon Sep 08, 2008 10:21 am
by paxswill
Sorry, but forgot to mention I had set my workspace to flash drive. When the workspace is on the main boot disk, everything works fine. This is the first time I've compiled CodeLite. Now for the log from ~/.codelite/

Code: Select all

07:14:05 PM
[0x100344]   0
 ParseThread::ProcessRequest(ThreadRequest*)  0
 WorkerThread::Entry()  0
Now for ps:

Code: Select all

paxswill 30894 30875  0 02:11 ?        00:00:00 /usr/local/bin/ctags-le -IWXDLLIMPEXP_CORE,WXDLLIMPEXP_BASE,WXDLLIMPEXP_XML,WXDLLIMPEXP_XRC,WXDLLIMPEXP_ADV,WXDLLIMPEXP_AUI,WXMAKINGDLL,WXUSINGDLL,_CRTIMP,__CRT_INLINE,__cdecl,__stdcall,WXDLLEXPORT,WXDLLIMPORT,wxT,WXUNUSED,wxDEPRECATED,_T,ATTRIBUTE_PRINTF_1,ATTRIBUTE_PRINTF_2,WXDLLIMPEXP_FWD_BASE,WXDLLIMPEXP_FWD_CORE,DLLIMPORT,DECLARE_INSTANCE_TYPE,emit,Q_OBJECT,Q_PACKED,Q_GADGET,QT_BEGIN_HEADER,QT_END_HEADER,Q_REQUIRED_RESULT,Q_INLINE_TEMPLATE,Q_OUTOFLINE_TEMPLATE --language-force=C++ --excmd=pattern --sort=no --fields=aKmSsnit --c-kinds=+p --C++-kinds=+p --filter=yes --filter-terminator="<<EOF>>"
paxswill 31072 31054  0 02:17 pts/0    00:00:00 grep ctags-le
That's when I switched the workspace to the Hard drive. How do I disable plugins? I'll post results again when I've recompiled it, but that could take a bit (crappy internet and slow computer) Thanks.
EDIT:Fixed some messed up tags

Re: Exit on Saving

Posted: Mon Sep 08, 2008 2:44 pm
by eranif
From the crash.log, it seems that for some reason the parsing thread crashes.

Disabling the plugins wont help you out here.

can u check permissions for the workspace directory? especially, check that the file <workspace_name>.tags has write permission


Eran

Re: Exit on Saving

Posted: Mon Sep 08, 2008 8:07 pm
by paxswill
Thanks, that fixed it. The pproperties box said I had read and write permissions, but it wouldn't work till I applied 777 to it.

Re: Exit on Saving

Posted: Mon Sep 08, 2008 8:09 pm
by eranif
paxswill wrote:Thanks, that fixed it. The pproperties box said I had read and write permissions, but it wouldn't work till I applied 777 to it.
Great!

I should really fix this already ;)

Eran