Android Question SIGSEGV error on KitKat

boten

Active Member
Licensed User
Longtime User
My app crashes with
Fatal signal 11 (SIGSEGV) at 0x42740000 (code=1), thread 1021 (boten.hebcal)

This happens ONLY on KitKat emulator!!
Never happens in any other emulator. Never happens in devices running Froyo & JellyBean.
The error happens after selecting an option from InputList which is displayed when clicking the Menu button.
This is the Keypress routine:

B4X:
Sub Activity_Keypress (KeyCode As Int) As Boolean
pnlsun.Visible=False
If KeyCode=KeyCodes.KEYCODE_BACK Then
  RateMe("boten.hebcal")
  Return True  'False
End If   
If KeyCode=KeyCodes.KEYCODE_MENU Then
  Dim result As Int
  Dim lst As List
  lst.Initialize
  If RevHeb Then lst.Add("Heb Rev OFF") Else lst.Add("Heb Rev ON")
  If OrderHeb Then lst.Add("Def. Heb Title") Else lst.Add("ReOrder Heb Title")
  If ShowEng Then lst.Add("Hide English") Else lst.Add("Show English")
  lst.AddAll(Array As String("Year","Month","Location","Quit"))
  result=InputList(lst,"Select Option",-1)
  Select result
  Case 0
    RevHeb=Not(RevHeb)
      Put_Ini
      Fill_Month
  Case 1
    OrderHeb=Not(OrderHeb)
      Put_Ini
      Fill_Month     
  Case 2
    ShowEng=Not(ShowEng)
      Put_Ini
      Fill_Month     
  Case 3
      Choose_Year
  Case 4
    Choose_Month
  Case 5
    Choose_Location
  Case 6   
    RateMe("boten.hebcal")
  End Select
  Return True
End If
Return False
End Sub

this is the unfiltered log
B4X:
Fatal signal 11 (SIGSEGV) at 0x420c0000 (code=1), thread 1150 (boten.hebcal)

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***


Build fingerprint: 'generic/sdk/generic:4.4/KRT16L/892118:eng/test-keys'
Revision: '0'
pid: 1150, tid: 1150, name: boten.hebcal  >>> boten.hebcal <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 420c0000


  r0 00000001  r1 b84dde9c  r2 b8497198  r3 420c0000


  r4 b83f0530  r5 b84dde90  r6 00000000  r7 0000002f


  r8 b83f0578  r9 00000000  sl b6eb0927  fp b6eb0830
  ip b5b06d98  sp be87e3b8  lr b5a9d33d  pc b6eaec7e  cpsr 20000030
  d0  440d000000000000  d1  43ef000000000000
  d2  4422400000000000  d3  4422400000000000
  d4  4422800044350000  d5  ffffffff00000000
  d6  440d0000bf800000  d7  0000000043cd0000
  d8  434e000000000135  d9  4389000043600000
  d10 00000000439a8000  d11 0000000000000000
  d12 0000000000000000  d13 0000000000000000
  d14 0000000000000000  d15 0000000000000000
  scr 80000010



backtrace:
  #00  pc 0000ec7e  /system/lib/libutils.so (android::Looper::pollInner(int)+497)
  #01  pc 0000ed19  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
  #02  pc 0006a095  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)


  #03  pc 0001dbcc  /system/lib/libdvm.so (dvmPlatformInvoke+112)
  #04  pc 0004deff  /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+394)
  #05  pc 0003873d  /system/lib/libdvm.so (dvmCheckCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+8)
  #06  pc 00026fe0  /system/lib/libdvm.so
  #07  pc 0002df34  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
  #08  pc 0002b5cc  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
  #09  pc 000605fd  /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392)
  #10  pc 000684c7  /system/lib/libdvm.so
  #11  pc 00026fe0  /system/lib/libdvm.so
  #12  pc 0002df34  /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
  #13  pc 0002b5cc  /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
  #14  pc 00060319  /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
  #15  pc 00049b4f  /system/lib/libdvm.so
  #16  pc 0003cd05  /system/lib/libdvm.so
  #17  pc 0004ce2f  /system/lib/libandroid_runtime.so
  #18  pc 0004db27  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354)


  #19  pc 0000105b  /system/bin/app_process
  #20  pc 0000e23b  /system/lib/libc.so (__libc_init+50)
  #21  pc 00000d7c  /system/bin/app_process

stack:
  be87e378  b83f0530  [heap]
  be87e37c  b82b3f28  [heap]
  be87e380  b8497198  [heap]
  be87e384  b6e21055  /system/lib/libandroid_runtime.so (android::MessageQueue::raiseAndClearException(_JNIEnv*, char const*)+16)
  be87e388  a421cee3  
  be87e38c  00000000  
  be87e390  b8497198  [heap]
  be87e394  b82b3f28  [heap]
  be87e398  0000002f  
  be87e39c  b6e1a899  /system/lib/libandroid_runtime.so (android::NativeInputEventSender::handleEvent(int, int, void*)+68)
  be87e3a0  b8497198  [heap]
  be87e3a4  0000002f  
  be87e3a8  b83f0530  [heap]
  be87e3ac  b84dde90  [heap]
  be87e3b0  00000000  
  be87e3b4  b6eaec6d  /system/lib/libutils.so (android::Looper::pollInner(int)+480)
  #00  be87e3b8  b6f1b000  /system/lib/libc.so
  be87e3bc  be87e408  [stack]
  be87e3c0  be87e408  [stack]
  be87e3c4  00000001  
  be87e3c8  0000002f  
  be87e3cc  b6eb0830  /system/lib/libutils.so


  be87e3d0  00000004  
  be87e3d4  b6e8830f  /system/lib/libbinder.so (android::Parcel::freeDataNoInit()+38)
  be87e3d8  00000001  
  be87e3dc  00000008  
  be87e3e0  0000002f  
  be87e3e4  00000000  
  be87e3e8  be87e4a0  [stack]
  be87e3ec  b6e8837d  /system/lib/libbinder.so (android::Parcel::~Parcel()+8)
  be87e3f0  00000000  
  be87e3f4  b6cf8f17  /system/lib/libgui.so
  ........  ........
  #01  be87e500  00000000  
  be87e504  b83ef8f0  [heap]
  be87e508  00000000  
  be87e50c  b82b3f28  [heap]
  be87e510  b0283e20  
  be87e514  be87e538  [stack]
  be87e518  b0283e18  


  be87e51c  b6e21099  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+26)
  #02  be87e520  00000000  
  be87e524  b82b3f28  [heap]
  be87e528  af2e10e8  /dev/ashmem/dalvik-LinearAlloc (deleted)
  be87e52c  b82b7380  [heap]
  be87e530  00000000  
  be87e534  b5a79bd0  /system/lib/libdvm.so (dvmPlatformInvoke+116)



memory near r1:
  b84dde7c 420c0000 421c0000 420c0000 42480000  
  b84dde8c 420c0000 426c0000 420c0000 42860000  
  b84dde9c 420c0000 42b60000 420c0000 42d80000  
  b84ddeac 420c0000 42fe0000 420c0000 43070000  
  b84ddebc 420c0000 431b0000 420c0000 43230000  
  b84ddecc 420c0000 432e0000 420c0000 43360000  
  b84ddedc 420c0000 00000078 0000006a 00000000  
  b84ddeec b84d8018 00000000 00000000 00000044  
  b84ddefc 00000055 00000000 00000000 00000000  
  b84ddf0c 00000000 00000000 00000000 00010001  
  b84ddf1c b84d82e8 00000000 00000000 b84ddf44  
  b84ddf2c b84ddf44 0000006c b84ddf44 00000000  
  b84ddf3c 00000001 00000000 00000000 00000000  
  b84ddf4c 0000001b af2b3ea8 00000016 00000000  
  b84ddf5c 00000000 00000001 0000005b b6e5e3b0  
  b84ddf6c 00000001 b6bce1d4 b2105db8 00000000  



memory near r2:
  b8497178 00000000 0000001b af313790 00000010  
  b8497188 00000000 00000000 00000005 00000043  
  b8497198 b6e5dad4 1d2003ea b84990e8 b83ef8f0  
  b84971a8 b6e5da90 b848d0c0 00000000 00000007  
  b84971b8 00000008 00000007 b6e5dafc b8496708  
  b84971c8 af290208 00000101 00000040 0000001b  
  b84971d8 0000000a 00000005 4c2d6e65 2d6e7461  
  b84971e8 00005355 0000005b 00000000 41400000  
  b84971f8 3f800000 00000000 00000000 00000000  
  b8497208 00000000 00000000 00000000 00000000  
  b8497218 00000000 00000000 00000000 ff000000  
  b8497228 00000000 40800000 0b000506 b840bda8  
  b8497238 00000001 00000001 00000004 0000001b  
  b8497248 af4188b0 0000000e 00000000 00000000  
  b8497258 00000001 00000011 b8494158 b6f1f190  
  b8497268 00000010 00000022 00000001 00000006  



memory near r3:
  420bffe0 ffffffff ffffffff ffffffff ffffffff  
  420bfff0 ffffffff ffffffff ffffffff ffffffff  
  420c0000 ffffffff ffffffff ffffffff ffffffff  
  420c0010 ffffffff ffffffff ffffffff ffffffff  
  420c0020 ffffffff ffffffff ffffffff ffffffff  
  420c0030 ffffffff ffffffff ffffffff ffffffff  
  420c0040 ffffffff ffffffff ffffffff ffffffff  
  420c0050 ffffffff ffffffff ffffffff ffffffff  
  420c0060 ffffffff ffffffff ffffffff ffffffff  
  420c0070 ffffffff ffffffff ffffffff ffffffff  
  420c0080 ffffffff ffffffff ffffffff ffffffff  
  420c0090 ffffffff ffffffff ffffffff ffffffff  
  420c00a0 ffffffff ffffffff ffffffff ffffffff  
  420c00b0 ffffffff ffffffff ffffffff ffffffff  
  420c00c0 ffffffff ffffffff ffffffff ffffffff  
  420c00d0 ffffffff ffffffff ffffffff ffffffff  

memory near r4:
  b83f0510 646e003e 0000001b 00000004 00000004  
  b83f0520 b83ef8f0 00000000 00000000 00000073  
  b83f0530 b6eb2c90 b83f05a0 00000000 00000027  
  b83f0540 00000028 00000000 b6eb2b50 00000000  
  b83f0550 00000000 00000000 00000010 00000000  
  b83f0560 00000029 b6eb2b78 b83fe508 00000003  
  b83f0570 00000000 00000014 b6eb2ba8 b8497e60  
  b83f0580 00000000 00000000 00000014 00000000  
  b83f0590 ffffffff 7fffffff 00000000 0000001b  
  b83f05a0 00000002 00000002 b83f0530 00000000  
  b83f05b0 00000000 0000001b b6e5df80 b83f05d0  
  b83f05c0 00000000 b83f0a68 b83f0a88 0000001b  
  b83f05d0 00000001 00000001 b83f05b8 00000000  
  b83f05e0 00000000 0000001b 00000001 00000001  
  b83f05f0 b83f0e1c 00000001 b83f08d8 00000023  


  b83f0600 b6e5e0c0 b83f0e80 b6e5df70 b83f0e98  

memory near r5:
  b84dde70 b8498d78 b6f1f1f8 41b00000 420c0000  
  b84dde80 421c0000 420c0000 42480000 420c0000  
  b84dde90 426c0000 420c0000 42860000 420c0000  
  b84ddea0 42b60000 420c0000 42d80000 420c0000  
  b84ddeb0 42fe0000 420c0000 43070000 420c0000  
  b84ddec0 431b0000 420c0000 43230000 420c0000  
  b84dded0 432e0000 420c0000 43360000 420c0000  
  b84ddee0 00000078 0000006a 00000000 b84d8018  


  b84ddef0 00000000 00000000 00000044 00000055  
  b84ddf00 00000000 00000000 00000000 00000000  
  b84ddf10 00000000 00000000 00010001 b84d82e8  
  b84ddf20 00000000 00000000 b84ddf44 b84ddf44  
  b84ddf30 0000006c b84ddf44 00000000 00000001  
  b84ddf40 00000000 00000000 00000000 0000001b  
  b84ddf50 af2b3ea8 00000016 00000000 00000000  
  b84ddf60 00000001 0000005b b6e5e3b0 00000001  

