|
1
|
truen003:0> require 'yajl'
|
|
2
|
truen004:0> json = File.new('prueba.json', 'r')
|
|
3
|
#<File:prueba.json>n005:0> parser = Yajl::Parser.new
|
|
4
|
#<Yajl::Parser:0x000000007f9b40>n006:0> hash = parser.parse(json)
|
|
5
|
(irb):6: [BUG] Segmentation fault
|
|
6
|
ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux]
|
|
7
|
|
|
8
|
-- control frame ----------
|
|
9
|
c:0024 p:---- s:0087 b:0087 l:000086 d:000086 CFUNC :parse
|
|
10
|
c:0023 p:0014 s:0083 b:0083 l:002638 d:002490 EVAL (irb):6
|
|
11
|
c:0022 p:---- s:0080 b:0080 l:000079 d:000079 FINISH
|
|
12
|
c:0021 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC :eval
|
|
13
|
c:0020 p:0027 s:0071 b:0071 l:000070 d:000070 METHOD /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/workspace.rb:80
|
|
14
|
c:0019 p:0031 s:0064 b:0063 l:000062 d:000062 METHOD /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/context.rb:218
|
|
15
|
c:0018 p:0030 s:0058 b:0058 l:000c18 d:000057 BLOCK /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:157
|
|
16
|
c:0017 p:0039 s:0050 b:0050 l:000049 d:000049 METHOD /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:271
|
|
17
|
c:0016 p:0011 s:0045 b:0045 l:000c18 d:000044 BLOCK /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:154
|
|
18
|
c:0015 p:0132 s:0041 b:0041 l:000024 d:000040 BLOCK /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:244
|
|
19
|
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH
|
|
20
|
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :loop
|
|
21
|
c:0012 p:0009 s:0033 b:0033 l:000024 d:000032 BLOCK /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:230
|
|
22
|
c:0011 p:---- s:0031 b:0031 l:000030 d:000030 FINISH
|
|
23
|
c:0010 p:---- s:0029 b:0029 l:000028 d:000028 CFUNC :catch
|
|
24
|
c:0009 p:0023 s:0025 b:0025 l:000024 d:000024 METHOD /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:229
|
|
25
|
c:0008 p:0042 s:0022 b:0022 l:000c18 d:000c18 METHOD /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:153
|
|
26
|
c:0007 p:0011 s:0019 b:0019 l:000848 d:000018 BLOCK /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:70
|
|
27
|
c:0006 p:---- s:0017 b:0017 l:000016 d:000016 FINISH
|
|
28
|
c:0005 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC :catch
|
|
29
|
c:0004 p:0174 s:0011 b:0011 l:000848 d:000848 METHOD /usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:69
|
|
30
|
c:0003 p:0039 s:0006 b:0006 l:002658 d:001d68 EVAL /usr/local/ruby-1.9.1/bin/irb:12
|
|
31
|
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
|
|
32
|
c:0001 p:0000 s:0002 b:0002 l:002658 d:002658 TOP
|
|
33
|
---------------------------
|
|
34
|
-- Ruby level backtrace information-----------------------------------------
|
|
35
|
(irb):6:in `parse'
|
|
36
|
(irb):6:in `irb_binding'
|
|
37
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/workspace.rb:80:in `eval'
|
|
38
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/workspace.rb:80:in `evaluate'
|
|
39
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/context.rb:218:in `evaluate'
|
|
40
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:157:in `block (2 levels) in eval_input'
|
|
41
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:271:in `signal_status'
|
|
42
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:154:in `block in eval_input'
|
|
43
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:244:in `block (2 levels) in each_top_level_statement'
|
|
44
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:230:in `loop'
|
|
45
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:230:in `block in each_top_level_statement'
|
|
46
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `catch'
|
|
47
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `each_top_level_statement'
|
|
48
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:153:in `eval_input'
|
|
49
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:70:in `block in start'
|
|
50
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:69:in `catch'
|
|
51
|
/usr/local/ruby-1.9.1/lib/ruby/1.9.1/irb.rb:69:in `start'
|
|
52
|
/usr/local/ruby-1.9.1/bin/irb:12:in `<main>'
|
|
53
|
|
|
54
|
-- C level backtrace information -------------------------------------------
|
|
55
|
0x7fc1171bd021 /usr/local/ruby-1.9.1/lib/libruby.so.1.9(rb_vm_bugreport+0x51) [0x7fc1171bd021]
|
|
56
|
0x7fc1170ec774 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1170ec774]
|
|
57
|
0x7fc1170ec8e3 /usr/local/ruby-1.9.1/lib/libruby.so.1.9(rb_bug+0xb3) [0x7fc1170ec8e3]
|
|
58
|
0x7fc11716deec /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc11716deec]
|
|
59
|
0x7fc116e8fa90 /lib64/libpthread.so.0 [0x7fc116e8fa90]
|
|
60
|
0x7fc116307e9b /lib64/libc.so.6(memcpy+0x15b) [0x7fc116307e9b]
|
|
61
|
0x7fc11717c4d9 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc11717c4d9]
|
|
62
|
0x7fc114fd9965 /usr/local/ruby-1.9.1/lib/ruby/gems/1.9.1/gems/yajl-ruby-0.7.4/lib/yajl_ext.so [0x7fc114fd9965]
|
|
63
|
0x7fc1171af3d0 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171af3d0]
|
|
64
|
0x7fc1171b0390 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b0390]
|
|
65
|
0x7fc1171b2c90 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b2c90]
|
|
66
|
0x7fc1171b68af /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b68af]
|
|
67
|
0x7fc1171b7ce2 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b7ce2]
|
|
68
|
0x7fc1171b878b /usr/local/ruby-1.9.1/lib/libruby.so.1.9(rb_f_eval+0xeb) [0x7fc1171b878b]
|
|
69
|
0x7fc1171af3d0 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171af3d0]
|
|
70
|
0x7fc1171b0390 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b0390]
|
|
71
|
0x7fc1171b2c90 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b2c90]
|
|
72
|
0x7fc1171b68af /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b68af]
|
|
73
|
0x7fc1171b6eac /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b6eac]
|
|
74
|
0x7fc1171b7468 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b7468]
|
|
75
|
0x7fc1170ee4bc /usr/local/ruby-1.9.1/lib/libruby.so.1.9(rb_rescue2+0x1ec) [0x7fc1170ee4bc]
|
|
76
|
0x7fc1171aede5 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171aede5]
|
|
77
|
0x7fc1171af3d0 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171af3d0]
|
|
78
|
0x7fc1171b0390 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b0390]
|
|
79
|
0x7fc1171b2c90 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b2c90]
|
|
80
|
0x7fc1171b68af /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b68af]
|
|
81
|
0x7fc1171b6eac /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b6eac]
|
|
82
|
0x7fc1171b758c /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b758c]
|
|
83
|
0x7fc1171af3d0 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171af3d0]
|
|
84
|
0x7fc1171b0390 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b0390]
|
|
85
|
0x7fc1171b2c90 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b2c90]
|
|
86
|
0x7fc1171b68af /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b68af]
|
|
87
|
0x7fc1171b6eac /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b6eac]
|
|
88
|
0x7fc1171b758c /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b758c]
|
|
89
|
0x7fc1171af3d0 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171af3d0]
|
|
90
|
0x7fc1171b0390 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b0390]
|
|
91
|
0x7fc1171b2c90 /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b2c90]
|
|
92
|
0x7fc1171b68af /usr/local/ruby-1.9.1/lib/libruby.so.1.9 [0x7fc1171b68af]
|
|
93
|
0x7fc1171b6a43 /usr/local/ruby-1.9.1/lib/libruby.so.1.9(rb_iseq_eval_main+0xb3) [0x7fc1171b6a43]
|
|
94
|
0x7fc1170eecbc /usr/local/ruby-1.9.1/lib/libruby.so.1.9(ruby_exec_node+0xac) [0x7fc1170eecbc]
|
|
95
|
0x7fc1170eff13 /usr/local/ruby-1.9.1/lib/libruby.so.1.9(ruby_run_node+0x33) [0x7fc1170eff13]
|
|
96
|
0x4009af irb(main+0x4f) [0x4009af]
|
|
97
|
0x7fc1162a6586 /lib64/libc.so.6(__libc_start_main+0xe6) [0x7fc1162a6586]
|
|
98
|
0x4008c9 irb [0x4008c9]
|
|
99
|
|
|
100
|
[NOTE]
|
|
101
|
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
|
|
102
|
For details: http://www.ruby-lang.org/bugreport.html
|
|
103
|
|
|
104
|
Aborted
|