RadaeePDF.com :: Topic: "Fatal Signal 11" after Document.GetPage(int) (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: "Fatal Signal 11" after Document.GetPage(int)

"Fatal Signal 11" after Document.GetPage(int) 2 years 8 months ago #8590

  • alexander.gustke
  • alexander.gustke's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
Hello everybody,

i've got the problem, that when i call
Document.GetPage(pageno)
(pageno >= 0 && pageno < Document.GetPageCount()) my app crashes with this message:
A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 6396

The error is not reproducible for a single pdf - it happens from time to time.

There are another topics related to the same error message, but non of them happened by a call to GetPage().

Does anybody have suggestions?

Thanks, Alex
Last Edit: 2 years 8 months ago by alexander.gustke.
The administrator has disabled public write access.

"Fatal Signal 11" after Document.GetPage(int) 2 years 8 months ago #8591

  • support
  • support's Avatar
  • OFFLINE
  • Administrator
  • Posts: 501
  • Thank you received: 42
  • Karma: 6
Dear Alexander, may you include some more details about your code?
Information you're giving are really poor and we can't do good evaluation on that.

Some questions:
Are you experiencing the issue within the demo project too?
Are you experiencing the issue with your own pdf file? May you provide us some?
The administrator has disabled public write access.

"Fatal Signal 11" after Document.GetPage(int) 2 years 8 months ago #8592

I also get those in several places. Both in iOS and Android. It comes from a segmentation faults, as long as I know (or think to know). It also happens from time to time, and not always under the same context. And it rises from different places of the lib. Not with GetPage... though... yet.
The administrator has disabled public write access.

"Fatal Signal 11" after Document.GetPage(int) 2 years 8 months ago #8593

  • support
  • support's Avatar
  • OFFLINE
  • Administrator
  • Posts: 501
  • Thank you received: 42
  • Karma: 6
There are only two reasons I could think about:
- some uncommon datas in your PDF file: I invite you to open a trouble ticket about bug and send us a sample file
- some wrong code in your source: let's us get some more example about your own code

Are you experiencing the same within the demo app?
If so I suggest you to start from the first step.

The only doubt is about the randomic way crashes are happening.
Last Edit: 2 years 8 months ago by support.
The administrator has disabled public write access.

"Fatal Signal 11" after Document.GetPage(int) 2 years 8 months ago #8601

  • alexander.gustke
  • alexander.gustke's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 1
  • Karma: 0
I figured out the source of the crash: i opened the same page in a Document instance twice (in different theads).

Solution: Don't open the same page twice... - resolves the crashes in my app.
Last Edit: 2 years 8 months ago by alexander.gustke.
The administrator has disabled public write access.
The following user(s) said Thank You: support

"Fatal Signal 11" after Document.GetPage(int) 2 years 8 months ago #8602

  • support
  • support's Avatar
  • OFFLINE
  • Administrator
  • Posts: 501
  • Thank you received: 42
  • Karma: 6
Thank you for your feedback.
The administrator has disabled public write access.
Powered by Kunena Forum