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 70991 - [tests] Unstable behaviour of server shutdown handling
Summary: [tests] Unstable behaviour of server shutdown handling
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-04 13:37 UTC by ehucka
Modified: 2016-09-01 13:10 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 2006-01-04 13:37:15 UTC
I think ProfilerServer.waitForShutdownOK() should contain some timeout. Now
there is infinite loop and if e.g. handleShutdown() on client fails or if some
communication error occures -> SHUTDOWN_OK is not returned -> agent process will
be left running and blocking system resources.
Comment 1 iformanek 2006-01-06 18:24:25 UTC
Agreed, this should be improved in the future.
Comment 2 J Bachorik 2007-01-09 08:45:05 UTC
assigned for reevaluation
Comment 3 J Bachorik 2007-01-10 15:21:10 UTC
added 10 seconds timeout for profiler agent to shut down
Comment 4 ehucka 2007-02-02 13:55:04 UTC
verified
Comment 5 J Bachorik 2007-02-12 15:05:05 UTC
reopening due to #92723
Comment 6 J Bachorik 2007-03-23 08:58:21 UTC
fixing this issue will definitely need tweaking the communication protocol, as
shutting down the agent by timeout can cause data loss at the end of profiling.
won't be fixed in profiler6
Comment 7 J Bachorik 2012-08-01 08:36:25 UTC
Could be in some way related to #213973?
Comment 8 Tomas Hurka 2016-09-01 13:10:04 UTC
Closing old issue.