public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael Catanzaro <mcatanzaro@gnome.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gnome-builder] rawhide: Fix crash on startup
Date: Fri, 21 Aug 2026 13:55:44 GMT	[thread overview]
Message-ID: <178732054440.1.10962456684772042224.rpms-gnome-builder-d956e2c20804@fedoraproject.org> (raw)

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
+

                 reply	other threads:[~2026-08-21 13:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178732054440.1.10962456684772042224.rpms-gnome-builder-d956e2c20804@fedoraproject.org \
    --to=mcatanzaro@gnome.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox