public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10717] New: memusagestat SIGFPE and other observations
@ 2009-10-01 11:03 zecke at selfish dot org
  2009-10-29 21:20 ` [Bug libc/10717] " drepper at redhat dot com
  2009-10-30  1:47 ` zecke at selfish dot org
  0 siblings, 2 replies; 3+ messages in thread
From: zecke at selfish dot org @ 2009-10-01 11:03 UTC (permalink / raw)
  To: glibc-bugs

This applie to memusagestat.c of the latest git version. I'm not sure if the usage of memusagestat.c 
is supported and if I'm seeing a bug and if patches are welcome.

Using the -T option on a memusage "trace" from an application that was halted and didn't write out 
the header entry results in a SIGFPE due "maxsize_total" being 0. If a patch is welcome I would 
change the "repair" logic to update maxsize total header entry as well, write the whole headent 
structure to disk. And i would move the repair above assigning the maxsize_* variables.

I can upload the data file, my simple test application and a gdb backtrace if that is 
required/wanted/wished.

The other observation is that the -t option is not doing anything, from looking at the trace (this is 
not from glibc git... but the distro version) is that the time sometimes jump backwards. Does this 
classify as opening a new bug?

-- 
           Summary: memusagestat SIGFPE and other observations
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: zecke at selfish dot org
                CC: glibc-bugs at sources dot redhat dot com


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

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

* [Bug libc/10717] memusagestat SIGFPE and other observations
  2009-10-01 11:03 [Bug libc/10717] New: memusagestat SIGFPE and other observations zecke at selfish dot org
@ 2009-10-29 21:20 ` drepper at redhat dot com
  2009-10-30  1:47 ` zecke at selfish dot org
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2009-10-29 21:20 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-10-29 21:20 -------
I've checked in a patch.  There were a number of other issues.

Wrt -t: I don't know what you refer to.  You have to be more concrete.

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


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

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

* [Bug libc/10717] memusagestat SIGFPE and other observations
  2009-10-01 11:03 [Bug libc/10717] New: memusagestat SIGFPE and other observations zecke at selfish dot org
  2009-10-29 21:20 ` [Bug libc/10717] " drepper at redhat dot com
@ 2009-10-30  1:47 ` zecke at selfish dot org
  1 sibling, 0 replies; 3+ messages in thread
From: zecke at selfish dot org @ 2009-10-30  1:47 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From zecke at selfish dot org  2009-10-30 01:47 -------
Thanks a lot. I will recompile and create another report for the time going backwards in the profile (at 
least this is what I think I see).

-- 


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

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

end of thread, other threads:[~2009-10-30  1:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-01 11:03 [Bug libc/10717] New: memusagestat SIGFPE and other observations zecke at selfish dot org
2009-10-29 21:20 ` [Bug libc/10717] " drepper at redhat dot com
2009-10-30  1:47 ` zecke at selfish dot org

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