title: PJSIP library crash: "signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)" in "libpjsua2.so"
body: <p>I got this error in my production version of application on Google Play reported by a user:</p>
  
  <blockquote>
    <p>signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) libpjsua2.so</p>
    
    <p><strong>backtrace:</strong></p>
    
    <p>native: pc 00000000001bd4e8  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 00000000001bd6b7  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pj_timer_heap_schedule_w_grp_lock+26)
        native: pc 000000000016497f  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 0000000000164e53  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 0000000000165db7  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 000000000015dc1d  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 000000000015f57b  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so (pjsip_resolve+1058)
        native: pc 000000000015e9cd  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pjsip_endpt_send_request_stateless+92)
        native: pc 0000000000165087  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 0000000000165173  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 0000000000166943  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pjsip_tsx_send_msg+86)
        native: pc 0000000000166b8b  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pjsip_endpt_send_request+86)
        native: pc 00000000001503db  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pjsip_regc_send+206)
        native: pc 0000000000138daf  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pjsua_acc_set_registration+1118)
        native: pc 000000000013b0bb  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 00000000001bd7d1  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pj_timer_heap_poll+124)
        native: pc 000000000015d1f1  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pjsip_endpt_handle_events2+34)
        native: pc 0000000000140d2d  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
    (pjsua_handle_events+32)
        native: pc 0000000000140d51  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 00000000001b7bf9  /data/app/domain.package.appname-2/lib/arm/libpjsua2.so
        native: pc 0000000000047423  /system/lib/libc.so (_ZL15__pthread_startPv+22)
        native: pc 0000000000019efd  /system/lib/libc.so (__start_thread+6)</p>
  </blockquote>
  
  <p>How to understand this error? Unfortunately I can not reproduce this issue. I guess it has to do with background registration of account, but I am not sure.</p>