From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Taha Aziz Ben Ali Newsgroups: gmane.emacs.bugs Subject: bug#74383: 29.4; Emacs PGTK crashes on Void Linux Date: Sat, 16 Nov 2024 13:42:39 +0100 Message-ID: <875xonl58g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19250"; mail-complaints-to="usenet@ciao.gmane.io" To: 74383@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 16 17:27:31 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 1tCLdx-0004p5-J3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Nov 2024 17:27:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCLdZ-0003Ay-Bh; Sat, 16 Nov 2024 11:27: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 1tCLdX-0003AW-1s for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 11:27:03 -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 1tCLdW-0004zy-JU for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 11:27: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:Date:From:To:Subject; bh=cYwp9dLyCwP3EDAn1Zmf8cNEfhzbs4NzciVEH0/jKLs=; b=NjNvy7KIc3nA7f0NcBw+0NTEhahtHyYU/kwp3ozFfBCfN2fHYVECFg3v5FkUwiDCA83PSKUXYSi+MwYx+Pvqu397Nk1ZznFOREDE0xaQKZQfywiVKIC6ZnqgifZZcrvnKz8WcaQr7NQIGRMJ7/S/TWk5NkV9DgNX2TLZ+IRv28dHNfXd14wgtTvK+vQltR2O38Pc3abmii5XCCt6LjpXHcvFop6pyU5s6CUP7RYkulXVX5rOXpGPppjqm+NE50f608pePKK/rdEhe1GHxzdRvkBw7Ee18+tAjkrCtA1vVoZuigcVey0zkVXp458OzU2cM/E5O4hnsYAkFczeDfJAmA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCLdW-0003Cd-7r for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 11:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Taha Aziz Ben Ali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2024 16:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74383 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173177436912232 (code B ref -1); Sat, 16 Nov 2024 16:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Nov 2024 16:26:09 +0000 Original-Received: from localhost ([127.0.0.1]:54486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCLce-0003BD-72 for submit@debbugs.gnu.org; Sat, 16 Nov 2024 11:26:09 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCI8Y-0000ZV-H0 for submit@debbugs.gnu.org; Sat, 16 Nov 2024 07:42:53 -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 1tCI8W-0005Pn-Td for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 07:42:49 -0500 Original-Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCI8T-0001Sx-I8 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 07:42:48 -0500 Original-Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-43161e7bb25so22221745e9.2 for ; Sat, 16 Nov 2024 04:42:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731760962; x=1732365762; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=cYwp9dLyCwP3EDAn1Zmf8cNEfhzbs4NzciVEH0/jKLs=; b=g21ZkapVg4obYCToh4tuH2CFTA72jM/6t7IxUr8+KE55vi0ZaR2jYKTjklpBpKI+tS Tk0UpF+qTnR7AoHVea+lclq4P9p4hci+Xf53HFPieQvGdWha8pFmtpeqnNSlHgs6NLYF L+py4R4xk1vs9G/azo4Pf2k3h/91MPXM0eUf0v/md7ulkSq+whiRRBAi4NxqWniIduhr yoysFZurUHEb77RwFESMu/k2ZCyg1tWNuqt0UsIFnQrRGd3pawE0Z6ySkb2OE2gkAIM0 N2ab/g0aOlP5nUyLeDF81pxuclcx+PEzpe9OE/P5/vDQ1DESRz2PLpZGcNOqCLIRv7N/ ev1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731760962; x=1732365762; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cYwp9dLyCwP3EDAn1Zmf8cNEfhzbs4NzciVEH0/jKLs=; b=Ab4/bvF7qqxETWwuDyUGpMElyBR1EQIOLovAMZcH8+6zmxM8k3EwmzmYUIH74+fBo5 gz84Pzo3lRNQTdXTH6vN79jBDnoNbu9wJ27ui01zbmtmq8EzyVFF9B+/1Dosu8NH0FHM a+8ubvAV/34K0WNJ36AZJvUmOkZCxzDcnwAwLLddzUTTHA8y4Sy3GyWsjiRGXY/PeSQ7 UJYmhZJ6RZwtr8AgcymaOfa5lUWTyWz7g1aJeSh2PESgh2epXMxod6Jao0pt6SsB+KIe PPzOv6Y9FH4Foal4iVTdvTVpJlI3EpmBHLUdlPaLYz1oeb5RYrnyT3E1ebvcmpFq7dtG +XkA== X-Gm-Message-State: AOJu0YzIqhFuOG15+f48ZAoJIa8Vz5O64v9XnQM6JVxg9ovjd9+v0ykn RcZBhlZwOmh4+LtErI+IdcPAp4OjNN8vAtkTkuq+QDb0yVgRO7DCS5E3Ubzj X-Google-Smtp-Source: AGHT+IEscvLcjZO2ZaN6Z6hj4p++JzclwqlYWAVArs3c0c6+S+LypeCHA9Vn7fhwrgUFfZrsZrirzA== X-Received: by 2002:a05:600c:5026:b0:42c:b63e:fe91 with SMTP id 5b1f17b1804b1-432df791fb6mr48179635e9.24.1731760961735; Sat, 16 Nov 2024 04:42:41 -0800 (PST) Original-Received: from localhost ([197.15.238.37]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432dac0aea8sm86084805e9.31.2024.11.16.04.42.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2024 04:42:41 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=ba.tahaaziz@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 16 Nov 2024 11:26:07 -0500 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:295469 Archived-At: Hello, 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 =E2=80=9Cxpm=E2=80=9D is not supported In GNU Emacs 29.4 (build 2, x86_64-unknown-linux-musl, GTK+ Version 3.24.43, cairo version 1.18.0) of 2024-10-13 built on void-buildbot-worker-musl System Description: Void Linux Configured using: 'configure --with-pgtk --prefix=3D/usr --sysconfdir=3D/etc --sbindir=3D/usr/bin --bindir=3D/usr/bin --mandir=3D/usr/share/man --infodir=3D/usr/share/info --localstatedir=3D/var --host=3Dx86_64-unknown-linux-musl --build=3Dx86_64-unknown-linux-musl '--libdir=3D${exec_prefix}/lib64' --with-file-notification=3Dinotify --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=3Daot 'CFLAGS=3D-fno-PIE -mtune=3Dgeneric -O2 -p= ipe -g -ffile-prefix-map=3D/builddir/emacs-29.4=3D.' 'CPPFLAGS=3D ' 'LDFLAGS=3D-no-pie -Wl,--as-needed '' 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 Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ERC Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t erc-networks-mode: t server-mode: t eros-mode: t which-key-mode: t vertico-multiform-mode: t vertico-mode: t global-corfu-mode: t corfu-mode: t marginalia-mode: t envrc-global-mode: t my/global-dired-omit-mode: t pixel-scroll-precision-mode: t delete-selection-mode: t auto-insert-mode: t electric-pair-mode: t savehist-mode: t repeat-mode: t global-auto-revert-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t window-divider-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/grtcdr/.config/emacs/package/transient/lisp/transient hides /usr/shar= e/emacs/29.4/lisp/transient /home/grtcdr/.config/emacs/package/modus-themes/theme-loaddefs hides /usr/s= hare/emacs/29.4/lisp/theme-loaddefs Features: (shadow sort mail-extr emacsbug term/screen magit-bookmark magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff git-commit log-edit pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor shell magit-mode transient benchmark magit-git magit-base magit-section dash network-stream epa-file url-http url-auth url-gw nsm erc-list erc-menu erc-join erc-ring erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit my-erc erc-goodies erc erc-backend erc-networks erc-common erc-compat erc-loaddefs tabify mule-util orderless dired-aux cursor-sensor vertico-buffer term/xterm xterm parse-time server exec-path-from-shell my-mode-line my-giornata giornata-calendar iso8601 giornata giornata-lib my-engine my-email notmuch notmuch-tree notmuch-jump notmuch-hello notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash coolj goto-addr icalendar diary-lib diary-loaddefs notmuch-tag crm notmuch-lib notmuch-version notmuch-compat hl-line mm-view mml-smime smime gnutls dig my-elfeed mpv tq org-timer org-clock elfeed-show elfeed-search vc-git vc-dispatcher paredit edmacro kmacro eros bookmark message sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader shr text-property-search pixel-fill kinsoku puny svg dom elfeed-csv elfeed elfeed-curl elfeed-log elfeed-db elfeed-lib thingatpt url-queue url-file xml-query my-denote my-cv cus-start org-protocol my-blog modus-operandi-theme modus-themes org-agenda org-element org-persist org-id avl-tree generator org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc org-list org-footnote org-faces org-entities time-date noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat org-version org-macs format-spec dbus xml which-key vertico-multiform vertico corfu marginalia envrc inheritenv diff-mode ansi-color easy-mmode dired-x dired dired-loaddefs pixel-scroll cua-base ring delsel autoinsert elec-pair savehist repeat autorevert filenotify auth-source-pass xdg no-littering compat compat-30 jka-compr auto-compile yaml-mode-autoloads yaml-autoloads with-editor-autoloads which-key-autoloads vertico-autoloads treepy-autoloads transient-autoloads tempel-autoloads s-autoloads rust-mode-autoloads rainbow-mode-autoloads paredit-autoloads orderless-autoloads olivetti-autoloads no-littering-autoloads mpv-autoloads modus-themes-autoloads markdown-mode-autoloads marginalia-autoloads magit-autoloads lua-mode-autoloads logos-autoloads llama-autoloads iwd-autoloads inheritenv-autoloads graphviz-dot-mode-autoloads git-modes-autoloads giornata-autoloads ghub-autoloads geiser-guile-autoloads geiser-autoloads forge-autoloads f-autoloads exec-path-from-shell-autoloads eros-autoloads epkg-autoloads envrc-autoloads emacsql-autoloads elfeed-autoloads edit-indirect-autoloads denote-autoloads dash-autoloads corfu-autoloads compat-autoloads closql-autoloads borg-autoloads avy-autoloads auto-compile-autoloads auctex-autoloads borg loaddefs-gen lisp-mnt radix-tree pcase info comp comp-cstr warnings rx cl-extra help-mode package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 494694 158548) (symbols 48 32975 0) (strings 32 150241 53925) (string-bytes 1 5640984) (vectors 16 69977) (vector-slots 8 1152542 171527) (floats 8 2999 1038) (intervals 56 3162 626) (buffers 984 21))