public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/6001] New: fcatch bogus output
@ 2008-03-30 15:48 tromey at redhat dot com
2008-03-31 9:50 ` [Bug general/6001] fcatch bogus output "terminated normally" mark at klomp dot org
0 siblings, 1 reply; 2+ messages in thread
From: tromey at redhat dot com @ 2008-03-30 15:48 UTC (permalink / raw)
To: frysk-bugzilla
I ran fcatch 23867. This seems to trace that PID.
This process forks and execs other processes. Each time I get
pretty bogus output, like:
opsy. fcatch 23867
.updateForkedOffspring()
.updateForkedOffspring()
.updateForkedOffspring()
.updateForkedOffspring()
.updateForkedOffspring()
.updateForkedOffspring()
I assume this is a debugging printf.
I also get this:
21148.21148 terminated normally
... but I don't really want this, I just want notification of SEGVs.
Perhaps an option to change this would be nice. Or maybe just roll
all the functionality of fcatch into ftrace.
--
Summary: fcatch bogus output
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: tromey at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6001
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/6001] fcatch bogus output "terminated normally"
2008-03-30 15:48 [Bug general/6001] New: fcatch bogus output tromey at redhat dot com
@ 2008-03-31 9:50 ` mark at klomp dot org
0 siblings, 0 replies; 2+ messages in thread
From: mark at klomp dot org @ 2008-03-31 9:50 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From mark at klomp dot org 2008-03-31 09:49 -------
The first issue is indeed bogus debug output.
Removed:
commit 91c313424052de804959314bd179a5ade351da23
Author: Mark Wielaard <mwielaard@redhat.com>
Date: Mon Mar 31 11:45:51 2008 +0200
Removed debug output from ProcFollowUtil
frysk-core/frysk/util/ChangeLog
2008-03-31 Mark Wielaard <mwielaard@redhat.com>
* ProcFollowUtil.java (updateForkedOffspring): Remove debug output.
The second issue is deliberate:
frysk/util/FCatch.java
// if the main thread exited print out a message that the process
// terminated safely
if(task.getTid() == task.getProc().getPid()){
printWriter.println(task.getProc().getPid() + "."
+ task.getTid() + " terminated normally");
printWriter.flush();
}
I think it can be removed, or an extra option to print such informative
messages. And merging fcatch with ftrace might be an interesting option indeed.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|fcatch bogus output |fcatch bogus output
| |"terminated normally"
http://sourceware.org/bugzilla/show_bug.cgi?id=6001
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-31 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-30 15:48 [Bug general/6001] New: fcatch bogus output tromey at redhat dot com
2008-03-31 9:50 ` [Bug general/6001] fcatch bogus output "terminated normally" mark at klomp 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).