[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] andyro2008:
[MENTION=6810779]wzedlare[/MENTION] This is the error that appears specifically in the logcat when trying to use the command "pm". It attached the corresponding tombstone. Hope it helps.

Also noticed the same behavior with "adb backup" command, if someone is trying that to do a bakcup its the reason.

08-23 19:04:28.670 12408 12408 I chatty : uid=0(root) app_process expire 847 lines
08-23 19:04:28.694 11748 11748 W Atfwd_Sendcmd: AtCmdFwd service not published, waiting... retryCnt : 4
08-23 19:04:28.715 12408 12408 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x9c in tid 12408 (app_process)
08-23 19:04:28.716 402 402 I chatty : uid=0(root) /system/bin/debuggerd expire 2 lines
08-23 19:04:28.777 12410 12410 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-23 19:04:28.778 12410 12410 F DEBUG : LineageOS Version: '14.1-20170811-UNOFFICIAL-cedric'
08-23 19:04:28.778 12410 12410 F DEBUG : Build fingerprint: 'motorola/lineage_cedric/cedric:7.1.2/NJH47F/43d07c81c5:userdebug/test-keys'
08-23 19:04:28.778 12410 12410 F DEBUG : Revision: '0'
08-23 19:04:28.778 12410 12410 F DEBUG : ABI: 'arm'
08-23 19:04:28.778 12410 12410 F DEBUG : pid: 12408, tid: 12408, name: app_process >>> app_process <<<
08-23 19:04:28.778 12410 12410 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x9c
08-23 19:04:28.783 12410 12410 F DEBUG : Abort message: 'art/runtime/gc/heap.cc:426] Check failed: main_mem_map_2.get() != nullptr Failed anonymous mmap(0x0, 805306368, 0x3, 0x2, 5, 0): Out of memory. See process maps in the log.'
08-23 19:04:28.783 12410 12410 F DEBUG : r0 00000000 r1 c6d0ce68 r2 00000000 r3 00000080
08-23 19:04:28.783 12410 12410 F DEBUG : r4 a47aad20 r5 be973e30 r6 00000000 r7 00000000
08-23 19:04:28.783 12410 12410 F DEBUG : r8 a472a800 r9 00000001 sl a47f7280 fp 00000000
08-23 19:04:28.783 12410 12410 F DEBUG : ip a584df80 sp be973df0 lr a5848cd9 pc a45cee14 cpsr 60010030
08-23 19:04:28.799 12410 12410 F DEBUG :
08-23 19:04:28.799 12410 12410 F DEBUG : backtrace:
08-23 19:04:28.800 12410 12410 F DEBUG : #00 pc 0033ce14 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+199)
08-23 19:04:28.800 12410 12410 F DEBUG : #01 pc 00324175 /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+372)
08-23 19:04:28.800 12410 12410 F DEBUG : #02 pc 0031ae9d /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+92)
08-23 19:04:28.800 12410 12410 F DEBUG : #03 pc 000b5285 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1132)
08-23 19:04:28.800 12410 12410 F DEBUG : #04 pc 00181a61 /system/lib/libart.so (_ZN3art2gc4HeapC1EjjjjddjjRKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS_14InstructionSetENS0_13CollectorTypeESC_NS0_5space20LargeObjectSpaceTypeEjjjbjjbbbbbbbbbby+10736)
08-23 19:04:28.800 12410 12410 F DEBUG : #05 pc 0031cedd /system/lib/libart.so (_ZN3art7Runtime4InitEONS_18RuntimeArgumentMapE+6556)
08-23 19:04:28.800 12410 12410 F DEBUG : #06 pc 0031ef4b /system/lib/libart.so (_ZN3art7Runtime6CreateERKNSt3__16vectorINS1_4pairINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKvEENS7_ISC_EEEEb+66)
08-23 19:04:28.800 12410 12410 F DEBUG : #07 pc 0023cec5 /system/lib/libart.so (JNI_CreateJavaVM+388)
08-23 19:04:28.800 12410 12410 F DEBUG : #08 pc 000681df /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime7startVmEPP7_JavaVMPP7_JNIEnvb+2250)
08-23 19:04:28.800 12410 12410 F DEBUG : #09 pc 000685b5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+272)
08-23 19:04:28.800 12410 12410 F DEBUG : #10 pc 00001947 /system/bin/app_process32
08-23 19:04:28.800 12410 12410 F DEBUG : #11 pc 00016d1d /system/lib/libc.so (__libc_init+48)
08-23 19:04:28.800 12410 12410 F DEBUG : #12 pc 00001564 /system/bin/app_process32
08-23 19:04:28.954 2002 2167 W NativeCrashListener: Couldn't find ProcessRecord for pid 12408
08-23 19:04:28.956 2002 2045 I BootReceiver: Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE)