Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting text from tilix hangs programs #1212

Closed
Jellyfrog opened this issue Dec 7, 2017 · 8 comments
Closed

Pasting text from tilix hangs programs #1212

Jellyfrog opened this issue Dec 7, 2017 · 8 comments

Comments

@Jellyfrog
Copy link

Jellyfrog commented Dec 7, 2017

When tilix been running a long time it can start to hang programs that you try to paste text in.
For example, I copied a text from a tilix window, pasted it in Sublime text (Same happens with Chromium etc.) it hangs.
I closed sublime but the process is still hanging around, so I attached gdb to it;

GNU gdb (GDB; openSUSE Tumbleweed) 8.0.1
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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
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".
Attaching to process 15535
[New LWP 15537]
[New LWP 15539]
[New LWP 15540]
[New LWP 15541]
[New LWP 15542]
[New LWP 15637]
[New LWP 15640]
[New LWP 15685]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007fc2fba52f0b in __GI___poll (fds=0x18a25c0, nfds=26, timeout=33) at ../sysdeps/unix/sysv/linux/poll.c:29
29	../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) bt full
#0  0x00007fc2fba52f0b in __GI___poll (fds=0x18a25c0, nfds=26, timeout=33) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007fc2fc81b149 in g_main_context_poll (priority=<optimized out>, n_fds=26, fds=0x18a25c0, timeout=<optimized out>, context=0xbc4110) at gmain.c:4187
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7fc2fc82a740 <g_poll>
        max_priority = 2147483647
        timeout = 33
        some_ready = <optimized out>
        nfds = 26
        allocated_nfds = 26
        fds = 0x18a25c0
#2  0x00007fc2fc81b149 in g_main_context_iterate (context=0xbc4110, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3881
        max_priority = 2147483647
        timeout = 33
        some_ready = <optimized out>
        nfds = 26
        allocated_nfds = 26
        fds = 0x18a25c0
#3  0x00007fc2fc81b4e2 in g_main_loop_run (loop=0x191c760) at gmain.c:4082
        __func__ = "g_main_loop_run"
#4  0x00007fc2f54c604f in IA__gtk_clipboard_wait_for_text (clipboard=0xf630c0 [GtkClipboard]) at gtkclipboard.c:1375
        results = {loop = 0x191c760, data = 0x0, format = 0x7ffe4b6dbc50, length = 140730163906752}
        __func__ = "IA__gtk_clipboard_wait_for_text"
