From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B9B78388B014; Thu, 4 Jun 2020 09:45:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9B78388B014 From: "daffra.claudio at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/26022] valgrind gives me error when fwprintf in stderr Date: Thu, 04 Jun 2020 09:45:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daffra.claudio at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2020 09:45:19 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26022 --- Comment #4 from Claudio Daffra --- file to reproduce valgrind error #include #include int main ( void ) { return 0 ; } error message =3D=3D1596=3D=3D Memcheck, a memory error detector =3D=3D1596=3D=3D Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward= et al. =3D=3D1596=3D=3D Using Valgrind-3.16.0.GIT and LibVEX; rerun with -h for = copyright info =3D=3D1596=3D=3D Command: ./prova =3D=3D1596=3D=3D=20 =3D=3D1596=3D=3D=20 =3D=3D1596=3D=3D HEAP SUMMARY: =3D=3D1596=3D=3D in use at exit: 13,697 bytes in 158 blocks =3D=3D1596=3D=3D total heap usage: 172 allocs, 14 frees, 18,441 bytes a= llocated =3D=3D1596=3D=3D=20 =3D=3D1596=3D=3D LEAK SUMMARY: =3D=3D1596=3D=3D definitely lost: 0 bytes in 0 blocks =3D=3D1596=3D=3D indirectly lost: 0 bytes in 0 blocks =3D=3D1596=3D=3D possibly lost: 4,392 bytes in 5 blocks =3D=3D1596=3D=3D still reachable: 9,305 bytes in 153 blocks =3D=3D1596=3D=3D suppressed: 0 bytes in 0 blocks =3D=3D1596=3D=3D Rerun with --leak-check=3Dfull to see details of leaked = memory =3D=3D1596=3D=3D=20 =3D=3D1596=3D=3D For lists of detected and suppressed errors, rerun with:= -s =3D=3D1596=3D=3D ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 f= rom 4) claudio@RastanX Documents %=20 compiler version claudio@RastanX Documents % gcc -v Configured with: --prefix=3D/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=3D/Library/Developer/CommandLineTools/SDKs/MacOSX.sd= k/usr/include/c++/4.2.1 Apple clang version 11.0.3 (clang-1103.0.32.59) Target: x86_64-apple-darwin19.5.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin s.o : macOS 10.15.5 (19F96) with --leak-check=3Dfull valgrind gives me many other errors. this occurs in macosx only,nothing to do with streams. --=20 You are receiving this mail because: You are on the CC list for the bug.=