Bug 2173047

Summary: [abrt] nbdkit-server: raw_send_socket(): nbdkit killed by SIGABRT
Product: [Fedora] Fedora Reporter: Eric Blake <eblake>
Component: nbdkitAssignee: Richard W.M. Jones <rjones>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: eblake, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7ab51c0d92763b4d5af6b7989e05708c45a535e8
Whiteboard: abrt_hash:363ab534cc1daec2aa5c7dd72faf2da433da482f;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2173054 (view as bug list) Environment:
Last Closed: 2023-11-23 08:48:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Eric Blake 2023-02-23 19:26:47 UTC
Description of problem:
'make check' in libnbd project but system-installed nbdkit

Version-Release number of selected component:
nbdkit-server-1.32.5-1.fc37

Additional info:
reporter:       libreport-2.17.4
backtrace_rating: 4
cgroup:         0::/user.slice/user-14986.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-d6fe51c3-4e81-4e8f-8775-2b8c418b0fcc.scope
cmdline:        nbdkit --exit-with-parent -v --filter=error pattern 5M error-pread-rate=0.5
crash_function: raw_send_socket
executable:     /usr/sbin/nbdkit
journald_cursor: s=1be4dd20d4854712bab1191d895af0dc;i=4a3ad5;b=c162492451d944938c784f4627ff93a6;m=693923ae92;t=5f5626ed38091;x=72b7f4e687039a6c
kernel:         6.1.11-200.fc37.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            14986

Comment 1 Eric Blake 2023-02-23 19:26:51 UTC
Created attachment 1945972 [details]
File: backtrace

Comment 2 Eric Blake 2023-02-23 19:26:52 UTC
Created attachment 1945973 [details]
File: core_backtrace

Comment 3 Eric Blake 2023-02-23 19:26:54 UTC
Created attachment 1945974 [details]
File: cpuinfo

Comment 4 Eric Blake 2023-02-23 19:26:55 UTC
Created attachment 1945975 [details]
File: dso_list

Comment 5 Eric Blake 2023-02-23 19:26:56 UTC
Created attachment 1945976 [details]
File: environ

Comment 6 Eric Blake 2023-02-23 19:26:58 UTC
Created attachment 1945977 [details]
File: limits

Comment 7 Eric Blake 2023-02-23 19:26:59 UTC
Created attachment 1945978 [details]
File: maps

Comment 8 Eric Blake 2023-02-23 19:27:00 UTC
Created attachment 1945979 [details]
File: mountinfo

Comment 9 Eric Blake 2023-02-23 19:27:02 UTC
Created attachment 1945980 [details]
File: open_fds

Comment 10 Eric Blake 2023-02-23 19:27:03 UTC
Created attachment 1945981 [details]
File: proc_pid_status

Comment 11 Eric Blake 2023-02-23 19:59:17 UTC
Reproduced with:
$ nbdcopy -- [ nbdkit --exit-with-parent -v --filter=error pattern 5M error-pread-rate=0.5 ] null:
...
nbdkit: connections.c:402: raw_send_socket: Assertion `sock >= 0' failed.

using libnbd-1.15.9-2.fc38.x86_64, nbdkit-1.33.8-1.fc38.x86_64

The libnbd testsuite is silently continuing in spite of the nbdkit assertion failure.

The failure itself is in raw_send_socket(), in an assertion added in commit daef505e

Comment 12 Aoife Moloney 2023-11-23 01:19:13 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 13 Richard W.M. Jones 2023-11-23 08:48:41 UTC
Fixed upstream in: https://gitlab.com/nbdkit/nbdkit/-/commit/9d82aa4f6aaffa5f6c725ea95ce478f828204302