[Bug 262256] www/gitlab-ce or devel/grpc: ruby coredumps every minute after start gitlab

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Feb 2022 18:45:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262256

            Bug ID: 262256
           Summary: www/gitlab-ce or devel/grpc: ruby coredumps every
                    minute after start gitlab
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vvd@unislabs.com
                CC: mfechner@FreeBSD.org, sunpoet@FreeBSD.org
                CC: mfechner@FreeBSD.org, sunpoet@FreeBSD.org

13.0 amd64.

After "service gitlab start" ruby coredump every minute (/var/log/messages):
Feb 28 21:34:35 hostname kernel: pid 69426 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:36 hostname kernel: pid 69428 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:37 hostname kernel: pid 69430 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:37 hostname kernel: pid 69432 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:39 hostname kernel: pid 69434 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:39 hostname kernel: pid 69436 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:40 hostname kernel: pid 69439 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:41 hostname kernel: pid 69441 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:42 hostname kernel: pid 69443 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)
Feb 28 21:34:43 hostname kernel: pid 69445 (ruby27), jid 0, uid 211: exited on
signal 6 (core dumped)

$ zgrep ruby27 /var/log/messages* | grep 'core dumped' | wc -l
   30931

I see new file /usr/local/www/gitlab-ce/ruby27.core every 1 minute.

$ gdb /usr/local/bin/ruby27 ruby27.core
GNU gdb (GDB) 11.2 [GDB v11.2 for FreeBSD]
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd13.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/ruby27...
(No debugging symbols found in /usr/local/bin/ruby27)
[New LWP 149317]
Core was generated by `ruby /usr/local/share/gitaly/ruby/bin/gitaly-ruby 51061
/tmp/gitaly-internal4266'.
Program terminated with signal SIGABRT, Aborted.devel/grpc
Sent by thr_kill() from pid 69037 and user 211.
#0  0x00000008007f32ea in thr_kill () from /lib/libc.so.7
(gdb) bt
#0  0x00000008007f32ea in thr_kill () from /lib/libc.so.7
#1  0x0000000800768064 in raise () from /lib/libc.so.7
#2  0x000000080081cf29 in abort () from /lib/libc.so.7
#3  0x000000080074af81 in __assert () from /lib/libc.so.7
#4  0x0000000806176ddd in ?? () from /usr/local/lib/libupb.so.21
#5  0x0000000806175a24 in ?? () from /usr/local/lib/libupb.so.21
#6  0x0000000806174173 in ?? () from /usr/local/lib/libupb.so.21
#7  0x000000080722aa93 in DescriptorPool_add_serialized_file ()
   from
/usr/local/lib/ruby/gems/2.7/gems/google-protobuf-3.19.4/lib/google/protobuf_c.so
#8  0x00000008005822a6 in ?? () from /usr/local/lib/libruby27.so.27
#9  0x000000080056a5cd in ?? () from /usr/local/lib/libruby27.so.27
#10 0x000000080057e6c9 in rb_vm_exec () from /usr/local/lib/libruby27.so.27
#11 0x00000008005792ad in ?? () from /usr/local/lib/libruby27.so.27
#12 0x0000000800578bcb in ?? () from /usr/local/lib/libruby27.so.27
#13 0x00000008005822a6 in ?? () from /usr/local/lib/libruby27.so.27
#14 0x000000080056a45a in ?? () from /usr/local/lib/libruby27.so.27
#15 0x000000080057e6c9 in rb_vm_exec () from /usr/local/lib/libruby27.so.27
#16 0x000000080044abf1 in ?? () from /usr/local/lib/libruby27.so.27
#17 0x00000008004497e4 in ?? () from /usr/local/lib/libruby27.so.27
#18 0x0000000800448dc1 in rb_f_require () from /usr/local/lib/libruby27.so.27
#19 0x00000008005822a6 in ?? () from /usr/local/lib/libruby27.so.27
#20 0x000000080056a5cd in ?? () from /usr/local/lib/libruby27.so.27
#21 0x000000080057e6c9 in rb_vm_exec () from /usr/local/lib/libruby27.so.27
#22 0x000000080044abf1 in ?? () from /usr/local/lib/libruby27.so.27
#23 0x00000008004497e4 in ?? () from /usr/local/lib/libruby27.so.27
#24 0x0000000800448dc1 in rb_f_require () from /usr/local/lib/libruby27.so.27
#25 0x00000008005822a6 in ?? () from /usr/local/lib/libruby27.so.27
#26 0x000000080056a5cd in ?? () from /usr/local/lib/libruby27.so.27
#27 0x000000080057e6c9 in rb_vm_exec () from /usr/local/lib/libruby27.so.27
#28 0x000000080044abf1 in ?? () from /usr/local/lib/libruby27.so.27
#29 0x00000008004497e4 in ?? () from /usr/local/lib/libruby27.so.27
#30 0x0000000800448dc1 in rb_f_require () from /usr/local/lib/libruby27.so.27
#31 0x00000008005822a6 in ?? () from /usr/local/lib/libruby27.so.27
#32 0x000000080056a5cd in ?? () from /usr/local/lib/libruby27.so.27
#33 0x000000080057e6c9 in rb_vm_exec () from /usr/local/lib/libruby27.so.27
#34 0x000000080044abf1 in ?? () from /usr/local/lib/libruby27.so.27
#35 0x00000008004497e4 in ?? () from /usr/local/lib/libruby27.so.27
#36 0x0000000800448dc1 in rb_f_require () from /usr/local/lib/libruby27.so.27
#37 0x00000008005822a6 in ?? () from /usr/local/lib/libruby27.so.27
#38 0x000000080056a5cd in ?? () from /usr/local/lib/libruby27.so.27
#39 0x000000080057e6c9 in rb_vm_exec () from /usr/local/lib/libruby27.so.27
#40 0x000000080044abf1 in ?? () from /usr/local/lib/libruby27.so.27
#41 0x00000008004497e4 in ?? () from /usr/local/lib/libruby27.so.27
#42 0x0000000800448ea5 in ?? () from /usr/local/lib/libruby27.so.27
#43 0x00000008005822a6 in ?? () from /usr/local/lib/libruby27.so.27
#44 0x000000080056a5cd in ?? () from /usr/local/lib/libruby27.so.27
#45 0x000000080057e6c9 in rb_vm_exec () from /usr/local/lib/libruby27.so.27
#46 0x00000008003fa080 in ruby_run_node () from /usr/local/lib/libruby27.so.27
#47 0x0000000000201b9e in ?? ()
#48 0x0000000000201950 in _start ()

$ pkg which /usr/local/lib/libupb.so.21
/usr/local/lib/libupb.so.21 was installed by package grpc-1.43.2_1,2

Tried to build grpc with debug information without success.

P.S. Maybe this issue must be addressed to devel/grpc - don't know.

-- 
You are receiving this mail because:
You are the assignee for the bug.