Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321783 - [ProbekitAgent] java.lang.ClassFormatError: (Zombie) unexpected EOF at offset=0
Summary: [ProbekitAgent] java.lang.ClassFormatError: (Zombie) unexpected EOF at offset=0
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC other
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mike Reid CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 15:21 EDT by Mike Reid CLA
Modified: 2016-05-05 11:08 EDT (History)
1 user (show)

See Also:


Attachments
patch (2.60 KB, patch)
2010-08-04 15:36 EDT, Mike Reid CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Reid CLA 2010-08-04 15:21:27 EDT
Probe insertion on 64-bit big-endian platforms fails with a ClassFormatError.

The problem occurs due to a 32-bit/64-bit integer size mismatch. On little-endian machines the bug is hidden as a result of the different byte ordering.
Comment 1 Mike Reid CLA 2010-08-04 15:36:56 EDT
Created attachment 175881 [details]
patch

Attached patch to change the `IInstrumenter::Instrument` signature to use `S32`, to match the types passed to `MPI::IJavaClassFileLoadHookEventObserver::HandleEvent`.
Comment 2 Mike Reid CLA 2010-08-04 15:52:13 EDT
Patch checked into HEAD.
Comment 3 Kathy Chan CLA 2011-02-11 13:46:33 EST
This defect had been resolved as FIXED for more than 1 month.  Please verify with the latest TPTP 4.7.2 driver.  If this defect is still left unverified by February 25, we'll close it on the originator's behalf.

TPTP 4.7.2 driver can be downloaded from:

http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Comment 4 Mike Reid CLA 2011-04-04 11:03:03 EDT
Closing.