[Users] [Bug 3860] New: crash applying theme twice

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Thu Aug 10 08:56:09 CEST 2017


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3860

            Bug ID: 3860
           Summary: crash applying theme twice
    Classification: Unclassified
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: mones at users.sourceforge.net

When compiled with SVG support, the apply button on themes preferences is
re-enabled after changing any SVG related checkbox, so user can view the result
on UI. The second time it crashes with the following backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3f7c85d in g_type_check_instance_is_fundamentally_a ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0  0x00007ffff3f7c85d in g_type_check_instance_is_fundamentally_a ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1  0x00007ffff3f5caf5 in g_object_unref ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2  0x000000000049a2d7 in foldersel_reflect_prefs_pixmap_theme ()
    at foldersel.c:388
#3  0x00000000004cab68 in reflect_prefs_timeout_cb (data=<optimized out>)
    at mainwindow.c:2335
#4  0x00007ffff3c7f123 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff3c7e6aa in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff3c7ea60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007ffff3c7ed82 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff70753b7 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9  0x000000000044b854 in main (argc=<optimized out>, argv=<optimized out>)
    at main.c:1607
(gdb)

Steps to reproduce:
1. Open themes' preferences
2. Change theme
3. Apply
4. Modify SVG options, e.g. disable "Automatic" scaling and change value of DPI
5. Apply

This happen with both pixmap and scalable themes, so it seems not related with
SVG support, though you have to have it enabled to be able to trigger it.

Short term fix would be to disable the possibility of re-applying themes
without leaving the preferences dialog. Long term would be investigate what's
happening with the pixmaps and why this low level function is crashing.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list