Subject: bug#26226: 25.1; "Open File" dialog hangs

From: [email-masked]
Date: Fri, 24 Mar 2017 00:47:01 +1100

If I use the "Open File" repeatedly then eventually emacs will hang
with the spinning mouse icon. 

My PC is:
$ uname -a
Linux morgawr 4.9.14-200.fc25.x86_64 #1 SMP Mon Mar 13 19:26:40 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux 

Here is a back trace from gdb:
$ gdb /usr/local/bin/emac
GNU gdb (GDB) Fedora 7.12.1-47.fc25
Copyright (C) 2017 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:
<http://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 /usr/local/bin/emacs...done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = xterm-256color
Breakpoint 1 at 0x55b523: file ../../emacs-25.1/src/emacs.c, line 353.
Temporary breakpoint 2 at 0x57fd08: file ../../emacs-25.1/src/sysdep.c, line 911.
(gdb) set args -Q
(gdb) run
Starting program: /usr/local/bin/emacs -Q
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/ld-2.24.so-gdb.py", line 18, in <module>
    from heap.commands import register_commands
  File "/usr/share/gdb-heap/heap/__init__.py", line 58
    print 'type cache miss: %r' % typename
                              ^
SyntaxError: Missing parentheses in call to 'print'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffd99ca700 (LWP 30020)]
[New Thread 0x7fffd8b22700 (LWP 30021)]
[New Thread 0x7fffd80e9700 (LWP 30022)]
[New Thread 0x7fffd72a5700 (LWP 30024)]
[New Thread 0x7fffd6601700 (LWP 30025)]
[Thread 0x7fffd72a5700 (LWP 30024) exited]
[New Thread 0x7fffd72a5700 (LWP 30028)]
[New Thread 0x7fffd5d8b700 (LWP 30029)]
[New Thread 0x7fffd558a700 (LWP 30030)]
[New Thread 0x7fffd4d89700 (LWP 30031)]
[New Thread 0x7fffd4588700 (LWP 30032)]
[New Thread 0x7fffd3d87700 (LWP 30033)]
[New Thread 0x7fffd3586700 (LWP 30034)]
[New Thread 0x7fffd2d85700 (LWP 30035)]
[New Thread 0x7fffd2584700 (LWP 30036)]
[Thread 0x7fffd558a700 (LWP 30030) exited]
[Thread 0x7fffd4588700 (LWP 30032) exited]
[Thread 0x7fffd2d85700 (LWP 30035) exited]
[Thread 0x7fffd72a5700 (LWP 30028) exited]
[Thread 0x7fffd2584700 (LWP 30036) exited]
[Thread 0x7fffd3586700 (LWP 30034) exited]
[Thread 0x7fffd4d89700 (LWP 30031) exited]
[Thread 0x7fffd3d87700 (LWP 30033) exited]
[Thread 0x7fffd5d8b700 (LWP 30029) exited]
[New Thread 0x7fffd5d8b700 (LWP 30037)]
[New Thread 0x7fffd3d87700 (LWP 30038)]
[New Thread 0x7fffd4d89700 (LWP 30039)]
[New Thread 0x7fffd3586700 (LWP 30040)]
[New Thread 0x7fffd558a700 (LWP 30041)]
[New Thread 0x7fffd4588700 (LWP 30042)]
[New Thread 0x7fffd2d85700 (LWP 30043)]
[New Thread 0x7fffd72a5700 (LWP 30044)]
[New Thread 0x7fffd2584700 (LWP 30045)]
[Thread 0x7fffd72a5700 (LWP 30044) exited]
[Thread 0x7fffd6601700 (LWP 30025) exited]
[New Thread 0x7fffd6601700 (LWP 30046)]
[New Thread 0x7fffd72a5700 (LWP 30047)]
[New Thread 0x7fffd1d83700 (LWP 30048)]
[New Thread 0x7fffd1582700 (LWP 30049)]
[New Thread 0x7fffd0d81700 (LWP 30050)]
[New Thread 0x7fffd0580700 (LWP 30051)]
[New Thread 0x7fffcfd7f700 (LWP 30052)]
[New Thread 0x7fffcf57e700 (LWP 30053)]
[New Thread 0x7fffced7d700 (LWP 30054)]
[Thread 0x7fffd6601700 (LWP 30046) exited]
[Thread 0x7fffd72a5700 (LWP 30047) exited]
[Thread 0x7fffcf57e700 (LWP 30053) exited]
[Thread 0x7fffd2584700 (LWP 30045) exited]
[Thread 0x7fffced7d700 (LWP 30054) exited]
[Thread 0x7fffd0d81700 (LWP 30050) exited]
[Thread 0x7fffcfd7f700 (LWP 30052) exited]
[Thread 0x7fffd1d83700 (LWP 30048) exited]
[Thread 0x7fffd0580700 (LWP 30051) exited]
Detaching after vfork from child process 30055.
Detaching after vfork from child process 30056.
[New Thread 0x7fffd0580700 (LWP 30057)]
[New Thread 0x7fffd1d83700 (LWP 30058)]
[Thread 0x7fffd0580700 (LWP 30057) exited]
[Thread 0x7fffd1582700 (LWP 30049) exited]
[New Thread 0x7fffd1582700 (LWP 30059)]
[New Thread 0x7fffd0580700 (LWP 30060)]
[New Thread 0x7fffcfd7f700 (LWP 30061)]
[New Thread 0x7fffd0d81700 (LWP 30062)]
[New Thread 0x7fffd72a5700 (LWP 30063)]
[New Thread 0x7fffd6601700 (LWP 30064)]
[New Thread 0x7fffd2584700 (LWP 30065)]
[New Thread 0x7fffcf57e700 (LWP 30066)]
[New Thread 0x7fffced7d700 (LWP 30067)]
[Thread 0x7fffced7d700 (LWP 30067) exited]
[Thread 0x7fffd6601700 (LWP 30064) exited]
[Thread 0x7fffd72a5700 (LWP 30063) exited]
[Thread 0x7fffd0d81700 (LWP 30062) exited]
[Thread 0x7fffcfd7f700 (LWP 30061) exited]
[Thread 0x7fffd2584700 (LWP 30065) exited]
[Thread 0x7fffd0580700 (LWP 30060) exited]
[Thread 0x7fffd1d83700 (LWP 30058) exited]
[Thread 0x7fffd1582700 (LWP 30059) exited]
[New Thread 0x7fffd1582700 (LWP 30068)]
[New Thread 0x7fffd1d83700 (LWP 30069)]
[Thread 0x7fffd1d83700 (LWP 30069) exited]
[Thread 0x7fffd1582700 (LWP 30068) exited]
[New Thread 0x7fffd1582700 (LWP 30072)]
[New Thread 0x7fffd1d83700 (LWP 30073)]
[New Thread 0x7fffd0580700 (LWP 30074)]
[New Thread 0x7fffd2584700 (LWP 30075)]
[New Thread 0x7fffd72a5700 (LWP 30076)]
[New Thread 0x7fffd6601700 (LWP 30077)]
[New Thread 0x7fffd0d81700 (LWP 30078)]
[New Thread 0x7fffcfd7f700 (LWP 30079)]
[New Thread 0x7fffced7d700 (LWP 30080)]
[Thread 0x7fffd6601700 (LWP 30077) exited]
[Thread 0x7fffd0d81700 (LWP 30078) exited]
[Thread 0x7fffced7d700 (LWP 30080) exited]
[Thread 0x7fffd72a5700 (LWP 30076) exited]
[Thread 0x7fffd2584700 (LWP 30075) exited]
[Thread 0x7fffd1d83700 (LWP 30073) exited]
[Thread 0x7fffd1582700 (LWP 30072) exited]
[Thread 0x7fffcf57e700 (LWP 30066) exited]
[Thread 0x7fffd0580700 (LWP 30074) exited]
[New Thread 0x7fffd0580700 (LWP 30084)]
[Thread 0x7fffd0580700 (LWP 30084) exited]
[New Thread 0x7fffd0580700 (LWP 30085)]
[New Thread 0x7fffcf57e700 (LWP 30086)]
[New Thread 0x7fffd1582700 (LWP 30087)]
[New Thread 0x7fffd1d83700 (LWP 30088)]
[New Thread 0x7fffd72a5700 (LWP 30089)]
[New Thread 0x7fffd6601700 (LWP 30090)]
[New Thread 0x7fffd2584700 (LWP 30091)]
[New Thread 0x7fffd0d81700 (LWP 30092)]
[New Thread 0x7fffced7d700 (LWP 30093)]
[Thread 0x7fffd2584700 (LWP 30091) exited]
[Thread 0x7fffced7d700 (LWP 30093) exited]
[Thread 0x7fffd1d83700 (LWP 30088) exited]
[Thread 0x7fffcf57e700 (LWP 30086) exited]
[Thread 0x7fffd6601700 (LWP 30090) exited]
[Thread 0x7fffd0580700 (LWP 30085) exited]
[Thread 0x7fffcfd7f700 (LWP 30079) exited]
[Thread 0x7fffd0d81700 (LWP 30092) exited]
[Thread 0x7fffd72a5700 (LWP 30089) exited]
[New Thread 0x7fffd72a5700 (LWP 30094)]
[New Thread 0x7fffd0d81700 (LWP 30095)]

