Hi Martin, ? You need to download the latest .so files and put it in the libs directory. ? Question: did u the build.so files or downloaded some from nightybuilds ? Mukesh India,Hyderabad. mukichamps? (Gmail chat account) ________________________________ From: Martin Clarke <mclarke@xxxxxxxxxxx> To: "pjsip at lists.pjsip.org" <pjsip at lists.pjsip.org> Sent: Thursday, October 25, 2012 1:49 PM Subject: Crashes in android Hi, I'm trying to use the android pjsua library.? I'm trying to log into a sip server.? My config file is here: --clock-rate=8000? --username=me? --password=mypwd --registrar=sip:my.server --id=sip:me at my.server I've compiled the library using the method in the documentation, however when I try to log in, the program crashes and segfaults this log is here: 10-25 11:06:29.205: D/dalvikvm(12972): Trying to load lib /data/data/org.pjsip.pjsua/lib/libpjsua_app.so 0x41796180 10-25 11:06:29.205: D/dalvikvm(12972): Shared lib '/data/data/org.pjsip.pjsua/lib/libpjsua_app.so' already loaded in same CL 0x41796180 10-25 11:06:29.236: A/libc(12972): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 13000 (Thread-860) 10-25 11:06:29.244: D/dalvikvm(12972): GC_CONCURRENT freed 194K, 3% free 10995K/11271K, paused 14ms+4ms, total 38ms 10-25 11:06:29.338: I/DEBUG(10149): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 10-25 11:06:29.338: I/DEBUG(10149): Build fingerprint: 'samsung/yakjuxw/maguro:4.1.1/JRO03C/I9250XWLH2:user/release-keys' 10-25 11:06:29.338: I/DEBUG(10149): pid: 12972, tid: 13000, name: Thread-860? >>> org.pjsip.pjsua <<< 10-25 11:06:29.338: I/DEBUG(10149): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad 10-25 11:06:29.416: I/DEBUG(10149):? ? r0 00000027? r1 deadbaad? r2 4009eaec? r3 00000000 10-25 11:06:29.416: I/DEBUG(10149):? ? r4 00000000? r5 5d4edb7c? r6 00000004? r7 570b6fbc 10-25 11:06:29.416: I/DEBUG(10149):? ? r8 5d4edc80? r9 570b6fb4? sl 589879a8? fp 5d4edbc4 10-25 11:06:29.416: I/DEBUG(10149):? ? ip 00004000? sp 5d4edb78? lr 40070a11? pc 4006d0ae? cpsr 60000030 10-25 11:06:29.416: I/DEBUG(10149):? ? d0? 61657268745f6a64? d1? 6e755f65726f635f 10-25 11:06:29.416: I/DEBUG(10149):? ? d2? 61657268745f6a74? d3? 7473696765725f68 10-25 11:06:29.416: I/DEBUG(10149):? ? d4? 2220222029287265? d5? 632065726f666562 10-25 11:06:29.416: I/DEBUG(10149):? ? d6? 6120676e696c6c61? d7? 62696c6a7020796e 10-25 11:06:29.416: I/DEBUG(10149):? ? d8? 44340000000002d0? d9? 00000000434f0000 10-25 11:06:29.416: I/DEBUG(10149):? ? d10 0000000000000000? d11 0000000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d12 0000000000000000? d13 0000000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d14 0000000000000000? d15 0000000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d16 000000000000007d? d17 000000000000007d 10-25 11:06:29.416: I/DEBUG(10149):? ? d18 0000000000000000? d19 0000000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d20 0000000000000000? d21 3fe5555560000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d22 0000000000000000? d23 3fe5555560000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d24 3ff0000000000000? d25 0000000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d26 0000000000000000? d27 c038000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d28 0000000000000000? d29 3ff0000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? d30 3ff0000000000000? d31 3ff0000000000000 10-25 11:06:29.416: I/DEBUG(10149):? ? scr 80000011 10-25 11:06:29.416: I/DEBUG(10149): backtrace: 10-25 11:06:29.416: I/DEBUG(10149):? ? #00? pc 000180ae? /system/lib/libc.so 10-25 11:06:29.416: I/DEBUG(10149):? ? #01? pc 0000dbd4? /system/lib/libc.so (abort+4) 10-25 11:06:29.416: I/DEBUG(10149):? ? #02? pc 0001ee67? /system/lib/libc.so (__assert2+30) 10-25 11:06:29.416: I/DEBUG(10149):? ? #03? pc 0019d57c? /data/data/org.pjsip.pjsua/lib/libpjsua_app.so (pj_thread_this+88) 10-25 11:06:29.416: I/DEBUG(10149): stack: 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb38? 00000000? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb3c? 57267b59? /dev/ashmem/dalvik-LinearAlloc (deleted) 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb40? 00000000? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb44? 000002d0? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb48? 44340000? /dev/ashmem/dalvik-heap (deleted) 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb4c? 434f0000? /dev/ashmem/dalvik-heap (deleted) 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb50? 40099754? /system/lib/libc.so 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb54? 4009ecf0? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb58? 00000000? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb5c? 40070a11? /system/lib/libc.so (_fwalk+32) 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb60? 00000001? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb64? 5d4edb7c? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb68? 00000004? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb6c? 570b6fbc? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb70? df0027ad? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb74? 00000000? 10-25 11:06:29.416: I/DEBUG(10149):? ? #00? 5d4edb78? 5cb14f54? /data/data/org.pjsip.pjsua/lib/libpjsua_app.so 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb7c? fffffbdf? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb80? 4008fb94? /system/lib/libc.so 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb84? 00000004? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb88? 570b6fbc? 10-25 11:06:29.416: I/DEBUG(10149):? ? ? ? ? 5d4edb8c? 4006ff7d? /system/lib/libc.so (fprintf+16) 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edb90? 400996f8? /system/lib/libc.so 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edb94? 5cb14f54? /data/data/org.pjsip.pjsua/lib/libpjsua_app.so 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edb98? 4008fb94? /system/lib/libc.so 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edb9c? 40062bd8? /system/lib/libc.so (__pthread_clone) 10-25 11:06:29.424: I/DEBUG(10149):? ? #01? 5d4edba0? 5d4edba0? 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edba4? 40073e6b? /system/lib/libc.so (__assert2+34) 10-25 11:06:29.424: I/DEBUG(10149):? ? #02? 5d4edba8? 00000297? 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edbac? 5cb15380? /data/data/org.pjsip.pjsua/lib/libpjsua_app.so (__PRETTY_FUNCTION__.4441) 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edbb0? 5cb15380? /data/data/org.pjsip.pjsua/lib/libpjsua_app.so (__PRETTY_FUNCTION__.4441) 10-25 11:06:29.424: I/DEBUG(10149):? ? ? ? ? 5d4edbb4? 5cac1580? /data/data/org.pjsip.pjsua/lib/libpjsua_app.so (pj_thread_this+92) 10-25 11:06:29.424: I/DEBUG(10149): memory near r2: 10-25 11:06:29.424: I/DEBUG(10149):? ? 4009eacc 00000000 00000000 00000000 00000000? ................ 10-25 11:06:29.424: I/DEBUG(10149):? ? 4009eadc 00000000 00000000 00000000 00000000? ................ 10-25 11:06:29.424: I/DEBUG(10149):? ? 4009eaec 00000001 00000000 00000000 00000000? ................ 10-25 11:06:29.424: I/DEBUG(10149):? ? 4009eafc 00000000 00000000 00000000 00000000? ................ 10-25 11:06:29.424: I/DEBUG(10149):? ? 4009eb0c 00000000 00000000 00000000 00000000? ................ 10-25 11:06:29.424: I/DEBUG(10149): memory near r5: 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edb5c 40070a11 00000001 5d4edb7c 00000004? ... at ....|.N].... 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edb6c 570b6fbc df0027ad 00000000 5cb14f54? .o.W.'......TO.\ 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edb7c fffffbdf 4008fb94 00000004 570b6fbc? ....... at .....o.W 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edb8c 4006ff7d 400996f8 5cb14f54 4008fb94? }.. at ...@TO.\...@ 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edb9c 40062bd8 5d4edba0 40073e6b 00000297? .+. at ..N]k>. at .... 10-25 11:06:29.424: I/DEBUG(10149): memory near r7: 10-25 11:06:29.424: I/DEBUG(10149):? ? 570b6f9c 00000000 570b6fc8 4004e23c 57405f80? .....o.W<.. at ._@W 10-25 11:06:29.424: I/DEBUG(10149):? ? 570b6fac 00000000 00000000 570b6fe0 4004dfb4? .........o.W...@ 10-25 11:06:29.424: I/DEBUG(10149):? ? 570b6fbc 57405dc0 4004e23c 00000000 00000000? .]@W<.. at ........ 10-25 11:06:29.424: I/DEBUG(10149):? ? 570b6fcc 570b7000 00000000 574059f0 4004dfb4? .p.W.....Y at W...@ 10-25 11:06:29.424: I/DEBUG(10149):? ? 570b6fdc 00000000 00000000 00000000 417f5a38? ............8Z.A 10-25 11:06:29.424: I/DEBUG(10149): memory near r8: 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edc60 5d4edc7c 5c943068 1d200001 58957af8? |.N]h0.\.. ..z.X 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edc70 00000000 58987a40 5d4edc94 4074ae34? .... at z.X..N]4.t@ 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edc80 570b6fb4 00000001 417b8a38 00000008? .o.W....8.{A.... 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edc90 00000000 4077a087 570b6fb4 4004e4b3? ......w at .o.W...@ 10-25 11:06:29.424: I/DEBUG(10149):? ? 5d4edca0 5c943048 589879a8 1d200001 00000000? H0.\.y.X.. ..... 10-25 11:06:29.424: I/DEBUG(10149): memory near r9: 10-25 11:06:29.424: I/DEBUG(10149):? ? 570b6f94 00000000 00000000 00000000 570b6fc8? .............o.W 10-25 11:06:29.424: I/DEBUG(10149):? ? 570b6fa4 4004e23c 57405f80 00000000 00000000? <.. at ._@W........ 10-25 11:06:29.432: I/DEBUG(10149):? ? 570b6fb4 570b6fe0 4004dfb4 57405dc0 4004e23c? .o.W... at .]@W<..@ 10-25 11:06:29.432: I/DEBUG(10149):? ? 570b6fc4 00000000 00000000 570b7000 00000000? .........p.W.... 10-25 11:06:29.432: I/DEBUG(10149):? ? 570b6fd4 574059f0 4004dfb4 00000000 00000000? .Y at W...@........ 10-25 11:06:29.432: I/DEBUG(10149): memory near sl: 10-25 11:06:29.432: I/DEBUG(10149):? ? 58987988 ffffffff 00000009 0000000a 00000453? ............S... 10-25 11:06:29.432: I/DEBUG(10149):? ? 58987998 4004dfb4 570b6fb4 57405dc0 40054000? ... at .o.W.]@W. at .@ 10-25 11:06:29.432: I/DEBUG(10149):? ? 589879a8 00000000 00000000 5d4edda8 00000000? ..........N].... 10-25 11:06:29.432: I/DEBUG(10149):? ? 589879b8 5d4edddc 0000000d 00000000 4074afc0? ..N]..........t@ 10-25 11:06:29.432: I/DEBUG(10149):? ? 589879c8 00000000 00000000 5652c070 570b3300? ........p.RV.3.W 10-25 11:06:29.432: I/DEBUG(10149): memory near fp: 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edba4 40073e6b 00000297 5cb15380 5cb15380? k>. at .....S.\.S.\ 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edbb4 5cac1580 58987998 00000000 5d4edbdc? ...\.y.X......N] 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edbc4 5cac2118 5cb16898 5cb2851c 00000000? .!.\.h.\...\.... 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edbd4 00000000 5d4edbec 5cacb6c4 5cb285a4? ......N]...\...\ 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edbe4 5cb28508 5d4edc24 5cace630 00000000? ...\$.N]0..\.... 10-25 11:06:29.432: I/DEBUG(10149): memory near ip: 10-25 11:06:29.432: I/DEBUG(10149):? ? 00003fe0 ffffffff ffffffff ffffffff ffffffff? ................ 10-25 11:06:29.432: I/DEBUG(10149):? ? 00003ff0 ffffffff ffffffff ffffffff ffffffff? ................ 10-25 11:06:29.432: I/DEBUG(10149):? ? 00004000 ffffffff ffffffff ffffffff ffffffff? ................ 10-25 11:06:29.432: I/DEBUG(10149):? ? 00004010 ffffffff ffffffff ffffffff ffffffff? ................ 10-25 11:06:29.432: I/DEBUG(10149):? ? 00004020 ffffffff ffffffff ffffffff ffffffff? ................ 10-25 11:06:29.432: I/DEBUG(10149): memory near sp: 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edb58 00000000 40070a11 00000001 5d4edb7c? ....... at ....|.N] 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edb68 00000004 570b6fbc df0027ad 00000000? .....o.W.'...... 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edb78 5cb14f54 fffffbdf 4008fb94 00000004? TO.\....... at .... 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edb88 570b6fbc 4006ff7d 400996f8 5cb14f54? .o.W}.. at ...@TO.\ 10-25 11:06:29.432: I/DEBUG(10149):? ? 5d4edb98 4008fb94 40062bd8 5d4edba0 40073e6b? ... at .+.@..N]k>.@ 10-25 11:06:29.432: I/DEBUG(10149): code around pc: 10-25 11:06:29.432: I/DEBUG(10149):? ? 4006d08c e000b164 6823461c d1fb2b00 68e3e026? d....F#h.+..&..h 10-25 11:06:29.432: I/DEBUG(10149):? ? 4006d09c 4a17b123 447a2401 47986014 20274911? #..J.$zD.`.G.I' 10-25 11:06:29.432: I/DEBUG(10149):? ? 4006d0ac 70082400 ecc2f7f4 f7f52106 a902ee02? .$.p.....!...... 10-25 11:06:29.432: I/DEBUG(10149):? ? 4006d0bc f04f2006 460a5380 94029304 f7f59403? . O..S.F........ 10-25 11:06:29.432: I/DEBUG(10149):? ? 4006d0cc 4629e9e0 20024622 e9e8f7f5 ecaef7f4? ..)F"F. ........ 10-25 11:06:29.432: I/DEBUG(10149): code around lr: 10-25 11:06:29.432: I/DEBUG(10149):? ? 400709f0 41f0e92d 4c0b2600 447c4680 68a56824? -..A.&.L.F|D$h.h 10-25 11:06:29.432: I/DEBUG(10149):? ? 40070a00 e0076867 300cf9b5 dd022b00 47c04628? gh.....0.+..(F.G 10-25 11:06:29.432: I/DEBUG(10149):? ? 40070a10 35544306 d5f53f01 2c006824 4630d1ef? .CT5.?..$h.,..0F 10-25 11:06:29.432: I/DEBUG(10149):? ? 40070a20 81f0e8bd 00028ae6 43f0e92d fb01461f? ........-..C.F.. 10-25 11:06:29.432: I/DEBUG(10149):? ? 40070a30 f8dff602 b0878058 44f8460c 8000f8d8? ....X....F.D.... 10-25 11:06:29.432: I/DEBUG(10149): memory map around fault addr deadbaad: 10-25 11:06:29.432: I/DEBUG(10149):? ? beba7000-bebc8000 [stack] 10-25 11:06:29.432: I/DEBUG(10149):? ? (no map for address) 10-25 11:06:29.432: I/DEBUG(10149):? ? ffff0000-ffff1000 [vectors] 10-25 11:06:29.580: I/BootReceiver(306): Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE) 10-25 11:06:29.635: W/InputDispatcher(306): channel '4255b648 org.pjsip.pjsua/org.pjsip.pjsua.ApjsuaActivity (server)' ~ Consumer closed input channel or an error occurred.? events=0x9 10-25 11:06:29.635: E/InputDispatcher(306): channel '4255b648 org.pjsip.pjsua/org.pjsip.pjsua.ApjsuaActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 10-25 11:06:29.635: D/Zygote(124): Process 12972 terminated by signal (11) 10-25 11:06:29.658: D/dalvikvm(306): GC_FOR_ALLOC freed 2049K, 25% free 24361K/32455K, paused 75ms, total 75ms 10-25 11:06:29.658: W/InputDispatcher(306): Attempted to unregister already unregistered input channel '4255b648 org.pjsip.pjsua/org.pjsip.pjsua.ApjsuaActivity (server)' 10-25 11:06:29.658: I/ActivityManager(306): Process org.pjsip.pjsua (pid 12972) has died. 10-25 11:06:29.658: W/ActivityManager(306): Force removing ActivityRecord{41a686e0 org.pjsip.pjsua/.ApjsuaActivity}: app died, no saved state 10-25 11:06:29.658: I/WindowManager(306): WINDOW DIED Window{4255b648 org.pjsip.pjsua/org.pjsip.pjsua.ApjsuaActivity paused=false} Has anyone else had thes problems? is there any way to solve it right now? thanks for any help _______________________________________________ Visit our blog: http://blog.pjsip.org/ pjsip mailing list pjsip at lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121025/07ce9dd7/attachment-0001.html>