-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hello, I have a "small" reproducible segfault at https://github.com/vhiairrassary/debug-duckdb-with-solid-queue.
My notes:
SELECTstatements are fine, it happens when doing aCREATE SECRETstatement- Job only fails when running asynchronously in Solid Queue (using
.perform_later), synchronous executions (.perform_now) are fine - The repository contains two commits
- a
rails new debug-duckdb-with-solid-queue --database=postgresql(I do not have the issue with sqlite) - the code causing the issue (see below) and few lines of configuration
- a
class DebugJob < ApplicationJob
def perform
DuckDB::Database.open do |db|
db.connect do |conn|
p conn.query('SELECT 1').to_a
p conn.query('SELECT 2').to_a
conn.query("CREATE SECRET s3_secret (TYPE S3, KEY_ID 'abc', SECRET 'def')")
end
end
end
end
To reproduce, open three terminals:
- First: run Postgres using
podman run --rm -ti -e 'POSTGRES_USER=my_user' -e 'POSTGRES_PASSWORD=my_password' -e 'POSTGRES_DB=postgres' -p '5432:5432' postgres:17.5-alpine - Second: prepare database (using
bundle exec rails db:drop db:create db:migrate db:seed) and then launch Solid Queue using./bin/jobs - Third: in a Rails console
-
reload!; DebugJob.perform_now✅Log
Reloading... Performing DebugJob (Job ID: b561988e-dcb7-4a7d-98d6-35f17530297a) from SolidQueue(default) ↳ (debug-duckdb-with-solid-queue):3:in '<main>' [[1]] [[2]] Performed DebugJob (Job ID: b561988e-dcb7-4a7d-98d6-35f17530297a) from SolidQueue(default) in 23.92ms ↳ (debug-duckdb-with-solid-queue):3:in '<main>' => #<DuckDB::Result:0x0000000123dd37a8> -
reload!; DebugJob.perform_later🔴Log
[[1]] [[2]] /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/extracted_statements.rb:16: [BUG] Segmentation fault at 0x0000000000000110 ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [arm64-darwin24] -- Crash Report log information -------------------------------------------- See Crash Report log file in one of the following locations: * ~/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:0067 p:---- s:0381 e:000380 CFUNC :prepared_statement c:0066 p:0008 s:0375 e:000374 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/extracted_statements.rb:16 c:0065 p:0024 s:0371 e:000370 METHOD <internal:numeric>:257 c:0064 p:0019 s:0366 e:000365 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/extracted_statements.rb:15 c:0063 p:0017 s:0362 e:000361 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/connection.rb:38 c:0062 p:0017 s:0355 e:000354 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/connection.rb:27 c:0061 p:0030 s:0348 e:000347 BLOCK /Users/vhiairrassary/Code/vhiairrassary/debug-duckdb-with-solid-queue/app/jobs/debug_job.rb:8 c:0060 p:0017 s:0344 e:000343 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/database.rb:79 c:0059 p:0005 s:0339 e:000338 BLOCK /Users/vhiairrassary/Code/vhiairrassary/debug-duckdb-with-solid-queue/app/jobs/debug_job.rb:4 c:0058 p:0027 s:0335 e:000334 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/database.rb:46 c:0057 p:0005 s:0328 e:000327 METHOD /Users/vhiairrassary/Code/vhiairrassary/debug-duckdb-with-solid-queue/app/jobs/debug_job.rb:3 c:0056 p:0008 s:0324 e:000323 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:68 c:0055 p:0048 s:0321 e:000319 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:120 c:0054 p:0026 s:0311 e:000310 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/i18n-1.14.7/lib/i18n.rb:353 c:0053 p:0011 s:0305 e:000304 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/translation.rb:9 [FINISH] c:0052 p:---- s:0300 e:000299 CFUNC :instance_exec c:0051 p:0127 s:0294 e:000293 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129 c:0050 p:0027 s:0285 e:000284 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/core_ext/time/zones. c:0049 p:0011 s:0278 e:000277 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/timezones.rb:9 [FINISH] c:0048 p:---- s:0273 e:000272 CFUNC :instance_exec c:0047 p:0127 s:0267 e:000266 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129 c:0046 p:0110 s:0258 E:0021a0 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:140 c:0045 p:0014 s:0248 E:002210 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:67 c:0044 p:0010 s:0244 e:000243 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:32 c:0043 p:0022 s:0240 e:000239 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:51 c:0042 p:0004 s:0234 e:000233 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:26 c:0041 p:0011 s:0231 e:000230 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activerecord-8.0.2/lib/active_record/railties/job_runtime.r c:0040 p:0011 s:0226 e:000225 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:40 c:0039 p:0010 s:0222 e:000221 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/notifications.rb:210 c:0038 p:0027 s:0219 e:000218 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/notifications/instru c:0037 p:0023 s:0211 e:000210 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/notifications.rb:210 c:0036 p:0039 s:0205 e:000204 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:39 c:0035 p:0025 s:0198 E:002648 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activerecord-8.0.2/lib/active_record/railties/job_runtime.r c:0034 p:0006 s:0191 E:002610 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:26 c:0033 p:0004 s:0187 e:000186 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/logging.rb:32 c:0032 p:0003 s:0184 e:000183 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:14 c:0031 p:0014 s:0181 e:000180 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:38 c:0030 p:0015 s:0175 e:000174 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:14 c:0029 p:0052 s:0169 e:000168 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/broadcast_logger.rb: c:0028 p:0034 s:0159 e:000158 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/logging.rb:39 c:0027 p:0012 s:0153 e:000152 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/logging.rb:32 c:0026 p:0011 s:0149 e:000148 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:29 c:0025 p:0048 s:0145 e:000143 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:120 c:0024 p:0004 s:0135 e:000134 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/railtie.rb:95 c:0023 p:0008 s:0132 e:000131 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/reloader.rb:77 c:0022 p:0016 s:0128 e:000127 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/execution_wrapper.rb c:0021 p:0016 s:0120 e:000119 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/reloader.rb:74 c:0020 p:0008 s:0115 e:000114 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/railtie.rb:94 [FINISH] c:0019 p:---- s:0110 e:000109 CFUNC :instance_exec c:0018 p:0127 s:0104 e:000103 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129 c:0017 p:0110 s:0095 E:0012f0 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:140 c:0016 p:0007 s:0085 E:001168 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:27 c:0015 p:0020 s:0080 E:002438 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/app/models/solid_queue/claimed_execution. c:0014 p:0003 s:0075 E:0007b8 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/app/models/solid_queue/claimed_execution. c:0013 p:0005 s:0070 E:0014f0 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/lib/solid_queue/pool.rb:23 c:0012 p:0024 s:0067 E:001eb0 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/execution_wrapper.rb c:0011 p:0018 s:0059 E:000818 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/lib/solid_queue/app_executor.rb:7 c:0010 p:0005 s:0054 E:0007e8 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/lib/solid_queue/pool.rb:22 c:0009 p:0011 s:0050 E:000128 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/promis c:0008 p:0011 s:0041 E:000850 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/promis c:0007 p:0008 s:0036 E:002230 METHOD /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/execut c:0006 p:0041 s:0028 E:0010a8 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/execut c:0005 p:0017 s:0022 E:0020c8 METHOD <internal:kernel>:168 c:0004 p:0004 s:0017 E:001800 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/execut [FINISH] c:0003 p:---- s:0014 e:000013 CFUNC :catch c:0002 p:0006 s:0009 E:0017d8 BLOCK /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/execut [FINISH] c:0001 p:---- s:0003 e:000002 DUMMY [FINISH] -- Ruby level backtrace information ---------------------------------------- /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in 'block in create_worker' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in 'catch' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in 'block (2 levels) in create_worker' <internal:kernel>:168:in 'loop' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in 'block (3 levels) in create_worker' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in 'run_task' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/promises.rb:1776:in 'block in on_resolvable' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby/concurrent/promises.rb:1593:in 'evaluate_to' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/lib/solid_queue/pool.rb:22:in 'block in post' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/lib/solid_queue/app_executor.rb:7:in 'wrap_in_app_executor' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/execution_wrapper.rb:91:in 'wrap' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/lib/solid_queue/pool.rb:23:in 'block (2 levels) in post' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/app/models/solid_queue/claimed_execution.rb:64:in 'perform' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/solid_queue-1.2.1/app/models/solid_queue/claimed_execution.rb:102:in 'execute' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:27:in 'execute' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:140:in 'run_callbacks' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'block in run_callbacks' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'instance_exec' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/railtie.rb:94:in 'block (3 levels) in <class:Railtie>' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/reloader.rb:74:in 'wrap' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/execution_wrapper.rb:87:in 'wrap' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/reloader.rb:77:in 'block in wrap' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/railtie.rb:95:in 'block (4 levels) in <class:Railtie>' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:120:in 'block in run_callbacks' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:29:in 'block in execute' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/logging.rb:32:in 'perform_now' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/logging.rb:39:in 'tag_logger' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/broadcast_logger.rb:241:in 'method_missing' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:143:in 'tagged' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:38:in 'tagged' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/tagged_logging.rb:143:in 'block in tagged' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/logging.rb:32:in 'block in perform_now' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:26:in 'perform_now' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activerecord-8.0.2/lib/active_record/railties/job_runtime.rb:11:in 'instrument' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:39:in 'instrument' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/notifications.rb:210:in 'instrument' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/notifications/instrumenter.rb:58:in 'instrument' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/notifications.rb:210:in 'block in instrument' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:40:in 'block in instrument' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activerecord-8.0.2/lib/active_record/railties/job_runtime.rb:13:in 'block in instrument' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:26:in 'block in perform_now' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:51:in 'perform_now' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/instrumentation.rb:32:in '_perform_job' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:67:in '_perform_job' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:140:in 'run_callbacks' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'block in run_callbacks' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'instance_exec' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/timezones.rb:9:in 'block (2 levels) in <module:Timezones>' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/core_ext/time/zones.rb:65:in 'use_zone' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'block in run_callbacks' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:129:in 'instance_exec' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/translation.rb:9:in 'block (2 levels) in <module:Translation>' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/i18n-1.14.7/lib/i18n.rb:353:in 'with_locale' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activesupport-8.0.2/lib/active_support/callbacks.rb:120:in 'block in run_callbacks' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/activejob-8.0.2/lib/active_job/execution.rb:68:in 'block in _perform_job' /Users/vhiairrassary/Code/vhiairrassary/debug-duckdb-with-solid-queue/app/jobs/debug_job.rb:3:in 'perform' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/database.rb:46:in 'open' /Users/vhiairrassary/Code/vhiairrassary/debug-duckdb-with-solid-queue/app/jobs/debug_job.rb:4:in 'block in perform' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/database.rb:79:in 'connect' /Users/vhiairrassary/Code/vhiairrassary/debug-duckdb-with-solid-queue/app/jobs/debug_job.rb:8:in 'block (2 levels) in perform' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/connection.rb:27:in 'query' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/connection.rb:38:in 'query_multi_sql' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/extracted_statements.rb:15:in 'each' <internal:numeric>:257:in 'times' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/extracted_statements.rb:16:in 'block in each' /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/ruby/gems/3.4.0/gems/duckdb-1.3.1.0/lib/duckdb/extracted_statements.rb:16:in 'prepared_statement' -- Threading information --------------------------------------------------- Total ractor count: 1 Ruby thread count for this ractor: 4 -- Machine register context ------------------------------------------------ x0: 0x00000001218f42d0 x1: 0x00000001218f42d0 x2: 0x0000000000000001 x3: 0x0000000000000001 x4: 0x0000000196888024 x5: 0x0000000000000001 x6: 0x0000000121e9e260 x7: 0x0000000000000cb0 x18: 0x0000000000000000 x19: 0x0000000204b82000 x20: 0x000000016fa470e0 x21: 0x000000016fa47180 x22: 0x0000000121e9fcf0 x23: 0x0000000121e9fcf0 x24: 0x0000000121e9fcb0 x25: 0x00000000100008ff x26: 0x0000000121e9fcf0 x27: 0x0000000000000001 x28: 0x0000000000000104 lr: 0x00000001968cad84 fp: 0x000000016fa3f9c0 sp: 0x000000016fa3f910 -- C level backtrace information ------------------------------------------- /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/libruby.3.4.dylib(rb_vm_bugreport+0xb6c) [0x10160f8c8] /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/libruby.3.4.dylib(rb_bug_for_fatal_signal+0x100) [0x10144a600] /Users/vhiairrassary/.rbenv/versions/3.4.5/lib/libruby.3.4.dylib(sigsegv+0x84) [0x10157048c] /usr/lib/system/libsystem_platform.dylib(_sigtramp+0x38) [0x196aa8624] /usr/lib/system/libdispatch.dylib(_dispatch_apply_with_attr_f+0x4f8) [0x1968cad84] [0x1968caf34] [0x196c8ed98] [0x196b0f2d8] [0x196cd14a0] [0x196b0dbe4] [0x196b0d8f4] [0x196b0d47c] [0x196b0d3b4] [0x196b0d370] [0x196b069b8] [0x196c8f54c] [0x196b06328] [0x196b06260] [0x197d671a0] [0x1538daa90] [0x1538da290] [0x153abca88]
-
I am trying to simplify the example and find the root cause.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels