Skip to content

Instantly share code, notes, and snippets.

@sam3000
Created September 17, 2018 00:10
Show Gist options
  • Save sam3000/9f8169436edd05659a49d4d68b56867e to your computer and use it in GitHub Desktop.
Save sam3000/9f8169436edd05659a49d4d68b56867e to your computer and use it in GitHub Desktop.
samm@tal:/store4/lineage-16.0$ stack /tmp/s
Searching for native crashes in /tmp/s
Reading symbols from /store4/lineage-16.0/out/target/product/dumpling/symbols
Revision: '0'
pid: 737, tid: 8835, name: writer >>> /vendor/bin/hw/[email protected] <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'stack corruption detected (-fstack-protector)'
r0 00000000 r1 00002283 r2 00000006 r3 00000008
r4 000002e1 r5 00002283 r6 f0fa9844 r7 0000010c
r8 801c4321 r9 f0fa9870
ip 00008000 sp f0fa9830 lr f3531009 pc f3528e56
Using arm toolchain from: /store4/lineage-16.0/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/
Stack Trace:
RELADDR FUNCTION FILE:LINE
v------> inline_tgkill(int, int, int) bionic/libc/bionic/abort.cpp:43
0001ce56 abort+58 bionic/libc/bionic/abort.cpp:68
000544fb __stack_chk_fail+10 bionic/libc/bionic/__stack_chk_fail.cpp:36
00001465 compress_write+292 external/tinycompress/compress.c:?
0001517c out_write+2044 hardware/qcom/audio-caf/msm8998/hal/audio_hw.c:4532
v------> android::hardware::audio::V2_0::implementation::(anonymous namespace)::WriteThread::doWrite() hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/StreamOut.impl.h:80
00021561 android::hardware::audio::V2_0::implementation::(anonymous namespace)::WriteThread::threadLoop()+176 hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/StreamOut.impl.h:115
0000c087 android::Thread::_threadLoop(void*)+166 /system/lib/vndk-sp-28/libutils.so
00064375 __pthread_start(void*)+22 bionic/libc/bionic/pthread_create.cpp:254
0001e019 __start_thread+24 bionic/libc/bionic/clone.cpp:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment