From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74383: 29.4; Emacs PGTK crashes on Void Linux Date: Sat, 16 Nov 2024 18:56:36 +0200 Message-ID: <86r07bf77f.fsf@gnu.org> References: <875xonl58g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9770"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74383@debbugs.gnu.org To: Taha Aziz Ben Ali Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 16 17:57:12 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tCM6h-0002N8-Pg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Nov 2024 17:57:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCM6b-0008NY-Rv; Sat, 16 Nov 2024 11:57:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCM6Y-0008N7-PR for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 11:57:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCM6Y-0006hl-GG for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 11:57:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=ZZlpUJJE3H2Cqby72CSiyr1fzGJVXHuXpfbiOSinzJ8=; b=WBXcQ+5tGXrnOIGWH0Om1A1BpSCLa56A85kdzgXUQT8JHOEeXYEDjneg7fbBj8FZMAWA6F3mDkQQDdF3tgMIwNJ0qVF++ixwjnYjcDVr40B9ds3HEauqP0ykYigsqhM+GI16sE3MkqNktAQbfLlYrkgY637vzJL56UjXP8syeOqR/+1IE4yTukIpKrv5TYjzPikdCpS9K19jh84QI15n/VDSN8EBXIE64YXDzjDRDs+I+BOLe0dHAjLVSb13rGoSFSOf0vzPzdmdQ9H+qN9Qq0vgnI7Z/+5vTyVPY4UndWSjhcEc8OPjM1xIAibnESicCYYZBwI2TLmbJUy1WnKAPw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCM6Y-0004bO-Aq for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 11:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2024 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74383 X-GNU-PR-Package: emacs Original-Received: via spool by 74383-submit@debbugs.gnu.org id=B74383.173177620717663 (code B ref 74383); Sat, 16 Nov 2024 16:57:02 +0000 Original-Received: (at 74383) by debbugs.gnu.org; 16 Nov 2024 16:56:47 +0000 Original-Received: from localhost ([127.0.0.1]:54582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCM6J-0004ap-FA for submit@debbugs.gnu.org; Sat, 16 Nov 2024 11:56:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCM6H-0004ac-CM for 74383@debbugs.gnu.org; Sat, 16 Nov 2024 11:56:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCM6B-0006gW-IF; Sat, 16 Nov 2024 11:56:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ZZlpUJJE3H2Cqby72CSiyr1fzGJVXHuXpfbiOSinzJ8=; b=gWRfeHqybxdCzT5JDjli 20MjMZStDaMrGhrALtZ9IyYKlWK6PrNk4xFAil+C9irY56eZWgklOxtqqTLz4AWA14JqSMQ56PjeG 0flQEwHptf2PvJ6Q8ImskP6eI3tdW0L62TXk9VzR0zAHXLiZMYkt9pdFK5G7KlDdCCAZM25GD2yK9 WV5vMAVb0WrGJel3ik/OzjexCXacCd6wYlcvp9g8jPdTEFxOWRKA7tPRFDv0/Jt5UT6hGmSt5GEiT BLAc7EaidjC29MZ6IEnzSCU4kn5zwZodUxpvZJtirk0YQ0foxNX87Z4xvNGTqdy5J0Jl8mfjuWxsH ZVwGbm57lC/i/g==; In-Reply-To: <875xonl58g.fsf@gmail.com> (message from Taha Aziz Ben Ali on Sat, 16 Nov 2024 13:42:39 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295477 Archived-At: > From: Taha Aziz Ben Ali > Date: Sat, 16 Nov 2024 13:42:39 +0100 > > I've been failing to get Emacs to launch under Sway on Void Linux, the > configuration I'm using was working fine on Arch Linux (using the same > Emacs version). Note that `emacs -Q' also segfaults, but `emacs -nw' is > able to launch emacs with all of my configuration without a single > warning. > > You can find the backtrace leading up to this error in this paste: > > https://paste.sr.ht/~grtcdr/c39dad4913262557228d1158680f52613b728c6a > > I tracked the issue down to a cairo_surface_create_similar_image() call > that results in the crash. > > Before the program crashes, a warning about the "xpm" image type not > being supported is shown which may be relevant: > > (emacs:8670): GdkPixbuf-WARNING **: 13:38:44.606: Error loading XPM > image loader: Image type “xpm” is not supported Do you have the XPM library installed and available to Emacs? Your build details indicate that Emacs was configured to be built with XPM: > Configured using: > 'configure --with-pgtk --prefix=/usr --sysconfdir=/etc > --sbindir=/usr/bin --bindir=/usr/bin --mandir=/usr/share/man > --infodir=/usr/share/info --localstatedir=/var > --host=x86_64-unknown-linux-musl --build=x86_64-unknown-linux-musl > '--libdir=${exec_prefix}/lib64' --with-file-notification=inotify > --with-modules --with-jpeg --with-tiff --with-gif --with-png > --with-webp --with-xpm --with-rsvg --without-imagemagick --with-xml2 ^^^^^^^^^^ > --with-gnutls --with-sound --with-m17n-flt --with-json --with-harfbuzz > --with-cairo --with-libgmp --with-sqlite3 --with-tree-sitter > --with-native-compilation=aot 'CFLAGS=-fno-PIE -mtune=generic -O2 -pipe > -g -ffile-prefix-map=/builddir/emacs-29.4=.' 'CPPFLAGS= ' > 'LDFLAGS=-no-pie -Wl,--as-needed '' But the features actually available to Emacs don't include XPM: > Configured features: > ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON > LCMS2 LIBOTF LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG > RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER > WEBP XIM GTK3 ZLIB So I wonder how this happened. Did you build Emacs yourself, or was it installed from some distro?