Hi,

Since few days, I have thunar which segfault reliably on several hosts (all
amd64, but not tested on other arch).

I have very little ideas to where search for now. So I am including all sorts of
elements... any lights from anyone would be welcome :)

Regarding base system:

Dec 12 07:13:10 mira /bsd: OpenBSD 6.6-current (GENERIC.MP) #520: Wed Dec 11 
14:25:35 MST 2019
Dec 25 12:09:01 mira /bsd: OpenBSD 6.6-current (GENERIC.MP) #563: Tue Dec 24 
02:24:52 MST 2019

so it should include following changes in xenocara:
- Update to xrdb 1.2.0
- Update to libXfont2 2.0.4
- Update to font/util 1.3.2
- Update to font/encodings 1.0.5



The latest packages update included the following changes (others were
same_version->same_version):

Dec 23 06:31:39 mira pkg_add: Added quirks-3.210->3.212
Dec 23 06:31:47 mira pkg_add: Added libffi-3.2.1p5->3.2.1p6
Dec 23 06:32:03 mira pkg_add: Added python-3.7.5p3->3.7.5p4
Dec 23 06:32:33 mira pkg_add: Added glib2-2.62.3->2.62.4
Dec 23 06:32:41 mira pkg_add: Added fribidi-1.0.7p2->1.0.8
Dec 23 06:32:43 mira pkg_add: Added pango-1.42.4p5->1.44.7
Dec 23 06:33:22 mira pkg_add: Added aom-1.0.0.20190901->1.0.0.20191218
Dec 23 06:33:35 mira pkg_add: Added libunbound-1.9.4->1.9.6
Dec 23 06:34:32 mira pkg_add: Added audacity-2.3.2p0->2.3.2p1
Dec 23 06:34:47 mira pkg_add: Added py3-dateutil-2.8.0p1->2.8.1
Dec 23 06:36:08 mira pkg_add: Added 
cups-2.3.0p1+cups-filters-1.25.13+cups-libs-2.3.0+ghostscript-9.07p7->cups-2.3.1p0+cups-filters-1.26.0+cups-libs-2.3.1+ghostscript-9.07p7
Dec 23 06:37:15 mira pkg_add: Added evince-3.34.2-light->3.34.2-light
Dec 23 06:37:21 mira pkg_add: Added libical+libical-glib-3.0.6->3.0.7
Dec 23 06:38:50 mira pkg_add: Added py-gtk2-2.24.0p6->2.24.0p7
Dec 23 06:39:29 mira pkg_add: Added git-2.24.0p0->2.24.1
Dec 23 06:40:33 mira pkg_add: Added tevent-0.9.39p0->0.9.37v0
Dec 23 06:40:42 mira pkg_add: Added samba-util-4.10.11->4.9.17v0
Dec 23 06:42:06 mira pkg_add: Added libmagic-5.37->5.38
Dec 23 06:42:33 mira pkg_add: Added mariadb-client-10.3.20v1->10.3.21v1
Dec 23 06:43:28 mira pkg_add: Added podofo-0.9.5p1->0.9.5p2
Dec 23 08:14:18 mira pkg_add: Added ldb-1.5.6p0->1.4.8v0
Dec 23 08:15:15 mira pkg_add: Added 
.libs-ldb-1.5.6p0+samba-4.10.11->samba-4.9.17v0

it means thunar could be influenced by changes in (based on check on any
dependency of dependency of ... of thunar):

- libffi-3.2.1p5->3.2.1p6
- glib2-2.62.3->2.62.4
- fribidi-1.0.7p2->1.0.8
- pango-1.42.4p5->1.44.7
- libunbound-1.9.4->1.9.6
- cups-libs-2.3.0->-2.3.1


Regarding the crash, I have the following backtrace (thanks to debug packages):

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


I saw nothing special in ktrace.

 21727/290212  thunar   0.545608 PSIG  SIGSEGV SIG_DFL code SEGV_MAPERR<1> 
addr=0x4b500000000 trapno=6

The failing addr seems constant (addr=0x4b500000000).


Thanks.
-- 
Sebastien Marie

Reply via email to