cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 153578 - critical: stack integrity violation on method exit
: critical: stack integrity violation on method exit
Status: VERIFIED FIXED
: profiler
Base
: 6.5
: All All
: P2 (vote)
: 6.7
Assigned To:
:
:
: 65fixes1-verified
: 65_PATCH1
:
:
  Show dependency treegraph
 
Reported: 2008-11-20 20:35 by
Modified: 2009-02-19 22:55 (History)
Issue Type: DEFECT
:


Attachments
message.log (52.43 KB, text/plain)
2008-11-20 20:36, Tomas Hurka
Details


Note

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


Description From 2008-11-20 20:35:01
This problem can be reproduced on this tutorial:
http://www.javapassion.com/handsonlabs/nbprofilerperformance/index.html#Exercise_4
select Perfotmance.processRequest() as root method
profile ComputePrimeNumberWebapp application
calculate prime number
take snapshot

This is in log file:
*** Profiler engine warning: critical: stack integrity violation on method
exit.
*** methodId on simulated stack top is unidentifiable
*** Profiler engine warning: critical: stack integrity violation on method
exit.
*** methodId on simulated stack top is unidentifiable
*** Profiler engine warning: critical: stack integrity violation on method
exit.
*** methodId on simulated stack top is unidentifiable
*** Profiler engine warning: critical: stack integrity violation on method
exit.

*** methodId on simulated stack top is unidentifiable
------- Comment #1 From 2008-11-20 20:36:25 -------
Created an attachment (id=73972) [details]
message.log
------- Comment #2 From 2008-11-21 08:54:19 -------
This stack integrity violation happens when Servlet methods doPost, doGet, etc.
are also marked as marker method.
------- Comment #3 From 2008-11-21 13:57:07 -------
Fixed in profiler-main
changeset:   108179:a49a3d7fc5bb
tag:         tip
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Nov 21 10:06:04 2008 +0100
summary:     bugfix #153578, MarkedCPUCCTNode and ServletRequestCPUCCTNode can
be both on the the stack, they both must be removed in methodExit() 
and methodExitUnstamped()
------- Comment #4 From 2008-11-22 04:48:33 -------
Integrated into 'main-golden', will be available in build *200811220201* on
http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a49a3d7fc5bb
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #153578, MarkedCPUCCTNode and ServletRequestCPUCCTNode can be both
on the the stack, they both must be removed in methodExit() and
methodExitUnstamped()
------- Comment #5 From 2008-11-24 09:31:24 -------
The issue didn't pass the nomination process by nomination cut-off date. It has
been marked as 65fixes2-candidate.
------- Comment #6 From 2008-11-24 15:56:51 -------
Verified in Build 200811240201
------- Comment #7 From 2008-11-25 13:19:18 -------
The fix was ported into release65_fixes repository.
(It is marked as 65fixes1-candidate and it is P2.)

http://hg.netbeans.org/release65_fixes/rev/1e1a3b4cedf6
------- Comment #8 From 2008-11-25 13:32:34 -------
Based on the offline discussion, the issue will be part of 65patch1.

The fix has been ported into the release65_fixes repository.

http://hg.netbeans.org/release65_fixes/rev/c018e2af226c