^Z
Thread 1 "emacs" received signal SIGTSTP, Stopped (user).
__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135	2:	movl	%edx, %eax
(gdb) bt full
#0  0x00007fffee14b38d in __lll_lock_wait ()
    at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fffee144e4d in __GI___pthread_mutex_lock (mutex=0xc75980 <_malloc_mutex>) at ../nptl/pthread_mutex_lock.c:80
        __PRETTY_FUNCTION__ = "__pthread_mutex_lock"
        type = 0
        id = <optimized out>
#2  0x00000000006a55f2 in _malloc_internal (size=24)
    at ../../emacs-25.1/src/gmalloc.c:922
        result = 0x26e7000
#3  0x00000000006a5668 in gmalloc (size=24)
    at ../../emacs-25.1/src/gmalloc.c:946
        hook = 0x0
#4  0x00000000006a6aa6 in galigned_alloc (alignment=8192, size=8176)
    at ../../emacs-25.1/src/gmalloc.c:1618
        l = 0x0
        result = 0x26e7000
        adj = 4096
        lastadj = 4096
        hook = 0x0
#5  0x00000000006a6ba8 in posix_memalign (memptr=0x7fffffffa8c0, alignment=8192, size=8176) at ../../emacs-25.1/src/gmalloc.c:1663
        mem = 0x7ffff531c7fb <g_type_create_instance+523>
