[Top][All Lists]

[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


    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:

Rtp bundle is disabled.

Found media local-ip from signaling:

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

Unable to load Identity Address grammar.

Aborting] Runtime aborting...] Dumping all threads without mutator lock held] All threads:] DALVIK THREADS (44):] "main" prio=10 tid=1 Runnable]   | group="" sCount=0 ucsCount=0 flags=0 obj=0x72c116c8 self=0xb4000070d8f016f0]   | sysTid=20272 nice=-10 cgrp=system sched=0/0 handle=0x72228924f8]   | state=R schedstat=( 7568198678 274487721 8616 ) utm=670 stm=86 core=7 HZ=100]   | stack=0x7fd4226000-0x7fd4228000 stackSize=8188KB]   | held mutexes= "abort lock" "mutator lock"(shared held)]   native: #00 pc 000000000053a6e0  /apex/ (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+128) (BuildId: d307dc6adc4105b5e392ad710770385d)]   native: #01 pc 00000000006f0e04  /apex/ (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+236) (BuildId: d307dc6adc4105b5e392ad710770385d)]   native: #02 pc 00000000006fe690  /apex/ (art::DumpCheckpoint::Run(art::Thread*)+208) (BuildId: d307dc6adc4105b5e392ad710770385d)]   native: #03 pc 0000000000364248  /apex/ (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+440) (BuildId: d307dc6adc4105b5e392ad710770385d)]   native: #04 pc 00000000006fce30  /apex/ (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)+280) (BuildId: d307dc6adc4105b5e392ad710770385d)]   native: #05 pc 00000000006d7e98  /apex/ (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+212) (BuildId: d307dc6adc4105b5e392ad710770385d)]   native: #06 pc 00000000006d2b84  /apex/ (art::Runtime::Abort(char const*)+1016) (BuildId: d307dc6adc4105b5e392ad710770385d)]   native: #07 pc 0000000000016ea8  /apex/ (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+80) (BuildId: 420d56eac27a210c92900f3ddb760c86)]   native: #08 pc 0000000000006de8  /system/lib64/ (__android_log_assert+308) (BuildId: b065e0f1752166330802d99f19ac6869)]   native: #09 pc 00000000000339fc  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/ (bctbx_logv+504) (BuildId: 8037853c1ef4ea2319fb42b83340110d83b989b2)]   native: #10 pc 000000000075bb18  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/ (???) (BuildId: 9d7f00005f276638cbf8bb54601e089649bca36c)]   native: #11 pc 000000000075b800  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/ (LinphonePrivate::Logger::~Logger()+196) (BuildId: 9d7f00005f276638cbf8bb54601e089649bca36c)]   native: #12 pc 00000000005ebdc4  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/ (LinphonePrivate::IdentityAddressParser::IdentityAddressParser()+220) (BuildId: 9d7f00005f276638cbf8bb54601e089649bca36c)]   native: #13 pc 00000000005ea214  /data/app/~~FD4DEW91GS2sLbTvaCQZ6g==/ (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..


J Alex Antony Vijay.

Attachment: log.rtf
Description: Text Data

reply via email to

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