Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 247520 - Bundle installation corruption due to unsafe bundle ID generation
Summary: Bundle installation corruption due to unsafe bundle ID generation
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.5   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.5 M4   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 247636
  Show dependency tree
 
Reported: 2008-09-16 12:23 EDT by Rob Harrop CLA
Modified: 2008-11-04 11:35 EST (History)
1 user (show)

See Also:


Attachments
patch to address issue (1013 bytes, patch)
2008-09-16 12:23 EDT, Rob Harrop CLA
no flags Details | Diff
patch to address issue (1013 bytes, patch)
2008-10-28 04:41 EDT, Rob Harrop CLA
tjwatson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Harrop CLA 2008-09-16 12:23:42 EDT
Created attachment 112685 [details]
patch to address issue

Build ID: HEAD

Steps To Reproduce:
1. Install bundles on multiple threads
2. Query bundles for expected symbolic name or class
3. Error - two bundles get assigned the same bundle ID but only one is written to the file system.


More information:
See BaseStorage.getNextBundleId()
Comment 1 Rob Harrop CLA 2008-10-28 04:41:25 EDT
Created attachment 116260 [details]
patch to address issue
Comment 2 Thomas Watson CLA 2008-11-04 11:24:55 EST
Rob, I released the patch with an updated copyright to include your name and bug number for the fix.