#6  0x00007ffff503e442 in allocator_memalign (memsize=8176, alignment=8192)
    at gslice.c:1404
        aligned_memory = 0x0
        err = 12
        chunk = <optimized out>
        color = 0
        n_chunks = <optimized out>
        sinfo = <optimized out>
        addr = <optimized out>
        padding = <optimized out>
        page_size = 8192
        i = <optimized out>
        chunk = <optimized out>
        ix = 44
#7  0x00007ffff503e442 in allocator_add_slab (allocator=0x7ffff52e8c80 <allocator>, chunk_size=720, ix=44) at gslice.c:1278
        chunk = <optimized out>
        color = 0
        n_chunks = <optimized out>
        sinfo = <optimized out>
        addr = <optimized out>
        padding = <optimized out>
        page_size = 8192
        i = <optimized out>
        chunk = <optimized out>
        ix = 44
#8  0x00007ffff503e442 in slab_allocator_alloc_chunk (chunk_size=chunk_size@entry=720) at gslice.c:1323
        chunk = <optimized out>
        ix = 44
#9  0x00007ffff503f0a8 in magazine_cache_pop_magazine (countp=0xd4b2d8, ix=44)
    at gslice.c:726
        magazine_threshold = 4
        i = <optimized out>
        chunk = <optimized out>
        head = <optimized out>
        chunk_size = 720
        mag = 0xd4b2d0
        ix = 44
        chunk_size = 720
        mem = <optimized out>
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff503f0a8 in thread_memory_magazine1_reload (tmem=<optimized out>, ix=44) at gslice.c:801
        mag = 0xd4b2d0
        ix = 44
        chunk_size = 720
        mem = <optimized out>
#11 0x00007ffff503f0a8 in g_slice_alloc (mem_size=mem_size@entry=712)
    at gslice.c:1014
        ix = 44
        chunk_size = 720
        mem = <optimized out>
#12 0x00007ffff503f13e in g_slice_alloc0 (mem_size=mem_size@entry=712)
    at gslice.c:1051
        mem = <optimized out>
#13 0x00007ffff531c762 in g_type_create_instance (type=16767104)
    at gtype.c:1848
        node = 0xffd880
        instance = <optimized out>
        class = 0xf8ab00
        allocated = <optimized out>
        private_size = 0
        ivar_size = 712
        i = <optimized out>
#14 0x00007ffff52fe69b in g_object_new_internal (class=class@entry=0xf8ab00, params=params@entry=0x0, n_params=n_params@entry=0) at gobject.c:1783
        nqueue = 0x0
        object = <optimized out>
        __func__ = "g_object_new_internal"