#5  0x0000000000600976 in  ()
#6  0x000000000054eb3a in  ()
#7  0x0000000000555155 in  ()
#8  0x0000000000552785 in  ()
#9  0x0000000000562346 in  ()
#10 0x00000000005a12b7 in  ()
#11 0x00000000005eff3c in  ()
#12 0x00000000005ee9b6 in  ()
#13 0x00000000005fe36e in  ()
#14 0x0000000000603594 in  ()
#19 0x00007fc2fcd17c5f in <emit signal ??? on instance 0x10b1100 [GtkWindow]> (instance=instance@entry=0x10b1100, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3447
        var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffe4b6dd200, reg_save_area = 0x7ffe4b6dd140}}
    #15 0x00007fc2f539eecb in _gtk_marshal_BOOLEAN__BOXED (closure=0x11eef80, return_value=0x7ffe4b6dcef0, n_param_values=<optimized out>, param_values=0x7ffe4b6dcf50, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:83
                cc = 0x11eef80
                data1 = 0x10b1100
                data2 = <optimized out>
                callback = 0x6032f0
                v_return = <optimized out>
                __func__ = "_gtk_marshal_BOOLEAN__BOXED"
    #16 0x00007fc2fccfb93d in g_closure_invoke (closure=0x11eef80, return_value=0x7ffe4b6dcef0, n_param_values=2, param_values=0x7ffe4b6dcf50, invocation_hint=0x7ffe4b6dced0) at gclosure.c:804
                marshal = 0x7fc2f539ee60 <_gtk_marshal_BOOLEAN__BOXED>
                marshal_data = 0x0
                in_marshal = 0
                real_closure = 0x11eef60
                __func__ = "g_closure_invoke"
    #17 0x00007fc2fcd0e9fe in signal_emit_unlocked_R (node=node@entry=0xc24090, detail=detail@entry=0, instance=instance@entry=0x10b1100, emission_return=emission_return@entry=0x7ffe4b6dd070, instance_and_params=instance_and_params@entry=0x7ffe4b6dcf50) at gsignal.c:3635
                tmp = <optimized out>
                handler = 0x11ee440
                accumulator = 0xc24210
                emission = {next = 0x0, instance = 0x10b1100, ihint = {signal_id = 31, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
---Type <return> to continue, or q <return> to quit---
                handler_list = 0x11ee440
                return_accu = 0x7ffe4b6dcef0
                accu = 
                      {g_type = 20, 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}, {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 = 1745
                return_value_altered = 0
    #18 0x00007fc2fcd16bbf in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffe4b6dd120) at gsignal.c:3401
                return_value = 
                      {g_type = 20, 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}, {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}}}
                error = 0x0
                rtype = 20
                static_scope = 0
                instance_and_params = 0x7ffe4b6dcf50
                signal_return_type = <optimized out>
                param_values = 0x7ffe4b6dcf68
                i = <optimized out>
                n_params = <optimized out>
                __func__ = "g_signal_emit_valist"
#20 0x00007fc2f54adf5f in gtk_widget_event_internal (widget=widget@entry=0x10b1100 [GtkWindow], event=event@entry=0x132d650) at gtkwidget.c:4912
        return_val = 0
#21 0x00007fc2f54ae2d7 in IA__gtk_widget_event (widget=widget@entry=0x10b1100 [GtkWindow], event=event@entry=0x132d650) at gtkwidget.c:4814
        __func__ = "IA__gtk_widget_event"
#22 0x00007fc2f539d75d in IA__gtk_propagate_event (widget=0x10b1100 [GtkWindow], event=0x132d650) at gtkmain.c:2475
        window = 0x10b1100 [GtkWindow]
        handled_event = <optimized out>
        __func__ = "IA__gtk_propagate_event"
#23 0x00007fc2f539da7b in IA__gtk_main_do_event (event=<optimized out>) at gtkmain.c:1696
        grab_widget = 0x10b1100 [GtkWindow]
        window_group = <optimized out>
        tmp_list = <optimized out>
        event_widget = <optimized out>
        event = 0x132d650
#24 0x00007fc2f79e008c in gdk_event_dispatch (source=source@entry=0xbc4020, callback=<optimized out>, user_data=<optimized out>) at gdkevents-x11.c:2425
        display = <optimized out>
        event = 0x132d650
#25 0x00007fc2fc81af97 in g_main_dispatch (context=0xbc4110) at gmain.c:3148
        dispatch = 0x7fc2f79e0040 <gdk_event_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0xbc4020
        current = 0xc296c0
        i = 0
#26 0x00007fc2fc81af97 in g_main_context_dispatch (context=context@entry=0xbc4110) at gmain.c:3813
#27 0x00007fc2fc81b1d0 in g_main_context_iterate (context=0xbc4110, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3886
        max_priority = 2147483647
        timeout = 99
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 26
---Type <return> to continue, or q <return> to quit---
        fds = 0x18a25c0
#28 0x00007fc2fc81b4e2 in g_main_loop_run (loop=0xce5e30) at gmain.c:4082
        __func__ = "g_main_loop_run"
#29 0x00007fc2f539cad7 in IA__gtk_main () at gtkmain.c:1268
        tmp_list = <optimized out>
        functions = 0x0
        init = <optimized out>
        loop = 0xce5e30
#30 0x00000000006029d7 in  ()
#31 0x000000000040949b in  ()
#32 0x00007fc2fb985f4a in __libc_start_main (main=0x40896e, argc=1, argv=0x7ffe4b6de728, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe4b6de718)
    at ../csu/libc-start.c:308
        result = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {0, -893255278049824991, 4248446, 140730163914528, 0, 0, 893422650057617185, 873543029617389345}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffe4b6de738, 0x7fc2fd166110}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1265493816}}}
        not_first_call = <optimized out>
#33 0x000000000040d3a7 in  ()

When I close tilix, the programs start to function normally again.

This is gdb for the tilix process if that helps;

(gdb) bt full
#0  0x00007fc42590ef0b in __GI___poll (fds=0x3e0e310, nfds=5, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007fc421a97149 in g_main_context_poll (priority=<optimized out>, n_fds=5, fds=0x3e0e310, timeout=<optimized out>, context=0x15b3320) at gmain.c:4187
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7fc421aa6740 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 5
        allocated_nfds = 14
        fds = 0x3e0e310
