Skip to content

[BUG] JLink thread-aware support is broken on main #18109

@PetervdPerk-NXP

Description

@PetervdPerk-NXP

Description / Steps to reproduce the issue

When debugging with the jlink-nuttx.so I'm getting following crash, with NuttX 12.12 this worked fine.

/build/gdb-1WjiBe/gdb-15.0.50.20240403/gdb/regcache.c:432: internal-error: get_thread_regcache: Assertion `thread->state != THREAD_EXITED' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

Create a core file of GDB? 
(y or n) [answered Y; input not from terminal]
GDB session ended unexpectedly. exit-code: none, signal: SIGABRT

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu 24.04

NuttX Version

Main

Issue Architecture

[Arch: arm]

Issue Area

[Area: Debugging]

Host information

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Arch: armIssues related to ARM (32-bit) architectureArea: DebuggingDebugging issuesOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions