Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always throws index out of range! #1

Open
benyu opened this issue Nov 23, 2015 · 3 comments
Open

Always throws index out of range! #1

benyu opened this issue Nov 23, 2015 · 3 comments

Comments

@benyu
Copy link

benyu commented Nov 23, 2015

goroutine 1 [running]:
github.com/yob/pdfreader/fancy.(*SecReaderT).ReadByte(0x20825a000, 0x208258200, 0x0, 0x0)
/Users/benyu/go/src/github.com/yob/pdfreader/fancy/fancy.go:125 +0x94
github.com/yob/pdfreader/ps.skipSpaces(0x2208239a08, 0x20825a000, 0x0)
/Users/benyu/go/src/github.com/yob/pdfreader/ps/ps.go:41 +0x2e
github.com/yob/pdfreader/ps.Token(0x2208239a08, 0x20825a000, 0x0, 0x0, 0x0, 0x0)
/Users/benyu/go/src/github.com/yob/pdfreader/ps/ps.go:117 +0x4d
github.com/yob/pdfreader/pdfread.xrefRead(0x2208239a08, 0x20825a000, 0xffffffffffffffff, 0x20825a000)
/Users/benyu/go/src/github.com/yob/pdfreader/pdfread/pdfread.go:189 +0x12f
github.com/yob/pdfreader/pdfread.Load(0x7fff5fbff9e7, 0x1f, 0xa1fcc)
/Users/benyu/go/src/github.com/yob/pdfreader/pdfread/pdfread.go:439 +0x122
main.main()
/Users/benyu/go/src/github.com/yob/pdfreader/pdtest/pdtest.go:15 +0x51

@divan
Copy link

divan commented Apr 6, 2016

I also have a PDF which triggers this bug.
@benyu did you find a solution?

@benyu
Copy link
Author

benyu commented Apr 12, 2016

No, so i choose another solution:
https://github.com/coolwanglu/pdf2htmlEX

@gcobr
Copy link

gcobr commented Jul 15, 2021

Same problem. No solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants