RohitJPatil / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 1 forks source link

Crash while loading pjlib #242

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am testing sipdroid gsm codec support with an asterisk server (configured
with 2 accounts restricted to GSM codec) with a G1 under cyanogen 4.9.1. 

While making a call, sipdroid rings but drops the call.

Log shows : Cannot load library: reloc_library[1245]:    86 cannot locate
'__android_log_print'...
(full trace below)

nm on libpjlib_linker_jni.so shows an undefined symbol U __android_log_print

pjlib is distributed as binary and pjsip does not support building for
android. I found a patch to build pjsip for android but havn't tested. I am
interested in the project so would it be possible to share your sources of
pjsip so I can help resolve the issue (I pointed other issues with strange
behaviour while making calls and deregistering with a cirpack gateway) ?

Jerome

logcat:

  I/ActivityManager(  105): Displayed activity
org.sipdroid.sipua/.ui.InCallScreen: 1492 ms (total 1749 ms)              

D/dalvikvm(  323): Trying to load lib
/data/data/org.sipdroid.sipua/lib/libpjlib_linker_jni.so 0x43b5c9e0       

I/ActivityManager(  105): Process com.google.android.partnersetup (pid 285)
has died.                                                                 

D/VolumePanel(  105): onVolumeChanged(streamType: 3, flags: 0)            

I/dalvikvm(  323): Unable to
dlopen(/data/data/org.sipdroid.sipua/lib/libpjlib_linker_jni.so): Cannot
load library: reloc_library[1245]:    86 cannot locate
'__android_log_print'...                                                  

D/dalvikvm(  323): GC freed 2506 objects / 150344 bytes in 131ms          

D/AudioHardwareMSM72XX(   87): audpre_index = 0, tx_iir_index = 1         

D/HTC Acoustic(   87): msm72xx_enable_audpre: 0x0000
D/dalvikvm(  323): +++ not scanning '/system/lib/libwebcore.so' for
'decode' (wrong CL)
D/dalvikvm(  323): +++ not scanning '/system/lib/libexif.so' for 'decode'
(wrong CL)
D/dalvikvm(  323): +++ not scanning '/system/lib/libmedia_jni.so' for
'decode' (wrong CL)
D/dalvikvm(  323): +++ not scanning '/system/lib/libsrec_jni.so' for
'decode' (wrong CL)
D/dalvikvm(  323): +++ not scanning '/system/lib/libFFTEm.so' for 'decode'
(wrong CL)
W/dalvikvm(  323): No implementation found for native
Lorg/sipdroid/pjlib/Codec;.decode ([B[SI)I
W/dalvikvm(  323): threadid=27: thread exiting with uncaught exception
(group=0x4001e170)
E/AndroidRuntime(  323): Uncaught handler: thread Thread-29 exiting due to
uncaught exception
I/ActivityManager(  105): Process com.android.settings (pid 419) has died.
E/AndroidRuntime(  323): java.lang.UnsatisfiedLinkError: decode
E/AndroidRuntime(  323):        at org.sipdroid.pjlib.Codec.decode(Native
Method)
E/AndroidRuntime(  323):        at
org.sipdroid.media.RtpStreamReceiver.run(RtpStreamReceiver.java:342)
I/Process (  105): Sending signal. PID: 323 SIG: 3
I/dalvikvm(  323): threadid=7: reacting to signal 3

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Which SIP server are you using? What happens with PBXes?

Which type of network are you using?

Please provide any additional information below.

Original issue reported on code.google.com by jahrome11 on 19 Dec 2009 at 2:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 19 Dec 2009 at 7:29

GoogleCodeExporter commented 8 years ago
Issue 332 has been merged into this issue.

Original comment by pmerl...@googlemail.com on 17 Feb 2010 at 12:56

GoogleCodeExporter commented 8 years ago
Can you de-dup that one ? This doesn't look like a dup of #49 at all to me
and while #49 is marked as Fixed, the GSM codec still doesn't work with 1.4
on my Nexus 1.

Original comment by ben.herr...@gmail.com on 10 Mar 2010 at 6:48

GoogleCodeExporter commented 8 years ago
Also as of 1.4.4 still gsm is still not working on the N1. 

Original comment by brandonn...@gmail.com on 30 Mar 2010 at 12:26

GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 1 Apr 2010 at 1:32

GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 5 Apr 2010 at 8:30