This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 61639 - Java applications with profiler agent cannot be killed by Ctrl+C
Summary: Java applications with profiler agent cannot be killed by Ctrl+C
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-02 09:51 UTC by ehucka
Modified: 2011-10-31 15:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-08-02 09:51:40 UTC
Listening servers can only be killed by 'kill -9 <pid>' command on unix os. It
is not standart behaviour.
Comment 1 iformanek 2005-10-21 15:59:27 UTC
The behavior in this mode is indeed weird. The Ctrl+Break on windows actually 
kills the app like Ctrl+C should (and even prints ^C on the console), it is 
impossible to get threads dump.

After some initial investigation, it is very unclear what may cause this 
behavior, the application VM is in a fairly standard mode, with a thread 
waiting on socket.accept (), called from premain.

Will need to do some more analysis.
Comment 2 iformanek 2005-12-10 00:49:44 UTC
Will not address in 1.0
Comment 3 Tomas Hurka 2009-04-08 12:55:13 UTC
Milestone cleanup: future->next
Comment 4 J Bachorik 2011-10-31 15:00:01 UTC
Works fine in the latest dev builds, JDK 1.6.0_29, Linux Ubuntu 11.10 x64