sed-devel
[Top][All Lists]
Advanced

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

Re: sed-4.8.39-23ea on macOS


From: Bruno Haible
Subject: Re: sed-4.8.39-23ea on macOS
Date: Sun, 23 Oct 2022 22:16:12 +0200

Jim Meyering wrote:
> For now, I am not inclined to work around the "UNKNOWN"-related failures.
> I suspect very few people install their own valgrind on such hosts.

Few people do it from source. But many people on macOS use 'homebrew'.
The 'valgrind' package, however, is not very popular there: only around
100 installations in a year [1].

> Also, I'm hoping that's been addressed in a more recent version.
> Latest seems to be 3.19.0.

valgrind 3.19.0 produces the same diagnostics as the version 3.14 that I
used originally:

FAIL: testsuite/bug32082  ;; as long as not worked around through gnulib
========================

valgrind report for 'posix' test:
==================================
--83376-- run: /usr/bin/dsymutil 
"/Users/haible/devel/sed-4.8.44-da23/build-64/./sed/sed"
--83376-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
--83376-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
--83376-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
--83376-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times)
==83376== Invalid read of size 16
==83376==    at 0x100EE6A05: _platform_memchr$VARIANT$Base (in 
/usr/lib/system/libsystem_platform.dylib)
==83376==    by 0x100B7B0BD: getdelim (in /usr/lib/system/libsystem_c.dylib)
==83376==    by 0x10000B0BE: ck_getdelim (utils.c:254)
==83376==    by 0x1000090A9: read_file_line (execute.c:388)
==83376==    by 0x100008A12: read_pattern_space (execute.c:718)
==83376==    by 0x1000066DA: process_files (execute.c:1682)
==83376==    by 0x10000A5D9: main (sed.c:378)
==83376==  Address 0x1019bf1a0 is 16 bytes before a block of size 65,536 alloc'd
==83376==    at 0x1000E7545: malloc (vg_replace_malloc.c:388)
==83376==    by 0x100B7B500: __smakebuf (in /usr/lib/system/libsystem_c.dylib)
==83376==    by 0x100B7EC75: __srefill0 (in /usr/lib/system/libsystem_c.dylib)
==83376==    by 0x100B7ED65: __srefill (in /usr/lib/system/libsystem_c.dylib)
==83376==    by 0x100B7B136: getdelim (in /usr/lib/system/libsystem_c.dylib)
==83376==    by 0x10000B0BE: ck_getdelim (utils.c:254)
==83376==    by 0x1000090A9: read_file_line (execute.c:388)
==83376==    by 0x100008A12: read_pattern_space (execute.c:718)
==83376==    by 0x1000066DA: process_files (execute.c:1682)
==83376==    by 0x10000A5D9: main (sed.c:378)
==83376== 
==================================
valgrind report for 'no-posix' test:
====================================
--83381-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
--83381-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
--83381-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
--83381-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times)
====================================
FAIL testsuite/bug32082.sh (exit status: 1)

FAIL: testsuite/bug32271-2
==========================

grep: err-no-posix: No such file or directory
diff -u /dev/null err
--- /dev/null   1970-01-01
+++ err 1970-01-01
+--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
+--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 
times)
+--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 
times)
+--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 
times)
valgrind report:
==================================
--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
--83524-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times)
==================================
FAIL testsuite/bug32271-2.sh (exit status: 1)

FAIL: testsuite/newline-dfa-bug
===============================

diff -u /dev/null err
--- /dev/null   1970-01-01
+++ err 1970-01-01
+--85817-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
+--85817-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 
times)
+--85817-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 
times)
+--85817-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 
times)
FAIL testsuite/newline-dfa-bug.sh (exit status: 1)


Bruno

[1] https://formulae.brew.sh/formula/valgrind






reply via email to

[Prev in Thread] Current Thread [Next in Thread]