BelledonneCommunications / linphone-iphone

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of linphone-iphone (git://git.linphone.org/linphone-iphone.git)
http://linphone.org
GNU General Public License v3.0
581 stars 344 forks source link

Random crashes involving ortp, mediastreamer_base and mediastreamer_voip #420

Open amaranth3 opened 6 years ago

amaranth3 commented 6 years ago

Hi, We've been seeing a lot of random crashes involving ortp, mediastreamer_base and mediastreamer_voip. Here's the synopsis:

Do you know what possibly causes it and can you suggest a fix for this? Thanks

ghost commented 6 years ago

Hello,

There's no symbol in your stack trace, it's unusable. Please recompile your SDK with debug symbols (add -d to you prepare.py option) and repost the stack with the symbols

amaranth3 commented 6 years ago

Hi @ReisBenjamin

The crash logs came from Apple. The SDK was initially built with debug option using the following command -> ./prepare.py -c && ./prepare.py --debug && make according to the ReadME guide here : https://github.com/BelledonneCommunications/linphone-iphone So, not sure why crashes from liblinphone were still not symbolicated.

Can you provide the exact prepare.py command to build the SDK with debug option in order for symbols from the SDK to occur correctly? Thanks

amaranth3 commented 6 years ago

I cloned a test project and re-ran liblinphone sdk update using the same command: ./prepare.py -c && ./prepare.py --debug && make. The terminal output read: Install the project... -- Install configuration: "Debug"

It seems to indicate that by issuing the above prepare.py update command, it does install the sdk with debug option enabled. This is the same command I ran previously in the current version of the sdk. Yet, the crash reports that point to problem with ortp, mediastreamer_base and mediastreamer_voip still do not appear to be symbolicated. The crashes are happening a lot daily. Pls advice what else we should try in order to fix the problem. Thanks.