public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10631] clarify malloc error message to avoid confusion
  2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
@ 2009-09-11 20:09 ` kees at outflux dot net
  2009-09-11 23:12 ` drepper at redhat dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: kees at outflux dot net @ 2009-09-11 20:09 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From kees at outflux dot net  2009-09-11 20:09 -------
Created an attachment (id=4189)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4189&action=view)
replaces "glibc detected" with "malloc error"


-- 


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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libc/10631] New: clarify malloc error message to avoid confusion
@ 2009-09-11 20:09 kees at outflux dot net
  2009-09-11 20:09 ` [Bug libc/10631] " kees at outflux dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: kees at outflux dot net @ 2009-09-11 20:09 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libc/10631] clarify malloc error message to avoid confusion
  2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
  2009-09-11 20:09 ` [Bug libc/10631] " kees at outflux dot net
@ 2009-09-11 23:12 ` drepper at redhat dot com
  2009-09-13  8:51 ` pasky at suse dot cz
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: drepper at redhat dot com @ 2009-09-11 23:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-09-11 23:12 -------
Nonsense, the message is clear.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libc/10631] clarify malloc error message to avoid confusion
  2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
  2009-09-11 20:09 ` [Bug libc/10631] " kees at outflux dot net
  2009-09-11 23:12 ` drepper at redhat dot com
@ 2009-09-13  8:51 ` pasky at suse dot cz
  2009-09-13 10:12 ` jakub at redhat dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pasky at suse dot cz @ 2009-09-13  8:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pasky at suse dot cz  2009-09-13 08:51 -------
Can you please reconsider? I'm getting quite a few false bugrepors against glibc
about "glibc bug" with this message; people are indeed getting confused by
thinking this is some kind of internal error, IMHO. Changing to "malloc error"
would help a lot.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |


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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libc/10631] clarify malloc error message to avoid confusion
  2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
                   ` (2 preceding siblings ...)
  2009-09-13  8:51 ` pasky at suse dot cz
@ 2009-09-13 10:12 ` jakub at redhat dot com
  2009-09-13 16:04 ` kees at outflux dot net
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at redhat dot com @ 2009-09-13 10:12 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2009-09-13 10:12 -------
malloc error would be far more confusing, people would think this is an error in
the malloc implementation.

-- 


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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libc/10631] clarify malloc error message to avoid confusion
  2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
                   ` (3 preceding siblings ...)
  2009-09-13 10:12 ` jakub at redhat dot com
@ 2009-09-13 16:04 ` kees at outflux dot net
  2009-09-13 18:14 ` drepper at redhat dot com
  2009-09-14  2:33 ` kees at outflux dot net
  6 siblings, 0 replies; 8+ messages in thread
From: kees at outflux dot net @ 2009-09-13 16:04 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From kees at outflux dot net  2009-09-13 16:04 -------
Created an attachment (id=4194)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4194&action=view)
more detailed sentence to replace just "glibc detected"

In this case, how about this patch, which leaves no run for misunderstanding:
*** glibc has detected an error in %s: %s: 0x%s ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #4189 is|0                           |1
           obsolete|                            |


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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libc/10631] clarify malloc error message to avoid confusion
  2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
                   ` (4 preceding siblings ...)
  2009-09-13 16:04 ` kees at outflux dot net
@ 2009-09-13 18:14 ` drepper at redhat dot com
  2009-09-14  2:33 ` kees at outflux dot net
  6 siblings, 0 replies; 8+ messages in thread
From: drepper at redhat dot com @ 2009-09-13 18:14 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-09-13 18:14 -------
Perhaps you should educate your users.  There is no problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX


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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug libc/10631] clarify malloc error message to avoid confusion
  2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
                   ` (5 preceding siblings ...)
  2009-09-13 18:14 ` drepper at redhat dot com
@ 2009-09-14  2:33 ` kees at outflux dot net
  6 siblings, 0 replies; 8+ messages in thread
From: kees at outflux dot net @ 2009-09-14  2:33 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From kees at outflux dot net  2009-09-14 02:33 -------
Well, some people will make it as far as opening bugs against glibc:
http://sourceware.org/bugzilla/show_bug.cgi?id=1483

I agree that education would be helpful -- making it clear in the error message
itself that the problem is not with glibc.  I think it would keep bugs like the
above URL out of the tracker here, or in distro bug trackers.


-- 


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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-14  2:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-11 20:09 [Bug libc/10631] New: clarify malloc error message to avoid confusion kees at outflux dot net
2009-09-11 20:09 ` [Bug libc/10631] " kees at outflux dot net
2009-09-11 23:12 ` drepper at redhat dot com
2009-09-13  8:51 ` pasky at suse dot cz
2009-09-13 10:12 ` jakub at redhat dot com
2009-09-13 16:04 ` kees at outflux dot net
2009-09-13 18:14 ` drepper at redhat dot com
2009-09-14  2:33 ` kees at outflux dot net

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).