Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me

TOPIC:

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15208

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Dear Luca,
We've just uploaded a new RadaeePDF's iOS SDK that will solve your issue here
I suggest you also to see the knowledge base updated with latest features here
Now setting flag 0, 1 or 3 will change loading time before open.
Please try it, if you send us any feedback we'll appreciate a lot.

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

Last edit: by federico.

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15209

  • lucsev
  • lucsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi Federico,

I tested the latest version, Beta-3. Unfortunately it doesn't work,
It either crashes within internal function Page_render([page handle], dib, mat, true, 2) in [RDVCache vrender] method, or return error opening the document or open it quickly but all pages and thumbnails are empty.
From the log (attached) it seems there is an issue with the jpeg data.
It happens everywhere, the simulator, iPhone 7 and iPhone XS on latest versions of iOS 13.
The very same previous version Beta-2 works fine (aside the reported issue).
I copied the complete test app (your test app, slightly modified) and couple logs (one from a crash with the stack trace, the other reporting the open error) on my dropbox folder. Here is the link www.dropbox.com/s/b0hazzo6bm6opb0/Test_for_GEAR.zip?dl=0.
The PDF document I tested with is the same you already have.
Thank you!

Luca Severini

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

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15210

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Dear Luca,
Thanks for sharing us your Dropbox folder.
Our developers are investigating about that, the problem seems related to http request.
If you want to try with https using last beta demo version it should works well.

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

Last edit: by federico.

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15211

  • lucsev
  • lucsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi Federico,

I have no way to try with https at the moment. I let you know when I do that.
As I said the old Beta-2 works in exactly the same condition (simple http from up-to-date apache server).
I'm looking forward to test with the next beta.
Thank you!

Luca Severini

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

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15212

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Dear Luca,
Meanwhile if you want I suggest you to try the last beta opening from url this link sviluppo.gear.it/testLinearized/l1.pdf so you could test with https

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

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15213

  • lucsev
  • lucsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi Raffaele,

Your example, which is my PDF file that I (probably) linearized with Acrobat, indeed works if is loaded from your server, but loaded from my web server it crashes or returns an open error. See the log below.

I don't know the implementation but as it seems more stable with a slower remote connection than with a faster local connection, and there is that message about incorrect jpeg data, I suppose there is an issue in how the data is loaded from the network. No idea if it can be related to http or https or perhaps to little differences in the linearized file when using Acrobat, Dalim, or Qpdf.
I'd suggest to try with the same file but on a local connection.

See screenshots in dropbox archive.
www.dropbox.com/s/tf1qdyu9grs1vxa/Incorr...20rendering.zip?dl=0

Luca Severini

