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 109025 - Both IDE and profiled application got frozen on Load Generator Profiling Point hit
Summary: Both IDE and profiled application got frozen on Load Generator Profiling Poin...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 15:25 UTC by Alexander Kouznetsov
Modified: 2007-08-24 13:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Application thread dump (7.75 KB, text/plain)
2007-07-06 15:26 UTC, Alexander Kouznetsov
Details
NB thread dump (22.88 KB, text/plain)
2007-07-06 15:33 UTC, Alexander Kouznetsov
Details
Application thread dump 2nd run (9.15 KB, text/plain)
2007-07-06 15:34 UTC, Alexander Kouznetsov
Details
NB thread dump 2nd run (19.19 KB, text/plain)
2007-07-06 15:35 UTC, Alexander Kouznetsov
Details
Output on attempt to profile application after freeze (451 bytes, text/plain)
2007-07-06 16:01 UTC, Alexander Kouznetsov
Details
Nb thread dump while Start Profiling Session process is run (16.17 KB, text/plain)
2007-07-06 16:52 UTC, Alexander Kouznetsov
Details
Application thread dump 3rd (8.50 KB, text/plain)
2007-07-09 14:24 UTC, Alexander Kouznetsov
Details
NB thread dump 3rd (194.64 KB, text/plain)
2007-07-09 14:25 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-07-06 15:25:29 UTC
Profiler 1.2 070703
Product Version: NetBeans IDE Dev (Build 200707031200) 
Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

Got a freeze of profiler application and IDE performing the following steps:
- Created New Anagram Game Project
- Inserted two Profiling Points: Stopwatch on first line of nextTrialActionPerformed method and Load Generator on first
line of guessedWordActionPerformed (specified html file for the script)
- Started CPU Profiling with default options
- Played with application, pressed Guess button several times repeatedly
- RESULT: Both profiled application and IDE became frozen. After some timeout "profiled application do not respond"
dialog was shown and IDE became responding. However, it got frozen again each time this dialog was canceled. Only after
it was confirmed IDE became to normal state while the profiled application still left non-responding and had to be killed.
Comment 1 Alexander Kouznetsov 2007-07-06 15:26:05 UTC
Created attachment 44770 [details]
Application thread dump
Comment 2 Alexander Kouznetsov 2007-07-06 15:33:41 UTC
Created attachment 44771 [details]
NB thread dump
Comment 3 Alexander Kouznetsov 2007-07-06 15:34:49 UTC
Created attachment 44772 [details]
Application thread dump 2nd run
Comment 4 Alexander Kouznetsov 2007-07-06 15:35:19 UTC
Created attachment 44773 [details]
NB thread dump 2nd run
Comment 5 Alexander Kouznetsov 2007-07-06 16:00:40 UTC
Profiling is not able to start after this freeze, IDE should be restarted.
Comment 6 Alexander Kouznetsov 2007-07-06 16:01:33 UTC
Created attachment 44774 [details]
Output on attempt to profile application after freeze
Comment 7 Alexander Kouznetsov 2007-07-06 16:49:37 UTC
When user tries to start profiling after freeze, there is a "starting profiling session" process shown in the status bar
which continues to run after profiler failed to start and after Stop Profiler button is invoked in Profiler Control
Panel. Profiler state is shown as Started in it.
Comment 8 Alexander Kouznetsov 2007-07-06 16:52:17 UTC
Created attachment 44775 [details]
Nb thread dump while Start Profiling Session process is run
Comment 9 Alexander Kouznetsov 2007-07-09 14:24:52 UTC
Created attachment 44813 [details]
Application thread dump 3rd
Comment 10 Alexander Kouznetsov 2007-07-09 14:25:23 UTC
Created attachment 44814 [details]
NB thread dump 3rd
Comment 11 J Bachorik 2007-07-23 12:49:17 UTC
This was caused by the fact that a plain HTML file was selected as a JMeter script specification. The JMeter engine then
failed and the PP caused unpredictable behavior. Now this is properly fixed and a wrong script file or any other
exception thrown within a loadgenerator engine is handled.
Also it's impossible to specify a script file that is not supported by a registered loadgenerator engine (the check is
done by the file extension for now)
Comment 12 Alexander Kouznetsov 2007-08-24 13:36:23 UTC
Verified with
Product Version: NetBeans IDE Dev (Build 200708211200) 
Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)