This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18654] New: mcheck should warn if threads exist


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]