Issue #18041 has been updated by applenotbanana (Apple Banana).


is it problem with excon?

----------------------------------------
Bug #18041: [BUG] Segmentation fault - ruby 2.5.8p224 (2020-03-31 revision 67882) [aarch64-linux]
https://bugs.ruby-lang.org/issues/18041#change-92973

* Author: applenotbanana (Apple Banana)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.5.8p224 (2020-03-31 revision 67882) [aarch64-linux]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
/usr/local/lib/ruby/2.5.0/openssl/buffering.rb:388: [BUG] Segmentation fault at 0x0020ffffaf56467c
ruby 2.5.8p224 (2020-03-31 revision 67882) [aarch64-linux]

-- Control frame information -----------------------------------------------
c:0053 p:---- s:0311 e:000310 CFUNC  :syswrite_nonblock
c:0052 p:0013 s:0305 e:000304 METHOD /usr/local/lib/ruby/2.5.0/openssl/buffering.rb:388
c:0051 p:0012 s:0298 e:000297 BLOCK  /usr/local/bundle/gems/excon-0.71.1/lib/excon/socket.rb:246 [FINISH]
c:0050 p:---- s:0292 e:000291 CFUNC  :loop
c:0049 p:0013 s:0288 e:000287 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/socket.rb:241
c:0048 p:0011 s:0283 e:000282 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/socket.rb:89
c:0047 p:0490 s:0278 e:000277 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/connection.rb:173
c:0046 p:0422 s:0269 e:000268 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/mock.rb:57
c:0045 p:0103 s:0261 e:000260 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/instrumentor.rb:34
c:0044 p:0036 s:0255 e:000254 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/idempotent.rb:19
c:0043 p:0008 s:0250 e:000249 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/base.rb:22
c:0042 p:0008 s:0245 e:000244 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/base.rb:22
c:0041 p:0008 s:0240 e:000239 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/base.rb:22
c:0040 p:0057 s:0235 e:000234 METHOD /usr/local/bundle/bundler/gems/cloud_native_rails-79951caf75f4/lib/cloud_native_rails/railtie.rb:59
c:0039 p:0464 s:0229 E:0007f8 METHOD /usr/local/bundle/gems/excon-0.71.1/lib/excon/connection.rb:275
c:0038 p:0034 s:0218 e:000217 METHOD /usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/confluent_schema_registry.rb:103
c:0037 p:0020 s:0211 e:000210 METHOD /usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/confluent_schema_registry.rb:90
c:0036 p:0036 s:0205 e:000204 METHOD /usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/confluent_schema_registry.rb:43
c:0035 p:0035 s:0199 e:000195 METHOD /usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/cached_confluent_schema_registry.rb:37
c:0034 p:0010 s:0190 e:000189 METHOD /usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/messaging.rb:122
c:0033 p:0026 s:0181 e:000180 METHOD /usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/messaging.rb:57
c:0032 p:0150 s:0166 e:000165 METHOD /app/config/initializers/kafka.rb:41
c:0031 p:0025 s:0151 e:000150 METHOD /app/app/components/payments/sync.rb:19
c:0030 p:0004 s:0147 e:000146 METHOD /app/app/components/payments/sync.rb:11
c:0029 p:0011 s:0143 e:000142 METHOD /app/app/components/service.rb:7
c:0028 p:0013 s:0138 e:000137 METHOD /app/app/models/order.rb:367
c:0027 p:0013 s:0134 e:000133 EVAL   (pry):2 [FINISH]
c:0026 p:---- s:0131 e:000130 CFUNC  :eval
c:0025 p:0044 s:0124 e:000123 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:387
c:0024 p:0250 s:0118 e:000117 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:355
c:0023 p:0011 s:0107 e:000106 BLOCK  /usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:274 [FINISH]
c:0022 p:---- s:0104 e:000103 CFUNC  :catch
c:0021 p:0008 s:0099 e:000098 BLOCK  /usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:273 [FINISH]
c:0020 p:---- s:0096 e:000095 CFUNC  :catch
c:0019 p:0022 s:0091 e:000090 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:272
c:0018 p:0062 s:0083 e:000082 BLOCK  /usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:77 [FINISH]
c:0017 p:---- s:0079 e:000078 CFUNC  :loop
c:0016 p:0005 s:0075 e:000074 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:67
c:0015 p:0005 s:0071 e:000070 BLOCK  /usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:38 [FINISH]
c:0014 p:0015 s:0068 e:000067 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/input_lock.rb:59
c:0013 p:0028 s:0063 e:000062 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/input_lock.rb:77
c:0012 p:0023 s:0057 E:0021c0 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:38
c:0011 p:0019 s:0053 e:000052 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:13
c:0010 p:0196 s:0048 e:000047 METHOD /usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_class.rb:200
c:0009 p:0078 s:0041 e:000040 METHOD /usr/local/bundle/gems/pry-byebug-3.7.0/lib/pry-byebug/pry_ext.rb:13
c:0008 p:0201 s:0035 e:000034 METHOD /usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/console.rb:110
c:0007 p:0011 s:0031 e:000030 METHOD /usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/console.rb:9
c:0006 p:0087 s:0026 e:000025 METHOD /usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:68
c:0005 p:0028 s:0021 e:000020 METHOD /usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:39
c:0004 p:0111 s:0016 e:000015 TOP    /usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands.rb:17 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC  :require
c:0002 p:0031 s:0006 e:000005 EVAL   bin/rails:4 [FINISH]
c:0001 p:0000 s:0003 E:001c40 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
bin/rails:4:in `<main>'
bin/rails:4:in `require'
/usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands.rb:17:in `<top (required)>'
/usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
/usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/commands_tasks.rb:68:in `console'
/usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/console.rb:9:in `start'
/usr/local/bundle/gems/railties-4.2.11.3/lib/rails/commands/console.rb:110:in `start'
/usr/local/bundle/gems/pry-byebug-3.7.0/lib/pry-byebug/pry_ext.rb:13:in `start_with_pry_byebug'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_class.rb:200:in `start'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:13:in `start'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:38:in `start'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/input_lock.rb:77:in `with_ownership'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/input_lock.rb:59:in `__with_ownership'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:38:in `block in start'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:67:in `repl'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:67:in `loop'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/repl.rb:77:in `block in repl'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:272:in `eval'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:272:in `catch'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:273:in `block in eval'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:273:in `catch'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:274:in `block (2 levels) in eval'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:355:in `handle_line'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:387:in `evaluate_ruby'
/usr/local/bundle/gems/pry-0.12.2/lib/pry/pry_instance.rb:387:in `eval'
(pry):2:in `<main>'
/app/app/models/order.rb:367:in `sync'
/app/app/components/service.rb:7:in `call'
/app/app/components/payments/sync.rb:11:in `call'
/app/app/components/payments/sync.rb:19:in `send_to_kafka'
/app/config/initializers/kafka.rb:41:in `produce'
/usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/messaging.rb:57:in `encode'
/usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/messaging.rb:122:in `fetch_schema'
/usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/cached_confluent_schema_registry.rb:37:in `subject_version'
/usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/confluent_schema_registry.rb:43:in `subject_version'
/usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/confluent_schema_registry.rb:90:in `get'
/usr/local/bundle/bundler/gems/avro_turf-02bcb167cfc8/lib/avro_turf/confluent_schema_registry.rb:103:in `request'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/connection.rb:275:in `request'
/usr/local/bundle/bundler/gems/cloud_native_rails-79951caf75f4/lib/cloud_native_rails/railtie.rb:59:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/base.rb:22:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/base.rb:22:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/base.rb:22:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/idempotent.rb:19:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/instrumentor.rb:34:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/middlewares/mock.rb:57:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/connection.rb:173:in `request_call'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/socket.rb:89:in `write'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/socket.rb:241:in `write_nonblock'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/socket.rb:241:in `loop'
/usr/local/bundle/gems/excon-0.71.1/lib/excon/socket.rb:246:in `block in write_nonblock'
/usr/local/lib/ruby/2.5.0/openssl/buffering.rb:388:in `write_nonblock'
/usr/local/lib/ruby/2.5.0/openssl/buffering.rb:388:in `syswrite_nonblock'

-- C level backtrace information -------------------------------------------
Segmentation fault



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>