CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Bottle recreation failed after deleting a bottle: cxbottle error: '…' already exists
  1. deleted a bottle named Dynamics

  2. selected one of two remaining bottles

  3. Add Duplicate…

  4. New Bottle Name: Dynamics

  5. Create

Bug

Bottle creation failed

cxbottle error: 'Dynamics' already exists

Screenshots etc.

http://www.wuala.com/%23%23Wine%2CCrossOver/CrossOver/2011/01/02/a?mode=gallery

Workarounds

None so far.

Twice, I tried quitting then launching CrossOver. The bug recurs.

The bug also bites when I try to simply add a bottle with the name Dynamics.

Environment

CrossOver 9.2.0 Professional on
Mac OS X 10.6.5 Build 10H574

History

Before today, the routine — delete then recreate (from an existing bottle) a bottle with the same name — was fine. I had done so a few times.

Hi,

Firstly, I wouldn't use the Add Duplicate function unless such
usage is warranted..ie; if you're trying to debug a program, and
the test bottle has a prepared makeup (includes runtime dependencies
and the like), then I would use Add Duplicate to save myself time
having to setup that bottle content again -- the other 99% of the
time, when just adding a new pristine bottle, creating a new bottle
with the Add function (not add duplicate) is preferred...

As to your problem (and, here, also answering your other post), I
think you're trying to get something running, and that something
(or a process associated with it) is crashing, leaving an orphaned
process running in your tasklist -- when this happens, it's entirely
possible to delete the bottle from the CX bottle manager, but the
bottle lock will be held by the rogue process. Even though the bottle
in question may appear deleted in the CX GUI, when you try to add
(or duplicate) a bottle of the same name, you'll hit the bottle lock
instantiated from the previous execution of the win32 app, and CX
will return the error you're seeing.

This aligns with your other post about rebooting the OS fixing things.
All that's happened is the rogue win32 got killed off during the reboot,
released the bottle lock as consequence, and as such everything will
start working as expected again....

...so, most of this is procedural...not a bug perse. If you discover
something like this happening, check your Activity Monitor for any
wineloader processes still running >after> you exit Crossover -- there
should be none. Alternately (and somewhat as rule of thumb on OSX), if
you're trying to get something going and it's being problematic, it's
always advisable to routinely click Quit or Force Quit bottle after a
test run, to ensure all win32 apps in that bottle have shutdown.

Cheers!

Thanks Don

My workaround in this instance was to delete the directory
~/Library/Application\ Support/CrossOver/Bottles/Dynamics
which comprised nothing more than a .DS_Store file.

As an improvement, CrossOver might check that the directory for the bottle is truly deleted after deleting a bottle.

The .DS_Store and then the whole bottle directory should have been deleted. I suspect you had the bottle's folder open in the Finder and there was a race between CrossOver deleting files from the bottle vs. the Finder updating the .DS_Store. The Finder must have recreated .DS_Store after CrossOver thought it had deleted everything.

If you find a way to reproduce this reliably, please email info@codeweavers.com and describe the procedure. Thanks.

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiVkFTU0I0UkZUUkVMTHlwVyIsImdkcHIiOjB9