public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign
[not found] <bug-23489-131@http.sourceware.org/bugzilla/>
@ 2021-07-12 18:04 ` hjl.tools at gmail dot com
2021-07-13 15:46 ` siddhesh at sourceware dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-07-12 18:04 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=23489
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |28068
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=28068
[Bug 28068] FAIL: malloc/tst-mallocalign1-mcheck
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign
[not found] <bug-23489-131@http.sourceware.org/bugzilla/>
2021-07-12 18:04 ` [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign hjl.tools at gmail dot com
@ 2021-07-13 15:46 ` siddhesh at sourceware dot org
2021-07-22 13:20 ` siddhesh at sourceware dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 5+ messages in thread
From: siddhesh at sourceware dot org @ 2021-07-13 15:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=23489
Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |siddhesh at sourceware dot org
CC| |siddhesh at sourceware dot org
Status|NEW |ASSIGNED
--- Comment #26 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
I can reproduce this and it should get fixed once the patchset[1] to move
malloc debugging out into a separate DSO is pushed.
[1] https://patchwork.sourceware.org/project/glibc/list/?series=2486
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign
[not found] <bug-23489-131@http.sourceware.org/bugzilla/>
2021-07-12 18:04 ` [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign hjl.tools at gmail dot com
2021-07-13 15:46 ` siddhesh at sourceware dot org
@ 2021-07-22 13:20 ` siddhesh at sourceware dot org
2021-07-22 14:27 ` ht990332 at gmx dot com
2021-07-22 14:34 ` siddhesh at sourceware dot org
4 siblings, 0 replies; 5+ messages in thread
From: siddhesh at sourceware dot org @ 2021-07-22 13:20 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=23489
Siddhesh Poyarekar <siddhesh at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |2.34
Status|ASSIGNED |RESOLVED
--- Comment #27 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
commit c142eb253f3814f46527e9b37484041dd85702cf
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date: Thu Jul 22 18:38:02 2021 +0530
mcheck: Wean away from malloc hooks [BZ #23489]
Split the mcheck implementation into the debugging hooks and API so
that the API can be replicated in libc and libc_malloc_debug.so. The
libc APIs always result in failure.
The mcheck implementation has also been moved entirely into
libc_malloc_debug.so and with it, all of the hook initialization code
can now be moved into the debug library. Now the initialization can
be done independently of libc internals.
With this patch, libc_malloc_debug.so can no longer be used with older
libcs, which is not its goal anyway. tst-vfork3 breaks due to this
since it spawns shell scripts, which in turn execute using the system
glibc. Move the test to tests-container so that only the built glibc
is used.
This move also fixes bugs in the mcheck version of memalign and
realloc, thus allowing removal of the tests from tests-mcheck
exclusion list.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign
[not found] <bug-23489-131@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2021-07-22 13:20 ` siddhesh at sourceware dot org
@ 2021-07-22 14:27 ` ht990332 at gmx dot com
2021-07-22 14:34 ` siddhesh at sourceware dot org
4 siblings, 0 replies; 5+ messages in thread
From: ht990332 at gmx dot com @ 2021-07-22 14:27 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=23489
--- Comment #28 from Hussam Al-Tayeb <ht990332 at gmx dot com> ---
(In reply to Siddhesh Poyarekar from comment #26)
> I can reproduce this and it should get fixed once the patchset[1] to move
> malloc debugging out into a separate DSO is pushed.
>
> [1] https://patchwork.sourceware.org/project/glibc/list/?series=2486
Can this be safely backported to the 2.33 branch?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign
[not found] <bug-23489-131@http.sourceware.org/bugzilla/>
` (3 preceding siblings ...)
2021-07-22 14:27 ` ht990332 at gmx dot com
@ 2021-07-22 14:34 ` siddhesh at sourceware dot org
4 siblings, 0 replies; 5+ messages in thread
From: siddhesh at sourceware dot org @ 2021-07-22 14:34 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=23489
--- Comment #29 from Siddhesh Poyarekar <siddhesh at sourceware dot org> ---
I'm afraid not, the patchset introduces an ABI change. It may be possible to
isolate and backport some fixes for mcheck.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-07-22 14:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-23489-131@http.sourceware.org/bugzilla/>
2021-07-12 18:04 ` [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign hjl.tools at gmail dot com
2021-07-13 15:46 ` siddhesh at sourceware dot org
2021-07-22 13:20 ` siddhesh at sourceware dot org
2021-07-22 14:27 ` ht990332 at gmx dot com
2021-07-22 14:34 ` siddhesh at sourceware dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).