Project

General

Profile

Bug #3705

YAML segmentation fault

Added by fridim (Guillaume Coré) over 8 years ago. Updated almost 8 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
ruby -v:
[ruby-core:31751]

Description

=begin
$ uname -a
Linux DELL-XPS 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux

$ ruby -v
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]

$ nice ruby script/console
Loading development environment (Rails 2.3.5)
ruby-1.9.1-p378 > do_flat_files
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:133: [BUG] Segmentation fault
ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]

-- control frame ----------
c:0039 p:---- s:0150 b:0150 l:000149 d:000149 CFUNC :load
c:0038 p:0019 s:0146 b:0146 l:000145 d:000145 METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:133
c:0037 p:0012 s:0141 b:0141 l:000131 d:000140 BLOCK /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:144
c:0036 p:---- s:0138 b:0138 l:000137 d:000137 FINISH
c:0035 p:---- s:0136 b:0136 l:000135 d:000135 CFUNC :open
c:0034 p:0019 s:0132 b:0132 l:000131 d:000131 METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:143
c:0033 p:0044 s:0128 b:0128 l:000127 d:000127 METHOD /home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/lib/helpers.rb:50
c:0032 p:0027 s:0124 b:0124 l:000086 d:000123 BLOCK /home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/relationship_population/main.rb:623
c:0031 p:0020 s:0112 b:0112 l:000101 d:000111 BLOCK /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/find.rb:41
c:0030 p:---- s:0108 b:0108 l:000107 d:000107 FINISH
c:0029 p:---- s:0106 b:0106 l:000105 d:000105 CFUNC :catch
c:0028 p:0064 s:0102 b:0102 l:000101 d:000101 METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/find.rb:40
c:0027 p:0020 s:0097 b:0097 l:000086 d:000096 BLOCK /home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/relationship_population/main.rb:621
c:0026 p:---- s:0094 b:0094 l:000093 d:000093 FINISH
c:0025 p:---- s:0092 b:0092 l:000091 d:000091 CFUNC :open
c:0024 p:0069 s:0087 b:0087 l:000086 d:000086 METHOD /home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/relationship_population/main.rb:620
c:0023 p:0009 s:0082 b:0082 l:0009dc d:000081 EVAL (irb):8
c:0022 p:---- s:0080 b:0080 l:000079 d:000079 FINISH
c:0021 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC :eval
c:0020 p:0027 s:0071 b:0071 l:000070 d:000070 METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/workspace.rb:80
c:0019 p:0031 s:0064 b:0063 l:000062 d:000062 METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/context.rb:218
c:0018 p:0030 s:0058 b:0058 l:00057c d:000057 BLOCK /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:157
c:0017 p:0039 s:0050 b:0050 l:000049 d:000049 METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:271
c:0016 p:0011 s:0045 b:0045 l:00057c d:000044 BLOCK /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:154
c:0015 p:0132 s:0041 b:0041 l:000024 d:000040 BLOCK /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:244
c:0014 p:---- s:0038 b:0038 l:000037 d:000037 FINISH
c:0013 p:---- s:0036 b:0036 l:000035 d:000035 CFUNC :loop
c:0012 p:0009 s:0033 b:0033 l:000024 d:000032 BLOCK /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:230
c:0011 p:---- s:0031 b:0031 l:000030 d:000030 FINISH
c:0010 p:---- s:0029 b:0029 l:000028 d:000028 CFUNC :catch
c:0009 p:0023 s:0025 b:0025 l:000024 d:000024 METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:229
c:0008 p:0042 s:0022 b:0022 l:00057c d:00057c METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:153
c:0007 p:0011 s:0019 b:0019 l:001c5c d:000018 BLOCK /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:70
c:0006 p:---- s:0017 b:0017 l:000016 d:000016 FINISH
c:0005 p:---- s:0015 b:0015 l:000014 d:000014 CFUNC :catch
c:0004 p:0174 s:0011 b:0011 l:001c5c d:001c5c METHOD /home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:69
c:0003 p:0172 s:0006 b:0006 l:000524 d:0021f4 EVAL /home/fridim/.rvm/rubies/ruby-1.9.1-p378/bin/irb:17
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000524 d:000524 TOP


-- Ruby level backtrace information-----------------------------------------
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:133:in load'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:133:in
load'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:144:in block in load_file'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:143:in
open'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/yaml.rb:143:in load_file'
/home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/lib/helpers.rb:50:in
load_backup'
/home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/relationship_population/main.rb:623:in block (2 levels) in do_flat_files'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/find.rb:41:in
block in find'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/find.rb:40:in catch'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/find.rb:40:in
find'
/home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/relationship_population/main.rb:621:in block in do_flat_files'
/home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/relationship_population/main.rb:620:in
open'
/home/fridim/Dropbox/Projects/HermesDataWizard/doc/ImageUploader/relationship_population/main.rb:620:in do_flat_files'
(irb):8:in
irb_binding'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/workspace.rb:80:in eval'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/workspace.rb:80:in
evaluate'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/context.rb:218:in evaluate'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:157:in
block (2 levels) in eval_input'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:271:in signal_status'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:154:in
block in eval_input'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:244:in block (2 levels) in each_top_level_statement'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:230:in
loop'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:230:in block in each_top_level_statement'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in
catch'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in each_top_level_statement'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:153:in
eval_input'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:70:in block in start'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:69:in
catch'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/1.9.1/irb.rb:69:in start'
/home/fridim/.rvm/rubies/ruby-1.9.1-p378/bin/irb:17:in
'

-- C level backtrace information -------------------------------------------
0x509b79
0x42298f
0x422a2a
0x4af904
0x6d5410
0x592e90
0x59d19f
0x59d3dd
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x503d88
0x4240a9
0x43da7b
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x50140e
0x501bca
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x503d88
0x4240a9
0x43da7b
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x501ddf
0x50240c
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x5028dc
0x4243d9
0x4f88bc
0x4f6ccd
0x4f7054
0x503436
0x4fd81d
0x500e23
0x50140e
0x501bca
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x50140e
0x501bca
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x50140e
0x501bca
0x4f6ce8
0x4f7054
0x503436
0x4fd81d
0x500e23
0x50109b
0x424cd7
0x4262d6
0x80487f8
0x280bd6
0x80486f1

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Aborted
=end

History

#1

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

=begin
Hi,

At Wed, 18 Aug 2010 11:26:42 +0900,
Guillaume Coré wrote in [ruby-core:31751]:

ruby-1.9.1-p378 > do_flat_files

What's this method?

--
Nobu Nakada

=end

Also available in: Atom PDF