https://bugzilla.redhat.com/show_bug.cgi?id=2181971
--- Comment #12 from Petr Pisar <ppisar(a)redhat.com> ---
It segfaults even when running (on Fedora 39) against a real X server (on
Fedora 36):
(gdb) bt
#0 g_callable_info_get_closure_native_address
(callable_info=callable_info@entry=0x555556d6cfd0, closure=0x0) at
../girepository/girffi.c:427
#1 0x00007ffff6ad7a5e in sv_to_callback
(invocation_info=0x7fffffffdd20, sv=0x5555555593e0, type_info=0x1,
arg_info=0x555555739308)
at
/usr/src/debug/perl-Glib-Object-Introspection-0.050-1.fc39.x86_64/gperl-i11n-marshal-callback.c:60
#2 sv_to_interface (arg_info=0x555555739308,
arg_info@entry=0x7fffffffdd20, type_info=type_info@entry=0x555556d1ae88,
transfer=GI_TRANSFER_NOTHING,
transfer@entry=(GI_TRANSFER_CONTAINER | unknown: 0x5554),
may_be_null=may_be_null@entry=1, sv=sv@entry=0x5555555593e0,
arg=0x555556d22a58, invocation_info=0x7fffffffdd20)
at
/usr/src/debug/perl-Glib-Object-Introspection-0.050-1.fc39.x86_64/gperl-i11n-marshal-interface.c:303
#3 0x00007ffff6ad88f1 in sv_to_arg
(sv=sv@entry=0x5555555593e0, arg=<optimized out>, arg_info=0x7fffffffdd20,
arg_info@entry=0x555555739308, type_info=type_info@entry=0x555556d1ae88,
transfer=(GI_TRANSFER_CONTAINER | unknown: 0x5554),
transfer@entry=GI_TRANSFER_NOTHING, may_be_null=may_be_null@entry=1,
invocation_info=<optimized out>) at
/usr/src/debug/perl-Glib-Object-Introspection-0.050-1.fc39.x86_64/gperl-i11n-marshal-arg.c:102
#4 0x00007ffff6ae0858 in invoke_c_code
(info=info@entry=0x555556d074c0, func_pointer=<optimized out>,
sp=sp@entry=0x555556ee8b40, ax=ax@entry=1, items=items@entry=7,
internal_stack_offset=internal_stack_offset@entry=4, package=<optimized out>,
namespace=<optimized out>, function=<optimized out>, mark=<optimized
out>)
at
/usr/src/debug/perl-Glib-Object-Introspection-0.050-1.fc39.x86_64/gperl-i11n-invoke-c.c:107
#5 0x00007ffff6ae1b28 in XS_Glib__Object__Introspection_invoke
(my_perl=<optimized out>, cv=<optimized out>)
at
/usr/src/debug/perl-Glib-Object-Introspection-0.050-1.fc39.x86_64/GObjectIntrospection.xs:1020
#6 0x00007ffff7d25fea in Perl_pp_entersub (my_perl=0x5555555592a0)
at /usr/src/debug/perl-5.36.0-495.fc38.x86_64/pp_hot.c:5352
#7 0x00007ffff7d173a8 in Perl_runops_standard (my_perl=0x5555555592a0)
at /usr/src/debug/perl-5.36.0-495.fc38.x86_64/run.c:41
#8 0x00007ffff7c8205d in S_run_body (oldscope=<optimized out>,
my_perl=<optimized out>)
at /usr/src/debug/perl-5.36.0-495.fc38.x86_64/perl.c:2721
#9 perl_run (my_perl=0x5555555592a0) at
/usr/src/debug/perl-5.36.0-495.fc38.x86_64/perl.c:2644
#10 0x000055555555534a in main (argc=<optimized out>, argv=<optimized out>,
env=<optimized out>)
at /usr/src/debug/perl-5.36.0-495.fc38.x86_64/perlmain.c:110
(gdb) list
422 gpointer *
423 g_callable_info_get_closure_native_address (GICallableInfo
*callable_info,
424 ffi_closure
*closure)
425 {
426 GIClosureWrapper *wrapper = (GIClosureWrapper *)closure;
427 return wrapper->native_address;
428 }
429
430 /**
431 * g_callable_info_destroy_closure:
(gdb) p wrapper
$1 = (GIClosureWrapper *) 0x0
It's a NULL pointer dereference.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2181971