Skip to content

Getting "Segmentation fault at 0x0000000000000000" for any gitlab-rake task

Summary

Can't run any gitlab-rake task. We have already:

1 - rebooted the server 2 - gitlab-ctl reconfigure

Steps to reproduce

Run a gitlab-rake task, such as backup-create or gitlab:env:info

What is the current bug behavior?

Getting segmentation fault errors for any rake task:

gitlab-rake gitlab:env:info

: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux]

Segmentation fault (core dumped)

gitlab-rake gitlab:backup:create

: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux]

What is the expected correct behavior?

gitlab-rake tasks to complete

Relevant logs

Relevant logs
no relevant logs or stack trace to provide - the tasks fail immediately

Details of package version

Provide the package version installation details

rpm -qa gitlab gitlab-ce-10.2.4-ce.0.el6.x86_64

Environment details

  • Operating System: CentOS release 6.9 (Final) -

  • Installation Target, remove incorrect values:

    • Bare Metal Machine
  • Installation Type, remove incorrect values:

    • Other: existing installation
  • Is there any other software running on the machine: NO

  • Is this a single or multiple node installation? Single

  • Resources

    • CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 16 On-line CPU(s) list: 0-15 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 26 Model name: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz Stepping: 5 CPU MHz: 2926.097 BogoMIPS: 5851.07 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0,2,4,6,8,10,12,14 NUMA node1 CPU(s): 1,3,5,7,9,11,13,15

* Memory total:

            total       used       free     shared    buffers     cached
Mem:            62         14         48          0          0          1
-/+ buffers/cache:         12         50
Swap:           15          0         15

Configuration details

Provide the relevant sections of `/etc/gitlab/gitlab.rb`

external_url 'https://scm.internal.local' nginx['redirect_http_to_https'] = true gitlab_rails['backup_path'] = '/data/gitlab-backups' gitlab_rails['backup_keep_time'] = 604800 git_data_dirs({ "default": { "path": "/data/git-data/" } })

Edited by Alessandro Aste