Skip to content

makeSharedShape() called on a shared shape #3179

Open
@nirvdrum

Description

@nirvdrum

While running a Rails application under Puma I encountered java.lang.UnsupportedOperationException: makeSharedShape() can only be called on non-shared shapes.. I've seen this error pop up before, although likely under different circumstances. Can we make the sharing operation idempotent?

Ruby Thread id=83 from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/thread_pool.rb:110 terminated with internal error: (java.lang.RuntimeException)
	from org.truffleruby.core.thread.ThreadManager.printInternalError(ThreadManager.java:360)
	from org.truffleruby.core.thread.ThreadManager.threadMain(ThreadManager.java:349)
	from org.truffleruby.core.thread.ThreadManager.lambda$initialize$4(ThreadManager.java:320)
	from java.lang.Thread.runWith(Thread.java:1596)
	from java.lang.Thread.run(Thread.java:1583)
	from com.oracle.truffle.polyglot.PolyglotThread.access$001(PolyglotThread.java:53)
	from com.oracle.truffle.polyglot.PolyglotThread$1.execute(PolyglotThread.java:106)
	from com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.executeImpl(PolyglotThread.java:140)
	from com.oracle.truffle.polyglot.PolyglotThread$ThreadSpawnRootNode.execute(PolyglotThread.java:131)
/home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/single.rb:63:in `join'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/single.rb:63:in `run'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/launcher.rb:194:in `run'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/cli.rb:75:in `run'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/bin/puma:10:in `<top (required)>'
	from <internal:core> core/kernel.rb:381:in `load'
	from ./bin/puma:17:in `<main>'
