randym/axlsx — Issue #12: Segmentation fault in rails app
Author: bayja
Created: 2012-01-05 09:05:24+00:00
State: open

Axlsx gem works fine inside irb session, but when I try to use it inside a rails app it reports segmentation fault.
I tried ruby-1.9.3-p0 but it does not help.

here is error messages

/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:311: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.1]

-- control frame ----------
c:0102 p:---- s:0529 b:0529 l:000528 d:000528 CFUNC :get_type_metrics
c:0101 p:0014 s:0525 b:0525 l:000510 d:000524 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:311
c:0100 p:---- s:0521 b:0521 l:000520 d:000520 FINISH
c:0099 p:---- s:0519 b:0519 l:000514 d:000518 IFUNC
c:0098 p:---- s:0517 b:0517 l:000516 d:000516 CFUNC :each
c:0097 p:---- s:0515 b:0515 l:000514 d:000514 CFUNC :reduce
c:0096 p:0048 s:0511 b:0511 l:000510 d:000510 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:310
c:0095 p:0039 s:0504 b:0498 l:0017b0 d:000497 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:244
c:0094 p:---- s:0493 b:0493 l:000492 d:000492 FINISH
c:0093 p:---- s:0491 b:0491 l:000486 d:000490 IFUNC
c:0092 p:---- s:0489 b:0489 l:000488 d:000488 CFUNC :each
c:0091 p:---- s:0487 b:0487 l:000486 d:000486 CFUNC :each_with_index
c:0090 p:0011 s:0484 b:0484 l:0017b0 d:000483 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:242
c:0089 p:---- s:0482 b:0482 l:000481 d:000481 FINISH
c:0088 p:---- s:0480 b:0480 l:000479 d:000479 CFUNC :call
c:0087 p:0106 s:0476 b:0476 l:000475 d:000475 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373
c:0086 p:0089 s:0470 b:0470 l:002548 d:002548 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357
c:0085 p:---- s:0463 b:0463 l:000462 d:000462 FINISH
c:0084 p:0024 s:0461 b:0461 l:0017b0 d:001db8 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:241
c:0083 p:---- s:0459 b:0459 l:000458 d:000458 FINISH
c:0082 p:---- s:0457 b:0457 l:000456 d:000456 CFUNC :call
c:0081 p:0106 s:0453 b:0453 l:000452 d:000452 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373
c:0080 p:0089 s:0447 b:0447 l:001b88 d:001b88 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357
c:0079 p:---- s:0440 b:0440 l:000439 d:000439 FINISH
c:0078 p:0031 s:0438 b:0438 l:0017b0 d:001f80 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:238
c:0077 p:0225 s:0435 b:0435 l:000434 d:000434 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:293
c:0076 p:---- s:0428 b:0428 l:000427 d:000427 FINISH
c:0075 p:---- s:0426 b:0426 l:000425 d:000425 CFUNC :new
c:0074 p:0032 s:0422 b:0422 l:0017b0 d:0017b0 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:237
c:0073 p:0084 s:0418 b:0414 l:0023b8 d:000413 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/package.rb:142
c:0072 p:---- s:0411 b:0411 l:000410 d:000410 FINISH
c:0071 p:---- s:0409 b:0409 l:000408 d:000408 CFUNC :each
c:0070 p:0076 s:0406 b:0406 l:000405 d:000405 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/util/simple_typed_list.rb:138
c:0069 p:---- s:0400 b:0400 l:000399 d:000399 FINISH
c:0068 p:0350 s:0398 b:0398 l:0023b8 d:0023b8 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/package.rb:140
c:0067 p:0045 s:0395 b:0395 l:000394 d:000394 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/package.rb:72
c:0066 p:0065 s:0389 b:0389 l:000388 d:000388 METHOD /Users/bayja/RoR_Projects/axl/app/controllers/posts_controller.rb:18
c:0065 p:0014 s:0385 b:0385 l:000384 d:000384 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4
c:0064 p:0015 s:0379 b:0379 l:000378 d:000378 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167
c:0063 p:0041 s:0374 b:0374 l:000373 d:000373 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10
c:0062 p:0010 s:0370 b:0370 l:000f20 d:000369 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18
c:0061 p:0066 s:0368 b:0368 l:000367 d:000367 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416
c:0060 p:0113 s:0362 b:0362 l:000361 d:000361 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386
c:0059 p:0024 s:0353 b:0353 l:000352 d:000352 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81
c:0058 p:0020 s:0347 b:0347 l:000f20 d:000f20 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17
c:0057 p:0012 s:0343 b:0343 l:000342 d:000342 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17
c:0056 p:0010 s:0338 b:0338 l:000319 d:000337 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30
c:0055 p:0017 s:0334 b:0334 l:000324 d:000333 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53
c:0054 p:0032 s:0332 b:0332 l:000331 d:000331 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21
c:0053 p:0036 s:0325 b:0325 l:000324 d:000324 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53
c:0052 p:0152 s:0320 b:0320 l:000319 d:000319 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29
c:0051 p:0143 s:0315 b:0315 l:000314 d:000314 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201
c:0050 p:0032 s:0309 b:0309 l:000308 d:000308 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18
c:0049 p:0093 s:0304 b:0304 l:000303 d:000303 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121
c:0048 p:0084 s:0298 b:0298 l:000297 d:000297 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45
c:0047 p:0048 s:0293 b:0293 l:000292 d:000292 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193
c:0046 p:0086 s:0288 b:0288 l:000287 d:000287 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14
c:0045 p:0030 s:0282 b:0282 l:0010c8 d:000281 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236
c:0044 p:---- s:0279 b:0279 l:000278 d:000278 FINISH
c:0043 p:---- s:0277 b:0277 l:000276 d:000276 CFUNC :call
c:0042 p:0022 s:0273 b:0273 l:000272 d:000272 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65
c:0041 p:0094 s:0267 b:0267 l:000266 d:000266 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29
c:0040 p:0127 s:0261 b:0261 l:000232 d:000260 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152
c:0039 p:0014 s:0254 b:0254 l:000238 d:000253 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96
c:0038 p:0287 s:0249 b:0249 l:000248 d:000248 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75
c:0037 p:0198 s:0239 b:0239 l:000238 d:000238 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95
c:0036 p:0092 s:0233 b:0233 l:000232 d:000232 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141
c:0035 p:0025 s:0227 b:0227 l:000226 d:000226 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532
c:0034 p:0015 s:0223 b:0223 l:000222 d:000222 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17
c:0033 p:0015 s:0216 b:0216 l:000215 d:000215 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/etag.rb:23
c:0032 p:0068 s:0208 b:0208 l:000207 d:000207 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/conditionalget.rb:25
c:0031 p:0093 s:0201 b:0201 l:000200 d:000200 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14
c:0030 p:0046 s:0194 b:0194 l:000193 d:000193 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21
c:0029 p:0054 s:0189 b:0189 l:000188 d:000188 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247
c:0028 p:0031 s:0181 b:0181 l:000180 d:000180 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195
c:0027 p:0013 s:0173 b:0173 l:000172 d:000172 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190
c:0026 p:0020 s:0169 b:0169 l:000168 d:000168 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331
c:0025 p:0064 s:0161 b:0161 l:000160 d:000160 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64
c:0024 p:0029 s:0152 b:0152 l:000151 d:000151 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0023 p:0014 s:0144 b:0144 l:001fc0 d:000143 BLOCK /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29
c:0022 p:0155 s:0142 b:0142 l:000141 d:000141 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392
c:0021 p:0024 s:0132 b:0132 l:000131 d:000131 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81
c:0020 p:0013 s:0126 b:0126 l:001fc0 d:001fc0 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28
c:0019 p:0027 s:0122 b:0122 l:000121 d:000121 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68
c:0018 p:0015 s:0117 b:0117 l:000116 d:000116 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/sendfile.rb:101
c:0017 p:0049 s:0107 b:0107 l:000106 d:000106 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48
c:0016 p:0017 s:0103 b:0103 l:000102 d:000102 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47
c:0015 p:0027 s:0095 b:0095 l:000094 d:000094 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/rack/logger.rb:13
c:0014 p:0155 s:0091 b:0091 l:000090 d:000090 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/methodoverride.rb:24
c:0013 p:0032 s:0085 b:0085 l:000084 d:000084 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/runtime.rb:17
c:0012 p:0057 s:0076 b:0076 l:000075 d:000075 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72
c:0011 p:0068 s:0072 b:0072 l:000071 d:000071 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/lock.rb:15
c:0010 p:0124 s:0066 b:0066 l:000065 d:000065 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53
c:0009 p:0032 s:0060 b:0060 l:000059 d:000059 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/engine.rb:456
c:0008 p:0015 s:0056 b:0056 l:000055 d:000055 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/content_length.rb:14
c:0007 p:0015 s:0047 b:0047 l:000046 d:000046 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14
c:0006 p:0356 s:0042 b:0042 l:000041 d:000041 METHOD /Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD /Users/bayja/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD /Users/bayja/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:001a88 d:000008 BLOCK /Users/bayja/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
/Users/bayja/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
/Users/bayja/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/bayja/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/conditionalget.rb:25:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75:in `optimized_each'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__20670671366324159__process_action__1264903202614530096__callbacks'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/bayja/RoR_Projects/axl/app/controllers/posts_controller.rb:18:in `index'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/package.rb:72:in `serialize'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/package.rb:140:in `parts'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/util/simple_typed_list.rb:138:in `method_missing'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/util/simple_typed_list.rb:138:in `each'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/package.rb:142:in `block in parts'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:237:in `to_xml'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:237:in `new'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:293:in `initialize'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:238:in `block in to_xml'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357:in `method_missing'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in `insert'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:241:in `block (2 levels) in to_xml'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:357:in `method_missing'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in `insert'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml/builder.rb:373:in `call'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:242:in `block (3 levels) in to_xml'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:242:in `each_with_index'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:242:in `each'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:244:in `block (4 levels) in to_xml'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:310:in `auto_width'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:310:in `reduce'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:310:in `each'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:311:in `block in auto_width'
/Users/bayja/.rvm/gems/ruby-1.9.2-p290/gems/axlsx-1.0.14/lib/axlsx/workbook/worksheet/worksheet.rb:311:in `get_type_metrics'

-- C level backtrace information -------------------------------------------

[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

Abort trap: 6