robertsanseries/ciano

Convering images to GIF leads to crash

City-busz opened this issue · 0 comments

When I try to convert any images to GIF, it causes a segfault in Ciano. The image is converted successfully, but the application crashes during the process. Tested on Arch Linux with ffmpeg 4.2.3.

Trace:

                Stack trace of thread 3718:
                #0  0x0000561d666a6689 ciano_controllers_converter_controller_convert_async_co.isra.0 (com.github.robertsanseries.ciano + 0x1e689)
                #1  0x00007f49f4f94844 g_task_return_now (libgio-2.0.so.0 + 0x9e844)
                #2  0x00007f49f4f98b87 g_task_return (libgio-2.0.so.0 + 0xa2b87)
                #3  0x00007f49f4f3e15a g_data_input_stream_read_complete (libgio-2.0.so.0 + 0x4815a)
                #4  0x00007f49f4f3e506 g_data_input_stream_read_line_ready (libgio-2.0.so.0 + 0x48506)
                #5  0x00007f49f4f352c4 async_fill_callback_wrapper (libgio-2.0.so.0 + 0x3f2c4)
                #6  0x00007f49f4f94844 g_task_return_now (libgio-2.0.so.0 + 0x9e844)
                #7  0x00007f49f4f98b87 g_task_return (libgio-2.0.so.0 + 0xa2b87)
                #8  0x00007f49f4f357e9 fill_async_callback (libgio-2.0.so.0 + 0x3f7e9)
                #9  0x00007f49f4f638cc async_ready_callback_wrapper (libgio-2.0.so.0 + 0x6d8cc)
                #10 0x00007f49f4f94844 g_task_return_now (libgio-2.0.so.0 + 0x9e844)
                #11 0x00007f49f4f98b87 g_task_return (libgio-2.0.so.0 + 0xa2b87)
                #12 0x00007f49f4f691a4 read_async_pollable (libgio-2.0.so.0 + 0x731a4)
                #13 0x00007f49f4f692f9 read_async_pollable_ready (libgio-2.0.so.0 + 0x732f9)
                #14 0x00007f49f59f0340 g_main_context_dispatch (libglib-2.0.so.0 + 0x52340)
                #15 0x00007f49f5a3e1d9 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa01d9)
                #16 0x00007f49f59ef221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
                #17 0x00007f49f4fc0c9e g_application_run (libgio-2.0.so.0 + 0xcac9e)
                #18 0x0000561d666910c8 main (com.github.robertsanseries.ciano + 0x90c8)
                #19 0x00007f49f5aee002 __libc_start_main (libc.so.6 + 0x27002)
                #20 0x0000561d6669110e _start (com.github.robertsanseries.ciano + 0x910e)
                
                Stack trace of thread 3720:
                #0  0x00007f49f5bbc05f __poll (libc.so.6 + 0xf505f)
                #1  0x00007f49f5a3e168 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa0168)
                #2  0x00007f49f59eec03 g_main_loop_run (libglib-2.0.so.0 + 0x50c03)
                #3  0x00007f49f4ff61a8 gdbus_shared_thread_func (libgio-2.0.so.0 + 0x1001a8)
                #4  0x00007f49f5a18511 g_thread_proxy (libglib-2.0.so.0 + 0x7a511)
                #5  0x00007f49f4caa422 start_thread (libpthread.so.0 + 0x9422)
                #6  0x00007f49f5bc6bf3 __clone (libc.so.6 + 0xffbf3)
                
                Stack trace of thread 3727:
                #0  0x00007f49f5bc171d syscall (libc.so.6 + 0xfa71d)
                #1  0x00007f49f5a38c9b g_cond_wait_until (libglib-2.0.so.0 + 0x9ac9b)
                #2  0x00007f49f59c0803 g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x22803)
                #3  0x00007f49f59c0994 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x22994)
                #4  0x00007f49f5a1ccaa g_thread_pool_thread_proxy.lto_priv.0 (libglib-2.0.so.0 + 0x7ecaa)
                #5  0x00007f49f5a18511 g_thread_proxy (libglib-2.0.so.0 + 0x7a511)
                #6  0x00007f49f4caa422 start_thread (libpthread.so.0 + 0x9422)
                #7  0x00007f49f5bc6bf3 __clone (libc.so.6 + 0xffbf3)
                
                Stack trace of thread 3721:
                #0  0x00007f49f5bbc05f __poll (libc.so.6 + 0xf505f)
                #1  0x00007f49f5a3e168 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa0168)
                #2  0x00007f49f59ef221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
                #3  0x00007f49f278be5e n/a (libdconfsettings.so + 0x4e5e)
                #4  0x00007f49f5a18511 g_thread_proxy (libglib-2.0.so.0 + 0x7a511)
                #5  0x00007f49f4caa422 start_thread (libpthread.so.0 + 0x9422)
                #6  0x00007f49f5bc6bf3 __clone (libc.so.6 + 0xffbf3)
                
                Stack trace of thread 3719:
                #0  0x00007f49f5bbc05f __poll (libc.so.6 + 0xf505f)
                #1  0x00007f49f5a3e168 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa0168)
                #2  0x00007f49f59ef221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
                #3  0x00007f49f59ef272 glib_worker_main (libglib-2.0.so.0 + 0x51272)
                #4  0x00007f49f5a18511 g_thread_proxy (libglib-2.0.so.0 + 0x7a511)
                #5  0x00007f49f4caa422 start_thread (libpthread.so.0 + 0x9422)
                #6  0x00007f49f5bc6bf3 __clone (libc.so.6 + 0xffbf3)