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 234595 - Stack integrity violation on method exit
Summary: Stack integrity violation on method exit
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 14:19 UTC by Jiri Sedlacek
Modified: 2014-01-07 14:55 UTC (History)
1 user (show)

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 Jiri Sedlacek 2013-08-19 14:19:14 UTC
Many stack integrity violations like the following being reported in profiler log:

Aug 19, 2013 3:12:50 PM org.netbeans.lib.profiler.results.cpu.CPUCallGraphBuilder plainMethodExit
SEVERE: *** Profiler engine warning: critical: stack integrity violation on method exit.
*** methodId on simulated stack top: 1422, received methodId (should match) = 34190
received method debug: weblogic.utils.classfile.Type.isWide()Z (methodId = 34190)
*** Please report this problem to feedback@profiler.netbeans.org

See the related bugdb for details.
Comment 1 Jiri Skrivanek 2013-09-04 11:47:02 UTC
Reproducible in NetBeans:

- create new web project with WebLogic 12.1.2
- right-click project node and choose Profile
- select "Advanced (instrumented)" and "Exclude Java core classes" filter
- right-click "Analyze Performance" link and choose "Duplicate"
- click OK to confirm
- click "Advanced settings" link at the bottom of the dialog
- select "Profile new Threads/Runnables"
- click Run
- after while dialog appears informing that limit of 64K instrumented methods is reached - click OK
- then after project is deployed and after some time you see repeated stack integrity violations in IDE console

Product Version: NetBeans IDE Dev (Build 201309030001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 2 Jiri Sedlacek 2014-01-07 14:55:35 UTC
Note that Bug 240084 (bugdb_17995876) also contains 'stack integrity violation on method exit' without exceeding the 64K instrumented methods limit. Not sure if related.