crackpot:~/ruby/pdfparser/light$ ruby1.9.1 runtime.rb Destination: page_num: 0, top: 0.000000, left: 0.000000, right: 0.000000, zoom: 0.000000, dest: section.10 section.10 /home/chloe/ruby/pdfparser/light/PDFParser.rb:47: [BUG] Segmentation fault ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] -- control frame ---------- c:0011 p:---- s:0034 b:0034 l:000033 d:000033 CFUNC :find_dest c:0010 p:0204 s:0030 b:0030 l:000009 d:000029 BLOCK /home/chloe/ruby/pdfparser/light/PDFParser.rb:47 c:0009 p:---- s:0024 b:0024 l:000023 d:000023 FINISH c:0008 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :each c:0007 p:0025 s:0019 b:0019 l:000009 d:000018 BLOCK /home/chloe/ruby/pdfparser/light/PDFParser.rb:39 c:0006 p:---- s:0015 b:0015 l:000014 d:000014 FINISH c:0005 p:---- s:0013 b:0013 l:000012 d:000012 CFUNC :each c:0004 p:0037 s:0010 b:0010 l:000009 d:000009 METHOD /home/chloe/ruby/pdfparser/light/PDFParser.rb:37 c:0003 p:0055 s:0007 b:0007 l:0012c8 d:001070 EVAL runtime.rb:8 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0012c8 d:0012c8 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- runtime.rb:8:in `
' /home/chloe/ruby/pdfparser/light/PDFParser.rb:37:in `DumpLinks' /home/chloe/ruby/pdfparser/light/PDFParser.rb:37:in `each' /home/chloe/ruby/pdfparser/light/PDFParser.rb:39:in `block in DumpLinks' /home/chloe/ruby/pdfparser/light/PDFParser.rb:39:in `each' /home/chloe/ruby/pdfparser/light/PDFParser.rb:47:in `block (2 levels) in DumpLinks' /home/chloe/ruby/pdfparser/light/PDFParser.rb:47:in `find_dest' -- C level backtrace information ------------------------------------------- /usr/lib/libruby-1.9.1.so.1.9(rb_vm_bugreport+0x61) [0x7f15c9565db1] /usr/lib/libruby-1.9.1.so.1.9(+0x592fe) [0x7f15c946d2fe] /usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xa5) [0x7f15c946dd55] /usr/lib/libruby-1.9.1.so.1.9(+0xf3c84) [0x7f15c9507c84] /lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7f15c90ab420] /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/glib2.so(rbgobj_ruby_object_from_instance2+0x1a) [0x7f15c7a9a13a] /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/poppler.so(+0xb366) [0x7f15bf71e366] /usr/lib/libruby-1.9.1.so.1.9(+0x14aac6) [0x7f15c955eac6] /usr/lib/libruby-1.9.1.so.1.9(+0x141806) [0x7f15c9555806] /usr/lib/libruby-1.9.1.so.1.9(+0x14743d) [0x7f15c955b43d] /usr/lib/libruby-1.9.1.so.1.9(rb_yield+0x26e) [0x7f15c9560f2e] /usr/lib/libruby-1.9.1.so.1.9(rb_ary_each+0x46) [0x7f15c94447d6] /usr/lib/libruby-1.9.1.so.1.9(+0x14aac6) [0x7f15c955eac6] /usr/lib/libruby-1.9.1.so.1.9(+0x141806) [0x7f15c9555806] /usr/lib/libruby-1.9.1.so.1.9(+0x14743d) [0x7f15c955b43d] /usr/lib/libruby-1.9.1.so.1.9(rb_yield+0x26e) [0x7f15c9560f2e] /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/poppler.so(+0xb270) [0x7f15bf71e270] /usr/lib/libruby-1.9.1.so.1.9(+0x14aac6) [0x7f15c955eac6] /usr/lib/libruby-1.9.1.so.1.9(+0x141806) [0x7f15c9555806] /usr/lib/libruby-1.9.1.so.1.9(+0x14743d) [0x7f15c955b43d] /usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval_main+0xb2) [0x7f15c9562432] /usr/lib/libruby-1.9.1.so.1.9(+0x5d4a2) [0x7f15c94714a2] /usr/lib/libruby-1.9.1.so.1.9(ruby_exec_node+0x1d) [0x7f15c9471f9d] /usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x1e) [0x7f15c9473bde] ruby1.9.1(main+0x4b) [0x4007fb] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f15c909630d] ruby1.9.1() [0x400829] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Aborted