redis-rb icon indicating copy to clipboard operation
redis-rb copied to clipboard

Errno:EFAULT Exception

Open eni9889 opened this issue 5 years ago • 0 comments

I keep getting the following error Errno::EFAULT with the stack below. I cannot seem to find out where this is coming from. Has anyone else experienced this? Any help would be really appreciated.

Errno::EFAULT: Bad address
  from socket.rb:452:in `__read_nonblock'
  from socket.rb:452:in `read_nonblock'
  from redis/connection/ruby.rb:66:in `_read_from_socket'
  from redis/connection/ruby.rb:57:in `gets'
  from redis/connection/ruby.rb:396:in `read'
  from redis/client.rb:273:in `block in read'
  from redis/client.rb:261:in `io'
  from redis/client.rb:272:in `read'
  from redis/client.rb:201:in `block (2 levels) in call_pipelined'
  from redis/client.rb:197:in `each'
  from redis/client.rb:197:in `each_with_index'
  from redis/client.rb:197:in `block in call_pipelined'
  from redis/client.rb:241:in `block (2 levels) in process'
  from redis/client.rb:385:in `ensure_connected'
  from redis/client.rb:231:in `block in process'
  from redis/client.rb:320:in `logging'
  from redis/client.rb:230:in `process'
  from redis/client.rb:196:in `call_pipelined'
  from redis/client.rb:164:in `block in call_pipeline'
  from redis/client.rb:307:in `with_reconnect'
  from redis/client.rb:162:in `call_pipeline'
  from new_relic/agent/instrumentation/redis.rb:131:in `block in call_pipeline'
  from new_relic/agent/tracer.rb:371:in `capture_segment_error'
  from new_relic/agent/instrumentation/redis.rb:130:in `call_pipeline'
  from redis.rb:2463:in `block in multi'
  from redis.rb:51:in `block in synchronize'
  from monitor.rb:235:in `mon_synchronize'
  from redis.rb:51:in `synchronize'
  from redis.rb:2455:in `multi'
  from sidekiq/client.rb:188:in `block in raw_push'
  from connection_pool.rb:65:in `block (2 levels) in with'
  from connection_pool.rb:64:in `handle_interrupt'
  from connection_pool.rb:64:in `block in with'
  from connection_pool.rb:61:in `handle_interrupt'
  from connection_pool.rb:61:in `with'
  from sidekiq/client.rb:187:in `raw_push'
  from sidekiq/batch/client.rb:40:in `raw_push'
  from sidekiq/pro/push.rb:41:in `raw_push'
  from sidekiq/client.rb:74:in `push'
  from sidekiq/client.rb:136:in `push'
  from active_job/queue_adapters/sidekiq_adapter.rb:22:in `enqueue'
  from active_job/enqueuing.rb:53:in `block in enqueue'
  from active_support/callbacks.rb:109:in `block in run_callbacks'
  from app/jobs/application_job.rb:55:in `block in <class:ApplicationJob>'
  from active_support/callbacks.rb:118:in `instance_exec'
  from active_support/callbacks.rb:118:in `block in run_callbacks'
  from new_relic/agent/instrumentation/active_job.rb:61:in `block in run_in_trace'
  from new_relic/agent/method_tracer.rb:75:in `block in trace_execution_scoped'
  from new_relic/agent/method_tracer_helpers.rb:30:in `block in trace_execution_scoped'
  from new_relic/agent/tracer.rb:371:in `capture_segment_error'
  from new_relic/agent/method_tracer_helpers.rb:30:in `trace_execution_scoped'
  from new_relic/agent/method_tracer.rb:73:in `trace_execution_scoped'
  from new_relic/agent/instrumentation/active_job.rb:60:in `run_in_trace'
  from new_relic/agent/instrumentation/active_job.rb:38:in `enqueue'
  from new_relic/agent/instrumentation/active_job.rb:19:in `block (4 levels) in <main>'
  from active_support/callbacks.rb:118:in `instance_exec'
  from active_support/callbacks.rb:118:in `block in run_callbacks'
  from active_job/logging.rb:17:in `block (3 levels) in <module:Logging>'
  from active_job/logging.rb:46:in `block in tag_logger'
  from active_support/tagged_logging.rb:71:in `block in tagged'
  from active_support/tagged_logging.rb:28:in `tagged'
  from active_support/tagged_logging.rb:71:in `tagged'
  from active_job/logging.rb:46:in `tag_logger'
  from active_job/logging.rb:16:in `block (2 levels) in <module:Logging>'
  from active_support/callbacks.rb:118:in `instance_exec'
  from active_support/callbacks.rb:118:in `block in run_callbacks'
  from active_support/callbacks.rb:136:in `run_callbacks'
  from active_job/enqueuing.rb:49:in `enqueue'
  from active_job/enqueuing.rb:20:in `perform_later'
  from app/controllers/v1/analytics/interactions_controller.rb:15:in `create'
  from action_controller/metal/basic_implicit_render.rb:6:in `send_action'
  from abstract_controller/base.rb:194:in `process_action'
  from scout_apm/instruments/action_controller_rails_3_rails4.rb:103:in `process_action'
  from action_controller/metal/rendering.rb:30:in `process_action'
  from abstract_controller/callbacks.rb:42:in `block in process_action'
  from active_support/callbacks.rb:109:in `block in run_callbacks'
  from raven/integrations/rails/controller_transaction.rb:7:in `block in included'
  from active_support/callbacks.rb:118:in `instance_exec'
  from active_support/callbacks.rb:118:in `block in run_callbacks'
  from active_support/callbacks.rb:136:in `run_callbacks'
  from abstract_controller/callbacks.rb:41:in `process_action'
  from action_controller/metal/rescue.rb:22:in `process_action'
  from action_controller/metal/instrumentation.rb:34:in `block in process_action'
  from active_support/notifications.rb:168:in `block in instrument'
  from active_support/notifications/instrumenter.rb:23:in `instrument'
  from active_support/notifications.rb:168:in `instrument'
  from action_controller/metal/instrumentation.rb:32:in `process_action'
  from action_controller/metal/params_wrapper.rb:256:in `process_action'
  from active_record/railties/controller_runtime.rb:24:in `process_action'
  from scout_apm/instruments/action_controller_rails_3_rails4.rb:103:in `process_action'
  from abstract_controller/base.rb:134:in `process'
  from action_view/rendering.rb:32:in `process'
  from action_controller/metal.rb:191:in `dispatch'
  from action_controller/metal.rb:252:in `dispatch'
  from action_dispatch/routing/route_set.rb:52:in `dispatch'
  from action_dispatch/routing/route_set.rb:34:in `serve'
  from action_dispatch/journey/router.rb:52:in `block in serve'
  from action_dispatch/journey/router.rb:35:in `each'
  from action_dispatch/journey/router.rb:35:in `serve'
  from action_dispatch/routing/route_set.rb:840:in `call'
  from scout_apm/instruments/rails_router.rb:29:in `call_with_scout_instruments'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from omniauth/strategy.rb:190:in `call!'
  from omniauth/strategy.rb:168:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from omniauth/strategy.rb:190:in `call!'
  from omniauth/strategy.rb:168:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from omniauth/builder.rb:63:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from new_relic/rack/agent_hooks.rb:30:in `traced_call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from new_relic/rack/browser_monitoring.rb:33:in `traced_call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from scout_apm/middleware.rb:17:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/session/abstract/id.rb:266:in `context'
  from rack/session/abstract/id.rb:260:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/cookies.rb:670:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/method_override.rb:24:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/session/abstract/id.rb:266:in `context'
  from rack/session/abstract/id.rb:260:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/cookies.rb:670:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from warden/manager.rb:36:in `block in call'
  from warden/manager.rb:35:in `catch'
  from warden/manager.rb:35:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/etag.rb:27:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/conditional_get.rb:40:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/head.rb:12:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/callbacks.rb:28:in `block in call'
  from active_support/callbacks.rb:98:in `run_callbacks'
  from action_dispatch/middleware/callbacks.rb:26:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/debug_exceptions.rb:61:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/show_exceptions.rb:33:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rails/rack/logger.rb:38:in `call_app'
  from rails/rack/logger.rb:26:in `block in call'
  from active_support/tagged_logging.rb:71:in `block in tagged'
  from active_support/tagged_logging.rb:28:in `tagged'
  from active_support/tagged_logging.rb:71:in `tagged'
  from rails/rack/logger.rb:26:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/remote_ip.rb:81:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from request_store/middleware.rb:19:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/request_id.rb:27:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rails_same_site_cookie/middleware.rb:13:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/runtime.rb:22:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/executor.rb:14:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from action_dispatch/middleware/static.rb:127:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/sendfile.rb:110:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from raven/integrations/rack.rb:51:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from rack/cors.rb:97:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from scout_apm/instruments/middleware_summary.rb:58:in `call'
  from rails/engine.rb:524:in `call'
  from new_relic/agent/instrumentation/middleware_tracing.rb:101:in `call'
  from puma/configuration.rb:228:in `call'
  from puma/server.rb:682:in `handle_request'
  from puma/server.rb:472:in `process_client'
  from puma/server.rb:328:in `block in run'
  from puma/thread_pool.rb:134:in `block in spawn_thread'

eni9889 avatar Oct 15 '20 13:10 eni9889