Skip to content

ocp: Fix core dump during telemetry log decode#3074

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
jeff-lien-sndk:ocp-json-assert
Feb 9, 2026
Merged

ocp: Fix core dump during telemetry log decode#3074
igaw merged 1 commit intolinux-nvme:masterfrom
jeff-lien-sndk:ocp-json-assert

Conversation

@jeff-lien-sndk
Copy link
Contributor

When decoding ocp 2.5 telemetry log with json output the internal-log ocp plugin command was hitting an issue that caused a core dump. This commit will resolve that error.

Here's the actual error that this PR resolves:
nvme ocp internal-log /dev/nvme0n1 -f fifo_da_1-2_cctemp-telemetry.bin -s fifo_da_1-2_cctemp-string.bin --output-format json -t host -d 2

Missing telemetry-log. Fetching from drive...

telemetry.bin generated. Proceeding with next steps.

Extracting Telemetry Host Dump (Data Area 2)...
nvme: ./json_object.c:1490: json_object_array_add: Assertion `json_object_get_type(jso) == json_type_array' failed.
Aborted (core dumped)

When decoding ocp 2.5 telemetry log with json output
the internal-log ocp plugin command was hitting an issue
that caused a core dump.  This commit will resolve that
error.

Signed-off-by: jeff-lien-sndk <jeff.lien@sandisk.com>
@jeff-lien-sndk
Copy link
Contributor Author

@igaw Hey Dan, could you review and merge (if no issues)? We have a few users looking for these fixes. Same for Brandon's PR #3082. Thanks

@igaw igaw merged commit 85154a1 into linux-nvme:master Feb 9, 2026
19 of 20 checks passed
@igaw
Copy link
Collaborator

igaw commented Feb 9, 2026

Sorry for the delay, was on vacation. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants