[Galaxy S5 Mini Android Development] ben smith:
So here we go:

libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c in tid 2057 (surfaceflinger), pid 2057 (surfaceflinger)

DEBUG : pid: 2057, tid: 2057, name: surfaceflinger >>> /system/bin/surfaceflinger <<<

DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c

DEBUG : Cause: null pointer dereference

05-16 07:58:31.140 2057 2057 I display : [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(3)
05-16 07:58:31.392 2057 2057 I display : [DYNAMIC_RECOMP] GLES_2_HWC by high FPS(59)
05-16 07:58:32.498 2057 2057 I display : [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(1)
05-16 07:58:36.195 3365 3365 I egram.messenger: type=1400 audit(0.0:1470): avc: denied { open } for name="vmstat" dev="proc" ino=4026533669 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:proc_vmstat:s0 tclass=file permissive=1
05-16 07:58:56.837 2057 2057 W HwcComposer: failed to dup fence 32761
05-16 07:58:56.853 2057 2057 W HwcComposer: failed to dup fence 32760
05-16 07:58:56.861 3365 3526 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -2147483646
05-16 07:58:56.861 3365 3526 E [EGL-ERROR]: void __egl_platform_queue_buffer(mali_base_ctx_handle, egl_buffer*):1386: unable to queue buffer (0x8a6c6ba8)
...
05-16 07:58:57.155 2057 2057 W display : release fence dup failed: Too many open files
05-16 07:58:57.155 2057 2057 W display : release fence dup failed: Too many open files
05-16 07:58:57.188 2057 2057 W ComposerHal: failed to dup fence 32756
05-16 07:58:57.188 2057 2057 W ComposerHal: failed to dup fence 32761
05-16 07:58:57.189 2057 2057 W display : release fence dup failed: Too many open files
05-16 07:58:57.223 2057 2057 E Fence : merge: sync_merge("org.telegram.messenger/org.t:1", 32763, 32760) returned an error: Too many open files (-24)
..
05-16 07:58:57.256 2057 2057 W display : release fence dup failed: Too many open files
05-16 07:58:57.263 2057 2131 E Parcel : fcntl(F_DUPFD_CLOEXEC) failed in Parcel::read, i is 0, fds[i] is -1, fd_count is 1, error: Too many open files
05-16 07:58:57.263 2057 2131 E BufferQueueProducer: [org.telegram.messenger/org.telegram.ui.LaunchActivity#0] queueBuffer: fence is NULL
05-16 07:58:57.263 3365 3526 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -22
05-16 07:58:57.264 3365 3526 E [EGL-ERROR]: void __egl_platform_queue_buffer(mali_base_ctx_handle, egl_buffer*):1386: unable to queue buffer (0x8a6c66a8)
05-16 07:58:57.265 2057 2306 E BufferQueueProducer: [org.telegram.messenger/org.telegram.ui.LaunchActivity#0] dequeueBuffer: attempting to exceed the max dequeued buffer count (3)
05-16 07:58:57.266 3365 3526 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1722: failed to dequeue buffer from native window 0x8a850808; err = -38, buf = 0x0,max_allowed_dequeued_buffers 3
05-16 07:58:57.266 2057 2280 E BufferQueueProducer: [org.telegram.messenger/org.telegram.ui.LaunchActivity#0] dequeueBuffer: attempting to exceed the max dequeued buffer count (3)
05-16 07:58:57.267 3365 3526 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1722: failed to dequeue buffer from native window 0x8a850808; err = -38, buf = 0x0,max_allowed_dequeued_buffers 3
...
05-16 07:58:57.277 2057 2280 E BufferQueueProducer: [org.telegram.messenger/org.telegram.ui.LaunchActivity#0] dequeueBuffer: attempting to exceed the max dequeued buffer count (3)
05-16 07:58:57.277 3365 3526 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1722: failed to dequeue buffer from native window 0x8a850808; err = -38, buf = 0x0,max_allowed_dequeued_buffers 3
05-16 07:58:57.278 2057 2797 E BufferQueueProducer: [org.telegram.messenger/org.telegram.ui.LaunchActivity#0] dequeueBuffer: attempting to exceed the max dequeued buffer count (3)
05-16 07:58:57.279 3365 3526 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1722: failed to dequeue buffer from native window 0x8a850808; err = -38, buf = 0x0,max_allowed_dequeued_buffers 3
05-16 07:58:57.279 2057 2135 E BufferQueueProducer: [org.telegram.messenger/org.telegram.ui.LaunchActivity#0] dequeueBuffer: attempting to exceed the max dequeued buffer count (3)
05-16 07:58:57.279 3365 3526 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1722: failed to dequeue buffer from native window 0x8a850808; err = -38, buf = 0x0,max_allowed_dequeued_buffers 3
05-16 07:58:57.279 3365 3526 W OpenGLRenderer: swapBuffers encountered EGL error 12301 on 0x8b3475a0, halting rendering...
05-16 07:59:00.038 2057 2057 I display : [DYNAMIC_RECOMP] HWC_2_GLES by low FPS(2)
05-16 07:59:00.041 2057 2057 W ComposerHal: failed to dup fence 31578
...
05-16 07:59:36.869 2057 2057 I display : [DYNAMIC_RECOMP] GLES_2_HWC by BW check
05-16 07:59:36.888 2057 2131 W MapperHal: buffer descriptor with invalid usage bits 0x400
05-16 07:59:36.905 2057 2057 E Fence : merge: sync_merge("ColorFade#0:1", 30564, 30592) returned an error: Too many open files (-24)
05-16 07:59:36.906 2057 2057 W HwcComposer: command 0x3010000 generated error 6
05-16 07:59:36.906 2057 2057 E display : ioctl S3CFB_WIN_CONFIG failed: Too many open files
...
05-16 07:59:36.930 2251 2278 E [EGL-ERROR]: void __egl_platform_queue_buffer(mali_base_ctx_handle, egl_buffer*):1386: unable to queue buffer (0xa0377808)
05-16 07:59:36.939 2057 2057 E Fence : merge: sync_merge("ColorFade#0:0", 32763, 30493) returned an error: Too many open files (-24)
05-16 07:59:36.940 2057 2057 W HwcComposer: command 0x3010000 generated error 6
05-16 07:59:36.940 2057 2057 E display : ioctl S3CFB_WIN_CONFIG failed: Too many open files
05-16 07:59:36.941 2057 2057 W display : release fence dup failed: Too many open files
05-16 07:59:36.941 2057 2057 W HwcComposer: failed to dup fence 30592
05-16 07:59:36.973 2057 2057 E display : ioctl S3CFB_WIN_CONFIG failed: Too many open files
05-16 07:59:36.974 2057 2057 W display : release fence dup failed: Too many open files
05-16 07:59:36.978 2057 2280 E Parcel : fcntl(F_DUPFD_CLOEXEC) failed in Parcel::read, i is 0, fds[i] is -1, fd_count is 1, error: Too many open files
05-16 07:59:36.978 2057 2280 E BufferQueueProducer: [ColorFade#0] queueBuffer: fence is NULL
05-16 07:59:36.978 2251 2278 E Surface : queueBuffer: error queuing buffer to SurfaceTexture, -22
05-16 07:59:36.978 2251 2278 E [EGL-ERROR]: void __egl_platform_queue_buffer(mali_base_ctx_handle, egl_buffer*):1386: unable to queue buffer (0xa0378988)
05-16 07:59:36.980 2057 2797 E BufferQueueProducer: [ColorFade#0] dequeueBuffer: attempting to exceed the max dequeued buffer count (3)
...
05-16 07:59:37.278 2251 2278 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1722: failed to dequeue buffer from native window 0x83f96008; err = -38, buf = 0x0,max_allowed_dequeued_buffers 3
05-16 07:59:37.279 2251 2278 I DisplayPowerController: Blocking screen off
05-16 07:59:37.280 2251 2278 I DisplayPowerController: Unblocked screen off after 1 ms
05-16 07:59:37.284 2057 2797 E GraphicBufferAllocator: Failed to allocate (720 x 1280) layerCount 1 format 1 usage 333: 5
--------- beginning of crash
05-16 07:59:37.290 2057 2057 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c in tid 2057 (surfaceflinger), pid 2057 (surfaceflinger)
05-16 07:59:37.310 338 338 I crash_dump32: type=1400 audit(0.0:1472): avc: denied { read write } for path="socket:[53460]" dev="sockfs" ino=53460 scontext=u:r:crash_dump:s0 tcontext=u:r:surfaceflinger:s0 tclass=unix_stream_socket permissive=1
05-16 07:59:37.823 2251 2267 W ActivityManager: Activity pause timeout for ActivityRecord{53cc858 u0 org.telegram.messenger/org.telegram.ui.LaunchActivity t74}
05-16 07:59:39.728 339 339 W crash_dump32: failed to fetch registers for thread 2131: I/O error
...
05-16 07:59:39.751 339 339 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-16 07:59:39.758 2116 2116 I /system/bin/tombstoned: received crash request for pid 2057
05-16 07:59:39.761 339 339 I crash_dump32: performing dump of process 2057 (target tid = 2057)
05-16 07:59:39.782 339 339 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-16 07:59:39.782 339 339 F DEBUG : LineageOS Version: '16.0-20190513-UNOFFICIAL-kminilte'
05-16 07:59:39.782 339 339 F DEBUG : Build fingerprint: 'samsung/kminiltexx/kminilte:6.0.1/MMB29K/G800FXXU1CRG3:user/release-keys'
05-16 07:59:39.783 339 339 F DEBUG : Revision: '0'
05-16 07:59:39.783 339 339 F DEBUG : ABI: 'arm'
05-16 07:59:39.783 339 339 F DEBUG : pid: 2057, tid: 2057, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
05-16 07:59:39.783 339 339 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c
05-16 07:59:39.783 339 339 F DEBUG : Cause: null pointer dereference
05-16 07:59:39.783 339 339 F DEBUG : r0 ac6d4648 r1 00000000 r2 00000000 r3 00000000
05-16 07:59:39.783 339 339 F DEBUG : r4 ac6d4648 r5 acaa6570 r6 00000060 r7 aca9d528
05-16 07:59:39.783 339 339 F DEBUG : r8 00000000 r9 00000001 r10 acaad500 r11 bea39730
05-16 07:59:39.783 339 339 F DEBUG : ip ac17b1d0 sp bea395ac lr ac08e58c pc ac08e46c
05-16 07:59:39.862 339 339 F DEBUG :
05-16 07:59:39.862 339 339 F DEBUG : backtrace:
05-16 07:59:39.862 339 339 F DEBUG : #00 pc 0001146c /system/lib/libMali.so
05-16 07:59:39.862 339 339 F DEBUG : #01 pc 00011588 /system/lib/libMali.so
05-16 07:59:39.862 339 339 F DEBUG : #02 pc 00061398 /system/lib/libMali.so
05-16 07:59:39.862 339 339 F DEBUG : #03 pc 0005bf20 /system/lib/libMali.so (shim_eglCreateImageKHR+88)
05-16 07:59:39.862 339 339 F DEBUG : #04 pc 0000e491 /system/lib/libEGL.so (eglCreateImageKHR+296)
05-16 07:59:39.862 339 339 F DEBUG : #05 pc 0006d289 /system/lib/libsurfaceflinger.so (android::RE::impl::RenderEngine::bindNativeBufferAsFrameBuffer(ANativeWindowBuffer*, android::RE::BindNativeBufferAsFramebuffer*)+32)
05-16 07:59:39.863 339 339 F DEBUG : #06 pc 0008416f /system/lib/libsurfaceflinger.so (_ZNSt3__110__function6__funcIZZN7android14SurfaceFlinger19captureScreenCommonERNS2_10RenderAreaENS_8functionIFvRKNS6_IFvPNS2_5LayerEEEEEEEPNS2_2spINS2_13GraphicBufferEEEbENK4$_29clEvEUlvE_NS_9allocatorISK_EEFvvEEclEv$591364dbbb5f90df31c664960acc4aad+238)
05-16 07:59:39.863 339 339 F DEBUG : #07 pc 0007dc49 /system/lib/libsurfaceflinger.so (_ZZN7android14SurfaceFlinger13captureLayersERKNS_2spINS_7IBinderEEEPNS1_INS_13GraphicBufferEEERKNS_4RectEfbEN15LayerRenderArea6renderENSt3__18functionIFvvEEE$591364dbbb5f90df31c664960acc4aad+276)
05-16 07:59:39.863 339 339 F DEBUG : #08 pc 00083f37 /system/lib/libsurfaceflinger.so (_ZNSt3__110__function6__funcIZN7android14SurfaceFlinger19captureScreenCommonERNS2_10RenderAreaENS_8functionIFvRKNS6_IFvPNS2_5LayerEEEEEEEPNS2_2spINS2_13GraphicBufferEEEbE4$_29NS_9allocatorISJ_EEFvvEEclEv$591364dbbb5f90df31c664960acc4aad+114)
05-16 07:59:39.863 339 339 F DEBUG : #09 pc 00043397 /system/lib/libsurfaceflinger.so (android::LambdaMessage::handler()+10)
05-16 07:59:39.863 339 339 F DEBUG : #10 pc 0006748b /system/lib/libsurfaceflinger.so (android::MessageBase::handleMessage(android::Message const&)+10)
05-16 07:59:39.863 339 339 F DEBUG : #11 pc 0000f171 /system/lib/libutils.so (android::Looper::pollInner(int)+284)
05-16 07:59:39.863 339 339 F DEBUG : #12 pc 0000efd3 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+26)
05-16 07:59:39.863 339 339 F DEBUG : #13 pc 0006776f /system/lib/libsurfaceflinger.so (android::impl::MessageQueue::waitMessage()+62)
05-16 07:59:39.863 339 339 F DEBUG : #14 pc 000725d5 /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::run()+8)
05-16 07:59:39.863 339 339 F DEBUG : #15 pc 00002815 /system/bin/surfaceflinger (main+644)
05-16 07:59:39.863 339 339 F DEBUG : #16 pc 0008c8e5 /system/lib/libc.so (__libc_init+48)
05-16 07:59:39.864 339 339 F DEBUG : #17 pc 0000254f /system/bin/surfaceflinger (_start_main+46)
05-16 07:59:39.864 339 339 F DEBUG : #18 pc 0000031e <anonymous:ae303000>
05-16 07:59:40.916 2251 2422 W NativeCrashListener: Couldn't find ProcessRecord for pid 2057
05-16 07:59:40.917 2116 2116 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_09
05-16 07:59:40.937 2251 2273 I BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
05-16 07:59:40.945 2057 2057 W surfaceflinger: type=1701 audit(0.0:1476): auid=4294967295 uid=1000 gid=1003 ses=4294967295 subj=u:r:surfaceflinger:s0 reason="memory violation" sig=11
05-16 07:59:40.960 29655 29668 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0xa59e82c0]
05-16 07:59:40.960 27654 27666 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0xa0046c00]
05-16 07:59:40.961 2251 2278 W system_server: Long monitor contention with owner android.display (2276) at void com.android.server.wm.TaskSnapshotController.lambda$screenTurningOff$2(com.android.server.wm.TaskSnapshotController, com.android.server.policy.WindowManagerPolicy$ScreenOffListener)(TaskSnapshotController.java:423) waiters=0 in boolean com.android.server.wm.WindowManagerService.containsShowWhenLockedWindow(android.os.IBinder) for 3.639s
05-16 07:59:40.963 24397 24412 W SurfaceComposerClient: ComposerService remote (surfaceflinger) died [0xa00642c0]
...
05-16 07:59:40.969 2251 2276 E DisplayEventDispatcher: Display event receiver pipe was closed or an error occurred. events=0x9
05-16 07:59:40.970 2251 2312 E DisplayEventDispatcher: Display event receiver pipe was closed or an error occurred. events=0x9
05-16 07:59:40.971 2251 2311 E DisplayEventDispatcher: Display event receiver pipe was closed or an error occurred. events=0x9
05-16 07:59:40.971 2424 2424 E DisplayEventDispatcher: Display event receiver pipe was closed or an error occurred. events=0x9
05-16 07:59:40.971 2424 2715 E OpenGLRenderer: Display event receiver pipe was closed or an error occurred. events=0x9
05-16 07:59:40.977 2251 2263 W system_server: Long monitor contention with owner PowerManagerService (2278) at android.app.ActivityManagerInternal$SleepToken com.android.server.am.ActivityManagerService.acquireSleepToken(java.lang.String, int)(ActivityManagerService.java:16160) waiters=0 in void com.android.server.am.ActivityManagerService.activityPaused(android.os.IBinder) for 3.632s
05-16 07:59:40.984 1965 1965 I ServiceManager: service 'gpu' died
05-16 07:59:40.984 1965 1965 I ServiceManager: service 'SurfaceFlinger' died
05-16 07:59:40.984 1965 1965 I ServiceManager: service 'Exynos.IPService' died
05-16 07:59:40.985 1965 1965 I ServiceManager: service 'Exynos.HWCService' died
05-16 07:59:40.985 1965 1965 I ServiceManager: service 'media.wifi_display' died
05-16 07:59:40.986 2251 2263 I ServiceManager: Waiting for service 'SurfaceFlinger' on '/dev/binder'...
...
05-16 07:59:41.021 2251 2278 E [EGL-ERROR]: void __egl_platform_dequeue_buffer(egl_surface*):1722: failed to dequeue buffer from native window 0x83f96008; err = -32, buf = 0x0,max_allowed_dequeued_buffers 3
05-16 07:59:41.043 2251 2278 W libEGL : EGLNativeWindowType 0x83f96008 disconnect failed
05-16 07:59:41.044 2251 2278 E DisplayEventDispatcher: Display event receiver pipe was closed or an error occurred. events=0x9
05-16 07:59:41.045 2251 2276 I DisplayManagerService: Display device changed state: "Built-in Screen", OFF
05-16 07:59:41.193 2112 2244 I ValidityLIB: palPipe.c 198 2
05-16 07:59:41.194 2112 2244 I ValidityLIB: InputThread.cpp 153 4
05-16 07:59:41.194 2112 2244 I ValidityLIB: InputThread.cpp 156 4
05-16 07:59:41.194 2112 2244 I ValidityLIB: InputThread.cpp 204 3
05-16 07:59:41.194 2112 2244 I ValidityLIB: InputThread.cpp 205 3
05-16 07:59:41.196 2118 2129 E FingerprintHal_msm8974: fingerprint listener receive failure
05-16 07:59:41.196 2118 2129 D FingerprintHal_msm8974: Listener exit !!
05-16 07:59:41.251 1965 1965 I ServiceManager: service 'sip' died
05-16 07:59:41.251 1965 1965 I ServiceManager: service 'simphonebook' died
05-16 07:59:41.251 1965 1965 I ServiceManager: service 'iphonesubinfo' died
05-16 07:59:41.251 1965 1965 I ServiceManager: service 'isms' died
05-16 07:59:41.251 1965 1965 I ServiceManager: service 'phone' died
05-16 07:59:41.251 1965 1965 I ServiceManager: service 'carrier_config' died
05-16 07:59:41.251 1965 1965 I ServiceManager: service 'isub' died
05-16 07:59:41.294 2112 2244 I ValidityLIB: vcsServer.cpp 830 3
05-16 07:59:41.285 2244 2244 I vcsFPService: type=1400 audit(0.0:1477): avc: denied { signull } for scontext=u:r:init:s0 tcontext=u:r:system_app:s0 tclass=process permissive=1
05-16 07:59:41.295 2112 2244 I ValidityLIB: InputThread.cpp 208 3
05-16 07:59:41.295 2112 2244 I ValidityLIB: InputThread.cpp 145 4
05-16 07:59:41.296 2112 2244 I ValidityLIB: InputThread.cpp 151 4
05-16 07:59:41.285 2244 2244 W vcsFPService: type=1300 audit(0.0:1477): arch=40000028 syscall=37 per=800008 success=yes exit=0 a0=b71 a1=0 a2=0 a3=ad89e320 items=0 ppid=1 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 exe="/system/bin/vcsFPService" subj=u:r:init:s0 key=(null)
05-16 07:59:41.285 2031 2031 W auditd : type=1327 audit(0.0:1477): proctitle="/system/bin/vcsFPService"
05-16 07:59:41.285 2031 2031 W auditd : type=1320 audit(0.0:1477):
05-16 07:59:41.317 1965 1965 I ServiceManager: service 'secure_element' died
05-16 07:59:41.444 1965 1965 I ServiceManager: service 'imms' died
05-16 07:59:41.444 1965 1965 I ServiceManager: service 'autofill' died
05-16 07:59:41.444 1965 1965 I ServiceManager: service 'profile' died
05-16 07:59:41.444 1965 1965 I ServiceManager: service 'lineagehardware' died
...

Hope it helps :) I guess I'll disable hw overlays from dev options for now.