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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread

* [Bug libc/10631] clarify malloc error message to avoid confusion
       [not found] <bug-10631-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2012-10-02 16:17 ` ldv at altlinux dot org
@ 2014-07-01  6:53 ` fweimer at redhat dot com
  3 siblings, 0 replies; 12+ messages in thread
From: fweimer at redhat dot com @ 2014-07-01  6:53 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/10631] clarify malloc error message to avoid confusion
       [not found] <bug-10631-131@http.sourceware.org/bugzilla/>
  2012-09-17 22:14 ` ldv at altlinux dot org
  2012-09-17 22:16 ` ldv at altlinux dot org
@ 2012-10-02 16:17 ` ldv at altlinux dot org
  2014-07-01  6:53 ` fweimer at redhat dot com
  3 siblings, 0 replies; 12+ messages in thread
From: ldv at altlinux dot org @ 2012-10-02 16:17 UTC (permalink / raw)
  To: glibc-bugs


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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Dmitry V. Levin <ldv at altlinux dot org> 2012-10-02 16:17:17 UTC ---
Fixed by
http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=bb9510dc345f0b24de212604b2308dc6e6cc939a

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/10631] clarify malloc error message to avoid confusion
       [not found] <bug-10631-131@http.sourceware.org/bugzilla/>
  2012-09-17 22:14 ` ldv at altlinux dot org
@ 2012-09-17 22:16 ` ldv at altlinux dot org
  2012-10-02 16:17 ` ldv at altlinux dot org
  2014-07-01  6:53 ` fweimer at redhat dot com
  3 siblings, 0 replies; 12+ messages in thread
From: ldv at altlinux dot org @ 2012-09-17 22:16 UTC (permalink / raw)
  To: glibc-bugs

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED
         AssignedTo|drepper.fsp at gmail dot    |ldv at altlinux dot org
                   |com                         |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/10631] clarify malloc error message to avoid confusion
       [not found] <bug-10631-131@http.sourceware.org/bugzilla/>
@ 2012-09-17 22:14 ` ldv at altlinux dot org
  2012-09-17 22:16 ` ldv at altlinux dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: ldv at altlinux dot org @ 2012-09-17 22:14 UTC (permalink / raw)
  To: glibc-bugs

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

Dmitry V. Levin <ldv at altlinux dot org> changed:

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

--- Comment #8 from Dmitry V. Levin <ldv at altlinux dot org> 2012-09-17 22:14:21 UTC ---
(In reply to comment #7)
> 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.

I agree.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-07-01  6:53 UTC | newest]

Thread overview: 12+ 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
     [not found] <bug-10631-131@http.sourceware.org/bugzilla/>
2012-09-17 22:14 ` ldv at altlinux dot org
2012-09-17 22:16 ` ldv at altlinux dot org
2012-10-02 16:17 ` ldv at altlinux dot org
2014-07-01  6:53 ` fweimer at redhat dot com

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