- Posts: 11
- Thank you received: 1
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
"Fatal Signal 11" after Document.GetPage(int)
- alexander.gustke
- Topic Author
- Offline
- New Member
-
Less
More
11 years 1 month ago - 11 years 1 month ago #8590
by alexander.gustke
"Fatal Signal 11" after Document.GetPage(int) was created by alexander.gustke
Hello everybody,
i've got the problem, that when i call
(pageno >= 0 && pageno < Document.GetPageCount()) my app crashes with this message:
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
i've got the problem, that when i call
Code:
Document.GetPage(pageno)
Code:
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: 11 years 1 month ago by alexander.gustke.
11 years 1 month ago #8591
by support
Replied by support on topic "Fatal Signal 11" after Document.GetPage(int)
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?
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?
- gtoldosProton
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
11 years 1 month ago #8592
by gtoldosProton
Replied by gtoldosProton on topic "Fatal Signal 11" after Document.GetPage(int)
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.
11 years 1 month ago - 11 years 1 month ago #8593
by support
Replied by support on topic "Fatal Signal 11" after Document.GetPage(int)
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.
- 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: 11 years 1 month ago by support.
- alexander.gustke
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
11 years 3 weeks ago - 11 years 3 weeks ago #8601
by alexander.gustke
Replied by alexander.gustke on topic "Fatal Signal 11" after Document.GetPage(int)
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.
Solution: Don't open the same page twice... - resolves the crashes in my app.
Last edit: 11 years 3 weeks ago by alexander.gustke.
Time to create page: 0.435 seconds