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/10631] New: clarify malloc error message to avoid confusion


The current malloc error message template is "*** glibc detected *** [argv0]:
[error]: [addr] ***".  Due to the second "***", the whole message is frequently
parsed as two statements, leading to confusion for some people. The phrase
"glibc detected" is misleading, since it was not glibc that was detected but
rather the error itself.  glibc did the detecting.  ("[I have] detected glibc"
vs "glibc detected [an error]".)

I would suggest one of:
 - dropping the middle ***'s
 - changing the "glibc detected" string to "malloc error"
 - dropping the middle ***'s and changing the "glibc detected" string to "glibc
has detected"

-- 
           Summary: clarify malloc error message to avoid confusion
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: kees at outflux dot net
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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