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: NEW
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-03-09 14:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2173054 (view as bug list)
Environment:
Last Closed:
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


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