linuxmint / pix

Image management application
GNU General Public License v2.0
205 stars 43 forks source link

Crash when using mouse click during the slideshow #176

Open vdcow opened 1 year ago

vdcow commented 1 year ago
 * Pix version - 3.0.1
 * Distribution - Alt Linux Sisyphus

Issue If user is doing mouse clicking during the slideshow then there is a high chance that pix will crash

Steps to reproduce

  1. Start slideshow using F5
  2. Start quickly clicking the mouse
  3. After several clicks pix crashes

Expected behaviour Mouse click switches to the next image

Other information Crash stack trace

                Stack trace of thread 474336:
                #0  0x00007f24b99f41a4 preloader_load_ready_cb (libslideshow.so + 0x121a4)
                #1  0x00007f250de11133 g_task_return_now (libgio-2.0.so.0 + 0xaa133)
                #2  0x00007f250de15fc3 g_task_return (libgio-2.0.so.0 + 0xaefc3)
                #3  0x000055e43e8147d3 _gth_image_preloader_request_completed (pix + 0x8c7d3)
                #4  0x000055e43e816c47 image_loader_ready_cb (pix + 0x8ec47)
                #5  0x00007f250de11133 g_task_return_now (libgio-2.0.so.0 + 0xaa133)
                #6  0x00007f250de11169 complete_in_idle_cb (libgio-2.0.so.0 + 0xaa169)
                #7  0x00007f250df9a70f g_main_dispatch (libglib-2.0.so.0 + 0x5d70f)
                #8  0x00007f250dff43c8 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xb73c8)
                #9  0x00007f250df9957c g_main_context_iteration (libglib-2.0.so.0 + 0x5c57c)
                #10 0x00007f250de3f78d g_application_run (libgio-2.0.so.0 + 0xd878d)
                #11 0x000055e43e7c64c1 main (pix + 0x3e4c1)
                #12 0x00007f250cc0f78c __libc_start_call_main (libc.so.6 + 0x2378c)
                #13 0x00007f250cc0f845 __libc_start_main_impl (libc.so.6 + 0x23845)
                #14 0x000055e43e7c6511 _start (pix + 0x3e511)