NEW DATE! Bugzilla will undergo maintenance 2024-03-28 18h00 CET. Bugzilla will be placed in read-only mode at that time.

Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 484910 - Ctrl-Click on function in disassembly causes assertion (when -ea is on)
Summary: Ctrl-Click on function in disassembly causes assertion (when -ea is on)
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 9.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-26 10:30 EST by Jonah Graham CLA
Modified: 2020-09-04 15:18 EDT (History)
2 users (show)

See Also:


Attachments
assertion stack trace (3.22 KB, application/octet-stream)
2015-12-26 10:30 EST, Jonah Graham CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonah Graham CLA 2015-12-26 10:30:27 EST
Created attachment 258907 [details]
assertion stack trace

There is an assertion hit when Ctrl-clicking on a function call in the disassembly view. Without -ea, the code appears to work. I have not delved into this yet, but the full stack trace is attached.

The assertion line is:
        assert session.getExecutor().isInExecutorThread();


java.lang.AssertionError
	at org.eclipse.cdt.dsf.service.DsfServicesTracker.getServiceReference(DsfServicesTracker.java:180)
	at org.eclipse.cdt.dsf.service.DsfServicesTracker.getService(DsfServicesTracker.java:227)
	at org.eclipse.cdt.dsf.service.DsfServicesTracker.getService(DsfServicesTracker.java:213)
	at org.eclipse.cdt.dsf.debug.internal.ui.disassembly.DisassemblyBackendDsf.getService(DisassemblyBackendDsf.java:438)
	at org.eclipse.cdt.dsf.debug.internal.ui.disassembly.DisassemblyBackendDsf.evaluateAddressExpression(DisassemblyBackendDsf.java:1012)