memory near r8:
  b83f0558 00000010 00000000 00000029 b6eb2b78  
  b83f0568 b83fe508 00000003 00000000 00000014  
  b83f0578 b6eb2ba8 b8497e60 00000000 00000000  
  b83f0588 00000014 00000000 ffffffff 7fffffff  
  b83f0598 00000000 0000001b 00000002 00000002  
  b83f05a8 b83f0530 00000000 00000000 0000001b  
  b83f05b8 b6e5df80 b83f05d0 00000000 b83f0a68  
  b83f05c8 b83f0a88 0000001b 00000001 00000001  
  b83f05d8 b83f05b8 00000000 00000000 0000001b  
  b83f05e8 00000001 00000001 b83f0e1c 00000001  
  b83f05f8 b83f08d8 00000023 b6e5e0c0 b83f0e80  
  b83f0608 b6e5df70 b83f0e98 00000000 b83f0ce0  
  b83f0618 00000020 000000ab b83eea20 0000047e  
  b83f0628 b6e90698 00000000 00000000 00000007  
  b83f0638 00000004 b6e906c0 00000000 00000000  
  b83f0648 00000007 00000004 00000000 b83f06c8  

memory near sl:
  b6eb0904 206c6c6f 6e657665 30207374 20782578  
  b6eb0914 77206e6f 20656b61 64616572 70697020  
  b6eb0924 49002e65 726f6e67 20676e69 78656e75  
  b6eb0934 74636570 65206465 6c6c6f70 65766520  
  b6eb0944 2073746e 78257830 206e6f20 25206466  
  b6eb0954 68742064 69207461 6f6e2073 6e6f6c20  
  b6eb0964 20726567 69676572 72657473 002e6465  
  b6eb0974 6c756f43 6f6e2064 72632074 65746165  
  b6eb0984 6b617720 69702065 202e6570 72726520  
  b6eb0994 253d6f6e 6f430064 20646c75 20746f6e  


  b6eb09a4 656b616d 6b617720 65722065 70206461  
  b6eb09b4 20657069 2d6e6f6e 636f6c62 676e696b  
  b6eb09c4 6520202e 6f6e7272 0064253d 6c756f43  
  b6eb09d4 6f6e2064 616d2074 7720656b 20656b61  
  b6eb09e4 74697277 69702065 6e206570 622d6e6f  
  b6eb09f4 6b636f6c 2e676e69 72652020 3d6f6e72  

memory near fp:
  b6eb0810 74282073 3d736968 202c7025 3d736872  
  b6eb0820 00297025 75736572 2120746c 0030203d  
  b6eb0830 706f6f4c 43007265 646c756f 746f6e20  
  b6eb0840 6c6c6120 7461636f 4c542065 656b2053  
  b6eb0850 70002e79 65726874 6f5f6461 2065636e  
  b6eb0860 6c696166 57006465 756f4300 6e20646c  
  b6eb0870 7720746f 65746972 6b617720 69732065  
  b6eb0880 6c616e67 7265202c 3d6f6e72 45006425  
  b6eb0890 726f7272 6d657220 6e69766f 70652067  
  b6eb08a0 206c6c6f 6e657665 66207374 6620726f  
  b6eb08b0 64252064 7265202c 3d6f6e72 50006425  
  b6eb08c0 206c6c6f 6c696166 77206465 20687469  
  b6eb08d0 75206e61 7078656e 65746365 72652064  
  b6eb08e0 2c726f72 72726520 253d6f6e 67490064  
  b6eb08f0 69726f6e 7520676e 7078656e 65746365  


  b6eb0900 70652064 206c6c6f 6e657665 30207374  

