# Getting Segmentation fault

**URL:** <https://devforum.zoom.us/t/getting-segmentation-fault/111495>\
**Category:** Meeting SDK\
**Created:** [June 7, 2024, 9:20am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495 "2024-06-07T09:20:49Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![swatantra12singh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/swatantra12singh/32/58185_2.png) [@swatantra12singh](https://devforum.zoom.us/u/swatantra12singh)\
**Post date:** [June 7, 2024, 9:20am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/1 "2024-06-07T09:20:49Z")

</div>

Hi @gianni.zoom why sometimes in meeting i get  
/app/demo/run.sh: line 8: 87 Segmentation fault (core dumped) ./meetingSDKDemo this error

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [June 7, 2024, 1:14pm UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/2 "2024-06-07T13:14:08Z")

</div>

> [@swatantra12singh](#):
>
> /app/demo/run.sh: line 8: 87 Segmentation fault (core dumped) ./meetingSDKDemo

Hi @swatantra12singh , without any other context around the error, I cannot know. Could you please follow the guidance from the posting template and provide those details?

---

<div class="post-metadata">

**Author:** ![swatantra12singh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/swatantra12singh/32/58185_2.png) [@swatantra12singh](https://devforum.zoom.us/u/swatantra12singh)\
**Post date:** [June 7, 2024, 5:23pm UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/3 "2024-06-07T17:23:03Z")

</div>

HI @gianni.zoom i know and should have followed the template but the issue is that the issue is inconsistant.  
It is happening because when my bot join the meeting and is in waiting room, when the host allows it to enter it sometimes gives the following error:  
join\_meeting:success  
onLoginReturnWithReason: 0  
onMeetingStatusChanged: 1, iResult: 0  
Connect to the meeting server status.  
onMeetingParameterNotification  
Joining Meeting…  
onMeetingStatusChanged: 11, iResult: 0

after this as soon as i allow the bot to enter the following error occurs

/app/demo/run.sh: line 8: 87 Segmentation fault (core dumped) ./meetingSDKDemo

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 10, 2024, 5:05am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/4 "2024-06-10T05:05:17Z")

</div>

> [@swatantra12singh](#):
>
> onMeetingStatusChanged: 11

@swatantra12singh there are too much possibilities for this.

Here are some possibilities.

1. Using a expired recording token
2. Trying to join an external meeting with an unpublishing Meeting SDK / General App

---

<div class="post-metadata">

**Author:** ![swatantra12singh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/swatantra12singh/32/58185_2.png) [@swatantra12singh](https://devforum.zoom.us/u/swatantra12singh)\
**Post date:** [June 10, 2024, 5:36am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/5 "2024-06-10T05:36:33Z")

</div>

@chunsiong.zoom

1. I am not using recording token, i am asking permission
2. i am using published meeting sdk key

the worst part is that it does not happen to every meeting but to some only

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 10, 2024, 6:47am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/6 "2024-06-10T06:47:36Z")

</div>

> [@swatantra12singh](#):
>
> the worst part is that it does not happen to every meeting but to some only

If you have the captured log, we can take a look at it

---

<div class="post-metadata">

**Author:** ![swatantra12singh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/swatantra12singh/32/58185_2.png) [@swatantra12singh](https://devforum.zoom.us/u/swatantra12singh)\
**Post date:** [June 11, 2024, 4:02am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/8 "2024-06-11T04:02:54Z")

</div>

these are the last few lines of the log when the code breaks

onLoginReturnWithReason: 0  
onMeetingStatusChanged: 1, iResult: 0  
Connect to the meeting server status.  
onMeetingParameterNotification  
Joining Meeting…  
onMeetingStatusChanged: 11, iResult: 0  
printf(“Participants who join the meeting before the start are in the waiting room.\n”); ---- after this if i allow the bot to join  
/app/demo/run.sh: line 8: 87 Segmentation fault (core dumped) ./meetingSDKDemo  
i get the following error @chunsiong.zoom

---

<div class="post-metadata">

**Author:** ![chunsiong.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/chunsiong.zoom/32/35488_2.png) [@chunsiong.zoom](https://devforum.zoom.us/u/chunsiong.zoom)\
**Post date:** [June 11, 2024, 6:24am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/9 "2024-06-11T06:24:35Z")

</div>

@swatantra12singh this is not the log, we need the SDK log

> **[Procedure to collect logs from Zoom Video SDK apps](https://developers.zoom.us/blog/vsdk-log-retrieval-instructions/)**
>
> This article explains the procedure to collect SDK logs from any platform

---

<div class="post-metadata">

**Author:** ![precisao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/precisao/32/31723_2.png) [@precisao](https://devforum.zoom.us/u/precisao)\
**Post date:** [June 12, 2024, 11:59am UTC](https://devforum.zoom.us/t/getting-segmentation-fault/111495/10 "2024-06-12T11:59:49Z")

</div>

We used to get segfault when, at onReminderNotify, we called any method of content after calling handle-\>Ignore().

Just check if you are using the callback handle before trying to use the content object in any of the functions that provide handle.
