* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs @ 2022-04-09 13:09 joakim 2022-04-09 14:11 ` Eli Zaretskii 0 siblings, 1 reply; 8+ messages in thread From: joakim @ 2022-04-09 13:09 UTC (permalink / raw) To: 54814 symbol visibility in modules may cause emacs crash in nativ-compilation emacs It seems I'm not the only one affected. Heres a bug report for the emacs-zmq module: https://github.com/nnicandro/emacs-zmq/pull/36 I dont know much more about the issue, but using the dakra:hidden-visibility branch of the emacs-zmq.so module in emacs native-compilation version, fixed the issue for me the patch is here: https://github.com/dakra/emacs-zmq/commit/cf2350dd61cba6554fd532598402887685b0f2d2 essentially it does this: emacs_zmq_la_CFLAGS += -Ilibzmq/include emacs_zmq_la_CFLAGS += -Ilibzmq/include -fvisibility=hidden In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4) of 2022-04-08 built on tanaka.verona.se Repository revision: 0622df36112e41074dfff432c782e3e3b5de3e47 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Fedora Linux 35 (MATE-Compiz) Configured using: 'configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules --with-harfbuzz --with-cairo --with-imagemagick --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB Important settings: value of $XMODIFIERS: @im=none locale-coding-system: nil Major mode: Org Minor modes in effect: org-super-agenda-mode: t auto-revert-mode: t helm-autoresize-mode: t async-bytecomp-package-mode: t which-key-mode: t desktop-save-mode: t keyfreq-autosave-mode: t keyfreq-mode: t winner-mode: t smartparens-global-strict-mode: t smartparens-strict-mode: t smartparens-mode: t global-highlight-parentheses-mode: t highlight-parentheses-mode: t semantic-mode: t company-quickhelp-mode: t company-quickhelp-local-mode: t global-company-mode: t company-mode: t shx-global-mode: t marginalia-mode: t recentf-mode: t selectrum-prescient-mode: t prescient-persist-mode: t counsel-projectile-mode: t projectile-mode: t counsel-mode: t ivy-mode: t erc-stamp-mode: t diredfl-global-mode: t zen-reward-mode: t jupyter-org-interaction-mode: t shell-dirtrack-mode: t org-roam-db-autosync-mode: t override-global-mode: t yas-global-mode: t yas-minor-mode: t selectrum-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t global-prettify-symbols-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t line-number-mode: t auto-fill-function: yas--auto-fill transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: /home/joakim/.emacs.d/elpa/transient-20220314.1605/transient hides /home/joakim/build/myemacs/emacs/lisp/transient /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org hides /home/joakim/build/myemacs/emacs/lisp/org/org /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox hides /home/joakim/build/myemacs/emacs/lisp/org/ox /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-latex hides /home/joakim/build/myemacs/emacs/lisp/org/ox-latex /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-odt hides /home/joakim/build/myemacs/emacs/lisp/org/ox-odt /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-koma-letter hides /home/joakim/build/myemacs/emacs/lisp/org/ox-koma-letter /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-publish hides /home/joakim/build/myemacs/emacs/lisp/org/ox-publish /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-texinfo hides /home/joakim/build/myemacs/emacs/lisp/org/ox-texinfo /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-agenda hides /home/joakim/build/myemacs/emacs/lisp/org/org-agenda /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-html hides /home/joakim/build/myemacs/emacs/lisp/org/ox-html /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-org hides /home/joakim/build/myemacs/emacs/lisp/org/ox-org /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-man hides /home/joakim/build/myemacs/emacs/lisp/org/ox-man /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-fortran hides /home/joakim/build/myemacs/emacs/lisp/org/ob-fortran /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-md hides /home/joakim/build/myemacs/emacs/lisp/org/ox-md /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-ascii hides /home/joakim/build/myemacs/emacs/lisp/org/ox-ascii /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-icalendar hides /home/joakim/build/myemacs/emacs/lisp/org/ox-icalendar /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ox-beamer hides /home/joakim/build/myemacs/emacs/lisp/org/ox-beamer /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-lint hides /home/joakim/build/myemacs/emacs/lisp/org/org-lint /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-C hides /home/joakim/build/myemacs/emacs/lisp/org/ob-C /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-element hides /home/joakim/build/myemacs/emacs/lisp/org/org-element /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-timer hides /home/joakim/build/myemacs/emacs/lisp/org/org-timer /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-clock hides /home/joakim/build/myemacs/emacs/lisp/org/org-clock /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-mouse hides /home/joakim/build/myemacs/emacs/lisp/org/org-mouse /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-mobile hides /home/joakim/build/myemacs/emacs/lisp/org/org-mobile /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-tempo hides /home/joakim/build/myemacs/emacs/lisp/org/org-tempo /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-refile hides /home/joakim/build/myemacs/emacs/lisp/org/org-refile /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-num hides /home/joakim/build/myemacs/emacs/lisp/org/org-num /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-table hides /home/joakim/build/myemacs/emacs/lisp/org/org-table /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-plot hides /home/joakim/build/myemacs/emacs/lisp/org/org-plot /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-id hides /home/joakim/build/myemacs/emacs/lisp/org/org-id /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-protocol hides /home/joakim/build/myemacs/emacs/lisp/org/org-protocol /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-feed hides /home/joakim/build/myemacs/emacs/lisp/org/org-feed /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-habit hides /home/joakim/build/myemacs/emacs/lisp/org/org-habit /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-attach-git hides /home/joakim/build/myemacs/emacs/lisp/org/org-attach-git /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-datetree hides /home/joakim/build/myemacs/emacs/lisp/org/org-datetree /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-capture hides /home/joakim/build/myemacs/emacs/lisp/org/org-capture /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-inlinetask hides /home/joakim/build/myemacs/emacs/lisp/org/org-inlinetask /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-ctags hides /home/joakim/build/myemacs/emacs/lisp/org/org-ctags /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-colview hides /home/joakim/build/myemacs/emacs/lisp/org/org-colview /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-indent hides /home/joakim/build/myemacs/emacs/lisp/org/org-indent /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-attach hides /home/joakim/build/myemacs/emacs/lisp/org/org-attach /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-goto hides /home/joakim/build/myemacs/emacs/lisp/org/org-goto /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-archive hides /home/joakim/build/myemacs/emacs/lisp/org/org-archive /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-src hides /home/joakim/build/myemacs/emacs/lisp/org/org-src /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-list hides /home/joakim/build/myemacs/emacs/lisp/org/org-list /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-pcomplete hides /home/joakim/build/myemacs/emacs/lisp/org/org-pcomplete /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-keys hides /home/joakim/build/myemacs/emacs/lisp/org/org-keys /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-macs hides /home/joakim/build/myemacs/emacs/lisp/org/org-macs /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-gnus hides /home/joakim/build/myemacs/emacs/lisp/org/ol-gnus /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-macro hides /home/joakim/build/myemacs/emacs/lisp/org/org-macro /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-footnote hides /home/joakim/build/myemacs/emacs/lisp/org/org-footnote /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-compat hides /home/joakim/build/myemacs/emacs/lisp/org/org-compat /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol hides /home/joakim/build/myemacs/emacs/lisp/org/ol /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-duration hides /home/joakim/build/myemacs/emacs/lisp/org/org-duration /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-crypt hides /home/joakim/build/myemacs/emacs/lisp/org/org-crypt /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-eww hides /home/joakim/build/myemacs/emacs/lisp/org/ol-eww /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-entities hides /home/joakim/build/myemacs/emacs/lisp/org/org-entities /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-faces hides /home/joakim/build/myemacs/emacs/lisp/org/org-faces /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-bibtex hides /home/joakim/build/myemacs/emacs/lisp/org/ol-bibtex /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-w3m hides /home/joakim/build/myemacs/emacs/lisp/org/ol-w3m /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-rmail hides /home/joakim/build/myemacs/emacs/lisp/org/ol-rmail /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-info hides /home/joakim/build/myemacs/emacs/lisp/org/ol-info /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-mhe hides /home/joakim/build/myemacs/emacs/lisp/org/ol-mhe /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-irc hides /home/joakim/build/myemacs/emacs/lisp/org/ol-irc /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-eshell hides /home/joakim/build/myemacs/emacs/lisp/org/ol-eshell /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-docview hides /home/joakim/build/myemacs/emacs/lisp/org/ol-docview /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-man hides /home/joakim/build/myemacs/emacs/lisp/org/ol-man /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob hides /home/joakim/build/myemacs/emacs/lisp/org/ob /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ol-bbdb hides /home/joakim/build/myemacs/emacs/lisp/org/ol-bbdb /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-sqlite hides /home/joakim/build/myemacs/emacs/lisp/org/ob-sqlite /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-tangle hides /home/joakim/build/myemacs/emacs/lisp/org/ob-tangle /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-sql hides /home/joakim/build/myemacs/emacs/lisp/org/ob-sql /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-shell hides /home/joakim/build/myemacs/emacs/lisp/org/ob-shell /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-python hides /home/joakim/build/myemacs/emacs/lisp/org/ob-python /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-table hides /home/joakim/build/myemacs/emacs/lisp/org/ob-table /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-ruby hides /home/joakim/build/myemacs/emacs/lisp/org/ob-ruby /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-sed hides /home/joakim/build/myemacs/emacs/lisp/org/ob-sed /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-scheme hides /home/joakim/build/myemacs/emacs/lisp/org/ob-scheme /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-plantuml hides /home/joakim/build/myemacs/emacs/lisp/org/ob-plantuml /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-octave hides /home/joakim/build/myemacs/emacs/lisp/org/ob-octave /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-perl hides /home/joakim/build/myemacs/emacs/lisp/org/ob-perl /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-sass hides /home/joakim/build/myemacs/emacs/lisp/org/ob-sass /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-processing hides /home/joakim/build/myemacs/emacs/lisp/org/ob-processing /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-lua hides /home/joakim/build/myemacs/emacs/lisp/org/ob-lua /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-screen hides /home/joakim/build/myemacs/emacs/lisp/org/ob-screen /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-matlab hides /home/joakim/build/myemacs/emacs/lisp/org/ob-matlab /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-ocaml hides /home/joakim/build/myemacs/emacs/lisp/org/ob-ocaml /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-makefile hides /home/joakim/build/myemacs/emacs/lisp/org/ob-makefile /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-maxima hides /home/joakim/build/myemacs/emacs/lisp/org/ob-maxima /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-ref hides /home/joakim/build/myemacs/emacs/lisp/org/ob-ref /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-julia hides /home/joakim/build/myemacs/emacs/lisp/org/ob-julia /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-latex hides /home/joakim/build/myemacs/emacs/lisp/org/ob-latex /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-org hides /home/joakim/build/myemacs/emacs/lisp/org/ob-org /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-lisp hides /home/joakim/build/myemacs/emacs/lisp/org/ob-lisp /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-haskell hides /home/joakim/build/myemacs/emacs/lisp/org/ob-haskell /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-js hides /home/joakim/build/myemacs/emacs/lisp/org/ob-js /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-lilypond hides /home/joakim/build/myemacs/emacs/lisp/org/ob-lilypond /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-lob hides /home/joakim/build/myemacs/emacs/lisp/org/ob-lob /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-java hides /home/joakim/build/myemacs/emacs/lisp/org/ob-java /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-core hides /home/joakim/build/myemacs/emacs/lisp/org/ob-core /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-eshell hides /home/joakim/build/myemacs/emacs/lisp/org/ob-eshell /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-R hides /home/joakim/build/myemacs/emacs/lisp/org/ob-R /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-dot hides /home/joakim/build/myemacs/emacs/lisp/org/ob-dot /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-clojure hides /home/joakim/build/myemacs/emacs/lisp/org/ob-clojure /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-css hides /home/joakim/build/myemacs/emacs/lisp/org/ob-css /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-calc hides /home/joakim/build/myemacs/emacs/lisp/org/ob-calc /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-forth hides /home/joakim/build/myemacs/emacs/lisp/org/ob-forth /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-ditaa hides /home/joakim/build/myemacs/emacs/lisp/org/ob-ditaa /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-groovy hides /home/joakim/build/myemacs/emacs/lisp/org/ob-groovy /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-exp hides /home/joakim/build/myemacs/emacs/lisp/org/ob-exp /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-eval hides /home/joakim/build/myemacs/emacs/lisp/org/ob-eval /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-gnuplot hides /home/joakim/build/myemacs/emacs/lisp/org/ob-gnuplot /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-comint hides /home/joakim/build/myemacs/emacs/lisp/org/ob-comint /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-emacs-lisp hides /home/joakim/build/myemacs/emacs/lisp/org/ob-emacs-lisp /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/ob-awk hides /home/joakim/build/myemacs/emacs/lisp/org/ob-awk /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-loaddefs hides /home/joakim/build/myemacs/emacs/lisp/org/org-loaddefs /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-version hides /home/joakim/build/myemacs/emacs/lisp/org/org-version /home/joakim/.emacs.d/elpa/org-plus-contrib-20210705/org-install hides /home/joakim/build/myemacs/emacs/lisp/org/org-install Features: (shadow emacsbug tar-mode url-cache flow-fill term/screen term/xterm xterm pcmpl-rpm org-clock org-ql-search org-ql-view transient ov diary-lib diary-loaddefs cal-iso org-super-agenda ht org-datetree cal-move misearch multi-isearch pcmpl-gnu ffap pcmpl-unix gnus-cite smiley shr-color mm-archive mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-bcklg gnus-async qp gnus-ml cus-start tabify origami origami-parsers gnus-topic nndraft nnmh gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg utf-7 nnfolder gnus-cache epa-file gnutls network-stream nntp cider-mode cider-find cider-inspector cider-completion cider-profile cider-eval cider-repl cider-resolve cider-eldoc cider-test cider-stacktrace cider-doc cider-browse-spec cider-clojuredocs cider-overlays cider-jar cider-client cider-common cider-connection cider-util cider-popup sesman-browser nrepl-client queue nrepl-dict cider-compat spinner parseedn parseclj-parser parseclj-lex parseclj-alist generic anaconda-mode pythonic mule-util rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap smartparens-html sgml-mode facemenu nxml-util nxml-enc xmltok smartparens-clojure sesman vc clojure-mode semantic/wisent/python semantic/wisent/python-wy semantic/wisent semantic/wisent/wisent markdown-mode edit-indirect conf-mode bug-reference semantic/tag-file macrostep-c cmacexp macrostep semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/analyze/refs smartparens-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs smartparens-ruby ruby-mode dired-aux hl-line gnus-dired semantic/db-file data-debug cedet-files semantic/bovine/make semantic/decorate/include semantic/db-find semantic/db-ref semantic/dep semantic/bovine/make-by semantic/bovine make-mode autorevert company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb vc-git diff-mode vc-dispatcher org-eldoc quail ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime dig ol-docview doc-view jka-compr ol-bibtex bibtex ol-bbdb ol-w3m init helm-mode helm-misc helm-files image-mode exif filenotify helm-buffers helm-occur helm-tags helm-locate helm-grep helm-regexp helm-utils helm-help helm-types helm async-bytecomp helm-global-bindings helm-easymenu helm-source helm-multi-match helm-lib which-key spray face-remap wgrep memory-usage desktop frameset keyfreq zygospore windmove winner ace-window avy restclient nginx-mode yaml-mode dockerfile-mode sh-script smie executable geiser hy-mode hy-jedhy hy-shell hy-font-lock hy-base autodisass-java-bytecode ad-javap-mode meghanada which-func imenu smartparens-config smartparens-rst smartparens-markdown smartparens-org smartparens-text smartparens-python smartparens-ess smartparens highlight-parentheses semantic/decorate/mode semantic/decorate pulse semantic/db-mode semantic/idle semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag cedet company-quickhelp pos-tip company shx bash-completion ob-cypher n4js cypher-mode cmake-mode rst use-package-ensure-system-package use-package use-package-delight use-package-diminish system-packages marginalia consult-selectrum consult recentf tree-widget bookmark selectrum-prescient prescient selectrum minibuf-eldef crm ivy-hydra hydra lv counsel-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs all-the-icons-ivy all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons counsel xdg swiper ivy delsel ivy-faces ivy-overlay colir async printing ps-print ps-print-loaddefs ps-def lpr gnus-alias nnmairix nnml gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc gnus-spec gnus-int gnus-range message sendmail yank-media rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus nnoo nnheader gnus-util mail-utils range sort bbdb bbdb-site timezone erc-match erc-ezbounce erc-hl-nicks erc-button erc-fill erc-stamp erc-goodies erc erc-backend erc-loaddefs pastebin secrets dbus diredfl dired-x dired dired-loaddefs popup sauron cl boxquote rect generic-x disp-table spacemacs-dark-theme spacemacs-common server slime derived lisp-mnt gud apropos etags fileloop arc-mode archive-mode hyperspec highlight-indent-guides ada-mode align ada-skel wisi-skel skeleton ada-process wisi-process-parse ada-indent-user-options ada-core wisi-prj wisi wisi-fringe wisi-parse-common semantic/lex semantic/fw mode-local uniquify-files find-file ob-shell ob-jupyter jupyter-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration cus-edit cus-load wid-edit files-x tramp-compat parse-time iso8601 ls-lisp jupyter-server jupyter-server-ioloop jupyter-ioloop-comm jupyter-ioloop zmq jupyter-rest-api jupyter-org-extensions jupyter-org-client ob-python python ob-julia ob-ess-julia ess-julia julia-mode julia-mode-latexsubs ess-r-mode ess-r-flymake ess-r-xref xref ess-trns ess-r-package shell ess-r-completion ess-roxy ess-r-syntax ess-rd hideshow ess-s-lang ess-help ess-mode ess-inf ess-tracebug ess ess-utils ess-custom jupyter jupyter-repl jupyter-kernel-manager jupyter-channel jupyter-widget-client websocket bindat simple-httpd pp jupyter-kernelspec jupyter-env jupyter-client jupyter-mime shr pixel-fill kinsoku url-file url-dired svg xml dom jupyter-comm-layer jupyter-messages hmac-def jupyter-base eieio-base flymake-proc flymake project compile text-property-search thingatpt org-roam-protocol org-protocol oc comp comp-cstr warnings org-roam-migrate org-roam-mode org-roam-capture org-roam-node org-roam-db org-roam-utils org-roam-compat org-roam org-capture org-id emacsql-sqlite url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny emacsql emacsql-compiler magit-section f ob-gnuplot ob-plantuml ob-dot general org-ql pcase peg ts org-element avl-tree generator org-habit org-agenda org-refile dash kurecolor s color edmacro kmacro use-package-bind-key bind-key yasnippet-snippets yasnippet outshine outshine-org-cmds outorg org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities time-date org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs noutline outline cl-extra use-package-ensure use-package-core flyspell ispell finder-inf geiser-impl help-fns radix-tree help-mode geiser-custom geiser-base ring easy-mmode slime-autoloads advice rx info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-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 simple cl-generic 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 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 xwidget-internal dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 3583769 2679462) (symbols 48 78918 127) (strings 32 407568 335719) (string-bytes 1 13774740) (vectors 16 196524) (vector-slots 8 4024613 1821440) (floats 8 1589 4818) (intervals 56 129912 132034) (buffers 992 356)) -- Joakim Verona joakim@verona.se ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs 2022-04-09 13:09 bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs joakim @ 2022-04-09 14:11 ` Eli Zaretskii 2022-04-09 16:18 ` joakim 0 siblings, 1 reply; 8+ messages in thread From: Eli Zaretskii @ 2022-04-09 14:11 UTC (permalink / raw) To: joakim, Andrea Corallo; +Cc: 54814 > From: joakim@verona.se > Date: Sat, 09 Apr 2022 15:09:48 +0200 > > > symbol visibility in modules may cause emacs crash in nativ-compilation > emacs Does it really have to do anything with native-compilation? The fixes seem to be to compile the external modules with less visibility, but that doesn't affect Emacs, only the modules. Or am I missing something? ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs 2022-04-09 14:11 ` Eli Zaretskii @ 2022-04-09 16:18 ` joakim 2022-04-09 16:23 ` Eli Zaretskii 0 siblings, 1 reply; 8+ messages in thread From: joakim @ 2022-04-09 16:18 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 54814, Andrea Corallo Eli Zaretskii <eliz@gnu.org> writes: >> From: joakim@verona.se >> Date: Sat, 09 Apr 2022 15:09:48 +0200 >> >> >> symbol visibility in modules may cause emacs crash in nativ-compilation >> emacs > > Does it really have to do anything with native-compilation? The fixes > seem to be to compile the external modules with less visibility, but > that doesn't affect Emacs, only the modules. > > Or am I missing something? Well, I'm not really sure, but I have a couple of different builds of emacs, and when I load the emacs-zmq precompiled binaries they crash my main emacs, which has native-compilation, but not the other emacs I tried this in. I also get the same result of crashing native emacs, when using the packaged build proceedure of emacs-zmq. The hidden-visibility branch seems to fix these problems. Can I help pinpointing the issue somehow? > > > -- Joakim Verona joakim@verona.se ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs 2022-04-09 16:18 ` joakim @ 2022-04-09 16:23 ` Eli Zaretskii 2022-04-09 18:30 ` joakim 0 siblings, 1 reply; 8+ messages in thread From: Eli Zaretskii @ 2022-04-09 16:23 UTC (permalink / raw) To: joakim; +Cc: 54814, akrl > X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 > tests=[ALL_TRUSTED=-1] autolearn=disabled > From: joakim@verona.se > Cc: Andrea Corallo <akrl@sdf.org>, 54814@debbugs.gnu.org > Date: Sat, 09 Apr 2022 18:18:10 +0200 > > Eli Zaretskii <eliz@gnu.org> writes: > > >> From: joakim@verona.se > >> Date: Sat, 09 Apr 2022 15:09:48 +0200 > >> > >> > >> symbol visibility in modules may cause emacs crash in nativ-compilation > >> emacs > > > > Does it really have to do anything with native-compilation? The fixes > > seem to be to compile the external modules with less visibility, but > > that doesn't affect Emacs, only the modules. > > > > Or am I missing something? > > Well, I'm not really sure, but I have a couple of different builds of > emacs, and when I load the emacs-zmq precompiled binaries they crash my > main emacs, which has native-compilation, but not the other emacs I > tried this in. I also get the same result of crashing native emacs, when > using the packaged build proceedure of emacs-zmq. The hidden-visibility > branch seems to fix these problems. It's possible that Emacs with native-compilation somehow triggers the problem, but the proposed fixes are entirely in the modules, AFAICT. > Can I help pinpointing the issue somehow? A detailed explanation of why it crashes could help, I think. All I saw are backtraces with no details, and no explanation what exactly caused the crash and how that was related to symbol visibility. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs 2022-04-09 16:23 ` Eli Zaretskii @ 2022-04-09 18:30 ` joakim 2022-04-10 8:33 ` Eli Zaretskii 0 siblings, 1 reply; 8+ messages in thread From: joakim @ 2022-04-09 18:30 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 54814, akrl Eli Zaretskii <eliz@gnu.org> writes: >> X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 >> tests=[ALL_TRUSTED=-1] autolearn=disabled >> From: joakim@verona.se >> Cc: Andrea Corallo <akrl@sdf.org>, 54814@debbugs.gnu.org >> Date: Sat, 09 Apr 2022 18:18:10 +0200 >> >> Eli Zaretskii <eliz@gnu.org> writes: >> >> >> From: joakim@verona.se >> >> Date: Sat, 09 Apr 2022 15:09:48 +0200 >> >> >> >> >> >> symbol visibility in modules may cause emacs crash in nativ-compilation >> >> emacs >> > >> > Does it really have to do anything with native-compilation? The fixes >> > seem to be to compile the external modules with less visibility, but >> > that doesn't affect Emacs, only the modules. >> > >> > Or am I missing something? >> >> Well, I'm not really sure, but I have a couple of different builds of >> emacs, and when I load the emacs-zmq precompiled binaries they crash my >> main emacs, which has native-compilation, but not the other emacs I >> tried this in. I also get the same result of crashing native emacs, when >> using the packaged build proceedure of emacs-zmq. The hidden-visibility >> branch seems to fix these problems. > > It's possible that Emacs with native-compilation somehow triggers the > problem, but the proposed fixes are entirely in the modules, AFAICT. > >> Can I help pinpointing the issue somehow? > > A detailed explanation of why it crashes could help, I think. All I > saw are backtraces with no details, and no explanation what exactly > caused the crash and how that was related to symbol visibility. Well, I dont really know, but maybe having symbols in modules trigger a crash in native compilation emacs? Wouldn't then removing the symbols from the module remove the crash? I attach a gdb bt below, but I really didnt do anything except load the module, the crash happens immediately. The crash does happen inside the module, but for me, only in native compilation emacs. 17:11:45-joakim@tanaka:~/emacs-zmq$ gdb /home/joakim/build/myemacs/emacs/src/emacs GNU gdb (GDB) Fedora 11.2-1.fc35 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /home/joakim/build/myemacs/emacs/src/emacs... (gdb) run -q Starting program: /mnt/fast/myemacs/emacs/src/emacs -q This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.fedoraproject.org/ Enable debuginfod for this session? (y or [n]) n Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffdc25a640 (LWP 260604)] [New Thread 0x7fffdb70a640 (LWP 260608)] Invalid cast. warning: Probes-based dynamic linker interface failed. Reverting to original interface. [New Thread 0x7fffdac07640 (LWP 260609)] [New Thread 0x7fffda07d640 (LWP 260610)] [New Thread 0x7fffd9612640 (LWP 260611)] [Thread 0x7fffd9612640 (LWP 260611) exited] [New Thread 0x7fffd9612640 (LWP 260612)] [New Thread 0x7fffd8c82640 (LWP 260613)] [Thread 0x7fffd9612640 (LWP 260612) exited] [New Thread 0x7fffd9612640 (LWP 260614)] [New Thread 0x7fffd8c82640 (LWP 260615)] [Thread 0x7fffd8c82640 (LWP 260613) exited] [Thread 0x7fffd9612640 (LWP 260614) exited] [Thread 0x7fffd8c82640 (LWP 260615) exited] (emacs:260579): Gtk-CRITICAL **: 17:20:27.468: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed (emacs:260579): Gtk-CRITICAL **: 17:20:32.924: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed [Thread 0x7fffda07d640 (LWP 260610) exited] (emacs:260579): Gtk-CRITICAL **: 17:21:07.507: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed (emacs:260579): Gtk-CRITICAL **: 17:21:17.041: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00007fffc3a627db in emacs_module_init (ert=<optimized out>) at emacs-zmq.c:286 286 Qt = GLOBREF(INTERN("t")); Missing separate debuginfos, use: dnf debuginfo-install GConf2-3.2.6-31.fc35.x86_64 ImageMagick-libs-6.9.12.37-1.fc35.x86_64 alsa-lib-1.2.6.1-3.fc35.x86_64 at-spi2-atk-2.38.0-3.fc35.x86_64 at-spi2-core-2.42.0-1.fc35.x86_64 atk-2.36.0-4.fc35.x86_64 bzip2-libs-1.0.8-9.fc35.x86_64 cairo-1.17.4-4.fc35.x86_64 cairo-gobject-1.17.4-4.fc35.x86_64 dbus-glib-0.112-2.fc35.x86_64 dbus-libs-1.12.22-1.fc35.x86_64 elfutils-libs-0.186-1.fc35.x86_64 fontconfig-2.13.94-5.fc35.x86_64 freetype-2.11.0-3.fc35.x86_64 fribidi-1.0.10-5.fc35.x86_64 gdk-pixbuf2-2.42.6-2.fc35.x86_64 giflib-5.2.1-8.fc35.x86_64 glib2-2.70.5-1.fc35.x86_64 glibc-2.34-29.fc35.x86_64 gmp-6.2.0-7.fc35.x86_64 gnutls-3.7.2-3.fc35.x86_64 gstreamer1-plugins-base-1.20.0-1.fc35.x86_64 gtk3-3.24.31-2.fc35.x86_64 gvfs-client-1.48.1-2.fc35.x86_64 harfbuzz-2.9.1-1.fc35.x86_64 jansson-2.13.1-3.fc35.x86_64 jbigkit-libs-2.1-22.fc35.x86_64 json-glib-1.6.6-1.fc35.x86_64 keyutils-libs-1.6.1-3.fc35.x86_64 krb5-libs-1.19.2-2.fc35.x86_64 lcms2-2.12-2.fc35.x86_64 libICE-1.0.10-7.fc35.x86_64 libSM-1.2.3-9.fc35.x86_64 libX11-1.7.3.1-1.fc35.x86_64 libXau-1.0.9-7.fc35.x86_64 libXcomposite-0.4.5-6.fc35.x86_64 libXcursor-1.2.0-6.fc35.x86_64 libXext-1.3.4-7.fc35.x86_64 libXpm-3.5.13-6.fc35.x86_64 libXrandr-1.5.2-7.fc35.x86_64 libXrender-0.9.10-15.fc35.x86_64 libXt-1.2.0-5.fc35.x86_64 libacl-2.3.1-2.fc35.x86_64 libcap-2.48-3.fc35.x86_64 libcom_err-1.46.3-1.fc35.x86_64 libepoxy-1.5.9-1.fc35.x86_64 libffi-3.1-29.fc35.x86_64 libgcc-11.2.1-9.fc35.x86_64 libgccjit-11.2.1-9.fc35.x86_64 libglvnd-egl-1.3.4-2.fc35.x86_64 libglvnd-glx-1.3.4-2.fc35.x86_64 libglvnd-opengl-1.3.4-2.fc35.x86_64 libgnomekbd-3.26.1-6.fc35.x86_64 libgomp-11.2.1-9.fc35.x86_64 libgpg-error-1.43-1.fc35.x86_64 libicu-69.1-2.fc35.x86_64 libjpeg-turbo-2.1.0-3.fc35.x86_64 liblqr-1-0.4.2-17.fc35.x86_64 libmanette-0.2.6-3.fc35.x86_64 libmpc-1.2.1-3.fc35.x86_64 libnghttp2-1.45.1-1.fc35.x86_64 libpng-1.6.37-11.fc35.x86_64 libraqm-0.7.2-1.fc35.x86_64 librsvg2-2.52.7-1.fc35.x86_64 libsecret-0.20.4-3.fc35.x86_64 libsoup-2.74.2-1.fc35.x86_64 libssh-0.9.6-1.fc35.x86_64 libstdc++-11.2.1-9.fc35.x86_64 libstemmer-0-17.585svn.fc35.x86_64 libthai-0.1.28-7.fc35.x86_64 libtiff-4.3.0-4.fc35.x86_64 libtool-ltdl-2.4.6-50.fc35.x86_64 libtracker-sparql-3.2.1-1.fc35.x86_64 libunwind-1.5.0-1.fc35.x86_64 libuuid-2.37.4-1.fc35.x86_64 libwayland-client-1.20.0-1.fc35.x86_64 libwayland-cursor-1.20.0-1.fc35.x86_64 libwayland-egl-1.20.0-1.fc35.x86_64 libwayland-server-1.20.0-1.fc35.x86_64 libwebp-1.2.2-1.fc35.x86_64 libwpe-1.10.1-2.fc35.x86_64 libxcb-1.13.1-8.fc35.x86_64 libxkbcommon-1.3.1-1.fc35.x86_64 libxml2-2.9.13-1.fc35.x86_64 libzstd-1.5.2-1.fc35.x86_64 lz4-libs-1.9.3-3.fc35.x86_64 mpfr-4.1.0-8.fc35.x86_64 openjpeg2-2.4.0-4.fc35.x86_64 openldap-2.4.59-3.fc35.x86_64 orc-0.4.31-5.fc35.x86_64 pixman-0.40.0-4.fc35.x86_64 sqlite-libs-3.36.0-3.fc35.x86_64 systemd-libs-249.9-1.fc35.x86_64 webkit2gtk3-2.34.6-1.fc35.x86_64 webkit2gtk3-jsc-2.34.6-1.fc35.x86_64 xapps-2.2.8-1.fc35.x86_64 xz-libs-5.2.5-7.fc35.x86_64 zlib-1.2.11-30.fc35.x86_64 (gdb) bt #0 0x00007fffc3a627db in emacs_module_init (ert=<optimized out>) at emacs-zmq.c:286 #1 0x000000000063f304 in Fmodule_load (file=0xc86684) at emacs-module.c:1144 #2 0x000000000060b478 in eval_sub (form=<optimized out>) at eval.c:2382 #3 0x000000000060d7e7 in Feval (form=0x1038543, lexical=<optimized out>) at eval.c:2240 #4 0x00007fffea15a8d8 in F6576616c2d65787072657373696f6e_eval_expression_0 () at /mnt/fast/myemacs/emacs/src/../native-lisp/29.0.50-074789c9/preloaded/simple-34ebfc5b-c7860df7.eln #5 0x0000000000607c73 in Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fffffffcfe8) at eval.c:2873 #6 0x000000000060378f in Ffuncall_interactively (nargs=5, args=0x7fffffffcfe8) at callint.c:260 #7 0x0000000000607c73 in Ffuncall (nargs=6, args=0x7fffffffcfe0) at eval.c:2873 #8 0x00000000006093f8 in Fapply (nargs=nargs@entry=3, args=args@entry=0x7fffffffd130) at eval.c:2550 #9 0x00000000006050b4 in Fcall_interactively (function=0x7fffe9cdd140 <text_data_reloc_imp_blob+6624>, record_flag=0x0, keys=0xc2bcc5) at callint.c:353 #10 0x00007fffea15e010 in F636f6d6d616e642d65786563757465_command_execute_0 () at /mnt/fast/myemacs/emacs/src/../native-lisp/29.0.50-074789c9/preloaded/simple-34ebfc5b-c7860df7.eln #11 0x0000000000607c73 in Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffd2d0) at eval.c:2873 #12 0x000000000058f9c6 in call1 (arg1=<optimized out>, fn=0x48c0) at /mnt/fast/myemacs/emacs/src/lisp.h:3216 #13 command_loop_1 () at keyboard.c:1514 #14 0x00000000006064e7 in internal_condition_case (bfun=bfun@entry=0x58f570 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x5831d0 <cmd_error>) at eval.c:1450 #15 0x000000000057bb9a in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1142 #16 0x0000000000606441 in internal_catch (tag=tag@entry=0xf3c0, func=func@entry=0x57bb80 <command_loop_2>, arg=arg@entry=0x90) at eval.c:1180 #17 0x000000000057bb3f in command_loop () at keyboard.c:1120 #18 0x0000000000582d83 in recursive_edit_1 () at keyboard.c:729 #19 0x00000000005830fa in Frecursive_edit () at keyboard.c:812 #20 0x0000000000468cad in main (argc=2, argv=<optimized out>) at emacs.c:2447 > > > -- Joakim Verona joakim@verona.se ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs 2022-04-09 18:30 ` joakim @ 2022-04-10 8:33 ` Eli Zaretskii 2022-04-11 8:42 ` Andrea Corallo 0 siblings, 1 reply; 8+ messages in thread From: Eli Zaretskii @ 2022-04-10 8:33 UTC (permalink / raw) To: joakim; +Cc: 54814, akrl > From: joakim@verona.se > Cc: 54814@debbugs.gnu.org, akrl@sdf.org > Date: Sat, 09 Apr 2022 20:30:51 +0200 > > Well, I dont really know, but maybe having symbols in modules trigger a > crash in native compilation emacs? Wouldn't then removing the symbols > from the module remove the crash? > > I attach a gdb bt below, but I really didnt do anything except load the > module, the crash happens immediately. > > The crash does happen inside the module, but for me, only in native > compilation emacs. Andrea, any ideas how native-compilation could have triggered these crashes? Thanks. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs 2022-04-10 8:33 ` Eli Zaretskii @ 2022-04-11 8:42 ` Andrea Corallo 2022-04-11 11:20 ` Eli Zaretskii 0 siblings, 1 reply; 8+ messages in thread From: Andrea Corallo @ 2022-04-11 8:42 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 54814, joakim Eli Zaretskii <eliz@gnu.org> writes: >> From: joakim@verona.se >> Cc: 54814@debbugs.gnu.org, akrl@sdf.org >> Date: Sat, 09 Apr 2022 20:30:51 +0200 >> >> Well, I dont really know, but maybe having symbols in modules trigger a >> crash in native compilation emacs? Wouldn't then removing the symbols >> from the module remove the crash? >> >> I attach a gdb bt below, but I really didnt do anything except load the >> module, the crash happens immediately. >> >> The crash does happen inside the module, but for me, only in native >> compilation emacs. > > Andrea, any ideas how native-compilation could have triggered these > crashes? Not at the moment, so far I'm of your same opinion that this is not strictly related to native compilation but accidentally triggered by it. Andrea ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs 2022-04-11 8:42 ` Andrea Corallo @ 2022-04-11 11:20 ` Eli Zaretskii 0 siblings, 0 replies; 8+ messages in thread From: Eli Zaretskii @ 2022-04-11 11:20 UTC (permalink / raw) To: Andrea Corallo; +Cc: 54814, joakim > From: Andrea Corallo <akrl@sdf.org> > Cc: joakim@verona.se, 54814@debbugs.gnu.org > Date: Mon, 11 Apr 2022 08:42:48 +0000 > > Eli Zaretskii <eliz@gnu.org> writes: > > >> The crash does happen inside the module, but for me, only in native > >> compilation emacs. > > > > Andrea, any ideas how native-compilation could have triggered these > > crashes? > > Not at the moment, so far I'm of your same opinion that this is not > strictly related to native compilation but accidentally triggered by it. Thanks. I guess the next step is to ask someone who has access to that module to show a list of exported symbols before and after the change which made the crash go away, while still using Emacs with native-compilation. Then we might have some ideas by comparing these two lists of exported symbols. ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-04-11 11:20 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-04-09 13:09 bug#54814: 29.0.50; symbol visibility in modules may cause emacs crash in nativ-compilation emacs joakim 2022-04-09 14:11 ` Eli Zaretskii 2022-04-09 16:18 ` joakim 2022-04-09 16:23 ` Eli Zaretskii 2022-04-09 18:30 ` joakim 2022-04-10 8:33 ` Eli Zaretskii 2022-04-11 8:42 ` Andrea Corallo 2022-04-11 11:20 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).