#2  0x00007fc421a97149 in g_main_context_iterate (context=context@entry=0x15b3320, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3881
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 5
        allocated_nfds = 14
        fds = 0x3e0e310
#3  0x00007fc421a9725c in g_main_context_iteration (context=context@entry=0x15b3320, may_block=may_block@entry=1) at gmain.c:3947
        retval = <optimized out>
#4  0x00007fc422058b7d in g_application_run (application=0x7fc4140136d0 [GtkApplication], argc=<optimized out>, argv=<optimized out>) at gapplication.c:2401
        arguments = 0x163d3d0
        status = 0
        context = 0x15b3320
        acquired_context = <optimized out>
        __func__ = "g_application_run"
#5  0x0000000000ab9dea in _D3gio11ApplicationQn3runMFAAyaZi (this=0x7fc426bc1800, argv=...) at GtkD-3.7.2/generated/gtkd/gio/Application.d:931
#6  0x0000000000978799 in D main (args=...) at source/app.d:146
        newProcess = false
        cwd = "/home/jellyfrog"
        pwd = "/home/jellyfrog"
        de = "GNOME"
        __EAX = 0xfffffffffffffdfc
        __EDX = 630255371
        __handler = 1
        __exception_object = 0x7fff8c5e6260
        uhd = "/home/jellyfrog"
        __r767 = {{length = 14, ptr = 0x7fff8c5e6510 "/usr/bin/tilix--gapplication-service"}, {length = 22, ptr = 0x7fff8c5e651e "--gapplication-service"}}
        __key766 = 2
        arg = "--gapplication-service"
        i = 1
        __r769 = {{length = 14, ptr = 0x7fff8c5e6510 "/usr/bin/tilix--gapplication-service"}, {length = 22, ptr = 0x7fff8c5e651e "--gapplication-service"}}
        __key768 = 2
        arg = "--gapplication-service"
        i = 1
        executeCommand = 0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>
        j = 18446744073709551615
        __r783 = {{length = 14, ptr = 0x7fc426b999b0 "/usr/bin/tilix"}, {length = 22, ptr = 0x7fc426bc3020 "--gapplication-service"}}
        __key782 = 2
        arg = "--gapplication-service"
        i = 1
        terminalUUID = 0xa5bc6b <gx.tilix.terminal.regex._staticCtor157()+367> "\351\034\001"
        __EAX = 0xfffffffffffffdfc
        __EDX = 630255371
        __handler = 1
---Type <return> to continue, or q <return> to quit---
        __exception_object = 0x7fc426c99490
        gtkError = 0x0
        dialog = 0x7fff8c5e6250
        tilixApp = 0x7fc426bc1800
        result = 0
        __EAX = 0xfffffffffffffdfc
        __EDX = 630255371
        __handler = 6
        __exception_object = 0x7fff8c5e6290
(gdb) 

Tilix @ f678d3c
GtkD @ 8fc625d6306beda7b04c2ea6794a9221b0abc3c2

@gnunn1
Copy link
Owner

gnunn1 commented Dec 9, 2017

It looks like it is waiting for the clipboard to return text. I'm doing the easy thing of using the synchronous method gtk_clipboard_wait_for_text however it looks like it is blocking indefinitely for some reason. Can I ask how much text you are pasting and what the source of the text is? I wonder if it could be something like the browser trying to convert html to pure text taking too long.

I will have a look and see if there is a way to add a timeout or make it asynchronous.

@Jellyfrog
Copy link
Author

Jellyfrog commented Dec 10, 2017

I'm copying FROM tilix, and the content length can be whatever, paths, program outputs, numbers...

@Jellyfrog
Copy link
Author

After a while it seems it times out and i can again use the programs.
How to proceed debugging @gnunn1 ? it happens every time I use Tilix after a while (hours, days)

@gnunn1
Copy link
Owner

gnunn1 commented Dec 19, 2017

Is there any pattern to what you are copying and pasting? Any chance you are running short on memory?

Also, when it happens is the UI completely locked up? According to the docs it should still process events:

"Requests the contents of the clipboard as text and converts the result to UTF-8 if necessary. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait."

I don't get this issue myself, short of re-writing things to use the async version I'm not sure what can be done from a debugging point of view.

@Jellyfrog
Copy link
Author

Jellyfrog commented Dec 20, 2017

@gnunn1 nope like i said above, anything.
Noticed it doesn't hang if i copy/paste from/to tilix itself.
When it starts to happen it happens every time until I restart tilix.
If I paste into chrome urlbar it hangs all input areas (like this one i'm currently type in) for some minute.
If I paste into sublime I can still type but it starts to act "weird" for some minute.
What helps is to copy text from another window, and then wait for that "timeout", then it will paste the new copied text, and then everything starts to work ok again.

@gnunn1
Copy link
Owner

gnunn1 commented Dec 21, 2017

I think I mis-understood, was it Sublime that you attached the gdb process to or tilix? If you are pasting into sublime it is the VTE's responsibility to provide the text and not tilix. So my changing things to use the async version of receiving text from the clipboard wouldn't make any difference. I'll check if there are any outstanding issues in VTE with this.

@Jellyfrog
Copy link
Author

Both, as I wrote, but i'll send a new one below.
It works to paste into some programs and some not, for example gedit works to paste in.
I guess the problem is at IA__gtk_clipboard_wait_for_text

sublime text:

(gdb) bt full
#0  0x00007fd7bf3e9f0b in __GI___poll (fds=0x38e2250, nfds=30, timeout=6)
    at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007fd7c01b2149 in g_main_context_poll (priority=<optimized out>, n_fds=30, fds=0x38e2250, timeout=<optimized out>, context=0x18fff70) at gmain.c:4187
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7fd7c01c1740 <g_poll>
        max_priority = 2147483647
        timeout = 6
        some_ready = <optimized out>
        nfds = 30
        allocated_nfds = 37
        fds = 0x38e2250
#2  0x00007fd7c01b2149 in g_main_context_iterate (context=0x18fff70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3881
        max_priority = 2147483647
        timeout = 6
        some_ready = <optimized out>
        nfds = 30
        allocated_nfds = 37
        fds = 0x38e2250
---Type <return> to continue, or q <return> to quit---
#3  0x00007fd7c01b24e2 in g_main_loop_run (loop=0x4e49c90) at gmain.c:4082
        __func__ = "g_main_loop_run"
#4  0x00007fd7b8e5d04f in IA__gtk_clipboard_wait_for_text (clipboard=0x20b50b0 [GtkClipboard]) at gtkclipboard.c:1375
        results = {loop = 0x4e49c90, data = 0x0, format = 0x7fff9a571cf0, length = 140735782791520}
        __func__ = "IA__gtk_clipboard_wait_for_text"
#5  0x0000000000600976 in  ()
#6  0x000000000054eb3a in  ()
#7  0x0000000000555155 in  ()
#8  0x0000000000552785 in  ()
#9  0x0000000000562346 in  ()
#10 0x00000000005a12b7 in  ()
#11 0x00000000005eff3c in  ()
#12 0x00000000005ee9b6 in  ()
#13 0x00000000005fe36e in  ()
#14 0x0000000000603594 in  ()
#19 0x00007fd7c06aec5f in <emit signal ??? on instance 0x42d7c30 [GtkWindow]> (instance=instance@entry=0x42d7c30, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3447
        var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fff9a5732a0, reg_save_area = 0x7fff9a5731e0}}
    #15 0x00007fd7b8d35ecb in _gtk_marshal_BOOLEAN__BOXED (closure=0x3213eb0, return_value=0x7fff9a572f90, n_param_values=<optimized out>, param_values=0x7fff9a572ff0, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:83
                cc = 0x3213eb0
                data1 = 0x42d7c30
                data2 = <optimized out>
                callback = 0x6032f0
                v_return = <optimized out>
                __func__ = "_gtk_marshal_BOOLEAN__BOXED"
    #16 0x00007fd7c069293d in g_closure_invoke (closure=0x3213eb0, return_value=0x7fff9a572f90, n_param_values=2, param_values=0x7fff9a572ff0, invocation_hint=0x7fff9a572f70) at gclosure.c:804
                marshal = 0x7fd7b8d35e60 <_gtk_marshal_BOOLEAN__BOXED>
                marshal_data = 0x0
                in_marshal = 0
                real_closure = 0x3213e90
                __func__ = "g_closure_invoke"
    #17 0x00007fd7c06a59fe in signal_emit_unlocked_R (node=node@entry=0x195fbe0, detail=detail@entry=0, instance=instance@entry=0x42d7c30, emission_return=emission_return@entry=0x7fff9a573110, instance_and_params=instance_and_params@entry=0x7fff9a572ff0) at gsignal.c:3635
                tmp = <optimized out>
                handler = 0x3cf9280
                accumulator = 0x195f7f0
                emission = {next = 0x7fff9a574ad0, instance = 0x42d7c30, ihint = {signal_id = 31, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
                handler_list = 0x3cf9280
                return_accu = 0x7fff9a572f90
                accu = 
                      {g_type = 20, 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}, {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 = 20385
                return_value_altered = 0
    #18 0x00007fd7c06adbbf in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff9a5731c0) at gsignal.c:3401
                return_value = 
                      {g_type = 20, 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}, {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}}}
                error = 0x0
                rtype = 20
                static_scope = 0
                instance_and_params = 0x7fff9a572ff0
                signal_return_type = <optimized out>
                param_values = 0x7fff9a573008
                i = <optimized out>
                n_params = <optimized out>
---Type <return> to continue, or q <return> to quit---
                __func__ = "g_signal_emit_valist"
#20 0x00007fd7b8e44f5f in gtk_widget_event_internal (widget=widget@entry=0x42d7c30 [GtkWindow], event=event@entry=0x392e410) at gtkwidget.c:4912
        return_val = 0
#21 0x00007fd7b8e452d7 in IA__gtk_widget_event (widget=widget@entry=0x42d7c30 [GtkWindow], event=event@entry=0x392e410) at gtkwidget.c:4814
        __func__ = "IA__gtk_widget_event"
#22 0x00007fd7b8d3475d in IA__gtk_propagate_event (widget=0x42d7c30 [GtkWindow], event=0x392e410) at gtkmain.c:2475
        window = 0x42d7c30 [GtkWindow]
        handled_event = <optimized out>
        __func__ = "IA__gtk_propagate_event"
#23 0x00007fd7b8d34a7b in IA__gtk_main_do_event (event=<optimized out>) at gtkmain.c:1696
        grab_widget = 0x42d7c30 [GtkWindow]
        window_group = <optimized out>
        tmp_list = <optimized out>
        event_widget = <optimized out>
        event = 0x392e410
#24 0x00007fd7bb37708c in gdk_event_dispatch (source=source@entry=0x18ffe80, callback=<optimized out>, user_data=<optimized out>) at gdkevents-x11.c:2425
        display = <optimized out>
        event = 0x392e410
#25 0x00007fd7c01b1f97 in g_main_dispatch (context=0x18fff70) at gmain.c:3148
        dispatch = 0x7fd7bb377040 <gdk_event_dispatch>
        prev_source = 0x18ffe80
        was_in_call = 2
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0x18ffe80
        current = 0x1964fc0
        i = 0
#26 0x00007fd7c01b1f97 in g_main_context_dispatch (context=context@entry=0x18fff70) at gmain.c:3813
#27 0x00007fd7c01b21d0 in g_main_context_iterate (context=0x18fff70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3886
        max_priority = 2147483647
        timeout = 28
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 37
        fds = 0x38e2250
#28 0x00007fd7c01b24e2 in g_main_loop_run (loop=0x36c36a0) at gmain.c:4082
        __func__ = "g_main_loop_run"
#29 0x00007fd7b8e5d04f in IA__gtk_clipboard_wait_for_text (clipboard=0x20b50b0 [GtkClipboard]) at gtkclipboard.c:1375
        results = {loop = 0x36c36a0, data = 0x0, format = 0x7fff9a573860, length = 140735782798544}
        __func__ = "IA__gtk_clipboard_wait_for_text"
#30 0x0000000000600976 in  ()
#31 0x000000000054eb3a in  ()
#32 0x0000000000555155 in  ()
#33 0x0000000000552785 in  ()
#34 0x0000000000562346 in  ()
#35 0x00000000005a12b7 in  ()
#36 0x00000000005eff3c in  ()
#37 0x00000000005ee9b6 in  ()
#38 0x00000000005fe36e in  ()
#39 0x0000000000603594 in  ()
#44 0x00007fd7c06aec5f in <emit signal ??? on instance 0x1deb0d0 [GtkWindow]> (instance=instance@entry=0x1deb0d0, signal_id=<optimized out>, detail=detail@entry=0) at gsignal.c:3447
        var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fff9a574e10, reg_save_area = 0x7fff9a574d50}}
    #40 0x00007fd7b8d35ecb in _gtk_marshal_BOOLEAN__BOXED (closure=0x1f292f0, return_value=0x7fff9a574b00, n_param_values=<optimized out>, param_values=0x7fff9a574b60, invocation_hint=<optimized out>, marshal_data=<optimized out>) at gtkmarshalers.c:83
