News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Assert: "NULL pParser: IdleCallbackHandler* ClgdCompletion..."

Started by nore, September 22, 2023, 08:14:56 PM

Previous topic - Next topic

nore

Hi there,

I am using code::blocks svn 13344 and have noticed that I occasionally get the following assertion/error upon program launch. Sometimes the error will appear multiple times in a row (with each launch, that is) before launching normally without error. This only occurs perhaps a number of times each week.

NULL pParser: IdleCallbackHandler* ClgdCompletion::GetIdleCallbackHandler(cbProject*)() 662

<press OK>

Fatal assertion error
Assertion failed in IdleCallbackHandler*
ClgdCompletion::GetIdleCallbackhandler(cbProject*) at
C:\Codeblocks\src\plugins\contrib\clangd_client\src\codecompletion\codecompletion.h:665.

pParser && pParser->GetIdleCallbackHandler()

I assume that this is an error regarding the use of the Clangd Client plugin rather than an issue with code::blocks.
The program crashes upon confirmation of the second dialog box regarding the error.

Pecan

Thanks for reporting.

I'll have a look at it.
Any special way to make it to happen?

nore

Not that I know of. Perhaps only 1 out of 20 launches result in the assertion error showing up; and they persist even less than that--that being appearing after restarting code::blocks.

Pecan

Is this assert on Windows, Linux, or Mac ?

What is your setting for Settings>Environmental>OnApplication-startup

Pecan


nore

Quote from: Pecan on October 11, 2023, 06:50:51 PM
Is this assert on Windows, Linux, or Mac ?


Windows.

Quote from: Pecan on October 13, 2023, 06:24:47 PM
Fixed svn rev 13372
Thanks for reporting.

Thank you Pecan, I've just updated code::blocks to svn 13373 this morning.