Subject: bug#37331: 27.0.50; segfault when starting from pdump and using dbus

From: Leonard Lausen <[email-masked]>
Date: Sat, 07 Sep 2019 15:48:41 +0000

Trying out the pdump feature I noticed that it consistently segfaults on
my Gentoo machine when dbus was used prior to dumping as soon as dbus is
used in the emacs session created from the pdump. This did not happen on
a Ubuntu 18.04 or Debian Buster machine.

The bug can be reproduced by preparing a
% cat debug-init.el                                                                                                                                                            ~
(require 'dbus)
(message
        "%s screensaver on board."
        (cond
                ((dbus-ping :session "org.gnome.ScreenSaver" 100) "Gnome")
                ((dbus-ping :session "org.freedesktop.ScreenSaver" 100) "KDE")
                (t "No")))

Running the following to dump

  emacs --batch -Q -l debug-init.el -eval '(dump-emacs-portable "/home/leonard/.emacs.d/.cache/dumps/spacemacs.pdmp")'

Starting from the dumped file

  emacs -Q --dump-file=/home/leonard/.emacs.d/.cache/dumps/spacemacs.pdmp 

And finally executing the exemplar dbus command in the now running emacs session:

    (require 'dbus)
    (message
            "%s screensaver on board."
            (cond
                    ((dbus-ping :session "org.gnome.ScreenSaver" 100) "Gnome")
                    ((dbus-ping :session "org.freedesktop.ScreenSaver" 100) "KDE")
                    (t "No")))

I'm attaching gdb output of the backtraces. Please let me know if you
would like to see any further information.

Output of "bt":

#0  [34m0x00007f8bd779269b[m in [33mraise[m () at [32m/lib64/libpthread.so.0[m
#1  [34m0x000055799ee02df7[m in [33mterminate_due_to_signal[m (sig=11, backtrace_limit=40) at [32memacs.c[m:405
#2  [34m0x000055799ee3d160[m in [33mhandle_fatal_signal[m (sig=11) at [32msysdep.c[m:1790
#3  [34m0x000055799ee3d131[m in [33mdeliver_thread_signal[m (sig=11, handler=0x55799ee3d146 <handle_fatal_signal>) at [32msysdep.c[m:1764
#4  [34m0x000055799ee3d19b[m in [33mdeliver_fatal_thread_signal[m (sig=11) at [32msysdep.c[m:1802
#5  [34m0x000055799ee3d339[m in [33mhandle_sigsegv[m (sig=11, siginfo=0x55799f5cb9b0 <sigsegv_stack+6928>, arg=0x55799f5cb880 <sigsegv_stack+6624>) at [32msysdep.c[m:1887
#6  [34m0x00007f8bd77928b0[m in [33m<signal handler called>[m () at [32m/lib64/libpthread.so.0[m
#7  [34m0x00007f8bd8b62e29[m in [33mdbus_connection_get_is_connected[m () at [32m/usr/lib64/libdbus-1.so.3[m
#8  [34m0x000055799edf9804[m in [33mxd_get_connection_address[m (bus=0x1d40) at [32mdbusbind.c[m:969
#9  [34m0x000055799edfb7ab[m in [33mFdbus_message_internal[m (nargs=9, args=0x7ffcdcfa1fc8) at [32mdbusbind.c[m:1353
#10 [34m0x000055799ef34a06[m in [33mfuncall_subr[m (subr=0x55799f56a980 <Sdbus_message_internal>, numargs=9, args=0x7ffcdcfa1fc8) at [32meval.c[m:2856
#11 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=10, args=0x7ffcdcfa1fc0) at [32meval.c[m:2803
#12 [34m0x000055799ef3392d[m in [33mFapply[m (nargs=9, args=0x7ffcdcfa2200) at [32meval.c[m:2425
#13 [34m0x000055799ef34a06[m in [33mfuncall_subr[m (subr=0x55799f572780 <Sapply>, numargs=9, args=0x7ffcdcfa2200) at [32meval.c[m:2856
#14 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=10, args=0x7ffcdcfa21f8) at [32meval.c[m:2803
#15 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd11bd964, vector=0x7f8bd11bd4a5, maxdepth=0x4a, args_template=0x1616, nargs=7, args=0x7ffcdcfa2800) at [32mbytecode.c[m:633
#16 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd11bd465, nargs=7, arg_vector=0x7ffcdcfa27d8) at [32meval.c[m:2998
#17 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=8, args=0x7ffcdcfa27d0) at [32meval.c[m:2805
#18 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd12bc8d4, vector=0x7f8bd12bc85d, maxdepth=0x2e, args_template=0xc0a, nargs=3, args=0x7ffcdcfa2c48) at [32mbytecode.c[m:633
#19 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd12bc81d, nargs=3, arg_vector=0x7ffcdcfa2c30) at [32meval.c[m:2998
#20 [34m0x000055799ef34ed0[m in [33mapply_lambda[m (fun=0x7f8bd12bc81d, args=0x55799fc28bb3, count=17) at [32meval.c[m:2935
#21 [34m0x000055799ef33239[m in [33meval_sub[m (form=0x55799fc28ba3) at [32meval.c[m:2319
#22 [34m0x000055799ef2ef24[m in [33mFcond[m (args=0x55799fc28423) at [32meval.c[m:438
#23 [34m0x000055799ef32c5c[m in [33meval_sub[m (form=0x55799fc28b93) at [32meval.c[m:2227
#24 [34m0x000055799ef32dec[m in [33meval_sub[m (form=0x55799fc28b73) at [32meval.c[m:2241
#25 [34m0x000055799ef2efed[m in [33mFprogn[m (body=0x0) at [32meval.c[m:462
#26 [34m0x000055799ef32c5c[m in [33meval_sub[m (form=0x55799fc284f3) at [32meval.c[m:2227
#27 [34m0x000055799ef3266b[m in [33mFeval[m (form=0x55799fc284f3, lexical=0x30) at [32meval.c[m:2103
#28 [34m0x000055799ef34b25[m in [33mfuncall_subr[m (subr=0x55799f572740 <Seval>, numargs=2, args=0x7ffcdcfa33a0) at [32meval.c[m:2878
#29 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=3, args=0x7ffcdcfa3398) at [32meval.c[m:2803
#30 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd0fb756c, vector=0x7f8bd0fb6ccd, maxdepth=0x42, args_template=0x406, nargs=1, args=0x7ffcdcfa3860) at [32mbytecode.c[m:633
#31 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd0fb6c9d, nargs=1, arg_vector=0x7ffcdcfa3858) at [32meval.c[m:2998
#32 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=2, args=0x7ffcdcfa3850) at [32meval.c[m:2805
#33 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd0fb76bc, vector=0x7f8bd0fb6c45, maxdepth=0x12, args_template=0x406, nargs=1, args=0x7ffcdcfa3e38) at [32mbytecode.c[m:633
#34 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd0fb6c0d, nargs=1, arg_vector=0x7ffcdcfa3e30) at [32meval.c[m:2998
#35 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=2, args=0x7ffcdcfa3e28) at [32meval.c[m:2805
#36 [34m0x000055799ef27144[m in [33mFfuncall_interactively[m (nargs=2, args=0x7ffcdcfa3e28) at [32mcallint.c[m:255
#37 [34m0x000055799ef34a06[m in [33mfuncall_subr[m (subr=0x55799f571f80 <Sfuncall_interactively>, numargs=2, args=0x7ffcdcfa3e28) at [32meval.c[m:2856
#38 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=3, args=0x7ffcdcfa3e20) at [32meval.c[m:2803
#39 [34m0x000055799ef296f4[m in [33mFcall_interactively[m (function=0x2a12319e09f8, record_flag=0x0, keys=0x55799fbe1875) at [32mcallint.c[m:784
#40 [34m0x000055799ef34b57[m in [33mfuncall_subr[m (subr=0x55799f571fc0 <Scall_interactively>, numargs=3, args=0x7ffcdcfa4200) at [32meval.c[m:2881
#41 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=4, args=0x7ffcdcfa41f8) at [32meval.c[m:2803
#42 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd0fa7dcc, vector=0x7f8bd0fa78f5, maxdepth=0x36, args_template=0x1006, nargs=1, args=0x7ffcdcfa4740) at [32mbytecode.c[m:633
#43 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd0fa78c5, nargs=1, arg_vector=0x7ffcdcfa4738) at [32meval.c[m:2998
#44 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=2, args=0x7ffcdcfa4730) at [32meval.c[m:2805
#45 [34m0x000055799ef33f55[m in [33mcall1[m (fn=0x42c0, arg1=0x2a12319e09f8) at [32meval.c[m:2656
#46 [34m0x000055799ee0e541[m in [33mcommand_loop_1[m () at [32mkeyboard.c[m:1458
#47 [34m0x000055799ef30d6e[m in [33minternal_condition_case[m (bfun=0x55799ee0dd15 <command_loop_1>, handlers=0x90, hfun=0x55799ee0d488 <cmd_error>) at [32meval.c[m:1355
#48 [34m0x000055799ee0d9da[m in [33mcommand_loop_2[m (ignore=0x0) at [32mkeyboard.c[m:1091
[m#49 [34m0x000055799ef305df[m in [33minternal_catch[m (tag=0xd1a0, func=0x55799ee0d9ad <command_loop_2>, arg=0x0) at [32meval.c[m:1116
#50 [34m0x000055799ee0d978[m in [33mcommand_loop[m () at [32mkeyboard.c[m:1070
#51 [34m0x000055799ee0d057[m in [33mrecursive_edit_1[m () at [32mkeyboard.c[m:714
#52 [34m0x000055799ee0d1db[m in [33mFrecursive_edit[m () at [32mkeyboard.c[m:786
#53 [34m0x000055799ee05639[m in [33mmain[m (argc=3, argv=0x7ffcdcfa4c18) at [32memacs.c[m:2086

Output of "bt full":

#0  [34m0x00007f8bd779269b[m in [33mraise[m () at [32m/lib64/libpthread.so.0[m
#1  [34m0x000055799ee02df7[m in [33mterminate_due_to_signal[m (sig=11, backtrace_limit=40) at [32memacs.c[m:405
#2  [34m0x000055799ee3d160[m in [33mhandle_fatal_signal[m (sig=11) at [32msysdep.c[m:1790
#3  [34m0x000055799ee3d131[m in [33mdeliver_thread_signal[m (sig=11, handler=0x55799ee3d146 <handle_fatal_signal>) at [32msysdep.c[m:1764
        old_errno = 11
#4  [34m0x000055799ee3d19b[m in [33mdeliver_fatal_thread_signal[m (sig=11) at [32msysdep.c[m:1802
#5  [34m0x000055799ee3d339[m in [33mhandle_sigsegv[m (sig=11, siginfo=0x55799f5cb9b0 <sigsegv_stack+6928>, arg=0x55799f5cb880 <sigsegv_stack+6624>) at [32msysdep.c[m:1887
        fatal = false
#6  [34m0x00007f8bd77928b0[m in [33m<signal handler called>[m () at [32m/lib64/libpthread.so.0[m
#7  [34m0x00007f8bd8b62e29[m in [33mdbus_connection_get_is_connected[m () at [32m/usr/lib64/libdbus-1.so.3[m
#8  [34m0x000055799edf9804[m in [33mxd_get_connection_address[m (bus=0x1d40) at [32mdbusbind.c[m:969
        connection = 0x55b6db552d90
        val = 0x55b6db552d92
#9  [34m0x000055799edfb7ab[m in [33mFdbus_message_internal[m (nargs=9, args=0x7ffcdcfa1fc8) at [32mdbusbind.c[m:1353
        message_type = 0x6
        bus = 0x1d40
        service = 0x55799fc18ab4
        handler = 0x2a1231be75f8
        path = 0x7f8bd1271b0c
        interface = 0x7f8bd12719bc
        member = 0x7f8bd12bc8a4
        result = 0x7ffcdcfa18f0
        connection = 0x833a0289c001c001
        dmessage = 0x830502b24002004e
        iter = [m
          [m{dummy1 = 0x0, dummy2 = 0x0, dummy3 = 2986411699, dummy4 = 1023475969, dummy5 = 67127172, dummy6 = 1048853763, dummy7 = 1099498496, dummy8 = 77727410, dummy9 = -2113621438, dummy10 = 1090781227, dummy11 = 76088754, pad1 = 33862210, pad2 = 0x9f0300058203b241, pad3 = 0x7ffcdc87a405}
        dtype = 0
        mtype = 1
        serial = 0
        ui_serial = 0
        timeout = -1
        count = 7
        __func__ = "Fdbus_message_internal"
#10 [34m0x000055799ef34a06[m in [33mfuncall_subr[m (subr=0x55799f56a980 <Sdbus_message_internal>, numargs=9, args=0x7ffcdcfa1fc8) at [32meval.c[m:2856
#11 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=10, args=0x7ffcdcfa1fc0) at [32meval.c[m:2803
        fun = 0x55799f56a985 <Sdbus_message_internal+5>
        original_fun = 0x4aa0
        funcar = 0x7ffcdcfa1fb0
        numargs = 9
        val = 0x0
        count = 20
#12 [34m0x000055799ef3392d[m in [33mFapply[m (nargs=9, args=0x7ffcdcfa2200) at [32meval.c[m:2425
        i = 10
[m        funcall_nargs = 10
        funcall_args = 0x7ffcdcfa1fc0
        spread_arg = 0x0
        fun = 0x55799f56a985 <Sdbus_message_internal+5>
        sa_avail = 16304
        sa_count = 20
        numargs = 9
        retval = 0x0
#13 [34m0x000055799ef34a06[m in [33mfuncall_subr[m (subr=0x55799f572780 <Sapply>, numargs=9, args=0x7ffcdcfa2200) at [32meval.c[m:2856
#14 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=10, args=0x7ffcdcfa21f8) at [32meval.c[m:2803
        fun = 0x55799f572785 <Sapply+5>
        original_fun = 0x2c40
        funcar = 0x2a123188be30
        numargs = 9
        val = 0x200000192
        count = 19
#15 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd11bd964, vector=0x7f8bd11bd4a5, maxdepth=0x4a, args_template=0x1616, nargs=7, args=0x7ffcdcfa2800) at [32mbytecode.c[m:633
        op = 9
        type = (CONDITION_CASE | CATCHER_ALL | unknown: 2666265576)
        const_length = 47
        bytestr_length = 268
        vectorp = 0x7f8bd11bd4a8
        quitcounter = 1 '\001'
        stack_items = 19
        sa_avail = 15964
        sa_count = 19
        alloc = 0x7ffcdcfa21b0
        item_bytes = 152
        stack_base = 0x7ffcdcfa21b0
        top = 0x7ffcdcfa21f8
        stack_lim = 0x7ffcdcfa2248
        bytestr_data = 0x7ffcdcfa2248 "\305\306!\204\f"
        pc = 0x7ffcdcfa22b0 "\324\325B\326\002\002\t#\210\327\330\331\332\333\006\006!\334\"\335$\216\336", <incomplete sequence \353>
        count = 19
        result = 0x8201b282b623a20d
#16 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd11bd465, nargs=7, arg_vector=0x7ffcdcfa27d8) at [32meval.c[m:2998
        size = 5
        val = 0x641060603358489
        syms_left = 0x1616
        next = 0x7ffcdcfa2728
        lexenv = 0x60f06033c8201b2
        count = 19
        i = 5224740382290347539
        optional = false
        rest = false
#17 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=8, args=0x7ffcdcfa27d0) at [32meval.c[m:2805
        fun = 0x7f8bd11bd465
        original_fun = 0x2a1231be7250
        funcar = 0x7ffcdcfa27a0
        numargs = 7
        val = 0x30
        count = 18
#18 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd12bc8d4, vector=0x7f8bd12bc85d, maxdepth=0x2e, args_template=0xc0a, nargs=3, args=0x7ffcdcfa2c48) at [32mbytecode.c[m:633
        op = 7
        type = CONDITION_CASE
        const_length = 8
        bytestr_length = 37
        vectorp = 0x7f8bd12bc860
        quitcounter = 1 '\001'
        stack_items = 12
        sa_avail = 16251
        sa_count = 18
        alloc = 0x7ffcdcfa27b0
        item_bytes = 96
        stack_base = 0x7ffcdcfa27b0
        top = 0x7ffcdcfa27d0
        stack_lim = 0x7ffcdcfa2810
        bytestr_data = 0x7ffcdcfa2810 "\302\061\""
        pc = 0x7ffcdcfa2825 "\202\037"
        count = 18
        result = 0x40890658833a8941
#19 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd12bc81d, nargs=3, arg_vector=0x7ffcdcfa2c30) at [32meval.c[m:2998
        size = 5
        val = 0x0
        syms_left = 0xc0a
        next = 0x0
        lexenv = 0x7ffcdcfa2bd0
        count = 18
        i = 93980846176202
        optional = false
        rest = false
#20 [34m0x000055799ef34ed0[m in [33mapply_lambda[m (fun=0x7f8bd12bc81d, args=0x55799fc28bb3, count=17) at [32meval.c[m:2935
        arg_vector = 0x7ffcdcfa2c30
        tem = 0x192
        sa_avail = 16360
        sa_count = 18
        numargs = 3
        args_left = 0x0
#21 [34m0x000055799ef33239[m in [33meval_sub[m (form=0x55799fc28ba3) at [32meval.c[m:2319
        original_fun = 0x2a1231ce6608
        original_args = 0x55799fc28bb3
        count = 17
        fun = 0x7f8bd12bc81d
        val = 0xa9fbf0cb5
        funcar = 0x7f8bd0ed1d3d
        argvals = {0x55799f5d61e0 <lispsym>, 0x0, 0x0, 0x7ffcdcfa2db0, 0x55799ef3b7ca <builtin_lisp_symbol+48>, 0xd0ed1d3d, 0x7ffcdcfa2dd0, 0x55799ef3d1e5 <CHECK_LIST_END+26>}
#22 [34m0x000055799ef2ef24[m in [33mFcond[m (args=0x55799fc28423) at [32meval.c[m:438
        clause = 0x55799fc28403
        val = 0x55799fc28423
#23 [34m0x000055799ef32c5c[m in [33meval_sub[m (form=0x55799fc28b93) at [32meval.c[m:2227
        args_left = 0x55799fc28423
        numargs = 3
        original_fun = 0x2a12318f1ce8
        original_args = 0x55799fc28423
        count = 16
        fun = 0x55799f572105 <Scond+5>
        val = 0x1
        funcar = 0x0
        argvals = {0x55799ef3b7ca <builtin_lisp_symbol+48>, 0x1, 0x7ffcdcfa2f10, 0x55799ef3d1e5 <CHECK_LIST_END+26>, 0x0, 0x0, 0x7ffcdcfa2f60, 0x55799ef40467 <list_length+236>}
#24 [34m0x000055799ef32dec[m in [33meval_sub[m (form=0x55799fc28b73) at [32meval.c[m:2241
        arg = 0x55799fc28b93
        vals = 0x7ffcdcfa2f50
        argnum = 2
        sa_avail = 16368
        sa_count = 16
        args_left = 0x0
        numargs = 2
        original_fun = 0x2a1231837be8
        original_args = 0x55799fc28b83
        count = 15
        fun = 0x55799f571d05 <Smessage+5>
        val = 0x55799eff78fb <builtin_lisp_symbol+48>
        funcar = 0x55799ef019d5 <store_symval_forwarding+351>
        argvals = {0x0, 0x7ffcdcfa3040, 0x55799ef3b7ca <builtin_lisp_symbol+48>, 0x64779100, 0x7ffcdcfa3060, 0x55799ef3d1e5 <CHECK_LIST_END+26>, 0x55799f5d61e0 <lispsym>, 0x0}
#25 [34m0x000055799ef2efed[m in [33mFprogn[m (body=0x0) at [32meval.c[m:462
        form = 0x55799fc28b73
        val = 0x0
#26 [34m0x000055799ef32c5c[m in [33meval_sub[m (form=0x55799fc284f3) at [32meval.c[m:2227
        args_left = 0x55799fc284e3
        numargs = 1
        original_fun = 0xb040
        original_args = 0x55799fc284e3
        count = 14
        fun = 0x55799f572145 <Sprogn+5>
        val = 0x8100
        funcar = 0x55799ef35d0c <do_specbind+271>
        argvals = {0x55799f67fe20, 0x55799f5de2e0 <lispsym+33024>, 0x55799ef2b213 <BUFFER_OBJFWDP+24>, 0x55799f67fe20, 0x7ffcdcfa31d0, 0x55799ef35fc5 <specbind+683>, 0x55799fc28603, 0x8100}
#27 [34m0x000055799ef3266b[m in [33mFeval[m (form=0x55799fc284f3, lexical=0x30) at [32meval.c[m:2103
        count = 13
#28 [34m0x000055799ef34b25[m in [33mfuncall_subr[m (subr=0x55799f572740 <Seval>, numargs=2, args=0x7ffcdcfa33a0) at [32meval.c[m:2878
        internal_argbuf = {0x0, 0x7ffcdcfa3280, 0x55799f5d61e0 <lispsym>, 0x1064779100, 0x55799f572740 <Seval>, 0x7ffcdcfa32a8, 0x55799ef2a36a <PSEUDOVECTORP+57>, 0x1000000000}
        internal_args = 0x7ffcdcfa33a0
#29 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=3, args=0x7ffcdcfa3398) at [32meval.c[m:2803
        fun = 0x55799f572745 <Seval+5>
        original_fun = 0x5940
        funcar = 0x8c70
        numargs = 2
        val = 0x2d13f8848
        count = 12
#30 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd0fb756c, vector=0x7f8bd0fb6ccd, maxdepth=0x42, args_template=0x406, nargs=1, args=0x7ffcdcfa3860) at [32mbytecode.c[m:633
        op = 2
        type = (unknown: 3707384928)
        const_length = 8
        bytestr_length = 45
        vectorp = 0x7f8bd0fb6cd0
        quitcounter = 1 '\001'
        stack_items = 17
        sa_avail = 16203
        sa_count = 12
        alloc = 0x7ffcdcfa3330
        item_bytes = 136
        stack_base = 0x7ffcdcfa3330
        top = 0x7ffcdcfa3398
        stack_lim = 0x7ffcdcfa33b8
        bytestr_data = 0x7ffcdcfa33b8 "\301\001!\211@\001A\211@\001A\211@\001A\001\004\006\a\302\303\304\305\306 !!\b\"\002\203%"
        pc = 0x7ffcdcfa33d5 "\002\203%"
        count = 12
        result = 0x7ffcdcfa34d8
#31 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd0fb6c9d, nargs=1, arg_vector=0x7ffcdcfa3858) at [32meval.c[m:2998
        size = 5
        val = 0x2a123184e938
        syms_left = 0x406
        next = 0x7ffcdcfa37b8
        lexenv = 0x0
        count = 12
        i = 140724015872288
        optional = false
        rest = false
#32 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=2, args=0x7ffcdcfa3850) at [32meval.c[m:2805
        fun = 0x7f8bd0fb6c9d
        original_fun = 0x2a12319e0a88
        funcar = 0x0
        numargs = 1
        val = 0x55799ef35fc5 <specbind+683>
        count = 11
#33 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd0fb76bc, vector=0x7f8bd0fb6c45, maxdepth=0x12, args_template=0x406, nargs=1, args=0x7ffcdcfa3e38) at [32mbytecode.c[m:633
        op = 1
        type = (unknown: 3707386160)
        const_length = 4
        bytestr_length = 29
        vectorp = 0x7f8bd0fb6c48
        quitcounter = 1 '\001'
        stack_items = 5
        sa_avail = 16315
        sa_count = 10
        alloc = 0x7ffcdcfa3840
        item_bytes = 40
        stack_base = 0x7ffcdcfa3840
        top = 0x7ffcdcfa3850
        stack_lim = 0x7ffcdcfa3868
        bytestr_data = 0x7ffcdcfa3868 "\b\204\b"
        pc = 0x7ffcdcfa3875 "\n)B\211A\t=\204\032"
        count = 10
        result = 0x8
#34 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd0fb6c0d, nargs=1, arg_vector=0x7ffcdcfa3e30) at [32meval.c[m:2998
        size = 6
        val = 0x7ffcdcfa3c18
        syms_left = 0x406
        next = 0x7ffcdcfa3c58
        lexenv = 0x1000000000
        count = 10
        i = 93980852704453
        optional = false
        rest = false
#35 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=2, args=0x7ffcdcfa3e28) at [32meval.c[m:2805
        fun = 0x7f8bd0fb6c0d
        original_fun = 0x2a12319e09f8
        funcar = 0x0
        numargs = 1
        val = 0x55799ee0d43a <restore_kboard_configuration>
        count = 9
#36 [34m0x000055799ef27144[m in [33mFfuncall_interactively[m (nargs=2, args=0x7ffcdcfa3e28) at [32mcallint.c[m:255
        speccount = 8
#37 [34m0x000055799ef34a06[m in [33mfuncall_subr[m (subr=0x55799f571f80 <Sfuncall_interactively>, numargs=2, args=0x7ffcdcfa3e28) at [32meval.c[m:2856
#38 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=3, args=0x7ffcdcfa3e20) at [32meval.c[m:2803
        fun = 0x55799f571f85 <Sfuncall_interactively+5>
        original_fun = 0x6d50
        funcar = 0x0
        numargs = 2
        val = 0x55799ef35fc5 <specbind+683>
        count = 7
#39 [34m0x000055799ef296f4[m in [33mFcall_interactively[m (function=0x2a12319e09f8, record_flag=0x0, keys=0x55799fbe1875) at [32mcallint.c[m:784
        speccount = 6
        arg_from_tty = false
        key_count = 2
        record_then_fail = false
        save_this_command = 0x2a12319e09f8
        save_this_original_command = 0x2a12319e09f8
        save_real_this_command = 0x2a12319e09f8
        save_last_command = 0x2a123193f338
        prefix_arg = 0x0
        enable = 0x0
        up_event = 0x0
        form = 0x55799fc28b33
        specs = 0x7f8bd0e12264
        sa_avail = 16310
        sa_count = 6
        string_len = 1
        string = 0x7ffcdcfa3e70 "P"
        string_end = 0x7ffcdcfa3e71 ""
        next_event = 2
        nargs = 3
        args = 0x7ffcdcfa3e20
        visargs = 0x7ffcdcfa3e38
        varies = 0x7ffcdcfa3e50 ""
        tem = 0x7ffcdcfa3e71 ""
        val = 0xb00000000
#40 [34m0x000055799ef34b57[m in [33mfuncall_subr[m (subr=0x55799f571fc0 <Scall_interactively>, numargs=3, args=0x7ffcdcfa4200) at [32meval.c[m:2881
        internal_argbuf = {0x2a12319e09f8, 0x0, 0x55799f5d61e0 <lispsym>, 0x1064779100, 0x55799f571fc0 <Scall_interactively>, 0x7ffcdcfa4138, 0x55799ef2a36a <PSEUDOVECTORP+57>, 0x1000000000}
        internal_args = 0x7ffcdcfa4200
#41 [34m0x000055799ef346ba[m in [33mFfuncall[m (nargs=4, args=0x7ffcdcfa41f8) at [32meval.c[m:2803
        fun = 0x55799f571fc5 <Scall_interactively+5>
        original_fun = 0x2a123185c9d0
        funcar = 0x7ffcdcfa41b0
        numargs = 3
        val = 0x0
        count = 5
#42 [34m0x000055799ef9bb10[m in [33mexec_byte_code[m (bytestr=0x7f8bd0fa7dcc, vector=0x7f8bd0fa78f5, maxdepth=0x36, args_template=0x1006, nargs=1, args=0x7ffcdcfa4740) at [32mbytecode.c[m:633
        op = 3
        type = (CONDITION_CASE | unknown: 3509350700)
        const_length = 24
        bytestr_length = 144
        vectorp = 0x7f8bd0fa78f8
        quitcounter = 1 '\001'
        stack_items = 14
        sa_avail = 16128
        sa_count = 5
        alloc = 0x7ffcdcfa41c0
        item_bytes = 112
        stack_base = 0x7ffcdcfa41c0
        top = 0x7ffcdcfa41f8
        stack_lim = 0x7ffcdcfa4230
        bytestr_data = 0x7ffcdcfa4230 "\304\020\211?\205\023"
        pc = 0x7ffcdcfa4296 "\006\006\071\203\215"
        count = 5
        result = 0x7ffcdcfa44b0
#43 [34m0x000055799ef351a8[m in [33mfuncall_lambda[m (fun=0x7f8bd0fa78c5, nargs=1, arg_vector=0x7ffcdcfa4738) at [32meval.c[m:2998
        size = 5
        val = 0x55799ef351a8 <funcall_lambda+552>
        syms_left = 0x1006
        next = 0x7ffcdcfa4698
        lexenv = 0x7f8bd12c70fd
        count = 5
        i = 93980853101024
        optional = false
        rest = false
#44 [34m0x000055799ef346fe[m in [33mFfuncall[m (nargs=2, args=0x7ffcdcfa4730) at [32meval.c[m:2805
        fun = 0x7f8bd0fa78c5
        original_fun = 0x42c0
        funcar = 0x0
        numargs = 1
        val = 0x55799ef3487e <Ffuncall+835>
        count = 4
#45 [34m0x000055799ef33f55[m in [33mcall1[m (fn=0x42c0, arg1=0x2a12319e09f8) at [32meval.c[m:2656
#46 [34m0x000055799ee0e541[m in [33mcommand_loop_1[m () at [32mkeyboard.c[m:1458
        scount = 3
        cmd = 0x2a12319e09f8
        keybuf = {0x62, 0x16, 0x2a123193f338, 0x7f8bd0e09da4, 0x55799fc28e33, 0x2a1231cf9b48, 0x55799f5d61e0 <lispsym>, 0x0, 0x0, 0x7ffcdcfa4800, 0x55799ee06bef <builtin_lisp_symbol+48>, 0x64779100, 0x55799f5d61e0 <lispsym>, 0x0, 0x55799f5d61e0 <lispsym>, 0x0, 0x0, 0x7ffcdcfa4840, 0x55799ef29b67 <builtin_lisp_symbol+48>, 0x9ee0d61b, 0x7ffcdcfa4880, 0x55799ef3116f <push_handler_nosignal+220>, 0x19ef29b67, 0x90, 0x0, 0x55799f6771c0, 0x0, 0x2, 0x7ffcdcfa48b0, 0x55799ef31078 <push_handler+32>}
        i = 2
        prev_modiff = 3
        prev_buffer = 0x7f8bd0cf16f0
        already_adjusted = false
#47 [34m0x000055799ef30d6e[m in [33minternal_condition_case[m (bfun=0x55799ee0dd15 <command_loop_1>, handlers=0x90, hfun=0x55799ee0d488 <cmd_error>) at [32meval.c[m:1355
        val = 0x300000000
        c = 0x55799f6771c0
#48 [34m0x000055799ee0d9da[m in [33mcommand_loop_2[m (ignore=0x0) at [32mkeyboard.c[m:1091
        val = 0x2
#49 [34m0x000055799ef305df[m in [33minternal_catch[m (tag=0xd1a0, func=0x55799ee0d9ad <command_loop_2>, arg=0x0) at [32meval.c[m:1116
        val = 0x55799ee06bef <builtin_lisp_symbol+48>
        c = 0x55799f677090
#50 [34m0x000055799ee0d978[m in [33mcommand_loop[m () at [32mkeyboard.c[m:1070
#51 [34m0x000055799ee0d057[m in [33mrecursive_edit_1[m () at [32mkeyboard.c[m:714
        count = 1
        val = 0x55799ef36045 <record_unwind_protect+114>
#52 [34m0x000055799ee0d1db[m in [33mFrecursive_edit[m () at [32mkeyboard.c[m:786
        count = 0
        buffer = 0x0
#53 [34m0x000055799ee05639[m in [33mmain[m (argc=3, argv=0x7ffcdcfa4c18) at [32memacs.c[m:2086
        stack_bottom_variable = 0x32
        do_initial_setlocale = true
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 0
        temacs = 0x0
        attempt_load_pdump = true
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        sockfd = -1

Below data is generated from a "emacs -Q" session.

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.10)
 of 2019-09-07 built on leonard-xps13
Repository revision: 01a04880ca7469626a03ea10481d60c5ddec4663
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12005000
System Description: Gentoo/Linux

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --prefix /home/leonard/local 'CFLAGS=-O0 -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD JSON PDUMPER
LCMS2 GMP

Important settings:
  value of $LC_COLLATE: C
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
china-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type 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 elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame 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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 44426 7555)
 (symbols 48 5977 1)
 (strings 32 15398 1993)
 (string-bytes 1 503356)
 (vectors 16 10328)
 (vector-slots 8 182199 7428)
 (floats 8 17 43)
 (intervals 56 199 0)
 (buffers 992 11))