Bug 3265 - fstack on sleeping process does not exit after completion.
Summary: fstack on sleeping process does not exit after completion.
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on: 1587
Blocks: 2244
  Show dependency treegraph
 
Reported: 2006-09-26 15:26 UTC by Nurdin Premji
Modified: 2006-11-21 22:50 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nurdin Premji 2006-09-26 15:26:46 UTC
Run fstack on evolution, (while it is sleeping), and fstack will print a stack
trace and then hang. Most likely reason is a problem when the ProcTasks observer
is removed from the process. Since the deletedFrom method is not called.

Possibly similar to 1587
Comment 1 Nurdin Premji 2006-10-05 14:52:37 UTC
Fixed on:

10-04-2006
* frysk/bindir/fstack.java:
        Ran gnu styler.
        Used procAttachedObserver rather than procTasksObserver
        (addOptions): Added information about ALL logging option.
        (removeObservers): Changed to use the process not the task.
        (requestDeletes): Added, removes the attachedObserver from all of the ta
        sks.
        (storeTasks): Used integer tid as key rather than string tid as key so s
        orted in ascending trace number order. Fixes issue with traces printing
out weir
        d orders like 21 22 3021 42.