codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Bug]: Crash when creating getters and setters.

Open shadoww1028 opened this issue 1 year ago • 9 comments

What happened?

Linux: Arch (Endeavor) CodeLite 17.0 When generating getters and setters sometimes codelite hard crashes. Did not happen in previous versions. Using CMake in the C++ project

Version

Other

Operating system

Linux

Steps to reproduce

Run codelite for a bit.
Create any number of getters and setters.
It will require the task manager to end the task.
Open it back up.
Try generating them again and it works now for some reason.

Relevant log output

Nothing was logged.

shadoww1028 avatar Feb 22 '24 03:02 shadoww1028

can you please provide a backtrace?

eranif avatar Mar 02 '24 15:03 eranif

Unfortunately there was nothing to back trace. I'm on Arch and was on the latest WxWidgets 3.2.4-3 and downgraded to 3.2.0-1. This seems to have fixed the issue. Its been some time I have not seen it again.

shadoww1028 avatar Mar 05 '24 03:03 shadoww1028

Please re-open with backtrace if you encounter this issue again

eranif avatar Mar 06 '24 03:03 eranif

Apparently I spoke to soon. It appears it occurs on files that are more than a screen tall. I attached my logs but I don't know if they will help much. codelite-stdout-stderr.log crash.log

shadoww1028 avatar Mar 09 '24 01:03 shadoww1028

Doesn't look like I can re-open issues.

shadoww1028 avatar Mar 09 '24 01:03 shadoww1028

This appears to happen if you generate them while debugging using GDB.

shadoww1028 avatar Mar 09 '24 03:03 shadoww1028

Looks like this just happens randomly. I can say that I can see the text be added into the document then the mouse cursor changes into a hourglass and never comes back. I have to end it in task Manger (XFCEs task manager) . When it does work I can see the text be inserted then instead of crashing it tabs over to the correct tab level and I can continue. WxWidgets version doesn't seem to matter as well.

shadoww1028 avatar Mar 20 '24 23:03 shadoww1028

I have been using Codelite 17.9 for sometime now and I can say that this bug no longer exists.
Now in Linux Mint as well and not using Archlinux anymore. Codelite just works better on Ubuntu bases.

shadoww1028 avatar May 02 '24 02:05 shadoww1028