Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777093 - app-editors/emacs-27.1-r4 crashes
Summary: app-editors/emacs-27.1-r4 crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-18 19:31 UTC by Joakim Tjernlund
Modified: 2022-08-17 08:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2021-03-18 19:31:07 UTC
Doing a Revert Buffer over a remote connection with ping > 3 ms cashes.

USE=Xaw3d acl alsa cairo dbus gif gmp gpm gsettings gui harfbuzz inotify jpeg json kerberos lcms png sound ssl svg threads tiff xft xpm zlib


(gdb) bt full
#0  raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:49
        set = {__val = {0xfffffffe7ffbfaff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10000000, 0x0, 0x0, 0x5651ded46a30, 0xfffffffe7ffbfeff}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x00005651dec54241 in  ()
#2  0x00005651dec546c3 in  ()
#3  0x00005651ded469dd in  ()
#4  0x00005651ded46a59 in  ()
#5  0x00007f26e00327e0 in <signal handler called> () at /lib64/libpthread.so.0
#6  0x00007f26e1764594 in  () at /usr/lib64/libXaw3d.so.8
#7  0x00007f26e1764c92 in  () at /usr/lib64/libXaw3d.so.8
#8  0x00007f26e16dc3b9 in  () at /usr/lib64/libXt.so.6
#9  0x00007f26e16dcd30 in  () at /usr/lib64/libXt.so.6
#10 0x00007f26e16dd202 in _XtCreateWidget () at /usr/lib64/libXt.so.6
#11 0x00007f26e16dd582 in XtCreateManagedWidget () at /usr/lib64/libXt.so.6
#12 0x00007f26e1762e7f in  () at /usr/lib64/libXaw3d.so.8
#13 0x00007f26e16dc3b9 in  () at /usr/lib64/libXt.so.6
#14 0x00007f26e16dcd30 in  () at /usr/lib64/libXt.so.6
#15 0x00007f26e16dd202 in _XtCreateWidget () at /usr/lib64/libXt.so.6
#16 0x00007f26e16dd582 in XtCreateManagedWidget () at /usr/lib64/libXt.so.6
#17 0x00005651dee33787 in  ()
#18 0x00005651dee34437 in  ()
#19 0x00005651dee2d3b7 in  ()
#20 0x00005651decb4a81 in  ()
#21 0x00005651dedafe86 in  ()
#22 0x00005651deda54a3 in  ()
#23 0x00005651dedd6c48 in  ()
#24 0x00005651deda5407 in  ()
#25 0x00005651dedd6c48 in  ()
#26 0x00005651deda5407 in  ()
#27 0x00005651deda1e11 in  ()
#28 0x00005651deda54a3 in  ()
#29 0x00005651deda5863 in  ()
#30 0x00005651deda337a in  ()
#31 0x00005651deda54a3 in  ()
#32 0x00005651dedd6c48 in  ()
#33 0x00005651deda5407 in  ()
#34 0x00005651deda555a in  ()
#35 0x00005651ded3d418 in  ()
#36 0x00005651deda4737 in  ()
#37 0x00005651ded2ebc4 in  ()
#38 0x00005651deda4691 in  ()
#39 0x00005651ded2eb6b in  ()
#40 0x00005651ded33b46 in  ()
#41 0x00005651ded33e72 in  ()
#42 0x00005651dec5aaef in  ()
#43 0x00007f26dfd94e6b in __libc_start_main (main=
    0x5651dec59610, argc=0x2, argv=0x7ffd688a0468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd688a0458)
    at ../csu/libc-start.c:314
        self = <optimized out>
        result = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {0x5651dee34e70, 0xbb04bbd3eb1d3da0, 0x5651dec5b300, 0x7ffd688a0460, 0x0, 0x0, 0x44fe6ac7ec1d3da0, 0x45490461775b3da0}, mask_was_saved = 0x0}}, priv = {pad = {0x0, 0x0, 0x2, 0x7ffd688a0468}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0x2}}}
        not_first_call = <optimized out>
#44 0x00005651dec5b32a in  ()
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-19 03:33:03 UTC
We need some debug symbols: https://wiki.gentoo.org/wiki/Debugging.
Comment 2 Ulrich Müller gentoo-dev 2021-03-19 06:57:03 UTC
(In reply to Joakim Tjernlund from comment #0)
> Doing a Revert Buffer over a remote connection with ping > 3 ms cashes.

That's via File / Revert Buffer in the menu bar?

So yes, please reproduce with debugging symbols, referably with app-editors/emacs-27.2_rc1.
Comment 3 Ulrich Müller gentoo-dev 2021-03-19 09:05:17 UTC
(In reply to Ulrich Müller from comment #2)
> So yes, please reproduce with debugging symbols, referably with
> app-editors/emacs-27.2_rc1.

*preferably
Comment 4 Joakim Tjernlund 2021-03-19 10:05:26 UTC
app-editors/emacs-27.2_rc1:

(gdb) bt
#0  raise (sig=sig@entry=0xb) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x000055eefddd8261 in terminate_due_to_signal (sig=sig@entry=0xb, backtrace_limit=backtrace_limit@entry=0x28) at emacs.c:410
#2  0x000055eefddd86e3 in handle_fatal_signal (sig=sig@entry=0xb) at sysdep.c:1795
#3  0x000055eefdecaced in deliver_thread_signal (sig=sig@entry=0xb, handler=0x55eefddd86d8 <handle_fatal_signal>) at sysdep.c:1769
#4  0x000055eefdecad69 in deliver_fatal_thread_signal (sig=0xb) at sysdep.c:1807
#5  handle_sigsegv (sig=0xb, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1892
#6  0x00007fc4cda487e0 in <signal handler called> () at /lib64/libpthread.so.0
#7  0x00007fc4cf17a594 in GetnormalGC (lw=lw@entry=0x55eeff22e630) at Label.c:310
#8  0x00007fc4cf17ac92 in Initialize (request=<optimized out>, new=0x55eeff22e630, args=<optimized out>, num_args=<optimized out>)
    at Label.c:401
#9  0x00007fc4cf0f23b9 in  () at /usr/lib64/libXt.so.6
#10 0x00007fc4cf0f2d30 in  () at /usr/lib64/libXt.so.6
#11 0x00007fc4cf0f3202 in _XtCreateWidget () at /usr/lib64/libXt.so.6
#12 0x00007fc4cf0f3582 in XtCreateManagedWidget () at /usr/lib64/libXt.so.6
#13 0x00007fc4cf178e7f in Initialize (request=<optimized out>, new=0x55eeff1bfd10, args=<optimized out>, num_args=<optimized out>)
    at Dialog.c:176
#14 0x00007fc4cf0f23b9 in  () at /usr/lib64/libXt.so.6
#15 0x00007fc4cf0f2d30 in  () at /usr/lib64/libXt.so.6
#16 0x00007fc4cf0f3202 in _XtCreateWidget () at /usr/lib64/libXt.so.6
#17 0x00007fc4cf0f3582 in XtCreateManagedWidget () at /usr/lib64/libXt.so.6
#18 0x000055eefdfb7c37 in make_dialog
    (name=0x55eeff08d900 "Q2BR1", parent=<optimized out>, pop_up_p=<optimized out>, shell_title=0x55eefdfdb741 "Question", text_input_slot=<optimized out>, radio_box=<optimized out>, list=0x0, left_buttons=0x1, right_buttons=0x1, instance=0x55eeff08da40, icon_name=<optimized out>) at lwlib-Xaw.c:553
#19 0x000055eefdfb88e7 in xaw_create_dialog (instance=<optimized out>) at lwlib-Xaw.c:731
#20 0x000055eefdfb1867 in instantiate_widget_instance (instance=0x55eeff08da40) at lwlib.c:726
#21 allocate_widget_instance (pop_up_p=0x1, parent=<optimized out>, info=<optimized out>) at lwlib.c:223
#22 lw_make_widget (id=<optimized out>, parent=<optimized out>, pop_up_p=<optimized out>) at lwlib.c:770
#23 0x000055eefde38c41 in create_and_show_dialog (f=0x55eefe7d7af0, first_wv=0x55eeff08d870) at xmenu.c:1788
#24 x_dialog_show (title=<optimized out>, error_name=<synthetic pointer>, header=0x0, f=0x55eefe7d7af0) at xmenu.c:1940
#25 xw_popup_dialog (f=0x55eefe7d7af0, header=0x0, contents=<optimized out>) at xmenu.c:2003
#26 0x000055eefdf34256 in Fyes_or_no_p (prompt=0x55eeff241424) at lisp.h:1027
#27 0x000055eefdf29873 in Ffuncall (nargs=0x2, args=args@entry=0x7ffdc735e2e8) at eval.c:2795
#28 0x000055eefdf5afc8 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#29 0x000055eefdf297d7 in Ffuncall (nargs=0x3, args=args@entry=0x7ffdc735e6f0) at eval.c:2809
#30 0x000055eefdf5afc8 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#31 0x000055eefdf297d7 in Ffuncall (nargs=nargs@entry=0x2, args=args@entry=0x7ffdc735eba8) at eval.c:2809
#32 0x000055eefdf261e1 in Ffuncall_interactively (nargs=0x2, args=0x7ffdc735eba8) at callint.c:254
#33 0x000055eefdf29873 in Ffuncall (nargs=0x3, args=0x7ffdc735eba0) at eval.c:2795
#34 0x000055eefdf29c33 in Fapply (nargs=nargs@entry=0x3, args=args@entry=0x7ffdc735eba0) at eval.c:2382
#35 0x000055eefdf2774a in Fcall_interactively (function=0x29d5cbf58650, record_flag=0x0, keys=0x7fc4ca8a07ed) at callint.c:342
#36 0x000055eefdf29873 in Ffuncall (nargs=0x4, args=args@entry=0x7ffdc735ec98) at eval.c:2795
#37 0x000055eefdf5afc8 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#38 0x000055eefdf297d7 in Ffuncall (nargs=0x2, args=0x7ffdc735f040) at eval.c:2809
#39 0x000055eefdf2992a in call1 (fn=fn@entry=0x4320, arg1=<optimized out>) at eval.c:2655
#40 0x000055eefdec1728 in command_loop_1 () at lisp.h:1027
#41 0x000055eefdf28b07 in internal_condition_case
    (bfun=bfun@entry=0x55eefdec1330 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x55eefdeb8240 <cmd_error>)
    at eval.c:1356
#42 0x000055eefdeb2f14 in command_loop_2 (ignore=ignore@entry=0x0) at lisp.h:1027
#43 0x000055eefdf28a61 in internal_catch
    (tag=tag@entry=0xd3e0, func=func@entry=0x55eefdeb2ef0 <command_loop_2>, arg=arg@entry=0x0) at eval.c:1117
--Type <RET> for more, q to quit, c to continue without paging--
#44 0x000055eefdeb2ebb in command_loop () at lisp.h:1027
#45 0x000055eefdeb7e56 in recursive_edit_1 () at keyboard.c:714
#46 0x000055eefdeb8182 in Frecursive_edit () at keyboard.c:786
#47 0x000055eefdddeb1f in main (argc=0x2, argv=<optimized out>) at emacs.c:2067
Comment 5 Joakim Tjernlund 2021-03-19 10:24:46 UTC
better BT:

(gdb) bt
#0  0x00007ffff7ddc594 in GetnormalGC (lw=lw@entry=0x555556999670) at Label.c:310
#1  0x00007ffff7ddcc92 in Initialize (request=<optimized out>, new=0x555556999670, args=<optimized out>, num_args=<optimized out>) at Label.c:401
#2  0x00007ffff7d543b9 in CallInitialize
    (class=0x7ffff7e19280 <labelClassRec>, req_widget=req_widget@entry=0x7fffffffb710, new_widget=new_widget@entry=0x555556999670, args=args@entry=0x7fffffffbb80, num_args=<optimized out>, num_args@entry=0x4) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:219
#3  0x00007ffff7d54d30 in xtCreate
    (name=name@entry=0x7ffff7e06065 "label", class=class@entry=0x0, widget_class=widget_class@entry=0x7ffff7e19280 <labelClassRec>, parent=parent@entry=0x555556999440, default_screen=0x555555e21bf0, args=args@entry=0x7fffffffbb80, num_args=0x4, typed_args=0x0, num_typed_args=<optimized out>, parent_constraint_class=0x7ffff7e18ac0 <dialogClassRec>, post_proc=0x7ffff7d54400 <widgetPostProc>) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:415
#4  0x00007ffff7d55202 in _XtCreateWidget
    (name=name@entry=0x7ffff7e06065 "label", widget_class=widget_class@entry=0x7ffff7e19280 <labelClassRec>, parent=parent@entry=0x555556999440, args=args@entry=0x7fffffffbb80, num_args=0x4, typed_args=typed_args@entry=0x0, num_typed_args=<optimized out>) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:581
#5  0x00007ffff7d55582 in XtCreateManagedWidget
    (name=name@entry=0x7ffff7e06065 "label", widget_class=0x7ffff7e19280 <labelClassRec>, parent=parent@entry=0x555556999440, args=args@entry=0x7fffffffbb80, num_args=<optimized out>) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:619
#6  0x00007ffff7ddae7f in Initialize (request=<optimized out>, new=0x555556999440, args=<optimized out>, num_args=<optimized out>) at Dialog.c:176
#7  0x00007ffff7d543b9 in CallInitialize
    (class=0x7ffff7e18ac0 <dialogClassRec>, req_widget=req_widget@entry=0x7fffffffbda0, new_widget=new_widget@entry=0x555556999440, args=args@entry=0x7fffffffc2b0, num_args=<optimized out>, num_args@entry=0x0) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:219
#8  0x00007ffff7d54d30 in xtCreate
    (name=name@entry=0x5555568f4b50 "Q2BR1", class=class@entry=0x0, widget_class=widget_class@entry=0x7ffff7e18ac0 <dialogClassRec>, parent=parent@entry=0x55555692ab30, default_screen=0x555555e21bf0, args=args@entry=0x7fffffffc2b0, num_args=0x0, typed_args=0x0, num_typed_args=<optimized out>, parent_constraint_class=0x0, post_proc=0x7ffff7d54400 <widgetPostProc>) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:415
#9  0x00007ffff7d55202 in _XtCreateWidget
    (name=name@entry=0x5555568f4b50 "Q2BR1", widget_class=widget_class@entry=0x7ffff7e18ac0 <dialogClassRec>, parent=parent@entry=0x55555692ab30, args=args@entry=0x7fffffffc2b0, num_args=0x0, typed_args=typed_args@entry=0x0, num_typed_args=<optimized out>) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:581
#10 0x00007ffff7d55582 in XtCreateManagedWidget
    (name=name@entry=0x5555568f4b50 "Q2BR1", widget_class=0x7ffff7e18ac0 <dialogClassRec>, parent=parent@entry=0x55555692ab30, args=args@entry=0x7fffffffc2b0, num_args=num_args@entry=0x0) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:619
#11 0x0000555555774c37 in make_dialog
    (name=0x5555568f4b50 "Q2BR1", parent=<optimized out>, pop_up_p=<optimized out>, shell_title=0x555555798741 "Question", text_input_slot=<optimized out>, radio_box=<optimized out>, list=0x0, left_buttons=0x1, right_buttons=0x1, instance=0x5555568f4c90, icon_name=<optimized out>) at lwlib-Xaw.c:553
#12 0x00005555557758e7 in xaw_create_dialog (instance=<optimized out>) at lwlib-Xaw.c:731
#13 0x000055555576e867 in instantiate_widget_instance (instance=0x5555568f4c90) at lwlib.c:726
#14 allocate_widget_instance (pop_up_p=0x1, parent=<optimized out>, info=<optimized out>) at lwlib.c:223
#15 lw_make_widget (id=<optimized out>, parent=<optimized out>, pop_up_p=<optimized out>) at lwlib.c:770
#16 0x00005555555f5c41 in create_and_show_dialog (f=0x555555efeea0, first_wv=0x5555568f4ac0) at xmenu.c:1788
#17 x_dialog_show (title=<optimized out>, error_name=<synthetic pointer>, header=0x0, f=0x555555efeea0) at xmenu.c:1940
#18 xw_popup_dialog (f=0x555555efeea0, header=0x0, contents=<optimized out>) at xmenu.c:2003
#19 0x00005555556f1256 in Fyes_or_no_p (prompt=0x5555568c8ef4) at lisp.h:1027
#20 0x00005555556e6873 in Ffuncall (nargs=0x2, args=args@entry=0x7fffffffc748) at eval.c:2795
#21 0x0000555555717fc8 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#22 0x00005555556e67d7 in Ffuncall (nargs=0x3, args=args@entry=0x7fffffffcb50) at eval.c:2809
#23 0x0000555555717fc8 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#24 0x00005555556e67d7 in Ffuncall (nargs=nargs@entry=0x2, args=args@entry=0x7fffffffd008) at eval.c:2809
#25 0x00005555556e31e1 in Ffuncall_interactively (nargs=0x2, args=0x7fffffffd008) at callint.c:254
#26 0x00005555556e6873 in Ffuncall (nargs=0x3, args=0x7fffffffd000) at eval.c:2795
#27 0x00005555556e6c33 in Fapply (nargs=nargs@entry=0x3, args=args@entry=0x7fffffffd000) at eval.c:2382
#28 0x00005555556e474a in Fcall_interactively (function=0x2aaa9d3fc650, record_flag=0x0, keys=0x7ffff350180d) at callint.c:342
#29 0x00005555556e6873 in Ffuncall (nargs=0x4, args=args@entry=0x7fffffffd0f8) at eval.c:2795
#30 0x0000555555717fc8 in exec_byte_code
    (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at bytecode.c:633
#31 0x00005555556e67d7 in Ffuncall (nargs=0x2, args=0x7fffffffd4a0) at eval.c:2809
#32 0x00005555556e692a in call1 (fn=fn@entry=0x4320, arg1=<optimized out>) at eval.c:2655
#33 0x000055555567e728 in command_loop_1 () at lisp.h:1027
#34 0x00005555556e5b07 in internal_condition_case (bfun=bfun@entry=0x55555567e330 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x555555675240 <cmd_error>)
--Type <RET> for more, q to quit, c to continue without paging--
    at eval.c:1356
#35 0x000055555566ff14 in command_loop_2 (ignore=ignore@entry=0x0) at lisp.h:1027
#36 0x00005555556e5a61 in internal_catch (tag=tag@entry=0xd3e0, func=func@entry=0x55555566fef0 <command_loop_2>, arg=arg@entry=0x0) at eval.c:1117
#37 0x000055555566febb in command_loop () at lisp.h:1027
#38 0x0000555555674e56 in recursive_edit_1 () at keyboard.c:714
#39 0x0000555555675182 in Frecursive_edit () at keyboard.c:786
#40 0x000055555559bb1f in main (argc=0x2, argv=<optimized out>) at emacs.c:2067
Comment 6 Joakim Tjernlund 2021-03-19 10:26:42 UTC
BTW, anyone know if the famous "GTK" crash bug has been solved?
Comment 7 Ulrich Müller gentoo-dev 2021-03-19 15:54:56 UTC
(In reply to Joakim Tjernlund from comment #5)

Looks like the problem is somewhere in lwlib.

Unfortunately I fail to reproduce the bug. So I think we have two options (which don't exclude each other, so in the best case we would follow up with both):
1. Report this upstream for 27.2-rc1, so there may still be a chance to have it fixed for the 27.2 release.
2. If you're willing to help even more, we could try to pinpoint the problem our selves.

Re 2., I see that several changes were made in lwlib in 2019 and 2020, so they're in Emacs 27, but not in 26. So could you try if you can reproduce the bug with emacs-26.3-r4?
Comment 8 Joakim Tjernlund 2021-03-19 17:22:44 UTC
(In reply to Ulrich Müller from comment #7)
> (In reply to Joakim Tjernlund from comment #5)
> 
> Looks like the problem is somewhere in lwlib.
> 
> Unfortunately I fail to reproduce the bug. So I think we have two options
> (which don't exclude each other, so in the best case we would follow up with
> both):
> 1. Report this upstream for 27.2-rc1, so there may still be a chance to have
> it fixed for the 27.2 release.
> 2. If you're willing to help even more, we could try to pinpoint the problem
> our selves.
> 
> Re 2., I see that several changes were made in lwlib in 2019 and 2020, so
> they're in Emacs 27, but not in 26. So could you try if you can reproduce
> the bug with emacs-26.3-r4?

One thing, to reproduce I think you need some network latency. It does not happen
if I ssh between two boxes at work, only over VPN from home into work.
I got c.a 3 ms ping time


I did the same test with emacs 26 and it cashed, BT:
hread 1 "emacs-26" received signal SIGSEGV, Segmentation fault.
0x00007ffff7df8594 in GetnormalGC (lw=lw@entry=0x3644230) at Label.c:310
310	Label.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7df8594 in GetnormalGC (lw=lw@entry=0x3644230) at Label.c:310
#1  0x00007ffff7df8c92 in Initialize
    (request=<optimized out>, new=0x3644230, args=<optimized out>, num_args=<optimized out>) at Label.c:401
#2  0x00007ffff7d6e3b9 in CallInitialize
    (class=0x7ffff7e35280 <labelClassRec>, req_widget=req_widget@entry=0x7fffffffbb10, new_widget=new_widget@entry=0x3644230, args=args@entry=0x7fffffffbf80, num_args=<optimized out>, num_args@entry=0x4)
    at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:219
#3  0x00007ffff7d6ed30 in xtCreate
    (name=name@entry=0x7ffff7e22065 "label", class=class@entry=0x0, widget_class=widget_class@entry=0x7ffff7e35280 <labelClassRec>, parent=parent@entry=0x35fae60, default_screen=0x2a90e60, args=args@entry=0x7fffffffbf80, num_args=0x4, typed_args=0x0, num_typed_args=<optimized out>, parent_constraint_class=0x7ffff7e34ac0 <dialogClassRec>, post_proc=0x7ffff7d6e400 <widgetPostProc>)
    at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:415
#4  0x00007ffff7d6f202 in _XtCreateWidget
    (name=name@entry=0x7ffff7e22065 "label", widget_class=widget_class@entry=0x7ffff7e35280 <labelClassRec>, parent=parent@entry=0x35fae60, args=args@entry=0x7fffffffbf80, num_args=0x4, typed_args=typed_args@entry=0x0, num_typed_args=<optimized out>)
    at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:581
#5  0x00007ffff7d6f582 in XtCreateManagedWidget
--Type <RET> for more, q to quit, c to continue without paging--
   "label", widget_class=0x7ffff7e35280 <labelClassRec>, parent=parent@entry=0x35fae60, args=args@entry=0x7fffffffbf80, num_args=<optimized out>) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:619
#6  0x00007ffff7df6e7f in Initialize (request=<optimized out>, new=0x35fae60, args=<optimized out>, num_args=<optimized out>) at Dialog.c:176
#7  0x00007ffff7d6e3b9 in CallInitialize
    (class=0x7ffff7e34ac0 <dialogClassRec>, req_widget=req_widget@entry=0x7fffffffc1a0, new_widget=new_widget@entry=0x35fae60, args=args@entry=0x7fffffffc6b0, num_args=<optimized out>, num_args@entry=0x0) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:219
#8  0x00007ffff7d6ed30 in xtCreate
    (name=name@entry=0x35daa30 "Q2BR1", class=class@entry=0x0, widget_class=widget_class@entry=0x7ffff7e34ac0 <dialogClassRec>, parent=parent@entry=0x3724460, default_screen=0x2a90e60, args=args@entry=0x7fffffffc6b0, num_args=0x0, typed_args=0x0, num_typed_args=<optimized out>, parent_constraint_class=0x0, post_proc=0x7ffff7d6e400 <widgetPostProc>) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:415
#9  0x00007ffff7d6f202 in _XtCreateWidget
    (name=name@entry=0x35daa30 "Q2BR1", widget_class=widget_class@entry=0x7ffff7e34ac0 <dialogClassRec>, parent=parent@entry=0x3724460, args=args@entry=0x7fffffffc6b0, num_args=0x0, typed_args=typed_args@entry=0x0, num_typed_args=<optimized out>)
    at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:581
#10 0x00007ffff7d6f582 in XtCreateManagedWidget
    (name=name@entry=0x35daa30 "Q2BR1", widget_class=0x7ffff7e34ac0 <dialogClassRec>, parent=parent@entry=0x3724460, args=args@entry=0x7fffffffc6b0, num_args=num_args@entry=0x0) at /var/tmp/portage/x11-libs/libXt-1.2.1/work/libXt-1.2.1/src/Create.c:619
#11 0x00000000005f72b7 in make_dialog
    (name=0x35daa30 "Q2BR1", parent=<optimized out>, pop_up_p=<optimized out>, shell_title=0x6186c1 "Question", text_input_slot=<optimized out>, radio_box=<optimized out>, list=0x0, left_buttons=0x1, right_buttons=0x1, instance=0x36720b0, icon_name=<optimized out>) at lwlib-Xaw.c:549
#12 0x00000000005f8057 in xaw_create_dialog (instance=<optimized out>) at lwlib-Xaw.c:726
#13 0x00000000005f0faf in instantiate_widget_instance (instance=0x36720b0) at lwlib.c:726
#14 allocate_widget_instance (pop_up_p=0x1, parent=<optimized out>, info=<optimized out>) at lwlib.c:223
#15 lw_make_widget (id=id@entry=0x10001, parent=<optimized out>, pop_up_p=<optimized out>) at lwlib.c:770
#16 0x00000000005f1156 in lw_create_widget
    (type=<optimized out>, name=name@entry=0x60146e "dialog", id=id@entry=0x10001, val=val@entry=0x3754810, parent=<optimized out>, pop_up_p=pop_up_p@entry=0x1, pre_activate_cb=0x0, selection_cb=0x46abf0 <dialog_selection_callback>, post_activate_cb=0x0, highlight_cb=0x0) at lwlib.c:786
#17 0x000000000046c93c in create_and_show_dialog (f=0x11bbc30 <bss_sbrk_buffer+8038672>, first_wv=0x3754810) at xmenu.c:1791
#18 x_dialog_show (title=<optimized out>, error_name=<synthetic pointer>, header=0x0, f=0x11bbc30 <bss_sbrk_buffer+8038672>) at xmenu.c:1943
#19 xw_popup_dialog (f=0x11bbc30 <bss_sbrk_buffer+8038672>, header=0x0, contents=<optimized out>) at xmenu.c:2006
#20 0x000000000056c5a9 in Fyes_or_no_p (prompt=0x306cac4) at lisp.h:849
#21 0x0000000000561d4c in Ffuncall (nargs=<optimized out>, args=args@entry=0x7fffffffcb28) at lisp.h:600
#22 0x000000000059b5e0 in exec_byte_code
    (bytestr=<optimized out>, vector=0x6c91cd, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0x7fffffffcb68, args=<optimized out>, args@entry=0x7fffffffcb28) at bytecode.c:630
#23 0x000000000056444d in funcall_lambda (fun=0x7fffffffcbcf, nargs=0x7fffffffcb68, nargs@entry=0x2, arg_vector=0x7fffffffcb28, 
    arg_vector@entry=0x7fffffffce28) at eval.c:2974
#24 0x0000000000561ccb in Ffuncall (nargs=0x3, args=args@entry=0x7fffffffce20) at eval.c:2787
#25 0x000000000059b5e0 in exec_byte_code
    (bytestr=<optimized out>, vector=0x6c90ed, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0x7fffffffce38, args=<optimized out>, args@entry=0x7fffffffce20) at bytecode.c:630
#26 0x000000000056444d in funcall_lambda (fun=0x7fffffffce44, nargs=0x7fffffffce38, nargs@entry=0x1, arg_vector=0x7fffffffce20, 
    arg_vector@entry=0x7fffffffd1c0) at eval.c:2974
#27 0x0000000000561ccb in Ffuncall (nargs=nargs@entry=0x2, args=args@entry=0x7fffffffd1b8) at eval.c:2787
#28 0x000000000055e70e in Ffuncall_interactively (nargs=0x2, args=0x7fffffffd1b8) at callint.c:252
--Type <RET> for more, q to quit, c to continue without paging--
#29 0x0000000000561d4c in Ffuncall (nargs=nargs@entry=0x3, args=args@entry=0x7fffffffd1b0) at lisp.h:600
#30 0x0000000000563a2b in Fapply (nargs=nargs@entry=0x3, args=args@entry=0x7fffffffd1b0) at eval.c:2350
#31 0x000000000055ec8b in Fcall_interactively (function=0x42c260, record_flag=0x0, keys=0xa86695) at callint.c:389
#32 0x0000000000561d4c in Ffuncall (nargs=<optimized out>, args=args@entry=0x7fffffffd288) at lisp.h:600
#33 0x000000000059b5e0 in exec_byte_code
    (bytestr=<optimized out>, vector=0x72d59d, maxdepth=<optimized out>, args_template=<optimized out>, nargs=nargs@entry=0x7fffffffd2c0, args=<optimized out>, args@entry=0x7fffffffd288) at bytecode.c:630
#34 0x000000000056444d in funcall_lambda (fun=0x7fffffffd33b, nargs=0x7fffffffd2c0, nargs@entry=0x1, arg_vector=0x7fffffffd288, 
    arg_vector@entry=0x7fffffffd538) at eval.c:2974
#35 0x0000000000561ccb in Ffuncall (nargs=nargs@entry=0x2, args=args@entry=0x7fffffffd530) at eval.c:2787
#36 0x0000000000561e0a in call1 (fn=fn@entry=0x3f30, arg1=<optimized out>) at eval.c:2624
#37 0x00000000004fa242 in command_loop_1 () at lisp.h:849
#38 0x0000000000560e9e in internal_condition_case
    (bfun=bfun@entry=0x4f9e40 <command_loop_1>, handlers=handlers@entry=0x5280, hfun=hfun@entry=0x4f0bc0 <cmd_error>) at eval.c:1336
#39 0x00000000004eb7e4 in command_loop_2 (ignore=ignore@entry=0x0) at lisp.h:849
#40 0x0000000000560e0d in internal_catch (tag=tag@entry=0xc720, func=func@entry=0x4eb7c0 <command_loop_2>, arg=arg@entry=0x0) at eval.c:1101
#41 0x00000000004eb77b in command_loop () at lisp.h:849
#42 0x00000000004f07b3 in recursive_edit_1 () at keyboard.c:695
#43 0x00000000004f0af8 in Frecursive_edit () at keyboard.c:766
#44 0x000000000041557b in main (argc=0x2, argv=0x7fffffffd958) at emacs.c:1722
Comment 9 Ulrich Müller gentoo-dev 2021-03-19 19:00:16 UTC
(In reply to Joakim Tjernlund from comment #6)
> BTW, anyone know if the famous "GTK" crash bug has been solved?

No, it is not fixed. It is now upstream bug https://gitlab.gnome.org/GNOME/gtk/-/issues/2315, and there's been new activity during the last few days.
Comment 10 Joakim Tjernlund 2021-03-20 20:34:36 UTC
BTW, why is emacs built without a path component?
This makes it hard to view src file in gdb.

I filed a bug in emacs bug mailing list as well
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-17 00:27:37 UTC
(In reply to Joakim Tjernlund from comment #10)
> BTW, why is emacs built without a path component?
> This makes it hard to view src file in gdb.
> 
> I filed a bug in emacs bug mailing list as well

Could you share a link? Are you still hitting this?
Comment 12 Joakim Tjernlund 2022-08-17 08:15:37 UTC
No, the crash is gone and the emacs bug didn't lead anywhere, the error
just went away in a later release, I think it was gone already in 27.2.

We can close this bug.