Comments (7)
This happens after upgrade to glibc 2.38
from sanitizers.
Does this look familiar @ramosian-glider @dvyukov ?
from sanitizers.
git log glibc-2.37...glibc-2.38 -- /usr/local/google/home/vitalybuka/src/glibc/libio/genops.c
commit bminor/glibc@af130d2
Author: Andreas Schwab [email protected]
Date: Tue Jan 30 10:16:00 2018 +0100
Always do locking when accessing streams (bug 15142, bug 14697)
Now that abort no longer calls fflush there is no reason to avoid locking
the stdio streams anywhere. This fixes a conformance issue and potential
heap corruption during exit.
commit bminor/glibc@8867734
Author: Adhemerval Zanella Netto [email protected]
Date: Tue Dec 27 18:11:42 2022 -0300
Move libc_freeres_ptrs and libc_subfreeres to hidden/weak functions
They are both used by __libc_freeres to free all library malloc
allocated resources to help tooling like mtrace or valgrind with
memory leak tracking.
The current scheme uses assembly markers and linker script entries
to consolidate the free routine function pointers in the RELRO segment
and to be freed buffers in BSS.
This patch changes it to use specific free functions for
libc_freeres_ptrs buffers and call the function pointer array directly
with call_function_static_weak.
It allows the removal of both the internal macros and the linker
script sections.
Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu.
Reviewed-by: Carlos O'Donell <[email protected]>
from sanitizers.
Probably bminor/glibc@af130d2
from sanitizers.
I believe the test is invalid after this changes.
from sanitizers.
It hangs w/o tsan as well, right?
Does this mean a program generally cannot exit if any of the threads/libraries doing blocking stream calls (e.g. reading from stdio)? This looks restrictive.
Asked in the issue: https://sourceware.org/bugzilla/show_bug.cgi?id=15142
from sanitizers.
It hangs w/o tsan as well, right?
Does this mean a program generally cannot exit if any of the threads/libraries doing blocking stream calls (e.g. reading from stdio)? This looks restrictive.
Asked in the issue: https://sourceware.org/bugzilla/show_bug.cgi?id=15142
Actually it does not hang without tsan.
from sanitizers.
Related Issues (20)
- [tsan] False positive when reading from a pipe in io_uring
- MSan false negatives due to "[SCCP] Don't mark edges feasible when resolving undefs"
- Feature Request: Allow a white list, as the black list based supression don't work well. HOT 3
- [ppc][compiler-rt] Potential miscompile in compiler-rt HOT 1
- msan reports stat() result as undefined on glibc 2.37 HOT 5
- UseAfterReturn Wiki : Enabled By Default in GCC 13 (+ Clang 15)?
- Support for Multiple suppression files in TSAN
- How to output memory snapshots
- Debugging C++ Segmentation Fault in Leak Sanitizer - Need Help with Backtrace Analysis
- Is Asan compatible with -fstack-protector-strong ?
- ASan did not work on string
- Asan can't detect memory use after free error in dynamic shared library with LD_PRELOAD method HOT 8
- Support x86-64 5-level paging for ASan (and possibly other sanitizers)
- I have been getting this issue and as a beginner I cant understand it HOT 1
- Asan error spotted building JDK with gcc 13.2.0
- ubsan: False positive in function check on macOS HOT 2
- TSAN changes forked process exit code returned by waitpid
- AddressSanitizer: container-overflow false positive
- False positive: LeakSanitizer detects "leak" in immortal static object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanitizers.