[Galaxy S II Android Development] mirhl:
Every time I trigger the bug report function, the phone reboots after seconds

<1>[ 1799.618273] c1 Unable to handle kernel NULL pointer dereference at virtual address 00000000
<1>[ 1799.625507] c1 pgd = e1844000
<1>[ 1799.628121] c1 [00000000] *pgd=00000000
<0>[ 1799.631949] c1 Internal error: Oops: 5 [#1] PREEMPT SMP
<4>[ 1799.637148] c1 Modules linked in:
<4>[ 1799.640450] c1 CPU: 1 Tainted: G W (3.0.101-lineage-g8466fa4 #1)
<4>[ 1799.647574] c1 PC is at functions_show+0x8c/0x1c8
<4>[ 1799.652261] c1 LR is at mutex_lock+0x2c/0xa0
<4>[ 1799.656505] c1 pc : [<c1342e14>] lr : [<c169c454>] psr: 200b0013
<4>[ 1799.656533] c1 sp : c4447ea0 ip : 009578ec fp : c4447ee4
<4>[ 1799.668482] c1 r10: c122e038 r9 : c1a7a30c r8 : caa95000
<4>[ 1799.673950] c1 r7 : e43a9418 r6 : caa95000 r5 : c0edf000 r4 : e43a9448
<4>[ 1799.680720] c1 r3 : c16924cc r2 : 00000000 r1 : c16c1ca8 r0 : 004b8bc0
<4>[ 1799.687493] c1 Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
<4>[ 1799.694870] c1 Control: 10c5387d Table: 6184404a DAC: 00000015
[bla bla bla]
<4>[ 1800.742717] c1 Backtrace:
<4>[ 1800.745424] c1 [<c1342d88>] (functions_show+0x0/0x1c8) from [<c122e05c>] (dev_attr_show+0x24/0x60)
<4>[ 1800.754359] c1 [<c122e038>] (dev_attr_show+0x0/0x60) from [<c10645f8>] (sysfs_read_file+0xb0/0x198)
<4>[ 1800.763376] c1 r5:ddc542d8 r4:ddc542c0
<4>[ 1800.767206] c1 [<c1064548>] (sysfs_read_file+0x0/0x198) from [<c0ff6374>] (vfs_read+0xb0/0x190)
<4>[ 1800.775881] c1 [<c0ff62c4>] (vfs_read+0x0/0x190) from [<c0ff682c>] (sys_read+0x50/0xa4)
<4>[ 1800.783861] c1 r9:c4446000 r8:00002000 r7:9b45d000 r6:c918c780 r5:00000000
<4>[ 1800.790631] c1 r4:00000000
<4>[ 1800.793502] c1 [<c0ff67dc>] (sys_read+0x0/0xa4) from [<c0ee64e0>] (ret_fast_syscall+0x0/0x30)
<4>[ 1800.802001] c1 r8:c0ee6684 r7:00000003 r6:0000010b r5:9b45d000 r4:9c0d9600
<0>[ 1800.808949] c1 Code: e59f0130 e50b3034 e795300c e08f1001 (e5922000)
<4>[ 1800.843784] c0 Mali: Mali frequency 200
<4>[ 1800.850961] c1 ---[ end trace 83d66d3df738ca31 ]---
<0>[ 1800.854704] c1 Kernel panic - not syncing: Fatal exception
<4>[ 1800.860187] c1 Backtrace:
<4>[ 1800.862858] c1 [<c0eeaa38>] (dump_backtrace+0x0/0x140) from [<c1691f4c>] (dump_stack+0x20/0x28)
<4>[ 1800.871553] c1 r7:c16924cc r6:00000000 r5:c1a9644c r4:c0edf000
<4>[ 1800.877384] c1 [<c1691f2c>] (dump_stack+0x0/0x28) from [<c169231c>] (panic+0xb4/0x264)
<4>[ 1800.885398] c1 [<c1692268>] (panic+0x0/0x264) from [<c0eeaff4>] (die+0x244/0x2bc)
<4>[ 1800.892818] c1 r3:c1692268 r2:c0edf000 r1:0000000a r0:c17a27ec
<4>[ 1800.898608] c1 r7:c17a27c0
<4>[ 1800.901455] c1 [<c0eeadb0>] (die+0x0/0x2bc) from [<c169213c>] (__do_kernel_fault.part.7+0x90/0xd0)
<4>[ 1800.910436] c1 [<c16920ac>] (__do_kernel_fault.part.7+0x0/0xd0) from [<c0eee0f8>] (do_page_fault+0x340/0x374)
<4>[ 1800.920337] c1 r7:e4299520 r3:c4447e58
<4>[ 1800.924073] c1 [<c0eeddb8>] (do_page_fault+0x0/0x374) from [<c0eee2a8>] (do_translation_fault+0xac/0xb8)
<4>[ 1800.933615] c1 [<c0eee1fc>] (do_translation_fault+0x0/0xb8) from [<c0edf8b8>] (do_DataAbort+0x40/0xc8)
<4>[ 1800.942854] c1 r6:00000000 r5:00000005 r4:c1a35134 r3:c1a350e4
<4>[ 1800.948724] c1 [<c0edf878>] (do_DataAbort+0x0/0xc8) from [<c0ee5f24>] (__dabt_svc+0x44/0x60)
<4>[ 1800.957226] c1 Exception stack(0xc4447e58 to 0xc4447ea0)
<4>[ 1800.962501] c1 7e40: 004b8bc0 c16c1ca8
<4>[ 1800.970912] c1 7e60: 00000000 c16924cc e43a9448 c0edf000 caa95000 e43a9418 caa95000 c1a7a30c
<4>[ 1800.979345] c1 7e80: c122e038 c4447ee4 009578ec c4447ea0 c169c454 c1342e14 200b0013 ffffffff
<4>[ 1800.987773] c1 r8:caa95000 r7:c4447e8c r6:ffffffff r5:200b0013 r4:c1342e14
<4>[ 1800.994655] c1 [<c1342d88>] (functions_show+0x0/0x1c8) from [<c122e05c>] (dev_attr_show+0x24/0x60)
<4>[ 1801.003653] c1 [<c122e038>] (dev_attr_show+0x0/0x60) from [<c10645f8>] (sysfs_read_file+0xb0/0x198)
<6>[ 1801.009049] c0 k3dh_ioctl: opened = 1, enable = 0
<4>[ 1801.017408] c1 r5:ddc542d8 r4:ddc542c0
<4>[ 1801.021160] c1 [<c1064548>] (sysfs_read_file+0x0/0x198) from [<c0ff6374>] (vfs_read+0xb0/0x190)
<4>[ 1801.029918] c1 [<c0ff62c4>] (vfs_read+0x0/0x190) from [<c0ff682c>] (sys_read+0x50/0xa4)
<4>[ 1801.037889] c1 r9:c4446000 r8:00002000 r7:9b45d000 r6:c918c780 r5:00000000
<4>[ 1801.044522] c1 r4:00000000
<4>[ 1801.047436] c1 [<c0ff67dc>] (sys_read+0x0/0xa4) from [<c0ee64e0>] (ret_fast_syscall+0x0/0x30)
<4>[ 1801.055983] c1 r8:c0ee6684 r7:00000003 r6:0000010b r5:9b45d000 r4:9c0d9600
<2>[ 1801.062924] c0 CPU0: stopping
<4>[ 1801.065782] c0 Backtrace:
<4>[ 1801.068510] c0 [<c0eeaa38>] (dump_backtrace+0x0/0x140) from [<c1691f4c>] (dump_stack+0x20/0x28)
<4>[ 1801.077153] c0 r7:00000006 r6:c1a93ab0 r5:00000000 r4:c0edf000
<4>[ 1801.083070] c0 [<c1691f2c>] (dump_stack+0x0/0x28) from [<c0edf7f4>] (do_IPI+0x370/0x3f4)
<4>[ 1801.091131] c0 [<c0edf484>] (do_IPI+0x0/0x3f4) from [<c0ee5fac>] (__irq_svc+0x6c/0x124)
<4>[ 1801.099113] c0 Exception stack(0xd8583f30 to 0xd8583f78)
<4>[ 1801.104409] c0 3f20: 00000000 00000000 00000001 fffffdfd
<4>[ 1801.112829] c0 3f40: c0edf000 9aa73050 c0306201 0000000b cabce000 00000000 00200000 d8583fa4
<4>[ 1801.121247] c0 3f60: 00000000 d8583f78 c1458fc4 c100cc94 00030013 ffffffff
<4>[ 1801.128121] c0 [<c100cbf8>] (sys_ioctl+0x0/0xc0) from [<c0ee64e0>] (ret_fast_syscall+0x0/0x30)
<4>[ 1801.136696] c0 r9:d8582000 r8:c0ee6684 r7:00000036 r6:c0306201 r5:b33d3640
<4>[ 1801.143467] c0 r4:9aa73050
<6>[ 1801.146357] c1 notifier_call_chain : NOTIFY BAD sec_debug_panic_handler
<0>[ 1801.152983] c1 Rebooting in 1 seconds..
<0>[ 1802.155311] c1 sec_reboot (104, (null))