502 - too much time: prometheus entry_parser.rb:16: [BUG] Bus Error
Summary
I often got "502 - Gitlab is taking too much time"-errors". Got notice, that there is the new Update to 11.3. I've updated Gitlab and now i got the "502" all the time. Can't login, can't go to any page.
Steps to reproduce
Updating to 11.3
What is the current bug behavior?
Always display "502 - Whoops, GitLab is taking too much time to respond.". Even after restart, reconfigure.
What is the expected correct behavior?
Running?
Relevant logs and/or screenshots
/var/log/gitlab/unicorn/current
2018-09-29_10:34:18.11209 Received TERM from runit, sending to process group (-PID)
2018-09-29_10:34:18.12001 Terminated
2018-09-29_10:34:18.12044 forwarding TERM to unicorn master 21245
2018-09-29_10:34:18.12316 Waiting for unicorn to die...
2018-09-29_10:34:19.14196 forwarding CONT to unicorn master 21245
2018-09-29_10:34:19.14199 /opt/gitlab/embedded/bin/gitlab-unicorn-wrapper: line 132: kill: (21245) - No such process
2018-09-29_10:34:19.14351 wrapper for unicorn master 21245 exiting
2018-09-29_10:36:00.69205 starting new unicorn master
2018-09-29_10:36:52.41593 adopted new unicorn master 23597
2018-09-29_10:39:37.52967 Received TERM from runit, sending to process group (-PID)
2018-09-29_10:39:37.53113 Terminated
2018-09-29_10:39:37.53114 forwarding TERM to unicorn master 23597
2018-09-29_10:39:37.56213 forwarding CONT to unicorn master 23597
2018-09-29_10:39:37.56216 Waiting for unicorn to die...
2018-09-29_10:39:38.56950 wrapper for unicorn master 23597 exiting
2018-09-29_10:39:38.59439 starting new unicorn master
2018-09-29_10:40:30.76941 master failed to start, check stderr log for details
2018-09-29_10:40:31.77528 failed to start a new unicorn master
2018-09-29_10:40:31.79222 starting new unicorn master
2018-09-29_10:41:16.97352 master failed to start, check stderr log for details
2018-09-29_10:41:17.98197 failed to start a new unicorn master
...
2018-09-29_20:05:28.22259 master failed to start, check stderr log for details
2018-09-29_20:05:29.22878 failed to start a new unicorn master
2018-09-29_20:05:29.24856 starting new unicorn master
/var/log/gitlab/unicorn/unicorn_stderr.log
I, [2018-09-29T19:39:37.929834 #16539] INFO -- : Refreshing Gem list
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:16: [BUG] Bus Error at 0x00007f8c47876000
ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0059 p:---- s:0352 e:000351 CFUNC :[]
c:0058 p:---- s:0349 e:000348 CFUNC :slice
c:0057 p:0010 s:0344 e:000343 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:16
c:0056 p:0026 s:0340 e:000339 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:38
c:0055 p:0012 s:0336 e:000335 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:42
c:0054 p:0010 s:0331 e:000330 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_dict.rb:68
c:0053 p:0037 s:0327 e:000326 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_dict.rb:34 [FINISH]
c:0052 p:---- s:0321 e:000320 CFUNC :new
c:0051 p:0096 s:0316 e:000313 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:117
c:0050 p:0008 s:0309 e:000308 BLOCK /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:103 [FINISH]
c:0049 p:---- s:0306 e:000305 CFUNC :synchronize
c:0048 p:0015 s:0302 e:000301 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:102
c:0047 p:0097 s:0298 e:000297 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:26 [FINISH]
c:0046 p:---- s:0289 e:000288 CFUNC :new
c:0045 p:0023 s:0281 e:000280 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/uses_value_type.rb:12
c:0044 p:0020 s:0271 e:000270 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/counter.rb:23
c:0043 p:0015 s:0266 e:000262 BLOCK /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/metric.rb:21 [FINISH]
c:0042 p:0012 s:0258 e:000257 BLOCK /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/counter.rb:17 [FINISH]
c:0041 p:---- s:0255 e:000254 CFUNC :synchronize
c:0040 p:0013 s:0251 e:000250 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/metric.rb:76
c:0039 p:0050 s:0246 E:000f18 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/counter.rb:17
c:0038 p:0051 s:0239 e:000238 METHOD /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/requests_rack_middleware.rb:25
c:0037 p:0081 s:0228 e:000227 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/sentry-raven-2.7.2/lib/raven/integrations/rack.rb:51
c:0036 p:0066 s:0220 e:000219 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/engine.rb:518
c:0035 p:0042 s:0215 e:000214 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/application.rb:165 [FINISH]
c:0034 p:---- s:0210 e:000209 CFUNC :public_send
c:0033 p:0033 s:0204 e:000203 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/railtie.rb:194
c:0032 p:0013 s:0197 e:000196 METHOD /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/release_env.rb:10
c:0031 p:0170 s:0192 e:000191 BLOCK /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:66 [FINISH]
c:0030 p:---- s:0183 e:000182 CFUNC :each
c:0029 p:0067 s:0179 e:000178 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:50
c:0028 p:0092 s:0169 e:000168 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/mock.rb:74
c:0027 p:0018 s:0156 e:000155 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/mock.rb:56
c:0026 p:0029 s:0150 e:000149 BLOCK /opt/gitlab/embedded/service/gitlab-rails/config.ru:23 [FINISH]
c:0025 p:0070 s:0145 e:000144 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/builder.rb:148
c:0024 p:0018 s:0140 E:001080 EVAL /opt/gitlab/embedded/service/gitlab-rails/config.ru:31 [FINISH]
c:0023 p:---- s:0137 e:000136 CFUNC :eval
c:0022 p:0107 s:0130 e:000129 LAMBDA /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn.rb:56 [FINISH]
c:0021 p:0090 s:0124 e:000121 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:752
c:0020 p:0083 s:0118 E:001d10 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:129
c:0019 p:0213 s:0114 E:001fc0 TOP /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/bin/unicorn:126 [FINISH]
c:0018 p:---- s:0107 e:000106 CFUNC :load
c:0017 p:0152 s:0102 e:000101 TOP /opt/gitlab/embedded/bin/unicorn:23 [FINISH]
c:0016 p:---- s:0097 e:000096 CFUNC :load
c:0015 p:0148 s:0092 e:000091 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:74
c:0014 p:0089 s:0083 e:000082 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:28
c:0013 p:0032 s:0078 e:000077 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:424
c:0012 p:0078 s:0073 e:000072 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/command.rb:27
c:0011 p:0058 s:0065 e:000064 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126
c:0010 p:0305 s:0058 e:000057 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor.rb:387
c:0009 p:0014 s:0045 e:000044 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:27
c:0008 p:0070 s:0040 e:000039 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/base.rb:466
c:0007 p:0014 s:0033 e:000032 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:18
c:0006 p:0090 s:0027 e:000026 BLOCK /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/exe/bundle:30
c:0005 p:0006 s:0021 e:000020 METHOD /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/friendly_errors.rb:124
c:0004 p:0056 s:0016 E:000bf0 TOP /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/exe/bundle:22 [FINISH]
c:0003 p:---- s:0013 e:000012 CFUNC :load
c:0002 p:0152 s:0008 E:001610 EVAL /opt/gitlab/embedded/bin/bundle:23 [FINISH]
c:0001 p:0000 s:0003 E:001690 (none) [FINISH]
-- Ruby level backtrace information ----------------------------------------
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/exe/bundle:22:in `<top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/exe/bundle:30:in `block in <top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:18:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:27:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli.rb:424:in `exec'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:28:in `run'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/bundler-1.16.2/lib/bundler/cli/exec.rb:74:in `load'
/opt/gitlab/embedded/bin/unicorn:23:in `<top (required)>'
/opt/gitlab/embedded/bin/unicorn:23:in `load'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/bin/unicorn:126:in `<top (required)>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:129:in `start'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn/http_server.rb:752:in `build_app!'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn.rb:56:in `block in builder'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/unicorn-5.1.0/lib/unicorn.rb:56:in `eval'
/opt/gitlab/embedded/service/gitlab-rails/config.ru:31:in `<main>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/builder.rb:148:in `to_app'
/opt/gitlab/embedded/service/gitlab-rails/config.ru:23:in `block (2 levels) in <main>'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/mock.rb:56:in `get'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/mock.rb:74:in `request'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:50:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:50:in `each'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb:66:in `block in call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/middleware/release_env.rb:10:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/railtie.rb:194:in `method_missing'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/railtie.rb:194:in `public_send'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/application.rb:165:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/railties-4.2.10/lib/rails/engine.rb:518:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/sentry-raven-2.7.2/lib/raven/integrations/rack.rb:51:in `call'
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics/requests_rack_middleware.rb:25:in `call'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/counter.rb:17:in `increment'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/metric.rb:76:in `synchronize'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/metric.rb:76:in `synchronize'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/counter.rb:17:in `block in increment'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/metric.rb:21:in `block in initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/counter.rb:23:in `default'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/uses_value_type.rb:12:in `value_object'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/uses_value_type.rb:12:in `new'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:26:in `initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:102:in `initialize_file'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:102:in `synchronize'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:103:in `block in initialize_file'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:117:in `unsafe_initialize_file'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_value.rb:117:in `new'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_dict.rb:34:in `initialize'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/mmaped_dict.rb:68:in `read_all_positions'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:42:in `entries'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:38:in `empty?'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:16:in `used'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:16:in `slice'
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb:16:in `[]'
-- Machine register context ------------------------------------------------
RIP: 0x00007f8c46bc1a26 RBP: 0x00007f8c43153700 RSP: 0x00007fffa1637998
RAX: 0x00000000047228ec RBX: 0x0000000000000004 RCX: 0x0000000000000008
RDX: 0x0000000000000004 RDI: 0x00007f8c43153710 RSI: 0x00007f8c47876000
R8: 0x0000000000000000 R9: 0x00007f8c45a16000 R10: 0x00000000000006d7
R11: 0x00007f8c46ffab00 R12: 0x0000000000000001 R13: 0x00007f8c47876000
R14: 0x0000000000000004 R15: 0x00007f8c45bbbcd0 EFL: 0x0000000000010202
-- C level backtrace information -------------------------------------------
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_vm_bugreport+0x4f3) [0x7f8c47104b73]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_bug_context+0xd4) [0x7f8c46f8db24]
/opt/gitlab/embedded/lib/libruby.so.2.4(sigbus+0x3e) [0x7f8c4707c10e]
[0x7f8c46b574b0]
[0x7f8c46bc1a26]
/opt/gitlab/embedded/lib/libruby.so.2.4(str_new0+0x63) [0x7f8c4708c353]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_str_substr+0x55) [0x7f8c4709e755]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_str_aref_m+0xb5) [0x7f8c4709e995]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call0_body.constprop.144+0x265) [0x7f8c470fb415]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_call0+0xb9) [0x7f8c470fbcf9]
[0x7f8c25bfab13]
[0x7f8c25bfb105]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call0_body.constprop.144+0x1af) [0x7f8c470fb35f]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_call0+0xb9) [0x7f8c470fbcf9]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_class_new_instance+0x21) [0x7f8c46ffdea1]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_iseq_block_from_c+0x37a) [0x7f8c470f77ca]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_block_from_c_splattable.constprop.140+0xd9) [0x7f8c470f8b59]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_yield+0x134) [0x7f8c470f8db4]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_ensure+0xc3) [0x7f8c46f96fe3]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x114a) [0x7f8c470f148a]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call0_body.constprop.144+0x1af) [0x7f8c470fb35f]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_call0+0xb9) [0x7f8c470fbcf9]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_class_new_instance+0x21) [0x7f8c46ffdea1]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_iseq_block_from_c+0x37a) [0x7f8c470f77ca]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_block_from_c_unsplattable+0x1a0) [0x7f8c470f7990]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_invoke_proc+0xd3) [0x7f8c470f7b93]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call0_body.constprop.144+0x87) [0x7f8c470fb237]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_call0+0xb9) [0x7f8c470fbcf9]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_funcall+0x104) [0x7f8c470fc394]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_hash_aref+0xf8) [0x7f8c46fb5548]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x4892) [0x7f8c470f4bd2]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_iseq_block_from_c+0x37a) [0x7f8c470f77ca]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_block_from_c_splattable.constprop.140+0xd9) [0x7f8c470f8b59]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_yield+0x134) [0x7f8c470f8db4]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_ensure+0xc3) [0x7f8c46f96fe3]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x114a) [0x7f8c470f148a]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call0_body.constprop.144+0x1af) [0x7f8c470fb35f]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_call0+0xb9) [0x7f8c470fbcf9]
/opt/gitlab/embedded/lib/libruby.so.2.4(send_internal+0xcd) [0x7f8c470fbf2d]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x114a) [0x7f8c470f148a]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_iseq_block_from_c+0x37a) [0x7f8c470f77ca]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_yield+0xdd) [0x7f8c470f8d5d]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_ary_each+0x3d) [0x7f8c46f1cced]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x114a) [0x7f8c470f148a]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_iseq_block_from_c+0x37a) [0x7f8c470f77ca]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_block_from_c_unsplattable+0x1a0) [0x7f8c470f7990]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_invoke_proc+0xd3) [0x7f8c470f7b93]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_opt_call+0xc3) [0x7f8c470f7e53]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(eval_string_with_cref+0x174) [0x7f8c470fa554]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_f_eval+0xbc) [0x7f8c470fa9fc]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_iseq_block_from_c+0x37a) [0x7f8c470f77ca]
/opt/gitlab/embedded/lib/libruby.so.2.4(invoke_block_from_c_unsplattable+0x1a0) [0x7f8c470f7990]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_invoke_proc+0xd3) [0x7f8c470f7b93]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_opt_call+0xc3) [0x7f8c470f7e53]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_load_internal0+0xaf) [0x7f8c46fd8acf]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_f_load+0x8b) [0x7f8c46fd916b]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_load_internal0+0xaf) [0x7f8c46fd8acf]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_f_load+0x8b) [0x7f8c46fd916b]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_load_internal0+0xaf) [0x7f8c46fd8acf]
/opt/gitlab/embedded/lib/libruby.so.2.4(rb_f_load+0x8b) [0x7f8c46fd916b]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_cfunc+0xea) [0x7f8c470e85da]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_call_method+0xe3) [0x7f8c470f8533]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec_core+0x1580) [0x7f8c470f18c0]
/opt/gitlab/embedded/lib/libruby.so.2.4(vm_exec+0x91) [0x7f8c470f69f1]
/opt/gitlab/embedded/lib/libruby.so.2.4(ruby_exec_internal+0xb0) [0x7f8c46f93ae0]
/opt/gitlab/embedded/lib/libruby.so.2.4(ruby_exec_node+0x1d) [0x7f8c46f9591d]
/opt/gitlab/embedded/lib/libruby.so.2.4(ruby_run_node+0x1e) [0x7f8c46f9883e]
/opt/gitlab/embedded/bin/ruby(main+0x4b) [0x40086b] main.c:36
-- Other runtime information -----------------------------------------------
* Loaded script: /opt/gitlab/embedded/bin/unicorn
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4 /opt/gitlab/embedded/lib/ruby/2.4.0/x86_64-linux/enc/encdb.so
...
7589 /opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/rack-1.6.10/lib/rack/urlmap.rb
Process memory map
...
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Ubuntu 16.04 Current User: git Using RVM: no Ruby Version: 2.4.4p296 Gem Version: 2.7.6 Bundler Version:1.16.2 Rake Version: 12.3.1 Redis Version: 3.2.11 Git Version: 2.18.0 Sidekiq Version:5.1.3 Go Version: unknownGitLab information Version: 11.3.0 Revision: 17bd59a Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql URL: https://vcs.xxx.de HTTP Clone URL: https://vcs.xxx.de/some-group/some-project.git SSH Clone URL: git@vcs.xxx.de:some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 8.3.3 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab Shell ...GitLab Shell version >= 8.3.3 ? ... OK (8.3.3) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 8/1 ... ok 7/2 ... ok 9/3 ... ok 8/4 ... ok 6/5 ... ok 6/6 ... ok 5/7 ... ok 6/8 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: FAILED: Failed to connect to internal API gitlab-shell self-check failed Try fixing it: Make sure GitLab is running; Check the gitlab-shell configuration file: sudo -u git -H editor /opt/gitlab/embedded/service/gitlab-shell/config.yml Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 8/1 ... yes 7/2 ... yes 9/3 ... yes 8/4 ... yes 6/5 ... yes 6/6 ... yes 5/7 ... yes 6/8 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.4.4) Git version >= 2.9.5 ? ... yes (2.18.0) Git user has default SSH configuration? ... yes Active users: ... 2
Checking GitLab ... Finished
Possible fixes
/opt/gitlab/embedded/lib/ruby/gems/2.4.0/gems/prometheus-client-mmap-0.9.4/lib/prometheus/client/helper/entry_parser.rb
def used
slice(0..3).unpack('l')[0]
end