First log:
##### httpStream: 0x7f98198bf000
2020-08-21 13:19:28.412709+0200 PDFViewer-B3[65251:5435689] 29448
2020-08-21 13:19:28.412878+0200 PDFViewer-B3[65251:5435689] END write file at path: /Users/lseverini/Library/Developer/CoreSimulator/Devices/7989C8A4-BDD4-46BD-A964-5D3250A99C05/data/Containers/Data/Application/DC5DA7A3-4569-42C2-9C17-E5F79D575DC5/tmp/cache.pdf
##### httpStream open start: 316 msecs
##### Opening PDF at http://192.168.1.50/gear_test.pdf with flag=3
2020-08-21 13:19:28.413824+0200 PDFViewer-B3[65251:5435494] START Download blocks: 0 to 1
2020-08-21 13:19:28.417980+0200 PDFViewer-B3[65251:5435494] START Download blocks: 1 to 2
2020-08-21 13:19:28.421837+0200 PDFViewer-B3[65251:5435494] START Download blocks: 29447 to 29448
2020-08-21 13:19:28.423468+0200 PDFViewer-B3[65251:5435494] START Download blocks: 29445 to 29446
2020-08-21 13:19:28.424975+0200 PDFViewer-B3[65251:5435494] START Download blocks: 29446 to 29447
##### PDFOpenStream open completed: 329 msecs error: 0
##### getLinearizedStatus: 3
2020-08-21 13:19:28.438893+0200 PDFViewer-B3[65251:5435494] 384e5a92904345890dd897821c99683b
##### RDLoPDFViewController viewWillAppear: 344 msecs
2020-08-21 13:19:28.495291+0200 PDFViewer-B3[65251:5435690] START Download blocks: 168 to 169
2020-08-21 13:19:28.497739+0200 PDFViewer-B3[65251:5435690] START Download blocks: 7 to 9
2020-08-21 13:19:28.500140+0200 PDFViewer-B3[65251:5435690] START Download blocks: 4 to 6
2020-08-21 13:19:28.502207+0200 PDFViewer-B3[65251:5435690] START Download blocks: 9 to 168
2020-08-21 13:19:28.611175+0200 PDFViewer-B3[65251:5435690] START Download blocks: 29435 to 29436
2020-08-21 13:19:28.614313+0200 PDFViewer-B3[65251:5435690] START Download blocks: 29436 to 29437
Corrupt JPEG data: premature end of data segment
Crash here
bt
* thread #4, stop reason = EXC_BAD_ACCESS (code=2, address=0x70000294b948)
frame #0: 0x00000001036ff5f8 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 40
frame #1: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #2: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #3: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #4: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #5: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #6: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #7: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #8: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #9: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #10: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #11: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #12: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #13: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #14: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #15: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #16: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #17: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #18: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #19: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #20: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #21: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #22: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #23: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #24: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #25: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #26: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #27: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #28: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #29: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #30: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #31: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #32: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #33: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #34: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #35: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #36: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #37: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #38: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #39: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #40: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #41: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #42: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #43: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #44: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #45: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #46: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #47: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #48: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #49: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #50: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #51: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #52: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #53: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #54: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #55: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #56: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #57: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #58: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #59: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #60: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #61: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #62: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #63: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #64: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #65: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #66: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #67: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #68: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #69: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #70: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #71: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #72: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #73: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #74: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #75: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #76: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #77: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #78: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #79: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #80: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #81: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #82: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #83: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #84: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #85: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #86: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #87: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #88: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #89: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #90: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #91: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #92: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #93: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #94: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #95: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #96: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #97: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #98: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #99: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #100: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #101: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #102: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #103: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #104: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #105: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #106: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #107: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #108: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #109: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #110: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #111: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #112: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #113: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #114: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #115: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #116: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #117: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #118: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #119: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #120: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #121: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #122: 0x00000001036ffce0 PDFViewer-B3`CPDFXRefTable::get_entity(CPDFObj&, PDF_REF const&) + 1808
frame #123: 0x00000001036b3702 PDFViewer-B3`CPDFPageTree::pro_load_children(CRDLocker&) + 818
frame #124: 0x00000001036b42cd PDFViewer-B3`CPDFPageTree::pro_get_page(int&, CRDLocker&) + 45
frame #125: 0x00000001036b430c PDFViewer-B3`CPDFPageTree::pro_get_page(int&, CRDLocker&) + 108
frame #126: 0x00000001036b430c PDFViewer-B3`CPDFPageTree::pro_get_page(int&, CRDLocker&) + 108
frame #127: 0x00000001036b430c PDFViewer-B3`CPDFPageTree::pro_get_page(int&, CRDLocker&) + 108
frame #128: 0x00000001035faf84 PDFViewer-B3`CPDFDoc::DocGetPage(int) + 36
frame #129: 0x0000000103686a2f PDFViewer-B3`Document_getPage + 223
* frame #130: 0x000000010353b7f3 PDFViewer-B3`-[PDFDoc page:](self=0x00006000026f6ce0, _cmd="page:", pageno=2) at PDFObjc.m:1856:21
frame #131: 0x0000000103559cd0 PDFViewer-B3`-[RDVCache vRender](self=0x000060000079bb10, _cmd="vRender") at RDVCache.m:97:21
frame #132: 0x000000010355b27b PDFViewer-B3`__26-[RDVThread start_render:]_block_invoke(.block_descriptor=0x0000600002a26c70) at RDVThread.m:59:9
frame #133: 0x0000000103d69f11 libdispatch.dylib`_dispatch_call_block_and_release + 12
frame #134: 0x0000000103d6ae8e libdispatch.dylib`_dispatch_client_callout + 8
frame #135: 0x0000000103d716fd libdispatch.dylib`_dispatch_lane_serial_drain + 788
frame #136: 0x0000000103d7228f libdispatch.dylib`_dispatch_lane_invoke + 422
frame #137: 0x0000000103d7db65 libdispatch.dylib`_dispatch_workloop_worker_thread + 719
frame #138: 0x00007fff522b3a3d libsystem_pthread.dylib`_pthread_wqthread + 290
frame #139: 0x00007fff522b2b77 libsystem_pthread.dylib`start_wqthread + 15
(lldb)


