Last active
August 29, 2015 14:19
-
-
Save peter-kolenic/7718b6d75a13c17effd0 to your computer and use it in GitHub Desktop.
Dropbox 3.4.3 problem on OS X 10.7.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dropbox 3.4.3 on OS X 10.7.5 exits after few seconds with error in AuthenticationThread, tray icon disapears. | |
You can confirm by running this in Terminal.app: | |
grep -h -A7 'Crashed Thread:' ~/Library/Logs/DiagnosticReports/Dropbox_* | |
output: lines of: | |
Crashed Thread: <SOME_NUMBER> Dropbox::AuthenticationThread | |
Exception Type: EXC_CRASH (SIGABRT) | |
Exception Codes: 0x0000000000000000, 0x0000000000000000 | |
Application Specific Information: | |
objc[<SOME_NUMBER>]: garbage collection is OFF | |
*** error for object 0xffffffff: pointer being freed was not allocated | |
========== Solution (until Dropbox releases fixed version; thanks: Reinhold K., Kurt G.): ============ | |
1. (in "Activity Monitor" (it is inside Applications -> Utilities)): confirm no process named Dropbox is running | |
2. (in Terminal.app): delete file dropbox-upgrade-3.4.3.tar.bz2 by running: | |
rm <YOUR_DROPBOX_FOLDER>/.dropbox.cache/dropbox-upgrade-3.4.3.tar.bz2 | |
3. (in Terminal.app): download package of some confirmed working version (here: 3.2.9), from https://www.dropbox.com servers: | |
curl -L -o /tmp/Dropbox-darwin-update-3.2.9.tar.bz2 'https://www.dropbox.com/download?plat=mac&meta=1&build=3.2.9' | |
4. (optional) rename /Applications/Dropbox.app (for backup) purposes in Finder, | |
or in Terminal.app by running: | |
mv /Applications/Dropbox.app /Applications/Dropbox_3.4.3.app | |
5. (in Terminal.app) create folder /Applications/Dropbox.app/Contents: | |
mkdir -p /Applications/Dropbox.app/Contents | |
6. (in Termninal.app) extract package downloaded in 3.: | |
tar -C /Applications/Dropbox.app/Contents -xjf /tmp/Dropbox-darwin-update-3.2.9.tar.bz2 | |
7. (in Termninal.app) set immutable flag for /Applications/Dropbox.app. Dropbox will be unable to upgrade itself: | |
chflags -R uchg /Applications/Dropbox.app | |
Now You can run Dropbox.app. | |
Undo by: | |
1. (in Termninal.app) unset immutable flag for /Applications/Dropbox.app: | |
chflags -R nouchg /Applications/Dropbox.app | |
Now You can remove version 3.2.9 and rename backup You made in 4., or let 3.2.9 update itself automatically. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have found one more little issue with Dropbox - AppleDouble files (with file names starting with "._", these are hidden in Finder.app under default settings) in /Library/DropboxHelperTools. It might or might not have anything with this crashing problem, but can be fixed by running (in Terminal.app):
sudo dot_clean /Library/DropboxHelperTools
(system password might be asked. Type Your password and press Enter. Letters of the password won't be displayed while typing)