#15 0x00007ffff53000ad in g_object_newv (object_type=object_type@entry=16767104, n_parameters=n_parameters@entry=0, parameters=parameters@entry=0x0)
    at gobject.c:1930
        class = 0xf8ab00
        unref_class = 0x0
        object = <optimized out>
        __func__ = "g_object_newv"
#16 0x00007ffff5300864 in g_object_new (object_type=16767104, first_property_name=0x0) at gobject.c:1623
        var_args = {{
            gp_offset = 4294945792, 
            fp_offset = 32767, 
            overflow_arg_area = 0x6a63d3 <gfree+57>, 
            reg_save_area = 0x3
          }}
        __func__ = "g_object_new"
#17 0x00007ffff6b2aaad in gtk_css_static_style_new_compute ()
    at /lib64/libgtk-3.so.0
#18 0x00007ffff6b193f5 in gtk_css_node_real_update_style ()
    at /lib64/libgtk-3.so.0
#19 0x00007ffff6b1818c in gtk_css_node_ensure_style.part ()
    at /lib64/libgtk-3.so.0
#20 0x00007ffff6b18f45 in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#21 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#22 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#23 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#24 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#25 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#26 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
---Type <return> to continue, or q <return> to quit---
#27 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#28 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#29 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#30 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#31 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#32 0x00007ffff6b18f1a in gtk_css_node_validate_internal ()
    at /lib64/libgtk-3.so.0
#33 0x00007ffff6affc66 in gtk_container_idle_sizer () at /lib64/libgtk-3.so.0
#37 0x00007ffff531443f in <emit signal ??? on instance 0xdf4690 [GdkFrameClockIdle]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3447
        var_args = {{
            gp_offset = 24, 
            fp_offset = 48, 
            overflow_arg_area = 0x7fffffffb3f0, 
            reg_save_area = 0x7fffffffb330
          }}
    #34 0x00007ffff52f93e5 in g_closure_invoke (closure=0x23df620, return_value=return_value@entry=0x0, n_param_values=1, param_values=param_values@entry=0x7fffffffb150, invocation_hint=invocation_hint@entry=0x7fffffffb0d0)
    at gclosure.c:804
                marshal = <optimized out>
                marshal_data = <optimized out>
                in_marshal = 0
                real_closure = 0x23df600
                __func__ = "g_closure_invoke"
    #35 0x00007ffff530b432 in signal_emit_unlocked_R (node=node@entry=0xdf3e80, detail=detail@entry=0, instance=instance@entry=0xdf4690, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffffffb150) at gsignal.c:3635
                tmp = <optimized out>
                handler = 0x1f01740
                accumulator = 0x0
                emission = {
                  next = 0x0, 
                  instance = 0xdf4690, 
                  ihint = {
                    signal_id = 31, 
                    detail = 0, 
                    run_type = G_SIGNAL_RUN_FIRST
                  }, 
                  state = EMISSION_RUN, 
                  chain_type = 4
                }
                class_closure = 0x0
                handler_list = 0x1f01740
                return_accu = 0x0
                accu = {
                  g_type = 0, 
                  data = {{
                      v_int = 0, 
                      v_uint = 0, 
                      v_long = 0, 
                      v_ulong = 0, 
                      v_int64 = 0, 
                      v_uint64 = 0, 
                      v_float = 0, 
                      v_double = 0, 
                      v_pointer = 0x0
---Type <return> to continue, or q <return> to quit---
                    }, {
                      v_int = 0, 
                      v_uint = 0, 
                      v_long = 0, 
                      v_ulong = 0, 
                      v_int64 = 0, 
                      v_uint64 = 0, 
                      v_float = 0, 
                      v_double = 0, 
                      v_pointer = 0x0
                    }}
                }
                signal_id = 31
                max_sequential_handler_number = 32701
                return_value_altered = 0
    #36 0x00007ffff531405f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffb310) at gsignal.c:3391
                instance_and_params = 0x7fffffffb150
                signal_return_type = <optimized out>
                param_values = 0x7fffffffb168
                node = <optimized out>
                i = <optimized out>
                n_params = <optimized out>
                __func__ = "g_signal_emit_valist"
#38 0x00007ffff66e4ba3 in gdk_frame_clock_paint_idle () at /lib64/libgdk-3.so.0
#39 0x00007ffff66cfe78 in gdk_threads_dispatch () at /lib64/libgdk-3.so.0
#40 0x00007ffff502189d in g_timeout_dispatch (source=0x23dfb80, callback=0x7ffff66cfe50 <gdk_threads_dispatch>, user_data=0x2210480) at gmain.c:4674
        timeout_source = 0x23dfb80
        again = <optimized out>
