Project

General

Profile

Actions

Bug #17728

closed

[BUG] Segmentation fault at 0x0000000000000000

Added by meliborn (Denis Denis) 7 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:102914]

Description

Hi guys, getting segment fault from time to time. Sorry, don't know the exact reproducing steps. Attached crash reports.

Started POST "/graphql" for 127.0.0.1 at 2021-03-18 13:49:07 +0300
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:317: [BUG] Segmentation fault at 0x0000000000000000
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:                    
     * ~/Library/Logs/DiagnosticReports                                     
     * /Library/Logs/DiagnosticReports                                      
   for more details.                                                        
Don't forget to include the above Crash Report log file in bug reports.     

-- Control frame information -----------------------------------------------
c:0105 p:---- s:0642 e:000641 CFUNC  :define_method
c:0104 p:0007 s:0637 E:0025c0 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:317
c:0103 p:0117 s:0629 e:000628 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:115
c:0102 p:0113 s:0619 e:000618 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:595
c:0101 p:0224 s:0612 e:000611 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1986
c:0100 p:0064 s:0594 e:000593 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1957
c:0099 p:0022 s:0580 e:000579 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1955
c:0098 p:0003 s:0577 e:000576 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1554
c:0097 p:0022 s:0574 e:000573 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1886
c:0096 p:0021 s:0569 e:000568 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1554
c:0095 p:0012 s:0566 e:000565 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1766
c:0094 p:0026 s:0561 e:000560 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1548
c:0093 p:0077 s:0557 e:000556 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1955
c:0092 p:0028 s:0543 e:000542 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1926 [FINISH]
c:0091 p:---- s:0538 e:000537 CFUNC  :each
c:0090 p:0318 s:0534 e:000533 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1924
c:0089 p:0210 s:0520 e:000519 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1663
c:0088 p:0031 s:0510 e:000509 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:765
c:0087 p:0011 s:0502 e:000501 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:718
c:0086 p:0016 s:0496 e:000495 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:379
c:0085 p:0008 s:0493 e:000492 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1322
c:0084 p:0003 s:0490 e:000489 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1774
c:0083 p:0012 s:0487 e:000486 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:916
c:0082 p:0018 s:0482 e:000481 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1774
c:0081 p:0039 s:0477 e:000476 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1321
c:0080 p:0012 s:0474 e:000473 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1766
c:0079 p:0031 s:0469 e:000468 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1319
c:0078 p:0016 s:0462 e:000461 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:378
c:0077 p:0027 s:0456 e:000455 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:268 [FINISH]
c:0076 p:---- s:0452 e:000451 CFUNC  :each
c:0075 p:0007 s:0448 e:000447 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:268
c:0074 p:0067 s:0445 e:000444 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:472
c:0073 p:0016 s:0436 e:000435 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:267
c:0072 p:0003 s:0433 e:000432 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:370
c:0071 p:0003 s:0430 e:000429 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1030
c:0070 p:0288 s:0427 e:000426 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:901
c:0069 p:0010 s:0418 e:000417 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1030
c:0068 p:0013 s:0413 E:001150 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:369
c:0067 p:0112 s:0407 E:002700 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:266 [FINISH]
c:0066 p:---- s:0400 e:000399 CFUNC  :each
c:0065 p:0299 s:0396 E:0006e0 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:242
c:0064 p:0054 s:0390 e:000389 BLOCK  /Users/den/Documents/Sites/RestaAPIGraphQL/config/routes.rb:8 [FINISH]
c:0063 p:---- s:0387 e:000386 CFUNC  :instance_exec
c:0062 p:0037 s:0383 e:000382 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:427
c:0061 p:0015 s:0377 e:000376 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:409
c:0060 p:0016 s:0372 E:000dd0 TOP    /Users/den/Documents/Sites/RestaAPIGraphQL/config/routes.rb:3 [FINISH]
c:0059 p:---- s:0369 e:000368 CFUNC  :load
c:0058 p:0035 s:0363 e:000362 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59
c:0057 p:0006 s:0353 e:000352 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47 [FINISH]
c:0056 p:---- s:0349 e:000348 CFUNC  :each
c:0055 p:0006 s:0345 e:000344 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47
c:0054 p:0007 s:0341 e:000340 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:21
c:0053 p:0004 s:0337 e:000336 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:35
c:0052 p:0020 s:0334 e:000333 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/file_update_checker.rb:83
c:0051 p:0017 s:0330 e:000329 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:10
c:0050 p:0009 s:0322 e:000321 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/finisher.rb:208 [FINISH]
c:0049 p:---- s:0319 e:000318 CFUNC  :instance_exec
c:0048 p:0034 s:0315 e:000314 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:427
c:0047 p:0010 s:0307 e:000306 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:198
c:0046 p:0005 s:0304 e:000303 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:604 [FINISH]
c:0045 p:---- s:0301 e:000300 CFUNC  :catch
c:0044 p:0011 s:0296 e:000295 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:603
c:0043 p:0040 s:0290 E:002498 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:199
c:0042 p:0007 s:0281 e:000280 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512 [FINISH]
c:0041 p:---- s:0277 e:000276 CFUNC  :each
c:0040 p:0006 s:0273 E:0022a8 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512
c:0039 p:0066 s:0268 E:0003f8 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:105
c:0038 p:0026 s:0259 E:002680 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:111
c:0037 p:0004 s:0255 E:001d50 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/reloader.rb:114
c:0036 p:0008 s:0251 E:001b30 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:73
c:0035 p:0003 s:0246 E:002590 METHOD <internal:kernel>:90
c:0034 p:0021 s:0242 E:002400 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:70
c:0033 p:0009 s:0238 E:000030 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/reloader.rb:63
c:0032 p:0005 s:0234 E:001720 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/executor.rb:12
c:0031 p:0033 s:0226 E:000470 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/actionable_exceptions.rb:1
c:0030 p:0007 s:0220 E:0006b0 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:87
c:0029 p:0025 s:0214 E:000808 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:82
c:0028 p:0012 s:0209 E:000398 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:60
c:0027 p:0026 s:0204 E:000ac8 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:29
c:0026 p:0026 s:0193 E:0000f8 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/show_exceptions.rb:33
c:0025 p:0041 s:0186 E:001130 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/rack/logger.rb:37
c:0024 p:0008 s:0176 E:0021c0 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/rack/logger.rb:26
c:0023 p:0004 s:0173 E:000230 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/tagged_logging.rb:99
c:0022 p:0012 s:0170 E:001610 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/tagged_logging.rb:37
c:0021 p:0015 s:0164 E:000f50 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/tagged_logging.rb:99
c:0020 p:0039 s:0158 E:000430 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/rack/logger.rb:26
c:0019 p:0052 s:0152 E:001ed0 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/remote_ip.rb:81
c:0018 p:0019 s:0146 E:001ae8 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/request_store-1.5.0/lib/request_store/middleware.rb:19
c:0017 p:0043 s:0139 E:001130 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/request_id.rb:26
c:0016 p:0020 s:0133 E:002580 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/rack-2.2.3/lib/rack/runtime.rb:22
c:0015 p:0033 s:0123 E:001c38 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/cache/strategy/local_cache_middlewa
c:0014 p:0014 s:0116 E:002620 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/executor.rb:14
c:0013 p:0018 s:0108 E:0006a8 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/static.rb:24
c:0012 p:0007 s:0103 E:002160 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/rack-2.2.3/lib/rack/sendfile.rb:110
c:0011 p:0057 s:0091 E:000cc0 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/host_authorization.rb:98
c:0010 p:0236 s:0085 E:001ab0 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/rack-cors-1.1.1/lib/rack/cors.rb:100
c:0009 p:0016 s:0071 E:001b20 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/engine.rb:539
c:0008 p:0028 s:0065 E:002098 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/configuration.rb:248
c:0007 p:0008 s:0060 E:001550 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/request.rb:76
c:0006 p:0023 s:0057 E:002058 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/thread_pool.rb:337
c:0005 p:0274 s:0052 E:002280 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/request.rb:75
c:0004 p:0123 s:0032 E:001860 METHOD /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/server.rb:431 [FINISH]
c:0003 p:---- s:0020 E:000ce0 IFUNC 
c:0002 p:0094 s:0017 E:002428 BLOCK  /Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/thread_pool.rb:145 [FINISH]
c:0001 p:---- s:0003 e:000002 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/thread_pool.rb:145:in `block in spawn_thread'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/server.rb:431:in `process_client'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/request.rb:75:in `handle_request'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/thread_pool.rb:337:in `with_force_shutdown'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/request.rb:76:in `block in handle_request'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/puma-5.2.2/lib/puma/configuration.rb:248:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/engine.rb:539:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/host_authorization.rb:98:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/static.rb:24:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/request_id.rb:26:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/rack/logger.rb:26:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/tagged_logging.rb:99:in `tagged'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/tagged_logging.rb:37:in `tagged'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/tagged_logging.rb:99:in `block in tagged'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/rack/logger.rb:26:in `block in call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/rack/logger.rb:37:in `call_app'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:60:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:82:in `better_errors_call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/better_errors-2.9.1/lib/better_errors/middleware.rb:87:in `protected_app_call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/reloader.rb:63:in `run!'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:70:in `run!'
<internal:kernel>:90:in `tap'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:73:in `block in run!'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/reloader.rb:114:in `run!'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:111:in `run!'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:105:in `run_callbacks'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512:in `invoke_before'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512:in `each'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512:in `block in invoke_before'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:199:in `block in halting'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:603:in `block in default_terminator'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:603:in `catch'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:427:in `block in make_lambda'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:427:in `instance_exec'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/finisher.rb:208:in `block (2 levels) in <module:Finisher>'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:10:in `execute'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/activesupport-6.1.3/lib/active_support/file_update_checker.rb:83:in `execute'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:35:in `block in updater'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:21:in `reload!'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47:in `load_paths'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47:in `each'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/railties-6.1.3/lib/rails/application/routes_reloader.rb:47:in `block in load_paths'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/Users/den/Documents/Sites/RestaAPIGraphQL/config/routes.rb:3:in `<main>'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:409:in `draw'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:427:in `eval_block'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:427:in `instance_exec'
/Users/den/Documents/Sites/RestaAPIGraphQL/config/routes.rb:8:in `block in <main>'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:242:in `devise_for'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:242:in `each'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:266:in `block in devise_for'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:369:in `devise_scope'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1030:in `constraints'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:901:in `scope'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1030:in `block in constraints'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:370:in `block in devise_scope'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:267:in `block (2 levels) in devise_for'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:472:in `with_devise_exclusive_scope'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:268:in `block (3 levels) in devise_for'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:268:in `each'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:268:in `block (4 levels) in devise_for'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:378:in `devise_session'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1319:in `resource'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1766:in `with_scope_level'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1321:in `block in resource'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1774:in `resource_scope'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:916:in `controller'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1774:in `block in resource_scope'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1322:in `block (2 levels) in resource'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/bundler/gems/devise-e16d60d0fedc/lib/devise/rails/routes.rb:379:in `block in devise_session'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:718:in `get'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:765:in `map_method'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1663:in `match'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1924:in `map_match'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1924:in `each'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1926:in `block in map_match'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1955:in `decomposed_match'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1548:in `member'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1766:in `with_scope_level'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1554:in `block in member'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1886:in `path_scope'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1554:in `block (2 levels) in member'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1955:in `block in decomposed_match'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1957:in `decomposed_match'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/mapper.rb:1986:in `add_route'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:595:in `add_route'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:115:in `add'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:317:in `define_url_helper'
/Users/den/.rvm/gems/ruby-3.0.0@RestaAPIGraphQL/gems/actionpack-6.1.3/lib/action_dispatch/routing/route_set.rb:317:in `define_method'

-- Machine register context ------------------------------------------------
 rax: 0x00007fbbc1014a58 rbx: 0x00007fbbb18569e0 rcx: 0x0000000000000006
 rdx: 0x000070000bf57200 rdi: 0x2489a463c1dc4e3a rsi: 0x00000000000c3b50
 rbp: 0x000070000bf571f0 rsp: 0x000070000bf571f0  r8: 0x000000000000c3b5
  r9: 0x000000000000000f r10: 0x00007fbbc97da990 r11: 0x0000000000000060
 r12: 0x00007fbbc4adf020 r13: 0x00007fbbced41890 r14: 0x000070000bf57200
 r15: 0x00000000000c3b50 rip: 0x00000001016d5ed6 rfl: 0x0000000000010212

Files

ruby_2021-03-18-134908_MacBook-Pro-Meliborn.crash (71.4 KB) ruby_2021-03-18-134908_MacBook-Pro-Meliborn.crash meliborn (Denis Denis), 03/18/2021 10:54 AM
ruby_2021-03-17-160837_MacBook-Pro-Meliborn.crash (73.3 KB) ruby_2021-03-17-160837_MacBook-Pro-Meliborn.crash meliborn (Denis Denis), 03/18/2021 10:54 AM
dump.txt (348 KB) dump.txt jgelo (Jon Gelo), 03/28/2021 02:19 PM
stacktrace.txt (548 KB) stacktrace.txt meliborn (Denis Denis), 04/22/2021 08:43 PM
ruby_2021-04-22-233738_MacBook-Pro-Meliborn.crash (71.6 KB) ruby_2021-04-22-233738_MacBook-Pro-Meliborn.crash meliborn (Denis Denis), 04/22/2021 08:58 PM
ruby_2021-04-22-235328_MacBook-Pro-Meliborn.crash (72 KB) ruby_2021-04-22-235328_MacBook-Pro-Meliborn.crash meliborn (Denis Denis), 04/22/2021 08:58 PM
Actions #1

Updated by nobu (Nobuyoshi Nakada) 7 months ago

  • Description updated (diff)

Updated by jeremyevans0 (Jeremy Evans) 7 months ago

  • Status changed from Open to Feedback

The crash report doesn't provide a C-level backtrace of the crashed thread. There are quite a few external C extensions in use, any of which could possibly cause this null pointer dereference. Unfortunately, unless you can provide a reproducible example, it is unlikely we will be able to help. Can you try the master branch and see if the problem has already been fixed?

Updated by jgelo (Jon Gelo) 7 months ago

I've started testing a Rails 6.1.3 app with Ruby 3.0.0 and have run into this same issue multiple times in development mode. The issue is intermittent but seems to occur after changing a model and reloading a related view in the browser.

Attached is a full session dump, happy to provide any other details if needed.

Updated by byroot (Jean Boussier) 7 months ago

Attached is a full session dump,

Unfortunately your dump doesn't have C-level symbols.

But the crash in :define_method looks a lot like one of the few crash that have been fixed and backported already. I'd recommend trying to build ruby from the ruby_3_0 branch.

Updated by jgelo (Jon Gelo) 7 months ago

byroot (Jean Boussier) wrote in #note-4:

Attached is a full session dump,

Unfortunately your dump doesn't have C-level symbols.

But the crash in :define_method looks a lot like one of the few crash that have been fixed and backported already. I'd recommend trying to build ruby from the ruby_3_0 branch.

Thanks Jean, I'll start working with the master branch version this week and see if the issue persists.

Updated by byroot (Jean Boussier) 7 months ago

I'll start working with the master branch version this week

Note that I was suggesting ruby_3_0: https://github.com/ruby/ruby/tree/ruby_3_0 which is the 3.0 "stable" branch (what will someday become 3.0.1).

master is what will become 3.1.0 and contains many more changes.

Updated by jgelo (Jon Gelo) 7 months ago

I've been working with the ruby_3_0 branch daily since Mar. 29 and have not experienced the :define_method crash reported here, or any other issues.

It appears that whatever issue was causing the :define_method crash in the 3.0 release has been resolved.

Updated by meliborn (Denis Denis) 6 months ago

Happened again. Attached full stack trace.

Updated by xtkoba (Tee KOBAYASHI) 6 months ago

meliborn (Denis Denis) Would you please follow this part of instructions:

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

Updated by meliborn (Denis Denis) 6 months ago

xtkoba (Tee KOBAYASHI) wrote in #note-9:

meliborn (Denis Denis) Would you please follow this part of instructions:

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

Updated by xtkoba (Tee KOBAYASHI) 6 months ago

I am afraid that in the Crash Report the C backtrace of the crashed thread is not complete and lacks the frames before the signal trampoline.

Updated by meliborn (Denis Denis) 6 months ago

xtkoba (Tee KOBAYASHI) wrote in #note-11:

I am afraid that in the Crash Report the C backtrace of the crashed thread is not complete and lacks the frames before the signal trampoline.

How can I help with it? I don't have any other logs :(

Updated by jeremyevans0 (Jeremy Evans) 4 months ago

meliborn (Denis Denis) Can you test with Ruby 3.0.1 and see if it fixes this issue?

Actions #14

Updated by jeremyevans0 (Jeremy Evans) 3 months ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF