Project crashes when executing g_application_mark_busy
Steps to reproduce
#include <gtk/gtk.h>
int
main (int argc,
char **argv)
{
GtkApplication *app;
app = gtk_application_new (NULL, 0);
g_application_mark_busy(G_APPLICATION(app));
return 0;
}
Version information
Ubuntu 21.04 GTK 3.24.25
Backtrace
Only address sanitizer log
AddressSanitizer:DEADLYSIGNAL
=================================================================
==203253==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000003c (pc 0x7fa2a17048a0 bp 0x6250000010f0 sp 0x7ffd44aa0ba0 T0)
==203253==The signal is caused by a READ memory access.
==203253==Hint: address points to the zero page.
#0 0x7fa2a17048a0 in g_application_mark_busy (/lib/x86_64-linux-gnu/libgio-2.0.so.0+0xda8a0)
#1 0x55d64e5e538f in main /home/rafal/Desktop/qq/main.c:27
#2 0x7fa2a12b1564 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x28564)
#3 0x55d64e5e520d in _start (/home/rafal/Desktop/qq/base+0x120d)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libgio-2.0.so.0+0xda8a0) in g_application_mark_busy
==203253==ABORTING
This is my first fuzzer(https://github.com/qarmin/GtkFuzzer) crash which I was able track down. Yay!
Such crashes are going to be fix? If yes I probably can provide more similar reports.
This function is visible for PyGobject, so I think that this crash should be fixed or just function should be hidden - In Godot all functions which are visible for developer but crash, will be fixed(of course except functions like free etc.)