Subject: bug#59715: 28.2; Emacs crashes after ``turkish-case-conversion-enable''

From: YUSUF ALPER ÇIKIŞIR <[email-masked]>
Date: Fri, 02 Dec 2022 01:26:10 +0300

Eli Zaretskii <[email-masked]> writes:

> Thanks.  However, the above is not useful, because your Emacs build is
> stripped of the debug symbols.  That's the reason for all those "in ??"
> parts that should have provided names of functions and line numbers in
> files.

Sorry, I'm not very familiar to gdb and the debugging process.  Here is
the proper output:

Starting program: /gnu/store/nsf1fjqv8988473yi25qrv6yh3d3zgr9-emacs-28.2/bin/.emacs-28.2-real -Q
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
[New LWP 4995]
[New LWP 4996]
[New LWP 4997]
[LWP 4997 exited]
[New LWP 4998]
[New LWP 4999]
[LWP 4998 exited]
[New LWP 5000]
[New LWP 5001]
[LWP 5000 exited]
[LWP 4999 exited]
[LWP 5001 exited]

Thread 1 ".emacs-28.2-rea" received signal SIGABRT, Aborted.
0x00007ffff5b17c30 in raise () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0

Thread 3 (LWP 4996 "gdbus"):
#0  0x00007ffff3df3d6f in poll () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6
#1  0x00007ffff6f1b6e6 in g_main_context_iterate.constprop () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libglib-2.0.so.0
#2  0x00007ffff6f1ba2b in g_main_loop_run () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libglib-2.0.so.0
#3  0x00007ffff7173386 in gdbus_shared_thread_func () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libgio-2.0.so.0
#4  0x00007ffff6f4437d in g_thread_proxy () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libglib-2.0.so.0
#5  0x00007ffff5b0dd7e in ?? () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0
#6  0x00007ffff3dfdeff in clone () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6

Thread 2 (LWP 4995 "gmain"):
#0  0x00007ffff3df3d6f in poll () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6
#1  0x00007ffff6f1b6e6 in g_main_context_iterate.constprop () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libglib-2.0.so.0
#2  0x00007ffff6f1b7ef in g_main_context_iteration () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libglib-2.0.so.0
#3  0x00007ffff6f1b841 in glib_worker_main () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libglib-2.0.so.0
#4  0x00007ffff6f4437d in g_thread_proxy () from /gnu/store/2jj2mxn6wfrcw7i85nywk71mmqbnhzps-glib-2.70.2/lib/libglib-2.0.so.0
#5  0x00007ffff5b0dd7e in ?? () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0
#6  0x00007ffff3dfdeff in clone () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6

Thread 1 (LWP 4992 ".emacs-28.2-rea"):
#0  0x00007ffff5b17c30 in raise () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0
#1  0x00000000004257f2 in terminate_due_to_signal ()
#2  0x0000000000425c88 in emacs_abort ()
#3  0x0000000000424bb1 in realize_face[cold] ()
#4  0x00000000004dbb59 in realize_basic_faces ()
#5  0x00000000004dd23d in recompute_basic_faces ()
#6  0x00000000004591a5 in init_iterator ()
#7  0x00000000004654a5 in gui_consider_frame_title ()
#8  0x0000000000470b39 in redisplay_internal ()
#9  0x000000000051b092 in read_char ()
#10 0x000000000051df0f in read_key_sequence ()
#11 0x000000000051f86e in command_loop_1 ()
#12 0x000000000058a9a7 in internal_condition_case ()
#13 0x00000000005105aa in command_loop_2 ()
#14 0x000000000058a901 in internal_catch ()
#15 0x0000000000510507 in command_loop ()
#16 0x0000000000515ddc in recursive_edit_1 ()
#17 0x000000000053f286 in Fread_from_minibuffer ()
#18 0x00007ffff1b0bcf0 in F636f6d706c6574696e672d726561642d64656661756c74_completing_read_default_0 () from /gnu/store/nsf1fjqv8988473yi25qrv6yh3d3zgr9-emacs-28.2/bin/../lib/emacs/28.2/native-lisp/28.2-16da12a1/preloaded/minibuffer-1b0f548b-ab128216.eln
#19 0x000000000058cf6a in funcall_subr ()
#20 0x000000000058ba0b in Ffuncall ()
#21 0x000000000053c6a0 in Fcompleting_read ()
#22 0x00007fffe90a63f7 in F787265662d2d726561642d6964656e746966696572_xref__read_identifier_0 () from /gnu/store/nsf1fjqv8988473yi25qrv6yh3d3zgr9-emacs-28.2/lib/emacs/28.2/native-lisp/28.2-16da12a1/xref-9ee0ccd1-717bfe9d.eln
#23 0x000000000058ba0b in Ffuncall ()
#24 0x00000000005c6c10 in exec_byte_code ()
#25 0x000000000058de95 in eval_sub ()
#26 0x000000000058f7d9 in Feval ()
#27 0x0000000000589650 in Fcall_interactively ()
#28 0x00007ffff1e940d1 in F636f6d6d616e642d65786563757465_command_execute_0 () from /gnu/store/nsf1fjqv8988473yi25qrv6yh3d3zgr9-emacs-28.2/bin/../lib/emacs/28.2/native-lisp/28.2-16da12a1/preloaded/simple-fab5b0cf-82d9f771.eln
#29 0x000000000058ba0b in Ffuncall ()
#30 0x000000000058baba in call1 ()
#31 0x000000000051fa6f in command_loop_1 ()
#32 0x000000000058a9a7 in internal_condition_case ()
#33 0x00000000005105aa in command_loop_2 ()
#34 0x000000000058a901 in internal_catch ()
#35 0x000000000051054f in command_loop ()
#36 0x0000000000515ddc in recursive_edit_1 ()
#37 0x0000000000516120 in Frecursive_edit ()
#38 0x000000000042d803 in main ()

> Did you build this Emacs yourself?  If so, please rebuild with -g3 and
> without -s in the compiler options, reproduce the problem under GDB, and
> show the backtrace you get.  If this Emacs was not built by you, try to find
> and install the corresponding debug package, if it exists, and repeat the
> experiment after installing that.

Yes, now I'm using the default emacs-28.2 package in GNU Guix.

Thank you for your time.