Bug 2173047 - [abrt] nbdkit-server: raw_send_socket(): nbdkit killed by SIGABRT
Summary: [abrt] nbdkit-server: raw_send_socket(): nbdkit killed by SIGABRT
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nbdkit
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:363ab534cc1daec2aa5c7dd72fa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-23 19:26 UTC by Eric Blake
Modified: 2023-11-23 08:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 2173054 (view as bug list)
Environment:
Last Closed: 2023-11-23 08:48:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (65.42 KB, text/plain)
2023-02-23 19:26 UTC, Eric Blake
no flags Details
File: core_backtrace (34.23 KB, text/plain)
2023-02-23 19:26 UTC, Eric Blake
no flags Details
File: cpuinfo (2.77 KB, text/plain)
2023-02-23 19:26 UTC, Eric Blake
no flags Details
File: dso_list (424 bytes, text/plain)
2023-02-23 19:26 UTC, Eric Blake
no flags Details
File: environ (6.53 KB, text/plain)
2023-02-23 19:26 UTC, Eric Blake
no flags Details
File: limits (1.29 KB, text/plain)
2023-02-23 19:26 UTC, Eric Blake
no flags Details
File: maps (3.90 KB, text/plain)
2023-02-23 19:26 UTC, Eric Blake
no flags Details
File: mountinfo (3.87 KB, text/plain)
2023-02-23 19:27 UTC, Eric Blake
no flags Details
File: open_fds (632 bytes, text/plain)
2023-02-23 19:27 UTC, Eric Blake
no flags Details
File: proc_pid_status (1.40 KB, text/plain)
2023-02-23 19:27 UTC, Eric Blake
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.