Caused by:
makeSharedShape() can only be called on non-shared shapes. (java.lang.UnsupportedOperationException)
	from com.oracle.truffle.object.ShapeImpl.makeSharedShape(ShapeImpl.java:1115)
	from com.oracle.truffle.object.DynamicObjectLibraryImpl$MakeSharedNode.makeSharedShape(DynamicObjectLibraryImpl.java:1837)
	from com.oracle.truffle.object.DynamicObjectLibraryImplFactory$MakeSharedNodeGen$Uncached.execute(DynamicObjectLibraryImplFactory.java:452)
	from com.oracle.truffle.object.DynamicObjectLibraryImpl.markShared(DynamicObjectLibraryImpl.java:271)
	from com.oracle.truffle.object.DynamicObjectLibraryImplGen$DynamicObjectLibraryExports$Uncached.markShared(DynamicObjectLibraryImplGen.java:1591)
	from com.oracle.truffle.api.object.DynamicObjectLibraryGen$CachedToUncachedDispatch.markShared(DynamicObjectLibraryGen.java:1405)
	from com.oracle.truffle.api.object.DynamicObjectLibraryGen$CachedDispatch.markShared(DynamicObjectLibraryGen.java:2051)
	from org.truffleruby.language.objects.shared.ShareObjectNode.shareCached(ShareObjectNode.java:69)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeAndSpecialize(ShareObjectNodeGen.java:173)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeInternal(ShareObjectNodeGen.java:117)
	from org.truffleruby.language.objects.shared.ShareObjectNode.execute(ShareObjectNode.java:45)
	from org.truffleruby.language.objects.shared.ShareObjectNode.executeCached(ShareObjectNode.java:49)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.writeBarrierCached(WriteBarrierNode.java:79)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeAndSpecialize(WriteBarrierNodeGen.java:264)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeInternal(WriteBarrierNodeGen.java:166)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:41)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.executeCached(WriteBarrierNode.java:49)
	from org.truffleruby.language.objects.shared.ShareObjectNode.shareCached(ShareObjectNode.java:86)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeAndSpecialize(ShareObjectNodeGen.java:173)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeInternal(ShareObjectNodeGen.java:117)
	from org.truffleruby.language.objects.shared.ShareObjectNode.execute(ShareObjectNode.java:45)
	from org.truffleruby.language.objects.shared.ShareObjectNode.executeCached(ShareObjectNode.java:49)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.writeBarrierCached(WriteBarrierNode.java:79)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeAndSpecialize(WriteBarrierNodeGen.java:264)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeInternal(WriteBarrierNodeGen.java:166)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:41)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.executeCached(WriteBarrierNode.java:49)
	from org.truffleruby.language.objects.shared.ShareObjectNode.shareCached(ShareObjectNode.java:86)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeAndSpecialize(ShareObjectNodeGen.java:173)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeInternal(ShareObjectNodeGen.java:117)
	from org.truffleruby.language.objects.shared.ShareObjectNode.execute(ShareObjectNode.java:45)
	from org.truffleruby.language.objects.shared.ShareObjectNode.executeCached(ShareObjectNode.java:49)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.writeBarrierCached(WriteBarrierNode.java:79)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen$Inlined.executeAndSpecialize(WriteBarrierNodeGen.java:552)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen$Inlined.executeInternal(WriteBarrierNodeGen.java:454)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:41)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:45)
	from org.truffleruby.core.array.library.ObjectArrayStore$ShareElements.shareElements(ObjectArrayStore.java:105)
	from org.truffleruby.core.array.library.ObjectArrayStoreGen$ArrayStoreLibraryExports$Cached.shareElementsAndSpecialize(ObjectArrayStoreGen.java:165)
	from org.truffleruby.core.array.library.ObjectArrayStoreGen$ArrayStoreLibraryExports$Cached.shareElements(ObjectArrayStoreGen.java:146)
	from org.truffleruby.core.array.library.ObjectArrayStore.makeShared(ObjectArrayStore.java:89)
	from org.truffleruby.core.array.library.ObjectArrayStoreGen$ArrayStoreLibraryExports$Cached.makeShared(ObjectArrayStoreGen.java:401)
	from org.truffleruby.language.objects.shared.ShareInternalFieldsNode.shareArray(ShareInternalFieldsNode.java:54)
	from org.truffleruby.language.objects.shared.ShareInternalFieldsNodeGen$Inlined.executeAndSpecialize(ShareInternalFieldsNodeGen.java:183)
	from org.truffleruby.language.objects.shared.ShareInternalFieldsNodeGen$Inlined.executeInternal(ShareInternalFieldsNodeGen.java:143)
	from org.truffleruby.language.objects.shared.ShareInternalFieldsNode.execute(ShareInternalFieldsNode.java:45)
	from org.truffleruby.language.objects.shared.ShareObjectNode.shareCached(ShareObjectNode.java:81)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeAndSpecialize(ShareObjectNodeGen.java:173)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeInternal(ShareObjectNodeGen.java:117)
	from org.truffleruby.language.objects.shared.ShareObjectNode.execute(ShareObjectNode.java:45)
	from org.truffleruby.language.objects.shared.ShareObjectNode.executeCached(ShareObjectNode.java:49)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.writeBarrierCached(WriteBarrierNode.java:79)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeAndSpecialize(WriteBarrierNodeGen.java:264)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeInternal(WriteBarrierNodeGen.java:166)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:41)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.executeCached(WriteBarrierNode.java:49)
	from org.truffleruby.language.objects.shared.ShareObjectNode.shareCached(ShareObjectNode.java:86)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeAndSpecialize(ShareObjectNodeGen.java:173)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeInternal(ShareObjectNodeGen.java:117)
	from org.truffleruby.language.objects.shared.ShareObjectNode.execute(ShareObjectNode.java:45)
	from org.truffleruby.language.objects.shared.ShareObjectNode.executeCached(ShareObjectNode.java:49)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.writeBarrierCached(WriteBarrierNode.java:79)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeAndSpecialize(WriteBarrierNodeGen.java:264)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen.executeInternal(WriteBarrierNodeGen.java:166)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:41)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.executeCached(WriteBarrierNode.java:49)
	from org.truffleruby.language.objects.shared.ShareObjectNode.shareCached(ShareObjectNode.java:86)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeAndSpecialize(ShareObjectNodeGen.java:173)
	from org.truffleruby.language.objects.shared.ShareObjectNodeGen.executeInternal(ShareObjectNodeGen.java:117)
	from org.truffleruby.language.objects.shared.ShareObjectNode.execute(ShareObjectNode.java:45)
	from org.truffleruby.language.objects.shared.ShareObjectNode.executeCached(ShareObjectNode.java:49)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.writeBarrierCached(WriteBarrierNode.java:79)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen$Inlined.executeAndSpecialize(WriteBarrierNodeGen.java:552)
	from org.truffleruby.language.objects.shared.WriteBarrierNodeGen$Inlined.executeInternal(WriteBarrierNodeGen.java:454)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:41)
	from org.truffleruby.language.objects.shared.WriteBarrierNode.execute(WriteBarrierNode.java:45)
	from org.truffleruby.language.objects.WriteObjectFieldNode.writeShared(WriteObjectFieldNode.java:46)
	from org.truffleruby.language.objects.WriteObjectFieldNodeGen.executeAndSpecialize(WriteObjectFieldNodeGen.java:187)
	from org.truffleruby.language.objects.WriteObjectFieldNodeGen.execute(WriteObjectFieldNodeGen.java:108)
	from org.truffleruby.language.objects.WriteInstanceVariableNode.write(WriteInstanceVariableNode.java:74)
	from org.truffleruby.language.objects.WriteInstanceVariableNode.doWrite(WriteInstanceVariableNode.java:50)
	from org.truffleruby.language.objects.WriteInstanceVariableNodeGen.execute(WriteInstanceVariableNodeGen.java:27)
	from org.truffleruby.language.control.OrLazyValueDefinedNode.doOrLazyValueDefined(OrLazyValueDefinedNode.java:52)
	from org.truffleruby.language.control.OrLazyValueDefinedNodeGen.execute(OrLazyValueDefinedNodeGen.java:88)
	from org.truffleruby.language.control.SequenceNode.execute(SequenceNode.java:37)
	from org.truffleruby.language.RubyMethodRootNode.execute(RubyMethodRootNode.java:65)
/home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/cookies.rb:252:in `encrypted'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/cookies.rb:261:in `signed_or_encrypted'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/cookie_store.rb:118:in `cookie_jar'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/cookie_store.rb:114:in `get_cookie'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/cookie_store.rb:89:in `block (2 levels) in unpacked_cookie_data'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/abstract_store.rb:53:in `stale_session_check!'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/cookie_store.rb:88:in `block in unpacked_cookie_data'
	from <internal:core> core/hash.rb:236:in `fetch'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/request.rb:69:in `fetch_header'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/cookie_store.rb:87:in `unpacked_cookie_data'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/cookie_store.rb:81:in `block in extract_session_id'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/abstract_store.rb:53:in `stale_session_check!'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/session/cookie_store.rb:80:in `extract_session_id'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/request/session.rb:65:in `block in id'
	from <internal:core> core/hash.rb:236:in `fetch'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/request/session.rb:64:in `id'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/request/session.rb:84:in `id'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/session/abstract/id.rb:329:in `current_session_id'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/session/abstract/id.rb:335:in `session_exists?'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/request/session.rb:223:in `exists?'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/request/session.rb:246:in `load_for_read!'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/request/session.rb:111:in `[]'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/request_forgery_protection.rb:451:in `real_csrf_token'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/request_forgery_protection.rb:469:in `csrf_token_hmac'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/request_forgery_protection.rb:463:in `global_csrf_token'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/request_forgery_protection.rb:372:in `masked_authenticity_token'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/request_forgery_protection.rb:359:in `form_authenticity_token'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/request_forgery_protection.rb:107:in `form_authenticity_token'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/helpers/csrf_helper.rb:26:in `csrf_meta_tags'
	from /home/spin/src/github.com/my_app/app/views/layouts/_head.html.erb:8:in `_app_views_layouts__head_html_erb__4452314692641802828_4593720'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/base.rb:244:in `_run'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/template.rb:157:in `block in render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:208:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/template.rb:361:in `instrument_render_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/template.rb:155:in `render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/partial_renderer.rb:251:in `block in render_partial_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:206:in `block in instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:206:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/partial_renderer.rb:246:in `render_partial_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/partial_renderer.rb:237:in `render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/renderer.rb:81:in `render_partial_to_object'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/renderer.rb:53:in `render_partial'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/helpers/rendering_helper.rb:44:in `render'
	from /home/spin/src/github.com/my_app/app/views/layouts/vault/application.html.erb:7:in `_app_views_layouts_vault_application_html_erb__6111068772869713647_4587224'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/base.rb:244:in `_run'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/template.rb:157:in `block in render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:208:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/template.rb:361:in `instrument_render_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/template.rb:155:in `render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/template_renderer.rb:76:in `block in render_with_layout'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:206:in `block in instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:206:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/template_renderer.rb:74:in `render_with_layout'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/template_renderer.rb:59:in `render_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/template_renderer.rb:11:in `render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/rendering.rb:117:in `block in _render_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/base.rb:270:in `in_rendering_context'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/rendering.rb:116:in `_render_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/streaming.rb:216:in `_render_template'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/rendering.rb:103:in `render_to_body'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/rendering.rb:158:in `render_to_body'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/renderers.rb:141:in `render_to_body'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/abstract_controller/rendering.rb:27:in `render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/rendering.rb:139:in `render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/instrumentation.rb:22:in `block (2 levels) in render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/benchmark-0.2.1/lib/benchmark.rb:311:in `realtime'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/core_ext/benchmark.rb:14:in `ms'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/instrumentation.rb:22:in `block in render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/instrumentation.rb:91:in `cleanup_view_runtime'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activerecord-7.0.6/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/instrumentation.rb:21:in `render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/implicit_render.rb:35:in `default_render'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/basic_implicit_render.rb:7:in `send_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/abstract_controller/base.rb:215:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify_metrics-1.19.0/lib/shopify_metrics/action_controller_tags.rb:8:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/rendering.rb:165:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/abstract_controller/callbacks.rb:234:in `block in process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actiontext-7.0.6/lib/action_text/rendering.rb:20:in `with_renderer'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actiontext-7.0.6/lib/action_text/engine.rb:69:in `block (4 levels) in <class:Engine>'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/callbacks.rb:127:in `instance_exec'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
	from /home/spin/.gem/truffleruby/3.1.3/gems/audited-5.3.3/lib/audited/sweeper.rb:16:in `around'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
	from /home/spin/.gem/truffleruby/3.1.3/gems/audited-5.3.3/lib/audited/sweeper.rb:16:in `around'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/callbacks.rb:127:in `block in run_callbacks'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/callbacks.rb:138:in `run_callbacks'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/abstract_controller/callbacks.rb:233:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/rescue.rb:23:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/instrumentation.rb:67:in `block in process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:206:in `block in instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/notifications.rb:206:in `instrument'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/instrumentation.rb:66:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activerecord-7.0.6/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify_metrics-1.19.0/lib/shopify_metrics/action_controller_tags.rb:8:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify_metrics-1.19.0/lib/shopify_metrics/action_controller_tags.rb:8:in `process_action'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/abstract_controller/base.rb:151:in `process'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionview-7.0.6/lib/action_view/rendering.rb:39:in `process'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal.rb:188:in `dispatch'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-instrumentation-action_pack-0.6.0/lib/opentelemetry/instrumentation/action_pack/patches/action_controller/metal.rb:27:in `dispatch'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_controller/metal.rb:251:in `dispatch'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/routing/route_set.rb:32:in `serve'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/journey/router.rb:50:in `block in serve'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/journey/router.rb:32:in `each'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/journey/router.rb:32:in `serve'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/routing/route_set.rb:852:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/static.rb:23:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/omniauth-2.0.4/lib/omniauth/strategy.rb:202:in `call!'
	from /home/spin/.gem/truffleruby/3.1.3/gems/omniauth-2.0.4/lib/omniauth/strategy.rb:169:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/omniauth-2.0.4/lib/omniauth/builder.rb:45:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/bullet-7.0.7/lib/bullet/rack.rb:17:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/static.rb:161:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/tempfile_reaper.rb:15:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/etag.rb:27:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/conditional_get.rb:27:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/head.rb:12:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/http/permissions_policy.rb:38:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/http/content_security_policy.rb:36:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/security_reports-2.4.3.1/lib/security_reports/middleware.rb:15:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/session/abstract/id.rb:266:in `context'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/session/abstract/id.rb:260:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/cookies.rb:704:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activerecord-7.0.6/lib/active_record/migration.rb:603:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/callbacks.rb:99:in `run_callbacks'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/executor.rb:14:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/bugsnag-6.25.2/lib/bugsnag/integrations/rack.rb:51:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/web-console-4.2.0/lib/web_console/middleware.rb:132:in `call_app'
	from /home/spin/.gem/truffleruby/3.1.3/gems/web-console-4.2.0/lib/web_console/middleware.rb:19:in `block in call'
	from <internal:core> core/throw_catch.rb:36:in `catch'
	from /home/spin/.gem/truffleruby/3.1.3/gems/web-console-4.2.0/lib/web_console/middleware.rb:17:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/show_exceptions.rb:29:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/railties-7.0.6/lib/rails/rack/logger.rb:40:in `call_app'
	from /home/spin/.gem/truffleruby/3.1.3/gems/railties-7.0.6/lib/rails/rack/logger.rb:27:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/sprockets-rails-3.4.2/lib/sprockets/rails/quiet_assets.rb:13:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify-cloud-2.23.0/lib/shopify-cloud/canonical_logging/middleware.rb:19:in `block in call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify-cloud-2.23.0/lib/shopify-cloud/logger.rb:189:in `with_unit_of_work'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify-cloud-2.23.0/lib/shopify-cloud/canonical_logging/middleware.rb:18:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/remote_ip.rb:93:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/request_store-1.5.1/lib/request_store/middleware.rb:19:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/request_id.rb:26:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/method_override.rb:24:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/runtime.rb:22:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/activesupport-7.0.6/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/executor.rb:14:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/static.rb:23:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-2.2.7/lib/rack/sendfile.rb:110:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/ssl.rb:77:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/actionpack-7.0.6/lib/action_dispatch/middleware/host_authorization.rb:137:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-cors-2.0.1/lib/rack/cors.rb:102:in `call'
	from /home/spin/src/github.com/my_app/lib/legacy_page_redirector.rb:12:in `call'
	from /home/spin/src/github.com/my_app/lib/short_url_redirector.rb:10:in `call'
	from /home/spin/src/github.com/my_app/lib/ruby_info_header.rb:8:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify_metrics-1.19.0/lib/shopify_metrics/middlewares/raindrops_middleware.rb:22:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/shopify_metrics-1.19.0/lib/shopify_metrics/middlewares/request_metrics_middleware.rb:50:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-instrumentation-rack-0.23.2/lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb:81:in `block (3 levels) in call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-instrumentation-rack-0.23.2/lib/opentelemetry/instrumentation/rack.rb:45:in `block in with_span'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-api-1.2.0/lib/opentelemetry/context.rb:87:in `with_value'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-instrumentation-rack-0.23.2/lib/opentelemetry/instrumentation/rack.rb:45:in `with_span'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-instrumentation-rack-0.23.2/lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb:80:in `block (2 levels) in call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-api-1.2.0/lib/opentelemetry/trace.rb:72:in `block in with_span'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-api-1.2.0/lib/opentelemetry/context.rb:87:in `with_value'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-api-1.2.0/lib/opentelemetry/trace.rb:72:in `with_span'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-api-1.2.0/lib/opentelemetry/trace/tracer.rb:29:in `in_span'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-instrumentation-rack-0.23.2/lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb:77:in `block in call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-api-1.2.0/lib/opentelemetry/context.rb:71:in `with_current'
	from /home/spin/.gem/truffleruby/3.1.3/gems/opentelemetry-instrumentation-rack-0.23.2/lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb:74:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/rack-mini-profiler-3.1.0/lib/mini_profiler.rb:413:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/railties-7.0.6/lib/rails/engine.rb:530:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/commonlogger.rb:47:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/configuration.rb:270:in `call'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/request.rb:100:in `block in handle_request'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/thread_pool.rb:344:in `with_force_shutdown'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/request.rb:99:in `handle_request'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/server.rb:443:in `process_client'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/server.rb:245:in `block in run'
	from /home/spin/.gem/truffleruby/3.1.3/gems/puma-6.3.0/lib/puma/thread_pool.rb:151:in `block in spawn_thread'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions