[Poppler] Segfault on find_dest

Dear List hello,

http://pastebin.com/7JjTDL5B is the stacktrace of my running runtime.rb
with this file:
ftp://tug.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf

A big ugly segfault.

In Pastebin is full source code.

runtime.rb: http://pastebin.com/MVtTnZDn
PDFParser.rb: http://pastebin.com/xgnfBh1N

FWIW:
crackpot:~/ruby/pdfparser/light$ uname -a
Linux crackpot.localdomain 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2
13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
crackpot:~/ruby/pdfparser/light$ ruby1.9.1 -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]

crackpot:~/ruby/pdfparser/light$ aptitude show ruby-poppler
Package: ruby-poppler
New: yes
State: installed
Automatically installed: no
Version: 1.0.0-1
Priority: optional
Section: universe/ruby
Maintainer: Ubuntu D. [email protected]
Uncompressed Size: 246 k
Depends: libc6 (>= 2.2.5), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>=
2.8.0), libpoppler-glib6 (>= 0.16), libruby1.8 (>= 1.8.7.352),
libruby1.9.1
(>= 1.9.2.290)
Conflicts: ruby-poppler
Description: Ruby bindinds for the libpoppler-glib library
Poppler is a PDF rendering library based on xpdf PDF viewer. This
package
contains ruby bindings for Poppler.
Homepage: http://ruby-gnome2.sourceforge.jp/

When I want to build poppler, I have an error message, telling me “no
.pc
for >=” so I couldn’t test with latest gem.

Thanks for your guidance.

Hi,

In CAH9U35[email protected]domain.invalid
“[ruby-gnome2-devel-en] [Poppler] Segfault on find_dest” on Sat, 3 Dec
2011 12:31:52 +0100,
Chlo D. [email protected] wrote:

http://pastebin.com/7JjTDL5Bis the stacktrace of my running runtime.rb with
this file:ftp://tug.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/
manual.pdf

A big ugly segfault.

In Pastebin is full source code.

runtime.rb:http://pastebin.com/MVtTnZDn
PDFParser.rb:http://pastebin.com/xgnfBh1N

Thanks for providing a sample PDF and scripts. I can confirm
the problem and have fixed it in master.

Thanks,

kou

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs