pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56408: bug in glib2 code, causes FM (caja, thunar) to abort



>Number:         56408
>Category:       pkg
>Synopsis:       bug in glib2 code, causes FM (caja, thunar) to abort
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 18 13:05:00 +0000 2021
>Originator:     sergio lenzi
>Release:        9.2_STABLE
>Organization:
k1 sistemas
>Environment:
NetBSD desktop.netbsd 9.2_STABLE NetBSD 9.2_STABLE (LZT64) #0: Tue Aug 10 17:37:40 -03 2021  NetBSD@vms.lenzicasa:/home/NetBSD/BUILD/9/amd64/OBJ/sys/arch/amd64/compile/GENERIC amd64

>Description:
any file manager depending on GIO===> lock getfsent() that is NOT thread safe... when moving multiple files, over a nfs mount, aborts core due to memory access on freed space...
it is documented in => https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250311
>How-To-Repeat:
over a nfs directory select several objects and move to another point in the same filesystem,  the file manager, aborts... happens with CAJA...
Core was generated by `caja'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000732338f6ca18 in strlcpy () from /usr/lib/libc.so.12
[Current thread is 1 (process 58)]
(gdb) bt
#0  0x0000732338f6ca18 in strlcpy () from /usr/lib/libc.so.12
#1  0x0000732338e6b6c0 in ?? () from /usr/lib/libc.so.12
#2  0x0000732338e6b9aa in getfsent () from /usr/lib/libc.so.12
#3  0x000073233c4c00d8 in g_unix_mount_points_get () from /usr/pkg/lib/libgio-2.0.so.0
#4  0x000073233c4c023b in g_unix_mount_point_at () from /usr/pkg/lib/libgio-2.0.so.0
#5  0x000073233c51114c in ignore_trash_path () from /usr/pkg/lib/libgio-2.0.so.0
#6  0x000073233c513fb6 in _g_local_file_has_trash_dir () from /usr/pkg/lib/libgio-2.0.so.0
#7  0x000073233c5168c5 in _g_local_file_info_get_parent_info () from /usr/pkg/lib/libgio-2.0.so.0
#8  0x000073233c512c5d in g_local_file_query_info () from /usr/pkg/lib/libgio-2.0.so.0
#9  0x000073233c45b126 in query_info_async_thread () from /usr/pkg/lib/libgio-2.0.so.0
#10 0x000073233c4a11bb in g_task_thread_pool_thread () from /usr/pkg/lib/libgio-2.0.so.0
#11 0x000073233bc70623 in g_thread_pool_thread_proxy () from /usr/pkg/lib/libglib-2.0.so.0
#12 0x000073233bc6fe96 in g_thread_proxy () from /usr/pkg/lib/libglib-2.0.so.0
#13 0x000073233940c072 in ?? () from /usr/lib/libpthread.so.1
#14 0x0000732338e87bb0 in ?? () from /usr/lib/libc.so.12
Backtrace stopped: Cannot access memory at address 0x73232e400000

>Fix:
apply patch from freebsd TEAM...
https://bz-attachments.freebsd.org/attachment.cgi?id=218846&action=diff&format=raw&headers=1

it fixed for me...


Home | Main Index | Thread Index | Old Index