public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-builder] rawhide: Fix crash on startup
@ 2026-08-21 13:55 Michael Catanzaro
  0 siblings, 0 replies; only message in thread
From: Michael Catanzaro @ 2026-08-21 13:55 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gnome-builder
Branch : rawhide
Commit : d956e2c2080440ddbbc10c4d1d48fee08915caba
Author : Michael Catanzaro <mcatanzaro@gnome.org>
Date   : 2026-08-21T08:50:20-05:00
Stats  : +37/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gnome-builder/c/d956e2c2080440ddbbc10c4d1d48fee08915caba?branch=rawhide

Log:
Fix crash on startup

---
diff --git a/gnome-builder.spec b/gnome-builder.spec
index a1155c7..f72071a 100644
--- a/gnome-builder.spec
+++ b/gnome-builder.spec
@@ -41,6 +41,9 @@ Source0:        https://download.gnome.org/sources/%{name}/%{gnome_major_version
 
 %gnome_check_version
 
+# https://gitlab.gnome.org/GNOME/gnome-builder/-/work_items/2413
+Patch:          startup-crash.patch
+
 BuildRequires:  clang-devel
 BuildRequires:  ctags
 BuildRequires:  desktop-file-utils

diff --git a/startup-crash.patch b/startup-crash.patch
new file mode 100644
index 0000000..2c95fc4
--- /dev/null
+++ b/startup-crash.patch
@@ -0,0 +1,34 @@
+From 4dc88803f84ea11caaac78a39d2084ac6f1313d3 Mon Sep 17 00:00:00 2001
+From: Christian Hergert <christian@sourceandstack.com>
+Date: Tue, 23 Jun 2026 17:32:49 +0200
+Subject: [PATCH] main: make sure libdex is initialized early
+
+---
+ src/main.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/main.c b/src/main.c
+index 8c8f19cde..7b65a1105 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -36,6 +36,8 @@
+ # include <sysprof-capture.h>
+ #endif
+ 
++#include <libdex.h>
++
+ #include <libide-core.h>
+ #include <libide-code.h>
+ #include <libide-gui.h>
+@@ -200,6 +202,8 @@ main (gint   argc,
+   messages_debug = g_strdup (getenv ("G_MESSAGES_DEBUG"));
+   unsetenv ("G_MESSAGES_DEBUG");
+ 
++  dex_init ();
++
+   /* Setup our gdb fork()/exec() helper if we're in a terminal */
+   if (is_running_in_shell ())
+     bug_buddy_init ();
+-- 
+GitLab
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-21 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 13:55 [rpms/gnome-builder] rawhide: Fix crash on startup Michael Catanzaro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox