[Xfce-bugs] [Bug 16138] New: Thunar 1.8.10 crashing on startup in FreeBSD (pango 1.42.4 - glib 2.56.3)

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Nov 11 12:11:20 CET 2019


https://bugzilla.xfce.org/show_bug.cgi?id=16138

            Bug ID: 16138
           Summary: Thunar 1.8.10 crashing on startup in FreeBSD (pango
                    1.42.4 - glib 2.56.3)
    Classification: Xfce Core
           Product: Thunar
           Version: unspecified
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: Core
          Assignee: xfce-bugs at xfce.org
          Reporter: madpilot at FreeBSD.org
  Target Milestone: 1.8.10

Created attachment 9204
  --> https://bugzilla.xfce.org/attachment.cgi?id=9204&action=edit
crash backtrace

I'm preparing an update to the FreeBSD thunar port.


The latest version crashes on startup due to the additions in commit
https://git.xfce.org/xfce/thunar/commit/?id=a3e178cb82f6b41b0e3f3cac18e7d83cca70eade

I'm attaching a backtrace of the crash.

In the FreeBSD ports tree we have pango 1.42.4 and glib 2.56.3. I suspect the
crash is caused by these versions of these libraries not working well with this
code:


  standard_view->name_renderer = g_object_new (GTK_TYPE_CELL_RENDERER_TEXT,
                                               "attributes",
thunar_pango_attr_disable_hyphens (),
                                               "alignment", PANGO_ALIGN_CENTER,
                                               "xalign", 0.5,
                                               FALSE);


where thunar_pango_attr_disable_hyphens () actually return a pointer to a NULL
when pango is not 1.44.

I've created a patch which works for me, by removing that call to
thunar_pango_attr_disable_hyphens when pango is not 1.44. I'l be committing
this patch to the ports tree to make it work. Could it be imported in thunar
mainline code?

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


More information about the Xfce-bugs mailing list