Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] NPE exception when debugging LibreOffice using 8.1.0 DSF for long period of time

A bug has been reported to Fedora eclipse-cdt regarding debugging LibreOffice using

CDT 8.1.0.
gdb 7.4.50
eclipse 4.2.1

The following occurs after about 2 hours of debugging:

---------------------------------------------------------------------------------------------

Description of problem:

when using the Eclipse CDT with GDB to debug an overly large
C++ application (LibreOffice) occasionally the following exception
is printed:

 Exception in thread "MI TX Thread" java.lang.NullPointerException
at org.eclipse.cdt.dsf.mi.service.command.commands.MICommand$MIStandardParameterAdjustable.getAdjustedValue(MICommand.java:331) at org.eclipse.cdt.dsf.mi.service.command.commands.MICommand.parametersToString(MICommand.java:239) at org.eclipse.cdt.dsf.mi.service.command.commands.MICommand.constructCommand(MICommand.java:172) at org.eclipse.cdt.dsf.mi.service.command.AbstractMIControl$TxThread.run(AbstractMIControl.java:650)

when this happens Eclipse CDT somehow gets confused and disables
all of the debugging UI; only thing that still works then
is the "Terminate" button to detach from the inferior.

in case it matters, the inferior has some custom GDB python
helpers to print various data types that are evidently used
to display stuff in Eclipse CDT as well.

-------------------------------------------------------------------------------------------------

Has anyone on the debugger team seen this occur before? Any ideas on how to get around the problem or if there is an issue in DSF that needs addressing or has already been fixed?

Unfortunately, the developer has admitted he does not have a simple reproducible scenario and that it occurs after a long period of time.

-- Jeff J.


Back to the top