Segmentation fault (core dumped) when setting msg2p-newapi=true

• Hardware Platform (Jetson)
• DeepStream 7.0
• JetPack 6.0 [L4T 36.3.0]
• Model: NVIDIA Jetson AGX Orin Developer Kit

When setting msg2p-newapi=true and running service-maker/sources/apps/deepstream_test5_app, the app is Segmentation fault (core dumped).

  • settings:
  - type: nvmsgconv
    name: msgconv
    properties:
      payload-type: 1
      msg2p-newapi: true
  • command:
/opt/nvidia/deepstream/deepstream-7.0/service-maker/sources/apps/deepstream_test5_app/build/deepstream-test5-app -s /ds-config-files/pn26/service-maker/source-list-0_agx.yaml -c /ds-config-files/pn26/service-maker/ds-config-0_agx.yaml -l /ds-config-files/pn26/labels.txt
  • errors:
.....
Added stream : sub-batch = 0     seq index = 0   pad index = 0
Segmentation fault (core dumped)

How to resolve?

  1. if using msg2p-newapi: false, can the app run well?
  2. could you use gdb to get a crash stack? Thanks!

I am not able to reproduce this issue on Orin with DS7.0. Here are the log and configuration files.
log.txt (129.8 KB)
source_list_static.yaml (1.1 KB)
test5_b2.yaml (3.7 KB)

  1. if using msg2p-newapi: false, the app runs well。
  2. gdb tracking:
  3. It is ok when using source_list_static.yaml with test5_b2.yaml.
  1. Thanks for the sharing! could you share your custom configuration files ds-config-0_agx.yaml /ds-config-files/pn26/service-maker/ds-config-0_agx.yaml and /ds-config-files/pn26/labels.txt? Thanks!
  2. From the stack, it crashed in generate_dsmeta_message_minimal of opt\nvidia\deepstream\deepstream-7.0\sources\libs\nvmsgconv\deepstream_schema\dsmeta_payload.cpp, which is opensource. you can add log to check which line cause the crash.
  1. The configuration files ds-config-0_agx.yaml, source-list-0_agx.yaml and labels.txt are in attachment.
    service-maker-test5-app.zip (2.7 KB)
  2. The reason is that privData is NULL in function generate_dsmeta_message_minimal(void privData, void frameMeta)**. If privData is NULL,how to get sensorId in generate_dsmeta_message_minimal?

I will check, then get back to you.

from your configuration file, you did set config for nvmsgconv. you can add log in opt\nvidia\deepstream\deepstream-7.0\sources\libs\nvmsgconv_audio\nvmsgconv.cpp to check.

1 Like

Thank you.

Sorry for the late reply, Is this still an DeepStream issue to support? Thanks!

Thank you, it is solved by setting config for nvmsgconv.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.