libcorkscrew alternatives on lollipop

549 views
Skip to first unread message

Martin Brehovsky

unread,
Nov 18, 2014, 4:43:35 PM11/18/14
to andro...@googlegroups.com
We have been using libcorkscrew to figure out the backtrace when a native code crashed in our app. Unfortunately, as it turned out, this library is no longer present on the device in Lollipop. Is there any other alternative we can use on that version of the system?

Thanks,
Martin

Justin Webb

unread,
Nov 19, 2014, 6:59:44 AM11/19/14
to andro...@googlegroups.com
Hey Martin,

You're probably best looking into integrating 'libgccunwind' which is bundled with the NDK: <NDK>\sources\android\gccunwind\libs.

If you're using a custom build-system you'll also want to ensure your source-files are compiled with '-funwind-tables'.

-- Justin Webb

Samkit Jain

unread,
Nov 24, 2014, 7:46:34 AM11/24/14
to andro...@googlegroups.com
Hi Justin,

Can you please refer to an existing example of libgccunwind. I tried to find some examples but either I am searching wing keywords or its not really easy to find.

Thanks in advance.

Narayan Kamath

unread,
Nov 26, 2014, 10:29:18 PM11/26/14
to andro...@googlegroups.com
the platform unwider was moved over to libunwind [ external/libunwind ]


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/d/optout.



--
_________________
Save Rainforests

Grégory Pakosz

unread,
Mar 24, 2015, 9:14:40 AM3/24/15
to andro...@googlegroups.com
Are we supposed to be able / allowed to use libunwind from a native application built with Android NDK only?

If yes, how?

Thank you
Reply all
Reply to author
Forward
0 new messages