It's a crash in Perl code, although called from the nbdkit perl plugin
(C bindings). Still debugging this ...
Core was generated by `/home/rjones/d/nbdkit/server/nbdkit -U /tmp/nbdkittPN34a/sock -P
/tmp/nbdkittPN'.
Program terminated with signal SIGSEGV, Segmentation fault.
warning: Section `.reg-xstate/150177' in core file too small.
#0 Perl_my_snprintf (buffer=0x7f3a1e5fc630 "p\310_\036:\177", len=32,
format=0x7f3a1ef7e322 "_<(eval %lu)")
at /usr/src/debug/perl-5.38.0-499.fc39.x86_64/util.c:5248
Downloading source file /usr/src/debug/perl-5.38.0-499.fc39.x86_64/util.c
5248 WITH_LC_NUMERIC_SET_TO_NEEDED(
[Current thread is 1 (Thread 0x7f3a1e5fd6c0 (LWP 150177))]
(gdb) bt
#0 Perl_my_snprintf (buffer=0x7f3a1e5fc630 "p\310_\036:\177", len=32,
format=0x7f3a1ef7e322 "_<(eval %lu)")
at /usr/src/debug/perl-5.38.0-499.fc39.x86_64/util.c:5248
#1 0x00007f3a1ed8545f in Perl_pp_entereval (my_perl=0xcb39c90)
at /usr/src/debug/perl-5.38.0-499.fc39.x86_64/pp_ctl.c:5107
#2 0x00007f3a1ed2d5e8 in Perl_runops_standard (my_perl=0xcb39c90)
at /usr/src/debug/perl-5.38.0-499.fc39.x86_64/run.c:41
#3 0x00007f3a1ec73ddc in Perl_eval_sv (my_perl=my_perl@entry=0xcb39c90,
sv=sv@entry=0xcb3d2b8, flags=flags@entry=2)
at /usr/src/debug/perl-5.38.0-499.fc39.x86_64/perl.c:3269
#4 0x00007f3a1ec740e0 in Perl_eval_pv (my_perl=0xcb39c90, p=<optimized out>,
croak_on_error=croak_on_error@entry=0)
at /usr/src/debug/perl-5.38.0-499.fc39.x86_64/perl.c:3359
#5 0x00007f3a1fc9e6ca in callback_defined (
perl_func_name=perl_func_name@entry=0x7f3a1fca21af "can_write")
at /home/rjones/d/nbdkit/plugins/perl/perl.c:102
#6 0x00007f3a1fc9f28c in perl_boolean (handle=0xcb7a350,
callback_name=0x7f3a1fca21af "can_write", fn_name=0x7f3a1fca21b3
"write")
at /home/rjones/d/nbdkit/plugins/perl/perl.c:430
#7 0x000000000040e290 in plugin_can_write (c=<optimized out>) at plugins.c:488
#8 0x00000000004078fe in backend_can_write (c=0x7f3a18000fb0) at backend.c:462
#9 0x0000000000410ea9 in protocol_common_open (
exportsize=exportsize@entry=0x7f3a1e5fca00,
flags=flags@entry=0x7f3a18000e84,
exportname=exportname@entry=0x7f3a18000f90 "") at protocol-handshake.c:103
#10 0x00000000004112ab in finish_newstyle_options (
exportsize=exportsize@entry=0x7f3a1e5fca00, exportname_in=<optimized out>,
exportnamelen=exportnamelen@entry=0) at protocol-handshake-newstyle.c:319
#11 0x00000000004125e1 in negotiate_handshake_newstyle_options ()
at protocol-handshake-newstyle.c:619
#12 protocol_handshake_newstyle () at protocol-handshake-newstyle.c:985
#13 0x0000000000410e15 in protocol_handshake () at protocol-handshake.c:55
#14 0x000000000040a474 in handle_single_connection (sockin=6,
sockout=<optimized out>) at connections.c:180
#15 0x0000000000414baf in start_thread (datav=0xcb2c4f0) at sockets.c:377
#16 0x00007f3a1f68db37 in start_thread (arg=<optimized out>)
at pthread_create.c:444
#17 0x00007f3a1f714bec in clone3 ()
at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
nbdkit - Flexible, fast NBD server with plugins
https://gitlab.com/nbdkit/nbdkit