Getting Segmentation fault

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

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?

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

@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

@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

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

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

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

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.