[Xfce-bugs] [Bug 16310] New: thunar crashes on startup on OpenBSD

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Dec 28 12:37:48 CET 2019


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

            Bug ID: 16310
           Summary: thunar crashes on startup on OpenBSD
    Classification: Xfce Core
           Product: Thunar
           Version: 1.8.11
          Hardware: Other
                OS: OpenBSD
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: semarie at openbsd.org
  Target Milestone: 1.8.12

on OpenBSD -current, I am experiencing systematical crashes at thunar startup.

at thunar startup, the thunar crashes with the following backtrace, which is
similar to #16138 backtrace, but here we run with the fix:

Thread 1 received signal SIGSEGV, Segmentation fault.
strchr () at /usr/src/lib/libc/arch/amd64/string/strchr.S:60
60      /usr/src/lib/libc/arch/amd64/string/strchr.S: No such file or
directory.
(gdb) bt
#0  strchr () at /usr/src/lib/libc/arch/amd64/string/strchr.S:60
#1  0xe7d14bcd633d2712 in ?? ()
#2  0x000017e8dad850a5 in g_param_spec_pool_lookup (pool=0x17e8be27aca0,
param_name=0x4b500000000 <error: Cannot access memory at address
0x4b500000000>, owner_type=26287860700672, walk_ancestors=1) at
../glib-2.62.4/gobject/gparam.c:1071
#3  0x000017e8dad7e962 in g_object_new_valist (object_type=26287860700672,
first_property_name=<optimized out>, var_args=0x7f7ffffee2d0) at
../glib-2.62.4/gobject/gobject.c:2121
#4  0x000017e8dad7e61a in g_object_new (object_type=26287860700672,
first_property_name=0x3a <error: Cannot access memory at address 0x3a>) at
../glib-2.62.4/gobject/gobject.c:1670
#5  0x000017e5e43b7a6f in thunar_standard_view_init
(standard_view=0x17e8b18b9c70) at thunar-standard-view.c:716
#6  0x000017e8dad941ea in g_type_create_instance (type=<optimized out>) at
../glib-2.62.4/gobject/gtype.c:1861
#7  0x000017e8dad82de5 in g_object_constructor (type=5175435591680,
n_construct_properties=2, construct_params=0x17e8a8a22520) at
../glib-2.62.4/gobject/gobject.c:2178
#8  0x000017e5e43b7cea in thunar_standard_view_constructor (type=5175435591680,
n_construct_properties=58, construct_properties=0x3a3a3a3a3a3a3a3a) at
thunar-standard-view.c:763
#9  0x000017e8dad7f0ba in g_object_new_with_custom_constructor
(class=<optimized out>, params=0x7f7ffffee4b0, n_params=1) at
../glib-2.62.4/gobject/gobject.c:1745
#10 g_object_new_internal (class=<optimized out>, params=0x7f7ffffee4b0,
n_params=1) at ../glib-2.62.4/gobject/gobject.c:1825
#11 0x000017e8dad7ec10 in g_object_new_valist (object_type=26288860026624,
first_property_name=<optimized out>, var_args=<optimized out>) at
../glib-2.62.4/gobject/gobject.c:2152
#12 0x000017e8dad7e61a in g_object_new (object_type=26288860026624,
first_property_name=0x3a <error: Cannot access memory at address 0x3a>) at
../glib-2.62.4/gobject/gobject.c:1670
#13 0x000017e5e43ce94d in thunar_window_notebook_insert (window=0x17e89c4fa270,
directory=0x17e815b5c810) at thunar-window.c:1845
#14 0x000017e5e43cf4d9 in thunar_window_action_view_changed (action=<optimized
out>, current=<optimized out>, window=0x17e89c4fa270) at thunar-window.c:2851
#15 0x000017e5e43cf0cd in thunar_window_set_current_directory
(window=0x17e89c4fa270, current_directory=0x17e815b5c810) at
thunar-window.c:3865
#16 0x000017e5e435ee63 in thunar_application_open_window
(application=0x17e8cb7840f0, directory=0x17e815b5c810, screen=<optimized out>,
startup_id=0x0, force_new_window=<optimized out>) at thunar-application.c:1346
#17 0x000017e5e43789b6 in thunar_file_launch (file=0x17e815b5c810, parent=0x0,
startup_id=0x0, error=<optimized out>) at thunar-file.c:1801
#18 0x000017e5e43616f9 in thunar_application_process_files_finish
(browser=<optimized out>, file=0x17e815b5c810, target_file=0x17e815b5c810,
error=0x0, unused=<optimized out>) at thunar-application.c:1511
#19 0x000017e5e4361a3c in thunar_browser_poke_file (browser=0x4b500000000,
file=0x17e815b5c810, widget=0x101010101010101, func=0x8080808080808080,
user_data=0x0) at thunar-browser.c:528
#20 0x000017e5e435f2d2 in thunar_application_process_filenames
(application=0x17e8cb7840f0, working_directory=0x17e85a9bf140 "/home/semarie",
filenames=<optimized out>, screen=0x0, startup_id=0x0, error=0x7f7ffffeea68) at
thunar-application.c:1663
#21 0x000017e5e43611bb in thunar_application_command_line (gapp=0x17e8cb7840f0,
command_line=0x17e86505bd60) at thunar-application.c:530
#22 0x000017e8bc7dba5a in _g_cclosure_marshal_INT__OBJECTv
(closure=0x17e854603aa0, return_value=0x7f7ffffeeb90, instance=0x17e8cb7840f0,
args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>,
param_types=0x17e896530070) at ../glib-2.62.4/gio/gmarshal-internal.c:845
#23 0x000017e8dad77f44 in _g_closure_invoke_va (closure=0x17e854603aa0,
return_value=0x7f7ffffeeb90, instance=0x17e8cb7840f0, args=0x7f7ffffeed80,
n_params=1, param_types=0x17e896530070) at
../glib-2.62.4/gobject/gclosure.c:873
#24 0x000017e8dad91912 in g_signal_emit_valist (instance=0x17e8cb7840f0,
signal_id=<optimized out>, detail=0, var_args=0x7f7ffffeed80) at
../glib-2.62.4/gobject/gsignal.c:3306
#25 0x000017e8dad922c1 in g_signal_emit (instance=0x4b500000000, signal_id=58,
detail=976894522) at ../glib-2.62.4/gobject/gsignal.c:3453
#26 0x000017e8bc847f83 in g_application_call_command_line
(application=0x17e8cb7840f0, arguments=<optimized out>, options=<optimized
out>, exit_status=0x7f7ffffeeefc) at ../glib-2.62.4/gio/gapplication.c:1076
#27 0x000017e8bc84a24e in g_application_real_local_command_line
(application=0x17e8cb7840f0, arguments=0x7f7ffffeeef0, exit_status=<optimized
out>) at ../glib-2.62.4/gio/gapplication.c:1130
#28 0x000017e8bc847d0a in g_application_run (application=<optimized out>,
argc=<optimized out>, argv=<optimized out>) at
../glib-2.62.4/gio/gapplication.c:2528
#29 0x000017e5e435cac7 in main (argc=1, argv=0x7f7ffffeefd8) at main.c:161

(please note I am suspecting gdb to print garbage for some variables which
should be optimized-out).

thunar is build and run with the following libraries/packages:
at-spi2-atk-2.34.1
atk-2.34.1p1
cairo-1.16.0
desktop-file-utils-0.24p0
exo-0.12.10
fribidi-1.0.7p2
gdk-pixbuf-2.40.0p2
gettext-runtime-0.20.1p0
glib2-2.62.3
graphite2-1.3.13p0
gtk+3-3.24.13
gtk-update-icon-cache-3.24.13
gvfs-1.42.2
harfbuzz-2.6.4p1
libexif-0.6.21p2
libffi-3.2.1p6
libiconv-1.16p0
libnotify-0.7.8
libxfce4ui-4.14.1p0
libxfce4util-4.14.0p0
pango-1.44.7p0
pcre-8.41p2
png-1.6.37
startup-notification-0.12p6
xfce4-panel-4.14.1p0
xfconf-4.14.1p0

I am able to workaround the problem by commenting
thunar_pango_attr_disable_hyphens() call in thunar-standard-view.c (see
https://git.xfce.org/xfce/thunar/tree/thunar/thunar-standard-view.c#n733)

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


More information about the Xfce-bugs mailing list