#41 0x00007ffff5020e52 in g_main_dispatch (context=0xdf2b00) at gmain.c:3203
        dispatch = 0x7ffff5021880 <g_timeout_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x2210480
        callback = 0x7ffff66cfe50 <gdk_threads_dispatch>
        cb_funcs = 0x7ffff52e8280 <g_source_callback_funcs>
        cb_data = 0x1dd04c0
        need_destroy = <optimized out>
        source = 0x23dfb80
        current = 0xe03bb0
        i = 1
#42 0x00007ffff5020e52 in g_main_context_dispatch (context=context@entry=0xdf2b00) at gmain.c:3856
#43 0x00007ffff50211d0 in g_main_context_iterate (context=0xdf2b00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3929
        max_priority = 120
        timeout = 0
        some_ready = 1
        nfds = 2
        allocated_nfds = 2
        fds = <optimized out>
#44 0x00007ffff50214f2 in g_main_loop_run (loop=0x1cd3c50) at gmain.c:4125
        __func__ = "g_main_loop_run"
#45 0x0000000000546f9f in xg_dialog_run (f=0x13d8c30, w=0x1d6ea10 [GtkFileChooserDialog]) at ../../emacs-25.1/src/gtkutil.c:1735
        count = 18
        dd = {
          loop = 0x1cd3c50, 
          response = -6, 
          w = 0x1d6ea10 [GtkFileChooserDialog], 
          timerid = 0
        }
---Type <return> to continue, or q <return> to quit---
#46 0x000000000054796d in xg_get_file_name (f=0x13d8c30, prompt=0xbeec68 <pure+2932904> "Find file: ", default_filename=0x2475568 "/home/robj/CHANGES/DesignOfIIRFilters.C578/", mustmatch_p=true, only_dir_p=false)
    at ../../emacs-25.1/src/gtkutil.c:2011
        w = 0x1d6ea10 [GtkFileChooserDialog]
        fn = 0x0
        filesel_done = 0
        func = 0x546fec <xg_get_file_name_from_chooser>
#47 0x0000000000539932 in Fx_file_dialog (prompt=9836428, dir=39124484, default_filename=39121412, mustmatch=44592, only_dir_p=0)
    at ../../emacs-25.1/src/xfns.c:6432
        f = 0x13d8c30
        fn = 0x91f570 <Sx_file_dialog> ""
        file = 0
        decoded_file = 140737488336624
        count = 16
        cdef_file = 0x2475568 "/home/robj/CHANGES/DesignOfIIRFilters.C578/"
#48 0x0000000000601be1 in Ffuncall (nargs=6, args=0x7fffffffb830)
    at ../../emacs-25.1/src/eval.c:2709
        internal_argbuf = 
          {5600267, 12971424, 13152272, 5605152, 0, 140737488336784, 13152272, 6327340}
        fun = 9565557
        original_fun = 758368
        funcar = 0
        numargs = 5
        lisp_numargs = 140737488336736
        val = 39121412
        internal_args = 0x7fffffffb838
        count = 15
#49 0x00000000006472c1 in exec_byte_code (bytestr=10430180, vector=10430213, maxdepth=90, args_template=6150, nargs=6, args=0x7fffffffbe00)
    at ../../emacs-25.1/src/bytecode.c:880
        targets = 
        count = 13
        op = 5
        vectorp = 0x9f2708 <pure+850760>
        stack = {
          byte_string = 10430180, 
          byte_string_start = 0xbb67ab <pure+2702315> "\004\204\v", 
          next = 0x7fffffffc160
---Type <return> to continue, or q <return> to quit---
        }
        top = 0x7fffffffb830
        result = 64424492040
        type = CATCHER
#50 0x00000000006023ca in funcall_lambda (fun=10430133, nargs=6, arg_vector=0x7fffffffbdd0) at ../../emacs-25.1/src/eval.c:2855
        size = 5
        val = 13152272
        syms_left = 6150
        next = 6
        lexenv = 10430128
        count = 13
        i = 140737488338088
        optional = false
        rest = false
#51 0x0000000000601dc1 in Ffuncall (nargs=7, args=0x7fffffffbdc8)
    at ../../emacs-25.1/src/eval.c:2742
        fun = 10430133
        original_fun = 5220816
        funcar = 13152272
        numargs = 6
        lisp_numargs = 19
        val = 6761728
        internal_args = 0x0
        count = 12
