[Bug 286443] editors/emacs: Segmentation fault when loading an old elc file in 30.1_3,3

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Jul 2025 11:31:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286443

--- Comment #2 from martin@lispworks.com ---
I just updated from pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest and it
is still crashing for me with emacs-30.1_5,3 on 13.5-RELEASE-p2.

It happens with --batch as well, so isn't related to the GUI.

emacs --batch -q -l /tmp/emacs-test/crash.el
Loading inf-lisp...
Loading comint.elc...
Fatal error 11: Segmentation fault
Backtrace:
0x57a20d <XSetWMNormalHints+0x2b04d> at /usr/local/bin/emacs
0x425b79 <???> at /usr/local/bin/emacs
0x426098 <???> at /usr/local/bin/emacs
0x578360 <XSetWMNormalHints+0x291a0> at /usr/local/bin/emacs
0x5783ef <XSetWMNormalHints+0x2922f> at /usr/local/bin/emacs
0x839ba831f <pthread_sigmask+0x54f> at /lib/libthr.so.3
0x839ba78db <pthread_setschedparam+0x84b> at /lib/libthr.so.3
0x7ffffffff2d3 <???> at ???
0x614444 <XSetWMNormalHints+0xc5284> at /usr/local/bin/emacs
0x61b5ae <XSetWMNormalHints+0xcc3ee> at /usr/local/bin/emacs
0x61c918 <XSetWMNormalHints+0xcd758> at /usr/local/bin/emacs
0x5e94ae <XSetWMNormalHints+0x9a2ee> at /usr/local/bin/emacs
0x61d256 <XSetWMNormalHints+0xce096> at /usr/local/bin/emacs
0x61def7 <XSetWMNormalHints+0xced37> at /usr/local/bin/emacs
0x5ec9c0 <XSetWMNormalHints+0x9d800> at /usr/local/bin/emacs
0x5ee0f8 <XSetWMNormalHints+0x9ef38> at /usr/local/bin/emacs
0x5ec8c8 <XSetWMNormalHints+0x9d708> at /usr/local/bin/emacs
0x5ed612 <XSetWMNormalHints+0x9e452> at /usr/local/bin/emacs
0x5edc84 <XSetWMNormalHints+0x9eac4> at /usr/local/bin/emacs
0x5ec236 <XSetWMNormalHints+0x9d076> at /usr/local/bin/emacs
0x61d2d5 <XSetWMNormalHints+0xce115> at /usr/local/bin/emacs
0x61dd49 <XSetWMNormalHints+0xceb89> at /usr/local/bin/emacs
0x61e34d <XSetWMNormalHints+0xcf18d> at /usr/local/bin/emacs
0x5e9234 <XSetWMNormalHints+0x9a074> at /usr/local/bin/emacs
0x5fd1d1 <XSetWMNormalHints+0xae011> at /usr/local/bin/emacs
0x634401 <XSetWMNormalHints+0xe5241> at /usr/local/bin/emacs
0x636b2b <XSetWMNormalHints+0xe796b> at /usr/local/bin/emacs
0x5ec9ee <XSetWMNormalHints+0x9d82e> at /usr/local/bin/emacs
0x61d2d5 <XSetWMNormalHints+0xce115> at /usr/local/bin/emacs
0x61def7 <XSetWMNormalHints+0xced37> at /usr/local/bin/emacs
0x5eca14 <XSetWMNormalHints+0x9d854> at /usr/local/bin/emacs
0x61523a <XSetWMNormalHints+0xc607a> at /usr/local/bin/emacs
0x61d105 <XSetWMNormalHints+0xcdf45> at /usr/local/bin/emacs
0x61e4b7 <XSetWMNormalHints+0xcf2f7> at /usr/local/bin/emacs
0x879209fa5
<F6c6f61642d776974682d636f64652d636f6e76657273696f6e_load_with_code_conversion_0+0x405>
at
/usr/local/bin/../lib/emacs/30.1/native-lisp/30.1-a319b175/preloaded/mule-3352613d-d3b3728f.eln
0x5e94ae <XSetWMNormalHints+0x9a2ee> at /usr/local/bin/emacs
0x61e00c <XSetWMNormalHints+0xcee4c> at /usr/local/bin/emacs
0x885c475bb <F636f6d6d616e642d6c696e652d31_command_line_1_0+0x16eb> at
/usr/local/bin/../lib/emacs/30.1/native-lisp/30.1-a319b175/preloaded/startup-bbc6ea72-bc20aae4.eln
0x5e94ae <XSetWMNormalHints+0x9a2ee> at /usr/local/bin/emacs
0x885c3e2f9 <F636f6d6d616e642d6c696e65_command_line_0+0x1ba9> at
/usr/local/bin/../lib/emacs/30.1/native-lisp/30.1-a319b175/preloaded/startup-bbc6ea72-bc20aae4.eln
Segmentation fault

-- 
You are receiving this mail because:
You are the assignee for the bug.