Bug 179874 - Adding an observer for the frysk app hangs the application
Adding an observer for the frysk app hangs the application
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: frysk (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Muldoon
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-03 10:58 EST by Jeffrey Moyer
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: 4.4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-30 10:48:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Sourceware 2285 None None None Never

  None (edit)
Description Jeffrey Moyer 2006-02-03 10:58:35 EST
Description of problem:

Of course you shouldn't do this, but if you try to add an observer to frysk, it
hangs.  I get this on the terminal:

click : frysk.gui.monitor.ProcData@4e0f110
Exception in thread "Thread-2" ptrace.attach: Operation not permitted (process 6707)
   at java.lang.Exception.Exception() (/usr/lib/libgcj.so.6.0.0)
   at java.lang.RuntimeException.RuntimeException() (/usr/lib/libgcj.so.6.0.0)
   at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)


Version-Release number of selected component (if applicable):

frysk-0.0.1.2005.12.14.15.12-0.EL4.3

How reproducible:
100%

Steps to Reproduce:
1.  Install frsyk
2.  as a user, sudo frysk
3.  add any observer for the frysk process
  
Actual results:
frysk hangs

Expected results:
the observer is not added, but the app continues to run (maybe displays a warning?)

Additional info:
Comment 1 Andrew Cagney 2006-02-06 15:42:44 EST
upstream bug
Comment 2 Andrew Cagney 2006-11-30 10:37:15 EST
Upstream bug: http://sourceware.org/bugzilla/show_bug.cgi?id=2285
Comment 3 Andrew Cagney 2006-11-30 10:40:53 EST
Fixed in RHEL4-U3's update and upstream, no longer allowed to attach to such
processes.
Comment 4 Andrew Cagney 2006-11-30 10:47:03 EST
wrong curent release

Note You need to log in before you can comment on or make changes to this bug.