#52 0x00000000006472c1 in exec_byte_code (bytestr=10430012, vector=10430045, maxdepth=54, args_template=6150, nargs=4, args=0x7fffffffc350)
    at ../../emacs-25.1/src/bytecode.c:880
        targets = 
        count = 12
        op = 6
        vectorp = 0x9f2660 <pure+850592>
        stack = {
          pc = 0xbb69cd <pure+2702861> "\207", 
          byte_string = 10430012, 
          byte_string_start = 0xbb69ba <pure+2702842> "\b\206\005", 
          next = 0x7fffffffc6b0
        }
        top = 0x7fffffffbdc8
        result = 60129542144
        type = (CONDITION_CASE | CATCHER_ALL | unknown: 32764)
#53 0x00000000006023ca in funcall_lambda (fun=10429965, nargs=4, arg_vector=0x7fffffffc330) at ../../emacs-25.1/src/eval.c:2855
        size = 5
        val = 140737488340888
        syms_left = 6150
        next = 4
        lexenv = 10429960
        count = 12
---Type <return> to continue, or q <return> to quit---
        i = 140737488339496
        optional = false
        rest = false
#54 0x0000000000601dc1 in Ffuncall (nargs=5, args=0x7fffffffc328)
    at ../../emacs-25.1/src/eval.c:2742
        fun = 10429965
        original_fun = 3417264
        funcar = 140737488341104
        numargs = 4
        lisp_numargs = 9986117
        val = 0
        internal_args = 0x18ffffc620
        count = 11
#55 0x00000000006472c1 in exec_byte_code (bytestr=9986084, vector=9986117, maxdepth=30, args_template=2058, nargs=2, args=0x7fffffffc880)
    at ../../emacs-25.1/src/bytecode.c:880
        targets = 
        count = 11
        op = 4
        vectorp = 0x986048 <pure+406664>
        stack = {
          pc = 0xbdb188 <pure+2852296> "\303D\207", 
          byte_string = 9986084, 
          byte_string_start = 0xbdb182 <pure+2852290> "\301\002\302\b\004$\303D\207", 
          next = 0x7fffffffcbe0
        }
        top = 0x7fffffffc328
        result = 60152594720
        type = CATCHER
#56 0x00000000006023ca in funcall_lambda (fun=9986037, nargs=2, arg_vector=0x7fffffffc870) at ../../emacs-25.1/src/eval.c:2855
        size = 5
        val = 20810800
        syms_left = 2058
        next = 2
        lexenv = 9986032
        count = 11
        i = 140737488340856
        optional = false
        rest = false
#57 0x0000000000601dc1 in Ffuncall (nargs=3, args=0x7fffffffc868)
    at ../../emacs-25.1/src/eval.c:2742
        fun = 9986037
        original_fun = 4292976
        funcar = 10482797
        numargs = 2
        lisp_numargs = 10482764
        val = 0
---Type <return> to continue, or q <return> to quit---
        internal_args = 0x7fffffffc870
        count = 10
#58 0x00000000006472c1 in exec_byte_code (bytestr=11043004, vector=11043037, maxdepth=14, args_template=0, nargs=0, args=0x0)
    at ../../emacs-25.1/src/bytecode.c:880
        targets = 
        count = 9
        op = 2
        vectorp = 0xa880e0 <pure+1463584>
        stack = {
          pc = 0xb72c71 <pure+2425009> "@\031\b\203\032", 
          byte_string = 11043004, 
          byte_string_start = 0xb72c63 <pure+2424995> "\302\303!\205\b", 
          next = 0x7fffffffd560
        }
        top = 0x7fffffffc868
        result = 60147249912
        type = CATCHER
#59 0x0000000000602706 in funcall_lambda (fun=11042949, nargs=0, arg_vector=0xa880dd <pure+1463581>) at ../../emacs-25.1/src/eval.c:2921
        val = 13152272
        syms_left = 0
        next = 0
        lexenv = 0
        count = 9
        i = 0
        optional = false
        rest = false
#60 0x0000000000601dc1 in Ffuncall (nargs=1, args=0x7fffffffd078)
    at ../../emacs-25.1/src/eval.c:2742
        fun = 11042949
        original_fun = 9561408
        funcar = 3
        numargs = 0
        lisp_numargs = 25769803782
        val = 0
        internal_args = 0x6f90
        count = 8
#61 0x00000000005f9a0d in Ffuncall_interactively (nargs=1, args=0x7fffffffd078)
    at ../../emacs-25.1/src/callint.c:252
        speccount = 7
