ConstraintViolation (CHECK) when deleting AlbumTracks
--------- beginning of crash
08-09 09:57:21.026 F/libc (10120): Fatal signal 6 (SIGABRT), code -6 in tid 10141 (DefaultDispatch), pid 10120 (rg.videolan.vlc)
08-09 09:57:21.126 F/DEBUG (10239): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-09 09:57:21.126 F/DEBUG (10239): Build fingerprint: 'xiaomi/vince/vince:8.1.0/OPM1.171019.019/V10.2.3.0.OEGMIXM:user/release-keys'
08-09 09:57:21.126 F/DEBUG (10239): Revision: '0'
08-09 09:57:21.126 F/DEBUG (10239): ABI: 'arm64'
08-09 09:57:21.126 F/DEBUG (10239): pid: 10120, tid: 10141, name: DefaultDispatch >>> org.videolan.vlc <<<
08-09 09:57:21.126 F/DEBUG (10239): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-09 09:57:21.131 F/DEBUG (10239): Abort message: 'terminating with uncaught exception of type medialibrary::sqlite::errors::ConstraintViolation: Request [DELETE FROM AlbumTrack] aborted due to constraint violation (CHECK constraint failed: Artist)'
08-09 09:57:21.131 F/DEBUG (10239): x0 0000000000000000 x1 000000000000279d x2 0000000000000006 x3 0000000000000008
08-09 09:57:21.131 F/DEBUG (10239): x4 fefeff2873726873 x5 fefeff2873726873 x6 fefeff2873726873 x7 7f7f7f7f7f7f7f7f
08-09 09:57:21.131 F/DEBUG (10239): x8 0000000000000083 x9 d6112d994523c8a4 x10 0000000000000000 x11 0000000000000001
08-09 09:57:21.131 F/DEBUG (10239): x12 ffffffffffffffff x13 000000005d4cf629 x14 00007dd6915928b7 x15 0000af588254360c
08-09 09:57:21.131 F/DEBUG (10239): x16 00000058b274afa8 x17 00000077c01bf5d8 x18 00000077209c6278 x19 0000000000002788
08-09 09:57:21.131 F/DEBUG (10239): x20 000000000000279d x21 000000772489f018 x22 ffffff80ffffffc8 x23 000000772489f0d0
08-09 09:57:21.131 F/DEBUG (10239): x24 000000772489efb0 x25 000000772489eff0 x26 000000772ee560a0 x27 0000000000000001
08-09 09:57:21.131 F/DEBUG (10239): x28 0000000000000001 x29 000000772489ef20 x30 00000077c0174e38
08-09 09:57:21.131 F/DEBUG (10239): sp 000000772489eee0 pc 00000077c0174e54 pstate 0000000060000000
08-09 09:57:21.145 F/DEBUG (10239):
08-09 09:57:21.145 F/DEBUG (10239): backtrace:
08-09 09:57:21.145 F/DEBUG (10239): #00 pc 000000000001de54 /system/lib64/libc.so (abort+104)
08-09 09:57:21.145 F/DEBUG (10239): #01 pc 00000000000a5ce0 /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libc++_shared.so
08-09 09:57:21.145 F/DEBUG (10239): #02 pc 00000000000a5edc /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libc++_shared.so
08-09 09:57:21.145 F/DEBUG (10239): #03 pc 00000000000baa68 /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libc++_shared.so
08-09 09:57:21.145 F/DEBUG (10239): #04 pc 00000000000ba170 /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libc++_shared.so
08-09 09:57:21.145 F/DEBUG (10239): #05 pc 00000000000ba0f0 /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libc++_shared.so (__cxa_throw+120)
08-09 09:57:21.145 F/DEBUG (10239): #06 pc 00000000000f1ffc /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libmla.so (medialibrary::sqlite::Statement::row()+1436)
08-09 09:57:21.146 F/DEBUG (10239): #07 pc 00000000000fb7bc /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libmla.so (_ZN12medialibrary6sqlite5Tools20executeRequestLockedIJEEEvPNS0_10ConnectionERKNSt6__ndk112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEDpOT_+84)
08-09 09:57:21.146 F/DEBUG (10239): #08 pc 00000000000eacfc /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libmla.so (_ZN12medialibrary6sqlite5Tools13executeDeleteIJEEEbPNS0_10ConnectionERKNSt6__ndk112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEDpOT_+92)
08-09 09:57:21.146 F/DEBUG (10239): #09 pc 00000000000eca20 /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/lib/arm64/libmla.so (medialibrary::MediaLibrary::forceRescan()+72)
08-09 09:57:21.146 F/DEBUG (10239): #10 pc 000000000019119c /data/app/org.videolan.vlc-urpxj1JkAjxiEK0Fqn0ZEA==/oat/arm64/base.odex (offset 0xcd000)
Reported through the android crash reporter
Edited by Hugo Beauzée-Luyssen