memory near ip:
  b5b06d78 b6efc445 b6ef4288 b6ee4b25 b6ee6311  
  b5b06d88 b6ee52dd b6d77bfc b6ef3a00 b6efc869  
  b5b06d98 b6ef47d3 b6ee0bbc b6ee0c20 b6ef9fdf  
  b5b06da8 b6ef7727 b6ef44c8 b6ef2240 b6ef9aed  
  b5b06db8 b6f0b830 b6efa069 b6efc7d1 b6ee67f1  
  b5b06dc8 b6efc8f5 b6f0b395 b6efcc59 b6ee667d  
  b5b06dd8 b6ee635d b6f0b8d8 b6ef2f74 b6ef4819  
  b5b06de8 b6ef9231 b6ef36d0 b6ef6ef5 b6ef67f5  
  b5b06df8 b6efabc1 b6f0b3e3 b6efc2e9 b6ef7779  
  b5b06e08 b6ee5bb5 b6d5a77d b6ef2024 b6ef2c24  
  b5b06e18 b6ef2904 b6f377b1 b6ef20a4 b6ef2a4c  
  b5b06e28 b6f0b7b7 b6ef47b5 b6f0b40b b6efecfd  
  b5b06e38 b6ef2220 b6ef2330 b6f367b9 b6f37709  
  b5b06e48 b6f0b51d b6ef32c4 b6efd1a9 b6ef214c  
  b5b06e58 b6ef460d b6f40e61 b6f40f11 b6f40d8d  
  b5b06e68 b6ee4ccd b6ef2ca8 b6ef6aed b6f352a1  



memory near sp:
  be87e398 0000002f b6e1a899 b8497198 0000002f  
  be87e3a8 b83f0530 b84dde90 00000000 b6eaec6d  
  be87e3b8 b6f1b000 be87e408 be87e408 00000001  
  be87e3c8 0000002f b6eb0830 00000004 b6e8830f  
  be87e3d8 00000001 00000008 0000002f 00000000  
  be87e3e8 be87e4a0 b6e8837d 00000000 b6cf8f17  
  be87e3f8 00000000 b5aeb60d b6d09348 be87e4b0  
  be87e408 00000000 b84d7878 00000088 000000cc  


  be87e418 00000088 00000000 00000000 00000000  
  be87e428 00000000 b6010001 00000000 a794f000  
  be87e438 00000000 a8fdb028 00000014 00000014  
  be87e448 00000014 a8fdb03c 00000000 00000000  
  be87e458 00000000 b6cf30a3 be87e488 00000000  
  be87e468 00000001 00000000 000000be 00000000  
  be87e478 00000000 b6cfd8b9 b840c5f8 b82b1a70  
  be87e488 00000002 00000000 00000000 00000000  

code around pc:
  b6eaec5c 692b68c0 68024639 c008f8d2 47e0682a  
  b6eaec6c 4620b918 f7ff4639 68ebfe95 010cf105  
  b6eaec7c 6818b13b 7c0cf850 f7fc19d8 f8c5fcbe  
  b6eaec8c f06f900c 36010701 428e6d21 4638d3d7  
  b6eaec9c e8bdb049 bf008ff0 00001d0e 00001d9b  
  b6eaecac 00001deb 00001cf2 00001cf0 00001d8a  
  b6eaecbc 43f8e92d 46884604 461e4615 20009f08  
  b6eaeccc 0914f04f 6ce3e011 65e11c51 3202fb09  
  b6eaecdc 2b006893 6850db09 69126811 6028b105  
  b6eaecec 6031b106 603ab1b7 6de2e014 429a6d23  
  b6eaecfc b148d3e9 2100b10d b10e6029 60322200  
  b6eaed0c 2300b13f e004603b 46414620 feb8f7ff  
  b6eaed1c 4603e7eb e8bd4618 000083f8 47f3e92d  
  b6eaed2c 46071e0e 46994690 a028f8dd 4642dc0a  
  b6eaed3c a000f8cd 46314638 f7ff464b 1c82ffb9  
  b6eaed4c e01dd0f5 f7fe2001 4b0ef8ff 460d4604  

code around lr:
  b5a9d31c 447a4629 f940f7f8 46206861 47906bca  
  b5a9d32c 21004a07 4604447a 4623a801 f934f7f8  
  b5a9d33c b0074620 bf00bd30 0006485b 0004e330  
  b5a9d34c 0004e31c b5f04b15 447bb089 460e4604  
  b5a9d35c 21209003 90041d98 4615a803 27019105  
  b5a9d36c 7018f88d fc46f7f7 a8034a0d 46234639  
  b5a9d37c 95019600 f7f8447a 6861f90f 4620462a  
  b5a9d38c 46316b8b 4a074798 447a2100 a8034604  
  b5a9d39c f7f84623 4620f901 bdf0b009 00064b49  
  b5a9d3ac 0004e4c7 0004e2a7 b5f04b14 b0892500  
  b5a9d3bc 4604447b 9003460e 1d984629 a8039004  
  b5a9d3cc 95052701 7018f88d fc14f7f7 46234a0c  
  b5a9d3dc 4639a803 447a9600 f8def7f8 46206861  
  b5a9d3ec 46316b4a 4a074790 447a4629 a8034604  
  b5a9d3fc f7f84623 4620f8d1 bdf0b009 000645d4  


  b5a9d40c 0004e25f 0004e247 43f0e92d 4b19461e  

memory map around fault addr 420c0000:
  (no map below)
  (no map for address)
  a7aa3000-a7c1a000 rw- /dev/ashmem/gralloc-buffer (deleted)
channel 'b21341c8 boten.hebcal/boten.hebcal.main (server)' ~ Consumer closed input channel or an error occurred.  events=0x9


channel 'b21341c8 boten.hebcal/boten.hebcal.main (server)' ~ Channel is unrecoverably broken and will be disposed!


Attempted to unregister already unregistered input channel 'b21341c8 boten.hebcal/boten.hebcal.main (server)'
WIN DEATH: Window{b21341c8 u0 boten.hebcal/boten.hebcal.main}
  Force finishing activity boten.hebcal/.main


Exception thrown during pause


android.os.DeadObjectException
   at android.os.BinderProxy.transact(Native Method)
   at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:660)
   at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:755)
   at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2408)
   at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2279)
   at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2018)
   at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:9389)
   at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:9284)
   at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:9926)
   at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:9478)


   at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
Process 1150 terminated by signal (11)
Process boten.hebcal (pid 1150) has died.


eglSurfaceAttrib not implemented


GC_CONCURRENT freed 660K, 10% free 6655K/7388K, paused 99ms+115ms, total 348ms


error loading /system/media/audio/ui/Effect_Tick.ogg


Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg


error loading /system/media/audio/ui/Effect_Tick.ogg
Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
error loading /system/media/audio/ui/Effect_Tick.ogg
Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
error loading /system/media/audio/ui/Effect_Tick.ogg


Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg


error loading /system/media/audio/ui/Effect_Tick.ogg
Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg


error loading /system/media/audio/ui/KeypressStandard.ogg
Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
error loading /system/media/audio/ui/KeypressSpacebar.ogg


Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg


Got RemoteException sending setActive(false) notification to pid 1150 uid 10054
error loading /system/media/audio/ui/KeypressDelete.ogg


Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
error loading /system/media/audio/ui/KeypressReturn.ogg
Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
error loading /system/media/audio/ui/KeypressInvalid.ogg
Soundpool could not load file: /system/media/audio/ui/KeypressInvalid.ogg
onLoadSoundEffects(), Error -1 while loading samples
Caught a RuntimeException from the binder stub implementation.
java.lang.NullPointerException
   at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
   at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
   at android.os.Binder.execTransact(Binder.java:404)
   at dalvik.system.NativeStart.run(Native Method)
 

boten

Active Member
Licensed User
Longtime User
Use CallSubDelayed to call a different sub and move all the code related to the menu button to this sub.
Seems to work (on KitKat emulator). Thanks. Now, can u just explain why CallSubDelayed works and "direct code" doesn't?
 
Upvote 0

boten

Active Member
Licensed User
Longtime User
Starting from Android 4.3 is is not possible to show a modal dialog inside this event. It does work with the back key because of an internal workaround. By calling CallSubDelayed you are letting the event to complete and only then you show the modal dialog.
Point taken! I hope the few brain cell remained will still work when I do modal dialog inside "menu" again ;-)
 
Upvote 0
Top