#62 0x0000000000601970 in Ffuncall (nargs=2, args=0x7fffffffd070)
    at ../../emacs-25.1/src/eval.c:2673
        fun = 12605805
        original_fun = 24096
        funcar = 140737488342624
        numargs = 1
        lisp_numargs = 60135717156
        val = 6172740
---Type <return> to continue, or q <return> to quit---
        internal_args = 0xc63590 <o_fwd>
        count = 6
#63 0x00000000006009ff in Fapply (nargs=3, args=0x7fffffffd070)
    at ../../emacs-25.1/src/eval.c:2274
        i = 13180832
        numargs = 0
        funcall_nargs = -998871027310112768
        funcall_args = 0x0
        spread_arg = 0
        fun = 24096
        retval = 24096
        sa_avail = 16384
        sa_count = 6
        sa_must_free = false
#64 0x00000000005f9ea3 in Fcall_interactively (function=9561408, record_flag=0, keys=13645205) at ../../emacs-25.1/src/callint.c:389
        input = 0
        funval = 11042949
        events = 20
        result = 12890890752
        args = 0x0
        visargs = 0x500558501
        specs = 0
        filter_specs = 0
        teml = 140737488342880
        up_event = 0
        enable = 0
        sa_avail = 16384
        sa_count = 6
        sa_must_free = false
        speccount = 6
        next_event = 5477875
        prefix_arg = 0
        string = 0x0
        tem = 0xaffffcf90 <error: Cannot access memory at address 0xaffffcf90>
        varies = 0xa88080 <pure+1463488> "\006"
        i = 9565461
        nargs = 0
        mark = 13152272
        arg_from_tty = false
        key_count = 2
        record_then_fail = false
        save_this_command = 9561408
        save_last_command = 9561408
        save_this_original_command = 9561408
        save_real_this_command = 9561408
#65 0x0000000000601b29 in Ffuncall (nargs=4, args=0x7fffffffd1c8)
    at ../../emacs-25.1/src/eval.c:2700
        internal_argbuf = 
          {9561408, 0, 13152272, 13152272, 0, 140737488343392, 13152272, 5600267}
        fun = 12605853
        original_fun = 589456
        funcar = 0
        numargs = 3
        lisp_numargs = 140737488343344
        val = 0
        internal_args = 0x7fffffffd1d0
        count = 5