Second log:
##### httpStream: 0x7f8f72870000
2020-08-21 13:35:10.600243+0200 PDFViewer-B3[65587:5455610] 29448
2020-08-21 13:35:10.600439+0200 PDFViewer-B3[65587:5455610] END write file at path: /Users/lseverini/Library/Developer/CoreSimulator/Devices/7989C8A4-BDD4-46BD-A964-5D3250A99C05/data/Containers/Data/Application/9AE92E35-0665-47F6-9AEF-5B2EDC11BFDC/tmp/cache.pdf
##### httpStream open start: 265 msecs
##### Opening PDF at http://192.168.1.50/gear_test.pdf with flag=3
2020-08-21 13:35:10.601223+0200 PDFViewer-B3[65587:5455506] START Download blocks: 0 to 1
2020-08-21 13:35:10.627655+0200 PDFViewer-B3[65587:5455506] START Download blocks: 1 to 2
2020-08-21 13:35:10.632085+0200 PDFViewer-B3[65587:5455506] START Download blocks: 29447 to 29448
2020-08-21 13:35:10.634994+0200 PDFViewer-B3[65587:5455506] START Download blocks: 29445 to 29446
2020-08-21 13:35:10.637453+0200 PDFViewer-B3[65587:5455506] START Download blocks: 29446 to 29447
##### PDFOpenStream open completed: 305 msecs error: 0
##### getLinearizedStatus: 3
2020-08-21 13:35:10.652433+0200 PDFViewer-B3[65587:5455506] 384e5a92904345890dd897821c99683b
##### RDLoPDFViewController viewWillAppear: 319 msecs
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
##### httpStream: 0x7f8f728ccc00
2020-08-21 13:35:27.271537+0200 PDFViewer-B3[65587:5455613] 29448
2020-08-21 13:35:27.271714+0200 PDFViewer-B3[65587:5455613] END write file at path: /Users/lseverini/Library/Developer/CoreSimulator/Devices/7989C8A4-BDD4-46BD-A964-5D3250A99C05/data/Containers/Data/Application/9AE92E35-0665-47F6-9AEF-5B2EDC11BFDC/tmp/cache.pdf
##### httpStream open start: 181 msecs
##### Opening PDF at http://192.168.1.50/gear_test.pdf with flag=3
2020-08-21 13:35:27.272138+0200 PDFViewer-B3[65587:5455506] START Download blocks: 0 to 1
2020-08-21 13:35:27.275130+0200 PDFViewer-B3[65587:5455506] START Download blocks: 1 to 2
2020-08-21 13:35:27.278716+0200 PDFViewer-B3[65587:5455506] START Download blocks: 29447 to 29448
2020-08-21 13:35:27.281706+0200 PDFViewer-B3[65587:5455506] START Download blocks: 29445 to 29446
2020-08-21 13:35:27.284649+0200 PDFViewer-B3[65587:5455506] START Download blocks: 29446 to 29447
##### PDFOpenStream open completed: 195 msecs error: 0
##### getLinearizedStatus: 3
2020-08-21 13:35:27.287776+0200 PDFViewer-B3[65587:5455506] 384e5a92904345890dd897821c99683b
##### RDLoPDFViewController viewWillAppear: 199 msecs
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
No crash but the page is rendered incorrectly (see attached images).

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

Powered by Kunena Forum