Skip to content

Instantly share code, notes, and snippets.

@inohiro
Created June 14, 2012 16:22
Show Gist options
  • Save inohiro/2931282 to your computer and use it in GitHub Desktop.
Save inohiro/2931282 to your computer and use it in GitHub Desktop.
ruby1.9.3-p194 SEGV on Mac OS X 10.5.8(i386)
inohiro@kde-no-mac-pro [Movie] $ ruby ./vertical.rb
file:/Users/inohiro/Data/Movie/linkedmdb-latest-dump.nt
./vertical.rb:59: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [i386-darwin9.8.0]
-- Control frame information -----------------------------------------------
c:0028 p:0157 s:0112 b:0107 l:0016c0 d:000106 BLOCK ./vertical.rb:59
c:0027 p:---- s:0102 b:0102 l:000101 d:000101 FINISH
c:0026 p:---- s:0100 b:0100 l:000099 d:000099 CFUNC :call
c:0025 p:0018 s:0096 b:0096 l:000088 d:000095 BLOCK /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:297
c:0024 p:---- s:0094 b:0094 l:000093 d:000093 FINISH
c:0023 p:---- s:0092 b:0092 l:000091 d:000091 CFUNC :loop
c:0022 p:0024 s:0089 b:0089 l:000088 d:000088 METHOD /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:297
c:0021 p:0015 s:0084 b:0084 l:000083 d:000083 METHOD (eval):2
c:0020 p:0011 s:0079 b:0079 l:0016c0 d:002298 BLOCK ./vertical.rb:44
c:0019 p:---- s:0076 b:0076 l:000075 d:000075 FINISH
c:0018 p:---- s:0074 b:0074 l:000073 d:000073 CFUNC :call
c:0017 p:0244 s:0070 b:0070 l:000069 d:000069 METHOD /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:200
c:0016 p:---- s:0064 b:0064 l:000063 d:000063 FINISH
c:0015 p:---- s:0062 b:0062 l:000061 d:000061 CFUNC :new
c:0014 p:0144 s:0057 b:0057 l:0022b0 d:0007a0 BLOCK /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:138
c:0013 p:---- s:0052 b:0052 l:000051 d:000051 FINISH
c:0012 p:---- s:0050 b:0050 l:000049 d:000049 CFUNC :open
c:0011 p:0113 s:0046 b:0046 l:000045 d:000045 METHOD /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:35
c:0010 p:0056 s:0039 b:0039 l:000038 d:000038 METHOD /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/util/file.rb:35
c:0009 p:0027 s:0033 b:0033 l:0022b0 d:0022b0 METHOD /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:127
c:0008 p:0055 s:0027 b:0027 l:0016c0 d:002154 BLOCK ./vertical.rb:43
c:0007 p:---- s:0021 b:0021 l:000020 d:000020 FINISH
c:0006 p:---- s:0019 b:0019 l:000018 d:000018 CFUNC :glob
c:0005 p:0047 s:0015 b:0015 l:0016c0 d:0016c0 METHOD ./vertical.rb:38
c:0004 p:0044 s:0009 b:0009 l:000008 d:000008 METHOD ./vertical.rb:73
c:0003 p:0161 s:0006 b:0006 l:001bf4 d:002374 EVAL ./vertical.rb:76
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001bf4 d:001bf4 TOP
-- Ruby level backtrace information ----------------------------------------
./vertical.rb:76:in `<main>'
./vertical.rb:73:in `main'
./vertical.rb:38:in `vertical'
./vertical.rb:38:in `glob'
./vertical.rb:43:in `block in vertical'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:127:in `open'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/util/file.rb:35:in `open_file'
/Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:35:in `open'
/Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/open-uri.rb:35:in `open'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:138:in `block in open'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:138:in `new'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:200:in `initialize'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:200:in `call'
./vertical.rb:44:in `block (2 levels) in vertical'
(eval):2:in `each'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:297:in `each_statement'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:297:in `loop'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:297:in `block in each_statement'
/Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb:297:in `call'
./vertical.rb:59:in `block (3 levels) in vertical'
-- C level backtrace information -------------------------------------------
See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.
-- Other runtime information -----------------------------------------------
* Loaded script: ./vertical.rb
* Loaded features:
0 enumerator.so
1 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/i386-darwin9.8.0/enc/encdb.bundle
2 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/i386-darwin9.8.0/enc/trans/transdb.bundle
3 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
4 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/i386-darwin9.8.0/rbconfig.rb
5 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
6 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
7 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
8 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems.rb
9 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
10 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
11 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
12 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
13 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
14 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
15 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/i386-darwin9.8.0/bigdecimal.bundle
16 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/i386-darwin9.8.0/date_core.bundle
17 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/date/format.rb
18 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/date.rb
19 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/thread.rb
20 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/time.rb
21 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/common.rb
22 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/generic.rb
23 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/ftp.rb
24 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/http.rb
25 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/https.rb
26 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/ldap.rb
27 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/ldaps.rb
28 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri/mailto.rb
29 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/uri.rb
30 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/metaprogramming.rb
31 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/sql.rb
32 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/connection_pool.rb
33 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/exceptions.rb
34 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/query.rb
35 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/actions.rb
36 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/features.rb
37 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/graph.rb
38 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/prepared_statements.rb
39 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/misc.rb
40 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/mutation.rb
41 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset/sql.rb
42 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/dataset.rb
43 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/connecting.rb
44 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/dataset.rb
45 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/dataset_defaults.rb
46 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/logging.rb
47 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/misc.rb
48 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/query.rb
49 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/schema_generator.rb
50 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database/schema_methods.rb
51 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/database.rb
52 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/timezones.rb
53 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/ast_transformer.rb
54 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/version.rb
55 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/extensions/core_extensions.rb
56 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/core.rb
57 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model/default_inflections.rb
58 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model/inflections.rb
59 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model/plugins.rb
60 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model/base.rb
61 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model/exceptions.rb
62 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model/errors.rb
63 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model/associations.rb
64 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/model.rb
65 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel.rb
66 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/i386-darwin9.8.0/stringio.bundle
67 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/open-uri.rb
68 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/version.rb
69 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf.rb
70 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/format.rb
71 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/ntriples/format.rb
72 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/value.rb
73 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/ntriples.rb
74 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/prettyprint.rb
75 /Users/inohiro/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/pp.rb
76 /Users/inohiro/Data/Movie/util.rb
77 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/mysql-2.8.1/lib/mysql_api.bundle
78 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/mysql-2.8.1/lib/mysql.rb
79 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/adapters/shared/mysql.rb
80 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/adapters/utils/stored_procedures.rb
81 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/adapters/shared/mysql_prepared_statements.rb
82 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/adapters/mysql.rb
83 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/sequel-3.36.1/lib/sequel/connection_pool/threaded.rb
84 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/util.rb
85 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/util/aliasing.rb
86 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/mixin/readable.rb
87 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/mixin/countable.rb
88 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/mixin/enumerable.rb
89 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/reader.rb
90 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/ntriples/reader.rb
91 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/util/file.rb
92 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/statement.rb
93 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/addressable-2.2.8/lib/addressable/version.rb
94 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/addressable-2.2.8/lib/addressable/idna/pure.rb
95 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/addressable-2.2.8/lib/addressable/idna.rb
96 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/addressable-2.2.8/lib/addressable/uri.rb
97 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/term.rb
98 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/resource.rb
99 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/uri.rb
100 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/util/cache.rb
101 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/numeric.rb
102 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/vocab.rb
103 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/vocab/xsd.rb
104 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/boolean.rb
105 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/decimal.rb
106 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/integer.rb
107 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/double.rb
108 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/date.rb
109 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/datetime.rb
110 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/time.rb
111 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/token.rb
112 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal/xml.rb
113 /Users/inohiro/.rvm/gems/ruby-1.9.3-p194/gems/rdf-0.3.5.2/lib/rdf/model/literal.rb
[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
[2] 62033 abort ruby ./vertical.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment