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

Drag and drop crashes wayland kitty #2432

Closed
travankor opened this issue Mar 14, 2020 · 0 comments
Closed

Drag and drop crashes wayland kitty #2432

travankor opened this issue Mar 14, 2020 · 0 comments

Comments

@travankor
Copy link

Kitty Wayland crashes if you try to drag and drop from file manager to kitty.

Stack trace

Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI___strtok_r (s=s@entry=0x0, delim=delim@entry=0x7f75a50e86e4 "\r\n", save_ptr=save_ptr@entry=0x7f75a6de2ae8 <olds>) at strtok_r.c:49
49	strtok_r.c: No such file or directory.
[Current thread is 1 (Thread 0x7f75a6aae740 (LWP 30726))]
#0  __GI___strtok_r (s=s@entry=0x0, delim=delim@entry=0x7f75a50e86e4 "\r\n", save_ptr=save_ptr@entry=0x7f75a6de2ae8 <olds>) at strtok_r.c:49
#1  0x00007f75a6cb132c in strtok (s=s@entry=0x0, delim=delim@entry=0x7f75a50e86e4 "\r\n") at strtok.c:34
#2  0x00007f75a50e06cf in drop (data=<optimized out>, wl_data_device=<optimized out>) at glfw/backend_utils.c:347
#3  0x00007f75a513da7e in ffi_call_unix64 () at ../src/x86/unix64.S:76
#4  0x00007f75a513d43f in ffi_call (cif=cif@entry=0x7ffc30a551f0, fn=<optimized out>, rvalue=<optimized out>, rvalue@entry=0x0, avalue=avalue@entry=0x7ffc30a552c0) at ../src/x86/ffi64.c:525
#5  0x00007f75a50a8a1f in wl_closure_invoke (closure=closure@entry=0x564056f679b0, target=<optimized out>, target@entry=0x5640565ddb70, opcode=opcode@entry=4, data=<optimized out>, flags=1) at ../src/connection.c:1018
#6  0x00007f75a50a9ed3 in dispatch_event (display=display@entry=0x56405657e490, queue=<optimized out>) at ../src/wayland-client.c:1445
#7  0x00007f75a50aa26c in dispatch_queue (queue=0x56405657e560, display=0x56405657e490) at ../src/wayland-client.c:1591
#8  wl_display_dispatch_queue_pending (display=display@entry=0x56405657e490, queue=queue@entry=0x56405657e560) at ../src/wayland-client.c:1833
#9  0x00007f75a50aa2cc in wl_display_dispatch_pending (display=display@entry=0x56405657e490) at ../src/wayland-client.c:1896
#10 0x00007f75a50e4053 in handleEvents (timeout=<optimized out>) at glfw/wl_window.c:796
#11 _glfwPlatformWaitEvents () at glfw/wl_window.c:1251
#12 _glfwPlatformRunMainLoop (data=0x7f75a4e4f7a0, tick_callback=0x7f75a5b1bcb0 <process_global_state>) at glfw/main_loop.h:30
#13 glfwRunMainLoop (callback=0x7f75a5b1bcb0 <process_global_state>, data=0x7f75a4e4f7a0) at glfw/init.c:344
#14 0x00007f75a5b14868 in run_main_loop (cb=<optimized out>, cb_data=0x7f75a4e4f7a0) at kitty/glfw.c:1172
#15 main_loop (self=0x7f75a4e4f7a0, a=<optimized out>) at kitty/child-monitor.c:966
#16 0x00007f75a6e82b57 in ?? () from /usr/lib/libpython3.8.so.1.0
#17 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#18 0x00007f75a6e55bfc in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#19 0x00007f75a6f300dc in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.8.so.1.0
#20 0x00007f75a6e78b00 in _PyFunction_Vectorcall () from /usr/lib/libpython3.8.so.1.0
#21 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#22 0x00007f75a6e559b9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#23 0x00007f75a6f300dc in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.8.so.1.0
#24 0x00007f75a6e78b00 in _PyFunction_Vectorcall () from /usr/lib/libpython3.8.so.1.0
#25 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#26 0x00007f75a6e559b9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#27 0x00007f75a6e508bb in ?? () from /usr/lib/libpython3.8.so.1.0
#28 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#29 0x00007f75a6e559b9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#30 0x00007f75a6e508bb in ?? () from /usr/lib/libpython3.8.so.1.0
#31 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#32 0x00007f75a6e559b9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#33 0x00007f75a6e508bb in ?? () from /usr/lib/libpython3.8.so.1.0
#34 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#35 0x00007f75a6e559b9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#36 0x00007f75a6f300dc in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.8.so.1.0
#37 0x00007f75a6f303de in PyEval_EvalCodeEx () from /usr/lib/libpython3.8.so.1.0
#38 0x00007f75a6f3040b in PyEval_EvalCode () from /usr/lib/libpython3.8.so.1.0
#39 0x00007f75a6f2c9e9 in ?? () from /usr/lib/libpython3.8.so.1.0
#40 0x00007f75a6eb1943 in ?? () from /usr/lib/libpython3.8.so.1.0
#41 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#42 0x00007f75a6e559b9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#43 0x00007f75a6f300dc in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.8.so.1.0
#44 0x00007f75a6e78b00 in _PyFunction_Vectorcall () from /usr/lib/libpython3.8.so.1.0
#45 0x00007f75a6e51bbd in ?? () from /usr/lib/libpython3.8.so.1.0
#46 0x00007f75a6e559b9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.8.so.1.0
#47 0x00007f75a6f300dc in _PyEval_EvalCodeWithName () from /usr/lib/libpython3.8.so.1.0
#48 0x00007f75a6e78b00 in _PyFunction_Vectorcall () from /usr/lib/libpython3.8.so.1.0
#49 0x00007f75a6e7a81f in PyVectorcall_Call () from /usr/lib/libpython3.8.so.1.0
#50 0x00007f75a6f811e0 in ?? () from /usr/lib/libpython3.8.so.1.0
#51 0x00007f75a6f81c67 in Py_RunMain () from /usr/lib/libpython3.8.so.1.0
#52 0x00007f75a6f82209 in Py_Main () from /usr/lib/libpython3.8.so.1.0
#53 0x0000564054636349 in run_embedded (libpath=0x7ffc30a5fa90 "/usr/bin/../lib/kitty", argv=0x7ffc30a58a60, argc=4, exe_dir_=0x7ffc30a5ea80 "/usr/bin") at launcher.c:107
#54 main (argc=<optimized out>, argv=<optimized out>) at launcher.c:184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant