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 165667 - assert when doing remote profiling
Summary: assert when doing remote profiling
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 08:17 UTC by Tomas Hurka
Modified: 2009-06-09 13:34 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 Tomas Hurka 2009-05-21 08:17:31 UTC
[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 Tomas Hurka 2009-05-21 08:20:05 UTC
[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 Tomas Hurka 2009-05-21 08:23:17 UTC
Must be fixed in NB 6.7
Comment 3 Tomas Hurka 2009-05-21 09:06:35 UTC
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 Quality Engineering 2009-05-22 07:22:41 UTC
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 matusdekanek 2009-06-09 13:34:08 UTC
seems to work, marking verified