---Type <return> to continue, or q <return> to quit---
                cc = 0x1f292f0
                data1 = 0x1deb0d0
                data2 = <optimized out>
                callback = 0x6032f0
                v_return = <optimized out>
                __func__ = "_gtk_marshal_BOOLEAN__BOXED"
    #41 0x00007fd7c069293d in g_closure_invoke (closure=0x1f292f0, return_value=0x7fff9a574b00, n_param_values=2, param_values=0x7fff9a574b60, invocation_hint=0x7fff9a574ae0) at gclosure.c:804
                marshal = 0x7fd7b8d35e60 <_gtk_marshal_BOOLEAN__BOXED>
                marshal_data = 0x0
                in_marshal = 0
                real_closure = 0x1f292d0
                __func__ = "g_closure_invoke"
    #42 0x00007fd7c06a59fe in signal_emit_unlocked_R (node=node@entry=0x195fbe0, detail=detail@entry=0, instance=instance@entry=0x1deb0d0, emission_return=emission_return@entry=0x7fff9a574c80, instance_and_params=instance_and_params@entry=0x7fff9a574b60) at gsignal.c:3635
                tmp = <optimized out>
                handler = 0x1f28840
                accumulator = 0x195f7f0
                emission = {next = 0x0, instance = 0x1deb0d0, ihint = {signal_id = 31, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
                handler_list = 0x1f28840
                return_accu = 0x7fff9a574b00
                accu = 
                      {g_type = 20, 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}, {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 = 18640
                return_value_altered = 0
    #43 0x00007fd7c06adbbf in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff9a574d30) at gsignal.c:3401
                return_value = 
                      {g_type = 20, 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}, {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}}}
                error = 0x0
                rtype = 20
                static_scope = 0
                instance_and_params = 0x7fff9a574b60
                signal_return_type = <optimized out>
                param_values = 0x7fff9a574b78
                i = <optimized out>
                n_params = <optimized out>
                __func__ = "g_signal_emit_valist"
#45 0x00007fd7b8e44f5f in gtk_widget_event_internal (widget=widget@entry=0x1deb0d0 [GtkWindow], event=event@entry=0x3931020) at gtkwidget.c:4912
        return_val = 0
#46 0x00007fd7b8e452d7 in IA__gtk_widget_event (widget=widget@entry=0x1deb0d0 [GtkWindow], event=event@entry=0x3931020) at gtkwidget.c:4814
        __func__ = "IA__gtk_widget_event"
#47 0x00007fd7b8d3475d in IA__gtk_propagate_event (widget=0x1deb0d0 [GtkWindow], event=0x3931020) at gtkmain.c:2475
        window = 0x1deb0d0 [GtkWindow]
        handled_event = <optimized out>
        __func__ = "IA__gtk_propagate_event"
#48 0x00007fd7b8d34a7b in IA__gtk_main_do_event (event=<optimized out>) at gtkmain.c:1696
        grab_widget = 0x1deb0d0 [GtkWindow]
        window_group = <optimized out>
        tmp_list = <optimized out>
        event_widget = <optimized out>
        event = 0x3931020
#49 0x00007fd7bb37708c in gdk_event_dispatch (source=source@entry=0x18ffe80, callback=<optimized out>, user_data=<optimized out>) at gdkevents-x11.c:2425
        display = <optimized out>
        event = 0x3931020
#50 0x00007fd7c01b1f97 in g_main_dispatch (context=0x18fff70) at gmain.c:3148
---Type <return> to continue, or q <return> to quit---
        dispatch = 0x7fd7bb377040 <gdk_event_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = 0x0
        need_destroy = <optimized out>
        source = 0x18ffe80
        current = 0x1964fc0
        i = 0
#51 0x00007fd7c01b1f97 in g_main_context_dispatch (context=context@entry=0x18fff70) at gmain.c:3813
#52 0x00007fd7c01b21d0 in g_main_context_iterate (context=0x18fff70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3886
        max_priority = 2147483647
        timeout = 6
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 37
        fds = 0x38e2250
#53 0x00007fd7c01b24e2 in g_main_loop_run (loop=0x1a11340) at gmain.c:4082
        __func__ = "g_main_loop_run"
#54 0x00007fd7b8d33ad7 in IA__gtk_main () at gtkmain.c:1268
        tmp_list = <optimized out>
        functions = 0x0
        init = <optimized out>
        loop = 0x1a11340
#55 0x00000000006029d7 in  ()
#56 0x000000000040949b in  ()
#57 0x00007fd7bf31cf4a in __libc_start_main (main=0x40896e, argc=1, argv=0x7fff9a576338, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9a576328)
    at ../csu/libc-start.c:308
        result = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {0, -6417715731331205989, 4248446, 140735782806320, 0, 0, 6417776642299606171, 6431367966361990299}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#58 0x000000000040d3a7 in  ()

tilix:

(gdb) bt full
#0  0x00007f021e4ccf0b in __GI___poll (fds=0x414f850, nfds=13, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007f021a655149 in g_main_context_poll (priority=<optimized out>, n_fds=13, fds=0x414f850, timeout=<optimized out>, context=0x19a1320) at gmain.c:4187
        ret = <optimized out>
        errsv = <optimized out>
        poll_func = 0x7f021a664740 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 13
        allocated_nfds = 15
        fds = 0x414f850
#2  0x00007f021a655149 in g_main_context_iterate (context=context@entry=0x19a1320, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3881
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 13
        allocated_nfds = 15
        fds = 0x414f850
#3  0x00007f021a65525c in g_main_context_iteration (context=context@entry=0x19a1320, may_block=may_block@entry=1) at gmain.c:3947
        retval = <optimized out>
#4  0x00007f021ac16b7d in g_application_run (application=0x7f020c0136d0 [GtkApplication], argc=<optimized out>, argv=<optimized out>) at gapplication.c:2401
        arguments = 0x1a2b3d0
        status = 0
        context = 0x19a1320
        acquired_context = <optimized out>
        __func__ = "g_application_run"
#5  0x0000000000ab9dea in _D3gio11ApplicationQn3runMFAAyaZi (this=0x7f021f77f800, argv=...) at GtkD-3.7.2/generated/gtkd/gio/Application.d:931
#6  0x0000000000978799 in D main (args=...) at source/app.d:146
        newProcess = false
        cwd = "/home/jellyfrog"
        pwd = "/home/jellyfrog"
        de = "GNOME"
        __EAX = 0xfffffffffffffdfc
        __EDX = 508350219
        __handler = 1
        __exception_object = 0x7fff797e4aa0
        uhd = "/home/jellyfrog"
        __r767 = {{length = 14, ptr = 0x7fff797e4d50 "/usr/bin/tilix--gapplication-service"}, {length = 22, ptr = 0x7fff797e4d5e "--gapplication-service"}}
        __key766 = 2
        arg = "--gapplication-service"
        i = 1
        __r769 = {{length = 14, ptr = 0x7fff797e4d50 "/usr/bin/tilix--gapplication-service"}, {length = 22, ptr = 0x7fff797e4d5e "--gapplication-service"}}
        __key768 = 2
        arg = "--gapplication-service"
        i = 1
        executeCommand = 0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>
        j = 18446744073709551615
        __r783 = {{length = 14, ptr = 0x7f021f7579b0 "/usr/bin/tilix"}, {length = 22, ptr = 0x7f021f781020 "--gapplication-service"}}
        __key782 = 2
        arg = "--gapplication-service"
        i = 1
        terminalUUID = <error reading variable>
        __EAX = 0xfffffffffffffdfc
        __EDX = 508350219
        __handler = 1
---Type <return> to continue, or q <return> to quit---
        __exception_object = 0x7f021f857490
        gtkError = 0x0
        dialog = 0x7fff797e4a90
        tilixApp = 0x7f021f77f800
        result = 0
        __EAX = 0xfffffffffffffdfc
        __EDX = 508350219
        __handler = 6
        __exception_object = 0x7fff797e4ad0

@Jellyfrog
Copy link
Author

After switching to a new computer, it now seems to work. Will reopen if it appears again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants