Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vuze crashes on startup after update 5.7.5.0
#1
After Update to 5.7.5.0 on MacOS Sierra Vuze crashes at start. 
The log states Loading SWT Libraries failed

Here the Context:


################
ClientIDManager: listener established on port 55199
21:57:37.929 0 core    IP Filter file: 
21:57:37.932 0 core    4ms to load all IP Filters
21:57:37.938 3 stderr  DEBUG::Mon Mar 20 21:57:37 CET 2017::org.gudy.azureus2.ui.swt.mainwindow.SWTThread::createInstance::61:
21:57:37.938 3 stderr    Loading SWT Libraries failed. Typical causes:
21:57:37.939 3 stderr  
21:57:37.939 3 stderr  (1) swt.jar is not for your os architecture (x86_64).  You can get a new swt.jar (Min Version: 3.6) from http://eclipse.org/swt
21:57:37.939 3 stderr  
21:57:37.939 3 stderr  (2) No write access to '/var/folders/8w/kc6csppx23vb97bq1vn02xkh0000gn/T/'. SWT will extract libraries contained in the swt.jar to this dir.
21:57:37.939 3 stderr  
21:57:37.939 3 stderr      Initializer::<init>::159, NativeConstructorAccessorImpl::newInstance0::-2, NativeConstructorAccessorImpl::newInstance::62, DelegatingConstructorAccessorImpl::newInstance::45, Constructor::newInstance::423, Main::<init>::111, Main::main::334, NativeMethodAccessorImpl::invoke0::-2, NativeMethodAccessorImpl::invoke::62, DelegatingMethodAccessorImpl::invoke::43, Method::invoke::498, LauncherEngine::launch::65, MacLauncher::main::67
21:57:37.939 3 stderr  java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

#############

My only workaround at the moment is to install 5.4.0.0 via installer over the newer version. But this works only one time. After I restart the app my problem comes back. 
Sombody any ideas?
Reply
#2
Try the full installer from https://www.vuze.com/download.php

If it doesn't work, let us know when it stopped running successfully -- right after installation, or after a Vuze restart (in which case, did you see any update torrents being downloaded before vuze was restarted?)
Reply
#3
OK. I did that. After the install of the full installer as provided in the link Vuze came up. It immediately starts to download 'swt-3655-carbon-macosx.zip'. 
After the download is finished it wants to start again. 
Upon restart it crashes with afore mentioned errors. I went to eclipse.org/swt and downloaded a 64 bit swt.jar and replaced the vuze swt.jar with it. 
This helps (well Vuze comes up and functions) but kind of destroys the GUI. Also Vuze seems to autocorrect my change. So I have to replace the swt-file each time before starting successfully.
I do not really know the mechanics of all the java voodoo but it seems that the swt-file provided with the unstoppable auto update crashes the app. 

Can you help? Do you need more information? I could provide a complete log file if necessary.
Reply
#4
Thanks for the info - your problem is being caused by the fact that at some point the configuration for the graphical library that Vuze uses (SWT) was set to be 'carbon' (the default is 'cocoa'). Unfortunately the legacy carbon library is only available in a 32-bit version and you are running a 64-bit Java VM. So what has been happening is that Vuze goes ahead to update the carbon library, installs it, restarts Vuze and then this fails with the 'can't load 32-bit SWT on 64-bit VM'. We have fixed the incorrect server configuration that was causing this, and future versions of Vuze (5751_B09+) will remove the option.
Reply
#5
(03-21-2017, 11:26 AM)'parg' Wrote: Thanks for the info - your problem is being caused by the fact that at some point the configuration for the graphical library that Vuze uses (SWT) was set to be 'carbon' (the default is 'cocoa'). Unfortunately the legacy carbon library is only available in a 32-bit version and you are running a 64-bit Java VM. So what has been happening is that Vuze goes ahead to update the carbon library, installs it, restarts Vuze and then this fails with the 'can't load 32-bit SWT on 64-bit VM'. We have fixed the incorrect server configuration that was causing this, and future versions of Vuze (5751_B09+) will remove the option.


 

Super. This solved my problem. I changed the display setting in interface from carbon to cocoa reinstalled the lastest version of Vuze - 5.7.5.0 in this case - and there are no more crashes. Thank you for the quick replies and all the very interesting information. 

Cheers

L.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Frog Torrents not reappearing after changing hdd pocketlama 1 3,826 03-06-2020, 11:20 AM
Last Post: megatron
  Won't play download, antivirus unable to update nursermk 0 2,893 10-22-2019, 04:13 PM
Last Post: nursermk



Users browsing this thread: 1 Guest(s)