Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Run runtime.rb

By: a guest on Dec 3rd, 2011  |  syntax: Ruby  |  size: 3.54 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. crackpot:~/ruby/pdfparser/light$ ruby1.9.1 runtime.rb
  2. Destination: page_num: 0, top: 0.000000, left: 0.000000, right: 0.000000, zoom: 0.000000, dest: section.10
  3. section.10
  4. /home/chloe/ruby/pdfparser/light/PDFParser.rb:47: [BUG] Segmentation fault
  5. ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
  6.  
  7. -- control frame ----------
  8. c:0011 p:---- s:0034 b:0034 l:000033 d:000033 CFUNC  :find_dest
  9. c:0010 p:0204 s:0030 b:0030 l:000009 d:000029 BLOCK  /home/chloe/ruby/pdfparser/light/PDFParser.rb:47
  10. c:0009 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
  11. c:0008 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC  :each
  12. c:0007 p:0025 s:0019 b:0019 l:000009 d:000018 BLOCK  /home/chloe/ruby/pdfparser/light/PDFParser.rb:39
  13. c:0006 p:---- s:0015 b:0015 l:000014 d:000014 FINISH
  14. c:0005 p:---- s:0013 b:0013 l:000012 d:000012 CFUNC  :each
  15. c:0004 p:0037 s:0010 b:0010 l:000009 d:000009 METHOD /home/chloe/ruby/pdfparser/light/PDFParser.rb:37
  16. c:0003 p:0055 s:0007 b:0007 l:0012c8 d:001070 EVAL   runtime.rb:8
  17. c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
  18. c:0001 p:0000 s:0002 b:0002 l:0012c8 d:0012c8 TOP  
  19. ---------------------------
  20. -- Ruby level backtrace information ----------------------------------------
  21. runtime.rb:8:in `<main>'
  22. /home/chloe/ruby/pdfparser/light/PDFParser.rb:37:in `DumpLinks'
  23. /home/chloe/ruby/pdfparser/light/PDFParser.rb:37:in `each'
  24. /home/chloe/ruby/pdfparser/light/PDFParser.rb:39:in `block in DumpLinks'
  25. /home/chloe/ruby/pdfparser/light/PDFParser.rb:39:in `each'
  26. /home/chloe/ruby/pdfparser/light/PDFParser.rb:47:in `block (2 levels) in DumpLinks'
  27. /home/chloe/ruby/pdfparser/light/PDFParser.rb:47:in `find_dest'
  28.  
  29. -- C level backtrace information -------------------------------------------
  30. /usr/lib/libruby-1.9.1.so.1.9(rb_vm_bugreport+0x61) [0x7f15c9565db1]
  31. /usr/lib/libruby-1.9.1.so.1.9(+0x592fe) [0x7f15c946d2fe]
  32. /usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xa5) [0x7f15c946dd55]
  33. /usr/lib/libruby-1.9.1.so.1.9(+0xf3c84) [0x7f15c9507c84]
  34. /lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7f15c90ab420]
  35. /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/glib2.so(rbgobj_ruby_object_from_instance2+0x1a) [0x7f15c7a9a13a]
  36. /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/poppler.so(+0xb366) [0x7f15bf71e366]
  37. /usr/lib/libruby-1.9.1.so.1.9(+0x14aac6) [0x7f15c955eac6]
  38. /usr/lib/libruby-1.9.1.so.1.9(+0x141806) [0x7f15c9555806]
  39. /usr/lib/libruby-1.9.1.so.1.9(+0x14743d) [0x7f15c955b43d]
  40. /usr/lib/libruby-1.9.1.so.1.9(rb_yield+0x26e) [0x7f15c9560f2e]
  41. /usr/lib/libruby-1.9.1.so.1.9(rb_ary_each+0x46) [0x7f15c94447d6]
  42. /usr/lib/libruby-1.9.1.so.1.9(+0x14aac6) [0x7f15c955eac6]
  43. /usr/lib/libruby-1.9.1.so.1.9(+0x141806) [0x7f15c9555806]
  44. /usr/lib/libruby-1.9.1.so.1.9(+0x14743d) [0x7f15c955b43d]
  45. /usr/lib/libruby-1.9.1.so.1.9(rb_yield+0x26e) [0x7f15c9560f2e]
  46. /usr/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/poppler.so(+0xb270) [0x7f15bf71e270]
  47. /usr/lib/libruby-1.9.1.so.1.9(+0x14aac6) [0x7f15c955eac6]
  48. /usr/lib/libruby-1.9.1.so.1.9(+0x141806) [0x7f15c9555806]
  49. /usr/lib/libruby-1.9.1.so.1.9(+0x14743d) [0x7f15c955b43d]
  50. /usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval_main+0xb2) [0x7f15c9562432]
  51. /usr/lib/libruby-1.9.1.so.1.9(+0x5d4a2) [0x7f15c94714a2]
  52. /usr/lib/libruby-1.9.1.so.1.9(ruby_exec_node+0x1d) [0x7f15c9471f9d]
  53. /usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x1e) [0x7f15c9473bde]
  54. ruby1.9.1(main+0x4b) [0x4007fb]
  55. /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f15c909630d]
  56. ruby1.9.1() [0x400829]
  57.  
  58. [NOTE]
  59. You may have encountered a bug in the Ruby interpreter or extension libraries.
  60. Bug reports are welcome.
  61. For details: http://www.ruby-lang.org/bugreport.html
  62.  
  63. Aborted
  64.  
  65.