Bug 3265

Summary: fstack on sleeping process does not exit after completion.
Product: frysk Reporter: Nurdin Premji <npremji>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on: 1587    
Bug Blocks: 2244    

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.