Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected null pointer for publisher_only example #3

Open
jaques-sam opened this issue Aug 30, 2023 · 0 comments
Open

Unexpected null pointer for publisher_only example #3

jaques-sam opened this issue Aug 30, 2023 · 0 comments

Comments

@jaques-sam
Copy link

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.
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

No branches or pull requests

1 participant