#66 0x00000000006472c1 in exec_byte_code (bytestr=10473900, vector=10473933, maxdepth=54, args_template=4102, nargs=1, args=0x7fffffffd730)
    at ../../emacs-25.1/src/bytecode.c:880
        targets = 
          {0x64aca1 <exec_byte_code+18007>, 0x64acfe <exec_byte_code+18100>, 0x6---Type <return> to continue, or q <return> to quit---
        count = 5
        op = 3
        vectorp = 0x9fd1d0 <pure+894480>
        stack = {
          pc = 0xbb1838 <pure+2681976> "\006\006\071\203\242", 
          byte_string = 10473900, 
          byte_string_start = 0xbb17bd <pure+2681853> "\306\020\211?\205\023", 
          next = 0x0
        }
        top = 0x7fffffffd1c8
        result = 64424498544
        type = CATCHER
#67 0x00000000006023ca in funcall_lambda (fun=10473853, nargs=1, arg_vector=0x7fffffffd728) at ../../emacs-25.1/src/eval.c:2855
        size = 5
        val = 0
        syms_left = 4102
        next = 1
        lexenv = 10473848
        count = 5
        i = 140737488344616
        optional = false
        rest = false
#68 0x0000000000601dc1 in Ffuncall (nargs=2, args=0x7fffffffd720)
    at ../../emacs-25.1/src/eval.c:2742
        fun = 10473853
        original_fun = 14880
        funcar = 0
        numargs = 1
        lisp_numargs = 0
        val = 6299437
        internal_args = 0x7fffffffd738
        count = 4
#69 0x0000000000601367 in call1 (fn=14880, arg1=9561408)
    at ../../emacs-25.1/src/eval.c:2552
#70 0x0000000000560667 in command_loop_1 ()
    at ../../emacs-25.1/src/keyboard.c:1479
        scount = 3
        cmd = 9561408
        keybuf = 
          {36887443, 9561360, 0, 28560, 4, 28560, 13152272, 6169237, 0, 140737488345072, 5600267, 0, 140737488345168, 6303620, 13835731, 3, 13152272, 0, 0, 140737488345152, 5600267, 3368046592, 140737488345200, 6285705, 8589924496, 19152, 0, 14286848, 140737488345248, 6285483}
        i = 2
        prev_modiff = 2
        prev_buffer = 0x25b8c00
        already_adjusted = false
#71 0x00000000005fe683 in internal_condition_case (bfun=0x55fe4d <command_loop_1>, handlers=19152, hfun=0x55f617 <cmd_error>)
---Type <return> to continue, or q <return> to quit---
    at ../../emacs-25.1/src/eval.c:1309
        val = 5600267
        c = 0xda0000
#72 0x000000000055fb57 in command_loop_2 (ignore=0)
    at ../../emacs-25.1/src/keyboard.c:1107
        val = 0
#73 0x00000000005fdf80 in internal_catch (tag=45984, func=0x55fb2e <command_loop_2>, arg=0) at ../../emacs-25.1/src/eval.c:1074
        val = 5600267
        c = 0xd9f600
#74 0x000000000055faf9 in command_loop ()
    at ../../emacs-25.1/src/keyboard.c:1086
#75 0x000000000055f1df in recursive_edit_1 ()
    at ../../emacs-25.1/src/keyboard.c:692
        count = 1
        val = 6302696
#76 0x000000000055f373 in Frecursive_edit ()
    at ../../emacs-25.1/src/keyboard.c:763
        count = 0
        buffer = 0
#77 0x000000000055d044 in main (argc=2, argv=0x7fffffffdbc8)
    at ../../emacs-25.1/src/emacs.c:1626
        dummy = 13981760
        stack_bottom_variable = -1 '\377'
        do_initial_setlocale = true
        dumping = false
        skip_args = 0
        rlim = {
          rlim_cur = 8720000, 
          rlim_max = 18446744073709551615
        }
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0

Lisp Backtrace:
"x-file-dialog" (0xffffb838)
"read-file-name-default" (0xffffbdd0)
"read-file-name" (0xffffc330)
"find-file-read-args" (0xffffc870)
"menu-find-file-existing" (0xffffd080)
"funcall-interactively" (0xffffd078)
"call-interactively" (0xffffd1d0)
"command-execute" (0xffffd728)
((gdb) xbacktrace
"x-file-dialog" (0xffffb838)
"read-file-name-default" (0xffffbdd0)
"read-file-name" (0xffffc330)
"find-file-read-args" (0xffffc870)
"menu-find-file-existing" (0xffffd080)
"funcall-interactively" (0xffffd078)
"call-interactively" (0xffffd1d0)
"command-execute" (0xffffd728)
(gdb) q
A debugging session is active.

	Inferior 1 [process 30015] will be killed.

Quit anyway? (y or n) y

 In GNU Emacs 25.1.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10)
 of 2017-03-24 built on morgawr
 Windowing system distributor 'Fedora Project', version 11.0.11901000
 System Description:	Fedora release 25 (Twenty Five)

 Configured using:
 'configure --disable-dependency-tracking --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
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig
 'CFLAGS=-DMAIL_USE_LOCKF -O0 -ggdb3 -pipe -Wall
 -Werror=format-security -fexceptions -fstack-protector-strong
 --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic''

 Configured features:
 XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
 LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3
 X11 XWIDGETS

 Important settings:
  value of $LANG: en_AU.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

 Major mode: Fundamental

 Minor modes in effect:
  show-paren-mode: t
  save-place-mode: t
  tooltip-mode: t
  global-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
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

 Recent messages:
 Loading saveplace...done
 Loading paren...done
 For information about GNU Emacs and the GNU system, type C-h C-a.
 Mark set [2 times]
 Mark set [4 times]
 Auto-saving...done

 Load-path shadows:
 None found.

 (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
 mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
 mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
 rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
 cl-loaddefs pcase cl-lib mail-prsvr mail-utils paren saveplace
 cus-start cus-load time-date mule-util tooltip eldoc electric uniquify
 ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
 tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
 elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow
 timer select scroll-bar mouse jit-lock font-lock syntax facemenu
 font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple
 abbrev 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
 dbusbind inotify dynamic-setting system-font-setting
 font-render-setting xwidget-internal move-toolbar gtk x-toolkit x
 multi-tty make-network-process emacs)

 Memory information:
 ((conses 16 97792 8456)
 (symbols 48 20771 0)
 (miscs 40 168 111)
 (strings 32 16168 7578)
 (string-bytes 1 450136)
 (vectors 16 18273)
 (vector-slots 8 1146013 200892)
 (floats 8 169 72)
 (intervals 56 247 2)
 (buffers 976 21))