Radee native lib crash on Document#getOutlineDest() - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF

TOPIC: Radee native lib crash on Document#getOutlineDest()

Radee native lib crash on Document#getOutlineDest() 2 weeks 1 day ago #14933

  • sgo
  • sgo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hello,

I was encountering crash every time when parsing the attached document when locating the bookmark.

Upon trivial checking, the crash happens when calling Document#getOutlineDest of Radee's library. Since there were no stack trace, would like to ask for help investigating the root cause of crash.

Thanks

Please Log in or Create an account to join the conversation.

Last edit: by sgo.

Radee native lib crash on Document#getOutlineDest() 2 weeks 1 day ago #14934

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 947
  • Karma: 43
  • Thank you received: 29
dear user:
i can't see the attached document.
is there a link?

Please Log in or Create an account to join the conversation.

Radee native lib crash on Document#getOutlineDest() 2 weeks 1 day ago #14935

  • AnypadDev
  • AnypadDev's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
My colleague reported this issue via your support channel. The attachment should have been there.

But anyway, let me re-attach again. The crash happened from the Outline.GetDest() call.

P.S. Can we move this ticket somewhere else than Announcements?

And the native stack trace is:

beginning of crash

2020-03-19 14:42:32.406 26275-27609/com.sample.myproj A/libc: stack corruption detected (-fstack-protector)
2020-03-19 14:42:32.406 26275-27609/com.sample.myproj A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 27609 (BookmarksCreati), pid 26275 (sample.myproj)
2020-03-19 14:42:32.603 27691-27691/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: Build fingerprint: 'samsung/gts4lvwifixx/gts4lvwifi:9/PPR1.180610.011/T720XXS1ASL3:user/release-keys'
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: Revision: '5'
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: ABI: 'arm64'
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: pid: 26275, tid: 27609, name: BookmarksCreati >>> com.sample.myproj <<<
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: Abort message: 'stack corruption detected (-fstack-protector)'
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x0 0000000000000000 x1 0000000000006bd9 x2 0000000000000006 x3 0000000000000008
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000030
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x8 0000000000000083 x9 455d71f44666e418 x10 0000000000000000 x11 fffffffc7ffffbdf
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x12 0000000000000001 x13 000000005e731458 x14 0017ce49a08f11e7 x15 00006a6c433f51a3
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x16 0000007f458f0298 x17 0000007f458110fc x18 0000000000000000 x19 00000000000066a3
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x20 0000000000006bd9 x21 0000007ea5bc3400 x22 0000007ea1bb7290 x23 0000007ea9a67c9e
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x24 0000000000000010 x25 0000007ea1bba588 x26 0000007ea5bc34a0 x27 0000000000000004
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: x28 0000007ea1bb6fc0 x29 0000007ea1bb6540
2020-03-19 14:42:32.604 27691-27691/? A/DEBUG: sp 0000007ea1bb6500 lr 0000007f458035cc pc 0000007f458035f4
Attachments:

Please Log in or Create an account to join the conversation.

Radee native lib crash on Document#getOutlineDest() 2 weeks 1 day ago #14936

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 947
  • Karma: 43
  • Thank you received: 29
thanks, we are checking.

Please Log in or Create an account to join the conversation.

Radee native lib crash on Document#getOutlineDest() 2 weeks 1 day ago #14937

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 947
  • Karma: 43
  • Thank you received: 29
this issue is fixed.
only happen in CJK language.
the CJK title of outline is too long, and may cause overflow for CJK title.
we will update you later.
The following user(s) said Thank You: AnypadDev

Please Log in or Create an account to join the conversation.

Last edit: by radaee.

Radee native lib crash on Document#getOutlineDest() 2 weeks 1 day ago #14938

  • AnypadDev
  • AnypadDev's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Thanks for the quick support!

Please let us know on which SDK release this will be available. Thanks!

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum