[OnePlus 2 General] SGCMarkus:
yep, with all the vendor files

traces:

signal 6 (SIGABRT), code -6 in tid 374 (surfaceflinger)
Revision: '0'
pid: 374, tid: 374, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'eglSwapBuffers(0x1, 0x731295fc00) failed with 0x0000300d'
x0 0000000000000000 x1 0000000000000176 x2 0000000000000006 x3 0000000000000008
x4 0000000000000000 x5 0000000000000000 x6 0000007316538000 x7 0000000000000000
x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
x12 0000000000000018 x13 0000000000000000 x14 0000000000000000 x15 0008844114e48143
x16 0000007315fffed0 x17 0000007315fa9a2c x18 0000000000000080 x19 00000073165ebb40
x20 0000000000000006 x21 00000073165eba98 x22 0000000000000000 x23 00000073161ed040
x24 0000000000000001 x25 0000000000000000 x26 0000000000000018 x27 0000007315bee6a8
x28 0000000000000000 x29 0000007fc9dcfdd0 x30 0000007315fa6e58
sp 0000007fc9dcfdb0 pc 0000007315fa9a34 pstate 0000000060000000
Using arm64 toolchain from: /media/markus/android/nougat/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/

Stack Trace:
RELADDR FUNCTION FILE:LINE
000000000006ba34 tgkill+8 /proc/self/cwd/bionic/libc/arch-arm64/syscalls/tgkill.S:9
0000000000068e54 pthread_kill+64 /proc/self/cwd/bionic/libc/bionic/pthread_kill.cpp:45 (discriminator 4)
0000000000023ed8 raise+24 /proc/self/cwd/bionic/libc/bionic/raise.cpp:34 (discriminator 2)
000000000001c790 abort+52 /proc/self/cwd/bionic/libc/bionic/abort.cpp:47
00000000000107f4 __android_log_assert+224 /proc/self/cwd/system/core/liblog/logger_write.c:454
00000000000232d8 android::DisplayDevice::swapBuffers(android::HWComposer&) const+252 /proc/self/cwd/frameworks/native/services/surfaceflinger/DisplayDevice.cpp:314
00000000000420a4 android::SurfaceFlinger::doDisplayComposition(android::sp<android::DisplayDevice const> const&, android::Region const&)+1232 /proc/self/cwd/frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:1941 (discriminator 2)
0000000000040930 android::SurfaceFlinger::doComposition()+204 /proc/self/cwd/frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:1261
000000000003f818 android::SurfaceFlinger::handleMessageRefresh()+288 /proc/self/cwd/frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:970
000000000003f564 android::SurfaceFlinger::onMessageReceived(int)+128 /proc/self/cwd/frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:923
000000000001821c android::Looper::pollInner(int)+764 /proc/self/cwd/system/core/libutils/Looper.cpp:337 (discriminator 1)
0000000000017e60 android::Looper::pollOnce(int, int*, int*, void**)+60 /proc/self/cwd/system/core/libutils/Looper.cpp:219
v--------------> android::Looper::pollOnce(int) /proc/self/cwd/system/core/include/utils/Looper.h:265
000000000003088c android::MessageQueue::waitMessage()+92 /proc/self/cwd/frameworks/native/services/surfaceflinger/MessageQueue.cpp:105
v--------------> android::SurfaceFlinger::waitForEvent() /proc/self/cwd/frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:772
000000000003ef60 android::SurfaceFlinger::run()+24 /proc/self/cwd/frameworks/native/services/surfaceflinger/SurfaceFlinger_hwc1.cpp:803
00000000000013e0 main+512 /proc/self/cwd/frameworks/native/services/surfaceflinger/main_surfaceflinger.cpp:65 (discriminator 1)
000000000001a514 __libc_init+88 /proc/self/cwd/bionic/libc/bionic/libc_init_dynamic.cpp:109
0000000000001140 do_arm64_start+80 art/sigchainlib/sigchain.cc:?

and

