Skip to content

Unexpected null pointer for publisher_only example #3

@jaques-sam

Description

@jaques-sam

The example doesn't run properly, prints some memory errors and closes with the error "Unexpected null pointer"

Starting program: /home/samja/repos/upstream/opentok-rs/target/debug/publisher_only --api-key <hidden> --session-id <hidden> --token <hidden>
[Thread debugging using libthread_db enabled]                                                                                                                                                                                                                                                                        
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff59656c0 (LWP 131049)]                                                                                                                                                                                                                                                                             
[New Thread 0x7ffff57646c0 (LWP 131050)]
[New Thread 0x7ffff55636c0 (LWP 131051)]
[New Thread 0x7ffff53626c0 (LWP 131052)]
[New Thread 0x7ffff51616c0 (LWP 131053)]
[New Thread 0x7ffff4f606c0 (LWP 131054)]
[New Thread 0x7ffff4d5f6c0 (LWP 131055)]
[New Thread 0x7ffff4b5e6c0 (LWP 131056)]
[New Thread 0x7ffff495a6c0 (LWP 131057)]
***** OpenTok Linux SDK | Version/Revision: linux_llvm-2.25.0/d4431ca9bcd213d5f2faa19289fa919cfeac7e97 | Library built on: Apr  3 2023 | CA bundle version: Tue Jan 10 04:12:06 2023 GMT | Copyright 2023 Vonage | https://www.vonage.com/legal/communications-apis/terms-of-use/
[New Thread 0x7ffff47566c0 (LWP 131058)]
[DEBUG] otk_peer_connection_common.cpp:276 - otk_enable_webrtc_trace[otk_enable_webrtc_trace_levels level=0]
[DEBUG] otk_ev_uv.c:649 - otk_ev_thread_main[otk_ev_instance* loop_instance=0x28dc002cd080]
[ERROR] /actions-runner/_work/native-sdk-src/native-sdk-src/src/otkit/src/csdk/publisher.cpp:720 - otc_publisher_cb memory must be initialized to zero
[ERROR] /actions-runner/_work/native-sdk-src/native-sdk-src/src/otkit/src/csdk/session.c:592 - otc_session_callbacks memory must be initialized to zero
Error: Unexpected null pointer
[Thread 0x7ffff495a6c0 (LWP 131057) exited]
[Thread 0x7ffff47566c0 (LWP 131058) exited]
[Thread 0x7ffff4d5f6c0 (LWP 131055) exited]
[Thread 0x7ffff4f606c0 (LWP 131054) exited]
[Thread 0x7ffff51616c0 (LWP 131053) exited]
[Thread 0x7ffff53626c0 (LWP 131052) exited]
[Thread 0x7ffff55636c0 (LWP 131051) exited]
[Thread 0x7ffff57646c0 (LWP 131050) exited]
[Thread 0x7ffff59656c0 (LWP 131049) exited]
[Thread 0x7ffff5966940 (LWP 131048) exited]
[Thread 0x7ffff4b5e6c0 (LWP 131056) exited]
[New process 131048]
[Inferior 1 (process 131048) exited with code 01]
(gdb) bt
No stack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions