Sanjivkumarroshan / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

CSipSimple crashes with latest update #2842

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Fresh installation of application
2. Open application
3. cSipSimple has stopped

What is the expected output? What do you see instead?
- Expect to see the accounts and setting screen for first-time configuration, 
see crash dialog box. After proceeding, the accounts window remains open, but 
if upon tapping back to go to the main cSipSimple screen, the application exits 
and the homescreen is shown

What version of the product are you using? On what device / operating
system?
ASUS K013
Android 4.4.2

Please provide any additional information below.
I/DEBUG   (  172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
***
I/DEBUG   (  172): Build fingerprint: 
'asus/WW_K013/K013:4.4.2/KOT49H/WW_user_3.1.23.158_20140620:user/release-keys'
I/DEBUG   (  172): Revision: '0'
I/DEBUG   (  172): pid: 7032, tid: 7032, name: simple:sipStack  >>> 
com.csipsimple:sipStack <<<
I/DEBUG   (  172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
00000000
D/ImageWallpaper(  595): onVisibilityChanged: mVisible, visible=true, false
D/ImageWallpaper(  595): Visibility changed to visible=false
D/ImageWallpaper(  595): Suppressed drawFrame since redraw is not needed and 
offsets have not changed.
I/ActivityManager(  506): Displayed 
com.csipsimple/.ui.account.AccountsEditList: +148ms (total +418ms)
D/BatteryStatsImpl(  506): noteStopWakeLocked system isFromForeground = false
I/DEBUG   (  172):     eax 00000000  ebx 000000c6  ecx 00000000  edx 00000000
I/DEBUG   (  172):     esi 00000e59  edi 00000000
I/DEBUG   (  172):     xcs 00000073  xds 0000007b  xes 0000007b  xfs 0000003b  
xss 0000007b
I/DEBUG   (  172):     eip 620ed582  ebp 1a011f2c  esp 1a011ee4  flags 00210246
I/DEBUG   (  172): 
I/DEBUG   (  172): backtrace:
I/DEBUG   (  172):     #00  pc 000c2582  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  172):     #01  pc 00015edf  /system/lib/arm/libc.so
I/DEBUG   (  172):     #02  pc 000ae6b6  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  172):     #03  pc 00062f8b  <unknown>
I/DEBUG   (  172):     #04  pc 000ab3c5  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  172):     #05  pc 00015edf  /system/lib/arm/libc.so
I/DEBUG   (  172):     #06  pc 000aadcc  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  172):     #07  pc ffffffff  <unknown>
I/DEBUG   (  172):     #08  pc 000f454c  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  172): 
I/DEBUG   (  172): stack:
I/DEBUG   (  172):          1a011ea4  1458f5d4  
/data/app-lib/com.csipsimple-1/libpjsipjni.so
I/DEBUG   (  172):          1a011ea8  00000000  
I/DEBUG   (  172):          1a011eac  00000001  
I/DEBUG   (  172):          1a011eb0  1a000030  
I/DEBUG   (  172):          1a011eb4  000002f7  
I/DEBUG   (  172):          1a011eb8  00000001  
I/DEBUG   (  172):          1a011ebc  1a011f2c  [stack:7032]
I/DEBUG   (  172):          1a011ec0  620da282  
/system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  172):          1a011ec4  1a000030  
I/DEBUG   (  172):          1a011ec8  eca2f710  
I/DEBUG   (  172):          1a011ecc  1458f5d4  
/data/app-lib/com.csipsimple-1/libpjsipjni.so
I/DEBUG   (  172):          1a011ed0  1a000030  
I/DEBUG   (  172):          1a011ed4  00000473  
I/DEBUG   (  172):          1a011ed8  1458f5d8  
/data/app-lib/com.csipsimple-1/libpjsipjni.so
I/DEBUG   (  172):          1a011edc  1a011f2c  [stack:7032]
I/DEBUG   (  172):          1a011ee0  620efb79  
/system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  172):     #00  1a011ee4  14116ee0  /system/lib/arm/libc.so
I/DEBUG   (  172):          ........  ........
I/DEBUG   (  172):          ........  ........
I/DEBUG   (  172):     #02  1a011f34  623acf8c  
I/DEBUG   (  172):          ........  ........
I/ActivityThread( 7015): Removing dead content 
provider:android.content.ContentProviderProxy@21efd3b0
I/ActivityManager(  506): Process com.csipsimple:sipStack (pid 7032) has died.
I/SecurityManagerService(  625): SMS received security event: 
App[STOP/com.csipsimple]
I/SecurityManagerService(  625): SMS received security event: 
App[START/com.csipsimple]

Original issue reported on code.google.com by Zer...@gmail.com on 2 Dec 2014 at 8:50

GoogleCodeExporter commented 9 years ago
Additionally, disabling network connectivity stops the crash from ocurring. 
When going into the menu to enable TLS and SRTP, options are missing from the 
menu.

Original comment by Zer...@gmail.com on 2 Dec 2014 at 8:52

GoogleCodeExporter commented 9 years ago
Hi,

It appears to be a problem with Atom CPU arm emulator library + used android 
NDK version (bug on Android side).
A workaround that seems to work for now is to force use of x86 :
http://nightlies.csipsimple.com/x86/CSipSimple-latest-x86.apk
If you can also test the latest nightly build (that uses a more recent ndk 
version) :
http://nightlies.csipsimple.com/trunk/
would be great to help me to find out if the latest ndk version solves the 
problem.
As I've no device with atom cpu (and the failing arm emulator lib) I cannot 
reproduce and investigate to try to fix the android NDK.

Original comment by r3gis...@gmail.com on 3 Dec 2014 at 12:45

GoogleCodeExporter commented 9 years ago
The latest force-x86 build works successfully. Calls tested as working.

Latest trunk version did not work, crashed in same fashion:
I/DEBUG   (  171): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 
***
I/DEBUG   (  171): Build fingerprint: 
'asus/WW_K013/K013:4.4.2/KOT49H/WW_user_3.1.23.161_20140626:user/release-keys'
I/DEBUG   (  171): Revision: '0'
I/DEBUG   (  171): pid: 8832, tid: 8832, name: simple:sipStack  >>> 
com.csipsimple:sipStack <<<
I/DEBUG   (  171): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
00000000
D/        ( 8819): Pixel Format : GGL_PIXEL_FORMAT_RGBA_8888
D/        ( 8819): Surface destroy: ANDROID_NATIVE_WINDOW_MAGIC
I/ActivityManager(  508): Displayed 
com.csipsimple/.ui.account.AccountsEditList: +109ms (total +531ms)
D/XT9IME  (  768): new subtype :en_US ,keyboard
I/DEBUG   (  171):     eax 00000000  ebx 000000c6  ecx 00000000  edx 00000000
I/DEBUG   (  171):     esi 00000e59  edi 00000000
I/DEBUG   (  171):     xcs 00000073  xds 0000007b  xes 0000007b  xfs 0000003b  
xss 0000007b
I/DEBUG   (  171):     eip 620eb582  ebp 1a011f2c  esp 1a011ee4  flags 00210246
I/DEBUG   (  171): 
I/DEBUG   (  171): backtrace:
I/DEBUG   (  171):     #00  pc 000c2582  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  171):     #01  pc 00015edf  /system/lib/arm/libc.so
I/DEBUG   (  171):     #02  pc 000ae6b6  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  171):     #03  pc 00062f8b  <unknown>
I/DEBUG   (  171):     #04  pc 000ab3c5  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  171):     #05  pc 00015edf  /system/lib/arm/libc.so
I/DEBUG   (  171):     #06  pc 000aadcc  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  171):     #07  pc ffffffff  <unknown>
I/DEBUG   (  171):     #08  pc 000f454c  /system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  171): 
I/DEBUG   (  171): stack:
I/DEBUG   (  171):          1a011ea4  1458f614  
/data/app-lib/com.csipsimple-1/libpjsipjni.so
I/DEBUG   (  171):          1a011ea8  00000000  
I/DEBUG   (  171):          1a011eac  00000001  
I/DEBUG   (  171):          1a011eb0  1a000030  
I/DEBUG   (  171):          1a011eb4  000002f7  
I/DEBUG   (  171):          1a011eb8  00000001  
I/DEBUG   (  171):          1a011ebc  1a011f2c  [stack:8832]
I/DEBUG   (  171):          1a011ec0  620d8282  
/system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  171):          1a011ec4  1a000030  
I/DEBUG   (  171):          1a011ec8  ec82f710  
I/DEBUG   (  171):          1a011ecc  1458f614  
/data/app-lib/com.csipsimple-1/libpjsipjni.so
I/DEBUG   (  171):          1a011ed0  1a000030  
I/DEBUG   (  171):          1a011ed4  00000473  
I/DEBUG   (  171):          1a011ed8  1458f618  
/data/app-lib/com.csipsimple-1/libpjsipjni.so
I/DEBUG   (  171):          1a011edc  1a011f2c  [stack:8832]
I/DEBUG   (  171):          1a011ee0  620edb79  
/system/lib/libhoudini.so.4.0.2.44380
I/DEBUG   (  171):     #00  1a011ee4  14216ee0  /system/lib/arm/libc.so
I/DEBUG   (  171):          ........  ........
I/DEBUG   (  171):          ........  ........
I/DEBUG   (  171):     #02  1a011f34  623aaf8c  
I/DEBUG   (  171):          ........  ........
D/Zygote  (  173): Process 8832 terminated by signal (11)
I/SecurityManagerService(  703): SMS received security event: 
App[STOP/com.csipsimple]
I/ActivityManager(  508): Process com.csipsimple:sipStack (pid 8832) has died.
I/ActivityManager(  508): Killing 8819:com.csipsimple/u0a112 (adj 0): depends 
on provider com.csipsimple/.db.DBProvider in dying proc com.csipsimple:sipStack
I/WindowState(  508): WIN DEATH: Window{22274450 u0 
com.csipsimple/com.csipsimple.ui.SipHome}
W/ActivityManager(  508): Force removing ActivityRecord{220b9e30 u0 
com.csipsimple/.ui.account.AccountsEditList t15}: app died, no saved state
W/ActivityManager(  508): Force removing ActivityRecord{21f33aa8 u0 
com.csipsimple/.ui.SipHome t15}: app died, no saved state
I/WindowState(  508): WIN DEATH: Window{22294cd0 u0 
com.csipsimple/com.csipsimple.ui.account.AccountsEditList}

Original comment by Zer...@gmail.com on 3 Dec 2014 at 7:35