This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18654] New: mcheck should warn if threads exist
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 10 Jul 2015 12:04:46 +0000
- Subject: [Bug libc/18654] New: mcheck should warn if threads exist
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18654
Bug ID: 18654
Summary: mcheck should warn if threads exist
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: jan.kratochvil at redhat dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
-lmcheck (MALLOC_CHECK_) + -pthread should warn the user.
In reality -pthread always gets indirectly linked so -lmcheck should just check
if a new (second) thread has ever been created in this process.
Maybe it is enough if mabort() does this check - that the crash is due to
unsupported mcheck usage and not due to the program's bug.
One does not immediately realize all the possible reasons of a crash.
--
You are receiving this mail because:
You are on the CC list for the bug.