cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

Bug 165667 - assert when doing remote profiling
: assert when doing remote profiling
Status: VERIFIED FIXED
: profiler
Base
: 6.7
: All All
: P2 (vote)
: 6.7
Assigned To:
:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-05-21 08:17 by
Modified: 2009-06-09 13:34 (History)
Issue Type: DEFECT
:


Attachments


Note

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


Description From 2009-05-21 08:17:31
[Reported by Bill Pittore]

when I hit 'Reset Collected Results Buffer' button in Live results screen.  It
hits assert in EventBufferDumpedCommand.readObject():

               assert originalSize==bufSize;
------- Comment #1 From 2009-05-21 08:20:05 -------
[Evaluation from Bill]

The compressedBytes buffer was set to be the same size as the incoming buffer. 
However, for small buffers, the compressed size can be somewhat larger 
than the original so some of compressed bytes never made it into the buffer. 
------- Comment #2 From 2009-05-21 08:23:17 -------
Must be fixed in NB 6.7
------- Comment #3 From 2009-05-21 09:06:35 -------
Fixed in profiler-main.
changeset:   132575:966cfa7dfe3b
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu May 21 10:05:32 2009 +0200
summary:     bugfix #165667, for small buffers, the compressed size can be
somewhat larger than the original
------- Comment #4 From 2009-05-22 07:22:41 -------
Integrated into 'main-golden', will be available in build *200905220201* on
http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/966cfa7dfe3b
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #165667, for small buffers, the compressed size can be somewhat
larger than the original
------- Comment #5 From 2009-06-09 13:34:08 -------
seems to work, marking verified