pid: 401, tid: 401, name: main >>> zygote64 <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'frameworks/av/media/libmedia/MediaProfiles.cpp:327 CHECK(quality != -1) failed.'
x0 0000000000000000 x1 0000000000000191 x2 0000000000000006 x3 0000000000000008
x4 0000000000000000 x5 0000000000000000 x6 0000007065def000 x7 0000000000000000
x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
x12 0000000000000018 x13 0000000000000000 x14 0000000000000000 x15 0005ab72862348ac
x16 00000070645e8ed0 x17 0000007064592a2c x18 0000000000000000 x19 0000007065ea2b40
x20 0000000000000006 x21 0000007065ea2a98 x22 0000000000000058 x23 6c68e883429d07ff
x24 000000706573c968 x25 0000000000000018 x26 000000706219f6a4 x27 000000706213a700
x28 0000007065177c70 x29 0000007fe32b2020 x30 000000706458fe58
sp 0000007fe32b2000 pc 0000007064592a34 pstate 0000000060000000
Using arm64 toolchain from: /media/markus/android/nougat/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/

Stack Trace:
RELADDR FUNCTION FILE:LINE
000000000006ba34 tgkill+8 /proc/self/cwd/bionic/libc/arch-arm64/syscalls/tgkill.S:9
0000000000068e54 pthread_kill+64 /proc/self/cwd/bionic/libc/bionic/pthread_kill.cpp:45 (discriminator 4)
0000000000023ed8 raise+24 /proc/self/cwd/bionic/libc/bionic/raise.cpp:34 (discriminator 2)
000000000001c790 abort+52 /proc/self/cwd/bionic/libc/bionic/abort.cpp:47
00000000000107f4 __android_log_assert+224 /proc/self/cwd/system/core/liblog/logger_write.c:454
0000000000115d8c android::MediaProfiles::createCamcorderProfile(int, char const**, android::Vector<int>&)+204 /proc/self/cwd/frameworks/av/media/libmedia/MediaProfiles.cpp:327 (discriminator 3)
00000000001163e0 android::MediaProfiles::startElementHandler(void*, char const*, char const**)+620 /proc/self/cwd/frameworks/av/media/libmedia/MediaProfiles.cpp:420
000000000000b190 doContent+1504 /proc/self/cwd/external/expat/lib/xmlparse.c:2454
00000000000095dc contentProcessor+60 /proc/self/cwd/external/expat/lib/xmlparse.c:2116 (discriminator 1)
0000000000005cac XML_ParseBuffer+228 /proc/self/cwd/external/expat/lib/xmlparse.c:1651
0000000000116edc android::MediaProfiles::createInstanceFromXmlFile(char const*)+168 /proc/self/cwd/frameworks/av/media/libmedia/MediaProfiles.cpp:883
0000000000116b80 android::MediaProfiles::getInstance()+140 /proc/self/cwd/frameworks/av/media/libmedia/MediaProfiles.cpp:606
0000000000046b40 android_media_MediaProfiles_native_init(_JNIEnv*)+40 /proc/self/cwd/frameworks/base/media/jni/android_media_MediaProfiles.cpp:43
0000000001c1aedc android.media.CamcorderProfile.native_init+120 /system/framework/arm64/boot-framework.oat
00000000000d1e68 art_quick_invoke_static_stub+600 /proc/self/cwd/art/runtime/arch/arm64/quick_entrypoints_arm64.S:1542
00000000000de8ac art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+256 /proc/self/cwd/art/runtime/art_method.cc:291
000000000028daac art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+312 /proc/self/cwd/art/runtime/interpreter/interpreter_common.cc:538
v--------------> bool art::interpreter::DoCallCommon<false, false, 5ul>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::JValue*, unsigned short, unsigned int (&) [5ul], unsigned int) /proc/self/cwd/art/runtime/interpreter/interpreter_common.cc:758
0000000000286a98 bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+596 /proc/self/cwd/art/runtime/interpreter/interpreter_common.cc:818
v--------------> bool art::interpreter::DoInvoke<(art::InvokeType)0, false, false>(art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*) /proc/self/cwd/art/runtime/interpreter/interpreter_common.h:662
00000000005562dc MterpInvokeStatic+356 /proc/self/cwd/art/runtime/interpreter/mterp/mterp.cc:194
00000000000c4714 artMterpAsmInstructionStart+14484 /proc/self/cwd/art/runtime/interpreter/mterp/out/mterp_arm64.S:2974