#1041786 codeblocks: randomly crashes when writing c++ code

Package:
codeblocks
Source:
codeblocks
Description:
Code::Blocks integrated development environment (IDE)
Submitter:
Onsemeliot
Date:
2024-03-10 12:03:04 UTC
Severity:
normal
Tags:
#1041786#5
Date:
2023-07-23 16:09:11 UTC
From:
To:
Dear Maintainer,

I installed codeblocks on two of my laptops after doing fresh installs with Debian 12. On both systems I try to learn C++ using learncpp.com and writing the code examples there. On one I installed the GNOME desktop and on the other I use LXDE. In both cases codeblocks crashes often after just a few minutes of writing rather simple beginners exercises. I need to save my project every few seconds because my project file can't be restored if codeblocks crashes. I get a warning that an automatic report will be sent, but I didn't find any hint of such a report when I checked out the Debian bug tracking web page for codeblocks.

Nevertheless, thank you for providing such a great tool.

#1041786#10
Date:
2023-08-07 02:26:49 UTC
From:
To:
Confirming bug. I've tried running Codeblocks from the terminal. There
is no output on the terminal, just a window that flashes real fast
about an XML error of some sort. I can't find a way to get an actual
error out of it. This happens in my case with regular C rather than
C++.

#1041786#15
Date:
2024-01-18 19:23:17 UTC
From:
To:
Hi,

we have the same problem, CB crashing much too often …

I found an upstream bug report with a recipe provoking crashes, and
indeed I was able to crash the program in gdb.  I prepared Debian packages
with latest upstream source applied and recompiled on bookworm to make
sure the bug is not already fixed.

You can find coredump and some more detail at the upstream report at:
https://sourceforge.net/p/codeblocks/tickets/1152/#d644

Best regards,

  Andi