linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Could not load grammar because the file could not


From: J Alex Antony Vijay
Subject: [Linphone-developers] Could not load grammar because the file could not be located.
Date: Thu, 27 Oct 2022 13:13:50 +0530

Hello,

    I cloned linphone sdk and compiled successfully for an android app.. (-DENABLE_VIDEO=OFF)

I integrated the compiled linphone library with my test android app successfully and the SIP registration was also successful. 
But my app is crashing with below error when I make a call:

******************************************** LOG **********************************************

New MediaSession [0xb400006fc8f4cc18] initialized (liblinphone version: 5.2.0-alpha-328-g08a215566)

Media local-ip for streams advertised in SDP: 10.1.1.46

Rtp bundle is disabled.

Found media local-ip from signaling: 10.1.1.46

Could not load grammar identity_grammar because the file could not be located.

Unable to load Identity Address grammar.

Aborting

runtime.cc:676] Runtime aborting...

runtime.cc:676] Dumping all threads without mutator lock held

runtime.cc:676] All threads:

runtime.cc:676] DALVIK THREADS (44):

runtime.cc:676] "main" prio=10 tid=1 Runnable

runtime.cc:676]   | group="" sCount=0 ucsCount=0 flags=0 obj=0x72c116c8 self=0xb4000070d8f016f0

runtime.cc:676]   | sysTid=20272 nice=-10 cgrp=system sched=0/0 handle=0x72228924f8

runtime.cc:676]   | state=R schedstat=( 7568198678 274487721 8616 ) utm=670 stm=86 core=7 HZ=100

runtime.cc:676]   | stack=0x7fd4226000-0x7fd4228000 stackSize=8188KB

runtime.cc:676]   | held mutexes= "abort lock" "mutator lock"(shared held)

runtime.cc:676]   native: #00 pc 000000000053a6e0  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+128) (BuildId: d307dc6adc4105b5e392ad710770385d)

runtime.cc:676]   native: #01 pc 00000000006f0e04  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+236) (BuildId: d307dc6adc4105b5e392ad710770385d)

runtime.cc:676]   native: #02 pc 00000000006fe690  /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+208) (BuildId: d307dc6adc4105b5e392ad710770385d)

runtime.cc:676]   native: #03 pc 0000000000364248  /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+440) (BuildId: d307dc6adc4105b5e392ad710770385d)

runtime.cc:676]   native: #04 pc 00000000006fce30  /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)+280) (BuildId: d307dc6adc4105b5e392ad710770385d)

runtime.cc:676]   native: #05 pc 00000000006d7e98  /apex/com.android.art/lib64/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+212) (BuildId: d307dc6adc4105b5e392ad710770385d)

runtime.cc:676]   native: #06 pc 00000000006d2b84  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+1016) (BuildId: d307dc6adc4105b5e392ad710770385d)

runtime.cc:676]   native: #07 pc 0000000000016ea8  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80) (BuildId: 420d56eac27a210c92900f3ddb760c86)

runtime.cc:676]   native: #08 pc 0000000000006de8  /system/lib64/liblog.so (__android_log_assert+308) (BuildId: b065e0f1752166330802d99f19ac6869)

runtime.cc:676]   native: #09 pc 00000000000339fc  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/com.test.app-fVWFdmnOBLNSRRzJewELhg==/lib/arm64/libbctoolbox.so (bctbx_logv+504) (BuildId: 8037853c1ef4ea2319fb42b83340110d83b989b2)

runtime.cc:676]   native: #10 pc 000000000075bb18  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/com.test.app-fVWFdmnOBLNSRRzJewELhg==/lib/arm64/liblinphone.so (???) (BuildId: 9d7f00005f276638cbf8bb54601e089649bca36c)

runtime.cc:676]   native: #11 pc 000000000075b800  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/com.test.app-fVWFdmnOBLNSRRzJewELhg==/lib/arm64/liblinphone.so (LinphonePrivate::Logger::~Logger()+196) (BuildId: 9d7f00005f276638cbf8bb54601e089649bca36c)

runtime.cc:676]   native: #12 pc 00000000005ebdc4  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/com.test.app-fVWFdmnOBLNSRRzJewELhg==/lib/arm64/liblinphone.so (LinphonePrivate::IdentityAddressParser::IdentityAddressParser()+220) (BuildId: 9d7f00005f276638cbf8bb54601e089649bca36c)

runtime.cc:676]   native: #13 pc 00000000005ea214  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/com.test.app-fVWFdmnOBLNSRRzJewELhg==/lib/arm64/liblinphone.so (LinphonePrivate::Singleton<LinphonePrivate::IdentityAddressParser>::getInstance()+72) (BuildId: 9d7f00005f276638cbf8bb54601e089649bca36c)

.....


********************************************** END ********************************************

If I compile with -DENABLE_VIDEO=ON then the app is crashing as soon as I answer the call.. 
This time the error is for sdp grammar; "Could not load grammar sdp_grammar because the file could not be located"

Please let me know how to fix this issue..

--

Regards,
J Alex Antony Vijay.

Attachment: log.rtf
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]