JFileChooser deadlocks on Mac OS
I’m trying to port an old Java application from 1.4 to 1.6. The application works fine on PC but I'm experiencing deadlocks on Mac OS X (The program has to be force quit since its none responsive). After hours of debugging I have found that the problem is related to JFileChooser.
The problem typically occurs when calling:
fileChooser.showSaveDialog
fileChooser.setCurrentDirectory(new File(ofd))
The application is single threaded and is using Java 1.6,0_24 on Mac OS X 10.6.6
Is there anyway to set a time out or something when calling the methods to avoid the error?
The calls to JFileChooser are all coming from swings event dispatcher thread, there are no extra thread calling swing components
I started by debugging the application using eclipse, but since the error only occur now and then (about every 30-40 time the component is used) I started using a logging mechanism instead combined with jconsole.
I can try to made a SSCCE, but it will take me some time since the application is written by a C programmer with little knowledge of Java and OOP
Similar Messages
-
JFileChooser problem on MAC OS
In JavaFX UI on click of Browse button, I am using JFileChooser to open the file system. Below is the piece of code which I am executing and the exception I am getting:
Later I used DirectoryChooser. This is working fine but the pop-up is always coming behind javafx applet when started in browser.
Note: This is working fine if we run as stand alone application.
JFileChooser chooser = new JFileChooser(new File("/Volumes/"));
chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
int result = chooser.showOpenDialog(null);
if (result == JFileChooser.APPROVE_OPTION) {
System.out.println("selectedFile: "+chooser.getSelectedFile());
//tfFileSelected.setText(getParent(chooser.getSelectedFile()));
2013-03-04 10:16:40.480 java[15576:5803] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
2013-03-04 10:16:42.614 java[15576:707] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode.
Glass detected outstanding Java exception at -[GlassViewDelegate sendJavaMouseEvent:]:src/com/sun/mat/ui/GlassViewDelegate.m:541
Exception in thread "AWT-AppKit" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.<init>(Window.java:535)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1759)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1834)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1697)
at javax.swing.JOptionPane.getWindowForComponent(JOptionPane.java:1638)
at javax.swing.JFileChooser.createDialog(JFileChooser.java:785)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:732)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:639)
at samplebrowse.SampleBrowse$1.handle(SampleBrowse.java:46)
at samplebrowse.SampleBrowse$1.handle(SampleBrowse.java:31)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:28)
at javafx.event.Event.fireEvent(Event.java:171)
at javafx.scene.Node.fireEvent(Node.java:6863)
at javafx.scene.control.Button.fire(Button.java:179)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:193)
at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:336)
at com.sun.javafx.scene.control.skin.SkinBase$4.handle(SkinBase.java:329)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:64)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
at javafx.event.Event.fireEvent(Event.java:171)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3324)
at javafx.scene.Scene$MouseHandler.process(Scene.java:3164)
at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3119)
at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1559)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2261)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:228)
at com.sun.glass.ui.View.handleMouseEvent(View.java:528)
at com.sun.glass.ui.View.notifyMouse(View.java:922)
2013-03-04 10:16:44.769 java[15576:707] unrecognized type is -2
2013-03-04 10:16:44.770 java[15576:707] *** Assertion failure in -[NSEvent _initWithCGSEvent:eventRef:], /SourceCache/AppKit/AppKit-1187.34/AppKit.subproj/NSEvent.m:1348
2013-03-04 10:16:44.770 java[15576:707] Invalid parameter not satisfying: cgsEvent.type > 0 && cgsEvent.type <= kCGSLastEventType
2013-03-04 10:16:44.771 java[15576:707] (
0 CoreFoundation 0x00007fff952af0a6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff93fc13f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff952aeee8 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff8af8e6a2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 AppKit 0x00007fff8c8da56c -[NSEvent _initWithCGSEvent:eventRef:] + 2782
5 AppKit 0x00007fff8cb5b3ea +[NSEvent eventWithCGEvent:] + 243
6 libglass.dylib 0x0000000163f4c02f listenTouchEvents + 31
7 CoreGraphics 0x00007fff919b20d9 processEventTapData + 150
8 CoreGraphics 0x00007fff919b1f2c _CGYPostEventTapData + 189
9 CoreGraphics 0x00007fff9191155d _XPostEventTapData + 107
10 CoreGraphics 0x00007fff91911655 CGYEventTap_server + 106
11 CoreGraphics 0x00007fff919b201a eventTapMessageHandler + 30
12 CoreFoundation 0x00007fff9521e410 __CFMachPortPerform + 288
13 CoreFoundation 0x00007fff9521e2d9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14 CoreFoundation 0x00007fff9521e019 __CFRunLoopDoSource1 + 153
15 CoreFoundation 0x00007fff9525119f __CFRunLoopRun + 1775
16 CoreFoundation 0x00007fff952506b2 CFRunLoopRunSpecific + 290
17 HIToolbox 0x00007fff8db930a4 RunCurrentEventLoopInMode + 209
18 HIToolbox 0x00007fff8db92e42 ReceiveNextEventCommon + 356
19 HIToolbox 0x00007fff8db92cd3 BlockUntilNextEventMatchingListInMode + 62
20 AppKit 0x00007fff8c7fb613 _DPSNextEvent + 685
21 AppKit 0x00007fff8c7faed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
22 AppKit 0x00007fff8c7f2283 -[NSApplication run] + 517
23 libglass.dylib 0x0000000163f394e9 -[GlassApplication runLoop:] + 777
24 Foundation 0x00007fff8b014677 __NSThreadPerformPerform + 225
25 CoreFoundation 0x00007fff9522e101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
26 CoreFoundation 0x00007fff9522da25 __CFRunLoopDoSources0 + 245
27 CoreFoundation 0x00007fff95250dc5 __CFRunLoopRun + 789
28 CoreFoundation 0x00007fff952506b2 CFRunLoopRunSpecific + 290
29 java 0x0000000109e274bc CreateExecutionEnvironment + 871
30 java 0x0000000109e21cac JLI_Launch + 1952
31 java 0x0000000109e27819 main + 101
32 java 0x0000000109e21504 start + 52
)"Later I used DirectoryChooser. This is working fine but the pop-up is always coming behind javafx applet when started in browser. Note: This is working fine if we run as stand alone applicationYou should file a bug/feature request about this against the Runtime project:
http://javafx-jira.kenai.com
Exception in thread "AWT-AppKit" java.awt.HeadlessExceptionSee:
http://javafx-jira.kenai.com/browse/RT-20784 "Mac: Headless environment issue, MacOSX"
The above issue discusses some potential workarounds which may (or may not) work in your situation.
Try the latest 8-ea build (available at http://jdk8.java.net/download.html).
The graphics environment is no longer forced to be headless in the java 8 trunk (the jira case I linked is closed as fixed), but it may take a week or two for the fix to propagate to the jdk8 early access download page.
Also note that this kind of call from a JavaFX application to a Swing component isn't really a supported configuration (embedding JavaFX in a JFXPanel in a Swing application is supported, but other forms of interaction between JavaFX and Swing such as JavaFX opening Swing dialogs are not). That's not to say that it might not work, it's just that you shouldn't expect it to work now or continue to work in the future (especially in an applet deployment context where the window handling is more complex for the underlying frameworks due to the browser embedding). Further facilities to ease Swing and JavaFX integration are planned for JavaFX 8 (http://javafx-jira.kenai.com/browse/RT-12100 "Swing components inside JavaFX"), but I don't know if it would mean that the scenario you are trying to achieve would be supported.
A further alternative you might have would be to deploy your application as a Swing application rather than a JavaFX application and wrap your JavaFX content in a JFXPanel. It is likely that opening a Swing JFileChooser would work in such a mixed code scenario, though I have not tried it. -
Folders that having non-ascii chars are not displaying on MAC using JFileChooser
On MAC OS X 10.8.2, I have latest Java 1.7.25 installed. When I run my simple java program which allows me to browse the files and folders of my native file system using JFileChooser, It does not show the folders that having non-ascii char in there name. According this link, this bug had been reported for Java 7 update 6. It was fixed in 7 Update 10. But I am getting this issue in Java 1.7.21 and Java 1.7.25.
Sample Code-
{code}
public class Encoding {
public static void main(String[] arg) {
try {
//NOTE : Here at desktop there is a folder DKF}æßj having spacial char in its name. That is not showing in file chooser as well as while is trying to read for FILE type, it is not identify by Dir as well as File - getting File Not Found Exception
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (IllegalAccessException ex) {
Logger.getLogger(Encoding.class.getName()).log(Level.SEVERE, null, ex);
} catch (UnsupportedLookAndFeelException ex) {
Logger.getLogger(Encoding.class.getName()).log(Level.SEVERE, null, ex);
} catch (ClassNotFoundException ex) {
Logger.getLogger(Encoding.class.getName()).log(Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
Logger.getLogger(Encoding.class.getName()).log(Level.SEVERE, null, ex);
JFileChooser chooser = new JFileChooser(".");
chooser.showOpenDialog(null);
{code}Hi,
Did you try this link - osx - File.list() retrieves file names with NON-ASCII characters incorrectly on Mac OS X when using Java 7 from Oracle -…
set the LANG environment variable. It's a GUI application that I want to deploy as an Mac OS X application, and doing so, the LSEnvironment setting
<key>LSEnvironment</key> <dict> <key>LANG</key> <string>en_US.UTF-8</string> </dict> -
Hi all,
I'm wondering if anyone has any ideas about this. I have a piece of code that is using a JFileChooser for a Save dialog (see code below) with a default filename. When I run this on Windows or Solaris, it works fine, but when run on Mac OSX, if you change out of the initial directory, the default filename disappears!
Does anyone know how to fix this so the filename stays there?
JFileChooser fc;
if ( prevSaveDir == null )
fc = new JFileChooser();
else
fc = new JFileChooser( prevSaveDir );
fc.setSelectedFile( new File( "myfile.txt" ) );
int result = fc.showSaveDialog( this );
if ( result == JFileChooser.APPROVE_OPTION )
//Do stuff here
}Hej,
the best workaround I found is just call
fc.updateUI();
after setSelectedFile(...)
Henry -
MAC leopard: JFileChooser not using FileFiler correctly!?
Hi guys,
I am using FileFilter to filter files with extension ".fpp" in my JFileChooser.This works well in Windows.But in MAC , it shows the "application" files.
I mean there are some files with ".app" extension and they are shown in JFileChooser.So what i did was, using texteditor ; created an empty text file and rename its extension into ".app" ,but then this file did not get displayed in JFileChooser! So seems ,since MAC does not recognise file by its extension ,but by content its showing these "application" files.But I am wondering why it shows this "application" files !! ?
Is there a way to hide these "application" files in JFileChooser ?
RegardsCan't you write your own FileFilter(s) that specifically don't display a directory if it ends in ".app"?
import java.io.File;
import javax.swing.*;
import javax.swing.filechooser.FileFilter;
public class JFileChooserTest {
public static void main(String[] args) {
JFileChooser chooser = new JFileChooser();
chooser.setFileFilter(new FileFilter() {
public boolean accept(File f) {
if (f.isDirectory()) {
if (f.getName().endsWith(".app")) {
//if (f.getName().toLowerCase().startsWith("d")) {
return false;
return true;
// Replace this with whatever logic is appropriate.
return f.getName().toLowerCase().endsWith(".exe");
public String getDescription() {
return "Executable files (*.exe)";
chooser.showOpenDialog(null);
} -
JFileChooser is different on Mac than other platforms?
Hi all,
I have an app that I developed on windows and tested thoroughly on Linux (don't recall the specific flavor). I've now gained access to a Mac, and find that I can't save my data. I use a JFileChooser, and on the Mac there's no way to enter a file name. I found some Mac specific instructions on programming Java, which councils to use java.awt.FileDialog instead of javax.swing.JFileChooser.
Is there a way to make JFileChooser behave itself on a Mac (that is allow the user to enter a file name)?
If not, I cannot support Mac until the next major release in July 2012. I'd rather do a minor release ASAP to support Mac.'
Thanks,
James Alan Farrell
www.drawright1.comJ_Alan wrote:
I use a JFileChooser, and on the Mac there's no way to enter a file name.I find that very hard to believe, and nobody else in the wide world of Google seems to have this problem. Can you post the code that would display this particular behaviour? -
JFileChooser Multiple selection not working on Mac using apple, command key
I am using Java 1.4 webstart on Mac machine.
The code is :
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode(2);
fileChooser.setMultiSelectionEnabled(true);
Once the File dialog opens I have problems in selecting random multiple files. Apple key or command key is used for random selection on Mac. When using either of these keys multiple selection is not possible. Whereas I am able to select files using the shift key by which row selection is possible.
If this is not a bug and some code changes are to be done it would be fine if somebody can help me out in this.
If this is a bug in Java 1.4 and is this fixed in Java 1.5?All EIDE / ATA (Parallel) devices (drives, opticals) allowed for two such drives or devices on one bus. The old style was "master" and "Slave" but CS is a "smart" approach, however, the master or only device must be on the end position. Also, the end connector will be black, the middle (slave) is gray.
Eject sends signal to master
To eject the "slave" device you use a modifier key. -
JFileChooser Multiple selection not working on Mac using apple key
I am using Java 1.4 webstart on Mac machine.
The code is :
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode(2);
fileChooser.setMultiSelectionEnabled(true);
Once the File dialog opens I have problems in selecting random multiple files. Apple key is used for random selection on Mac. When using the apple key multiple selection is not possible. Whereas I am able to select files using the command key by which row selection is possible.
If this is not a bug and some code changes are to be done it would be fine if somebody can help me out in this.
If this is a bug in Java 1.4 and is this fixed in Java 1.5?All EIDE / ATA (Parallel) devices (drives, opticals) allowed for two such drives or devices on one bus. The old style was "master" and "Slave" but CS is a "smart" approach, however, the master or only device must be on the end position. Also, the end connector will be black, the middle (slave) is gray.
Eject sends signal to master
To eject the "slave" device you use a modifier key. -
Can't see Mac network with JFileChooser
Greetings
I am using a standard JFileChooser to select files and directories in my application running on MacOSX Snow Leopard. My problem is that I can't see my network using JFileChooser. I can see all the other Macs on my network using Finder or a standard Mac file browser but not on JFileChooser. I suspect I am missing something really simple but at the moment I am at a loss.
Any suggestions would be most appreciated.
Regards
Doug BathHi,
I also have the same problem.
My belkin wirelss router is set to channel 13, therefore my macbook cannot see this network when it search's, for the above reasons.
However unlike the situation above I am unable to change from channel 13 as we have discovered in the past that this is the only channel that is not in use by other networks around our area. The rest gave us interferance troubles.
I have a number of windows laptops in the house and there is a setting that you can change so the laptop will search for channel 13. I was wondering if anyone is aware of a setting on the macbook that will make the airport card search for 1 - 13 not just channels 1 - 10 as it is now.
I thought I would add this question to this topic as it is very similar. I hope I was correct in doing so.
Thanks,
Josh
Macbook Mac OS X (10.4.8) -
Hi all,
I want to set the default fileview for JFileChooser to list view. However in Mac it opens by details view . There is no option to change the view as well. I have already used the following code:
public void showDetailsView(Component[] comp)
for(int x = 0; x < comp.length; x++)
if(comp[x] instanceof JToggleButton)
if(((JToggleButton)comp[x]).getIcon().equals(UIManager.getIcon("FileChooser.listViewIcon")))
((JToggleButton)comp[x]).doClick();
return;
if(comp[x] instanceof Container) showDetailsView(((Container)comp[x]).getComponents());
But this doesnt work. Anyone please help.Hello everyone, is there no solution to the above problem? Cant we ever set a default file view for JFilechooser in Mac? Please respond
-
JFileChooser not working in Mac Os
hi,
I am using the following code to create a File Dialog to choose only the directories.
edc = new JFileChooser();
edc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
eDestButton = new JButton("Destination Folder...");
eDestButton.addActionListener(new FileListener());
ePanel.add(eDestButton);this code works fine on a awindows machine but when i run the program in Mac Os , it does not allow me to choose a directory , It looks for a file.
I am not able to understand what i need to add for it to work on Mac Os.
Thank Youthankss..do i need 2 upgrade oll my apps after the software update or wud it work work fyn wid 10.7.5???
-
Deadlocks occur when different types of dialogs interfere on Mac OS X
When a file or print dialog is open from Firefox on Mac OS X any confirmation dialog -- which opens in the browser window, not a seperate window like the file dialog -- will cause the browser to lock up.
The file dialog still has the focus, and keeps it, whatever you do, but input is locked to the confirmation dialog.
So you can click the OK and Abort buttons in the file dialog, without any effect, but you can't click the buttons in the confirmation dialog.
This happens e.g. when a cookie warning is displayed.
It happens also, when using AdBlock, because the open file or print dialog will trigger a deadlock prevention feature, which in turn will shoot itself in the foot by displaying a confirmation dialog asking to stop an AdBlock script being run.Pl post exact version of Win 7 - you will need Professional or higher - Home/Basic version is not supported - http://docs.oracle.com/cd/E11882_01/install.112/e24186/reqs.htm#CHDHGGFE
Pl review the installation log for any errors and post those error messages/codes here - http://docs.oracle.com/cd/E11882_01/install.112/e24186/ts.htm#i1090466
HTH
Srini -
JFileChooser on Mac: No filename field
I use JFileChooser to choose where to save data to a file. It works fine on windows xp. But when I run the app on an IntelMac the file chooser dialog does not give me the chance to choose a filename! It displays the path in the "dropdown" on top of the dialog, then the view of the current directory, and then at the bottom the field with the filetype (suffix). The "File name:"-field that allows you to type a name is just not there!
Is this a bug or am I missing something?
Is there a way around this? Should I use another lookAndFeel?
Best,
Jonas EThe filename is at the top of the save dialog
The only screenshot I could find was here:
http://uneasysilence.com/archive/2006/11/8410/ -
10.5.7 Fundamental Incompatibility with Mac Pro - Screen/System Lock ups
Hi all.
It looks like 10.5.7 is causing a lot of problems, but I think I found a problem that is very fundamental.
First, my system. It's one of the original Mac Pros with Quad Xeons at 2.66GHz. It has 24GB of RAM and several drives in there. I have 3 30" displays plugged into 3 NVIDIA GeForce 7300GT cards. I originally ran a 10.5.7 combo update on my 10.5.6 system, and experienced these problems (detailed below). As I was also running a beta of iTunes and the iPhone SDK (the 3rd release), and beta 2 of Safari 4, I thought this may have caused some trouble. So, I tried an experiment.
I bought a new Corsair 256GB SSD for my startup drive. Loaded my family pack of 10.5.6 onto it as a fresh install, and just applied the 10.5.7 combo update. I get the exact same behavior with no further software. So, this is a fundamental incompatibility of 10.5.7 with a machine having these specs.
Now the problems. They start with the primary (in my case center) screen locking while the other two screens keep working. Meaning, the primary display "works" but none of the windows move, the clock freezes...yet, if you move the mouse there and luckily grab a window, you could move it out onto the other 2 displays and it would allow you to continue to use the application. If you hit the CONTROLkey and scroll up and down (zooming the display in and out) it can sometimes "unlock" the primary display, but then there are many artifacts. For example, the shadows cast by windows appear as plain grey "dashboard esque" blocks and have black stripes at the edges. Also, at random times, the machine just seems to hang completely, and unlock a minute or 2 later. Eventually it locks for good.
Unfortunately this has lead me into a deadlock situation. My iTunes has been updated to the 3rd beta in the iPhone 3.0 SDK release. The library has been modified and only works with that version now. That version requires 10.5.7. So if I revert back to 10.5.6, I lose my iTunes Library or have to wait till the offical version of iTunes is realeased (although that may still require 10.5.7).
I see lots of people are having Firewire (800 in particular) problems, and I have several drives I need on Firewire. It's not a solution to yank them. It all works fine under 10.5.6, of course.
So the question is...is help on it's way? What to do!?
Thanks for any insights.
More info on the system below:
Hardware Overview:
Model Name: Mac Pro
Model Identifier: MacPro1,1
Processor Name: Dual-Core Intel Xeon
Processor Speed: 2.66 GHz
Number Of Processors: 2
Total Number Of Cores: 4
L2 Cache (per processor): 4 MB
Memory: 24 GB
Bus Speed: 1.33 GHz
Boot ROM Version: MP11.005C.B08
SMC Version (system): 1.7f10
NVIDIA GeForce 7300 GT:
Chipset Model: NVIDIA GeForce 7300 GT
Type: Display
Bus: PCIe
Slot: Slot-1
PCIe Lane Width: x8
VRAM (Total): 256 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0393
Revision ID: 0x00a1
ROM Revision: 3008
Displays:
Cinema HD:
Resolution: 2560 x 1600
Depth: 32-Bit Color
Core Image: Hardware Accelerated
Mirror: Off
Online: Yes
Quartz Extreme: Supported
Rotation: Supported
Display Connector:
Status: No Display Connected
NVIDIA GeForce 7300 GT:
Chipset Model: NVIDIA GeForce 7300 GT
Type: Display
Bus: PCIe
Slot: Slot-2
PCIe Lane Width: x8
VRAM (Total): 256 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0393
Revision ID: 0x00a1
ROM Revision: 3008
Displays:
Cinema HD:
Resolution: 2560 x 1600
Depth: 32-Bit Color
Core Image: Hardware Accelerated
Main Display: Yes
Mirror: Off
Online: Yes
Quartz Extreme: Supported
Rotation: Supported
Display Connector:
Status: No Display Connected
NVIDIA GeForce 7300 GT:
Chipset Model: NVIDIA GeForce 7300 GT
Type: Display
Bus: PCIe
Slot: Slot-3
PCIe Lane Width: x4
VRAM (Total): 256 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0393
Revision ID: 0x00a1
ROM Revision: 3008
Displays:
Cinema HD:
Resolution: 2560 x 1600
Depth: 32-Bit Color
Core Image: Hardware Accelerated
Mirror: Off
Online: Yes
Quartz Extreme: Supported
Rotation: Supported
Display Connector:
Status: No Display Connected
ATA Bus:
SONY DVD RW DW-D150A:
Model: SONY DVD RW DW-D150A
Revision: 1.MD
Serial Number:
Detachable Drive: No
Protocol: ATAPI
Unit Number: 0
Socket Type: Internal
Low Power Polling: No
Power Off: No
TSSTcorpCD/DVDW SH-S162L:
Model: TSSTcorpCD/DVDW SH-S162L
Revision: LC02
Serial Number:
Detachable Drive: No
Protocol: ATAPI
Unit Number: 1
Socket Type: Internal
Low Power Polling: No
Power Off: No
FireWire Bus:
Maximum Speed: Up to 800 Mb/sec
Built-in Hub:
Manufacturer: Unknown
Model: Unknown
Maximum Speed: Up to 800 Mb/sec
Connection Speed: Unknown
FreeAgent Go FW:
Manufacturer: Seagate
Model: 0x2200
GUID: 0x20370200105F82
Maximum Speed: Up to 800 Mb/sec
Connection Speed: Up to 200 Mb/sec
Sub-units:
FreeAgent Go FW Unit:
Unit Software Version: 0x10483
Unit Spec ID: 0x609E
Firmware Revision: 0x110
Product Revision Level: 410G
Sub-units:
FreeAgent Go FW SBP-LUN:
Capacity: 149.05 GB
Removable Media: Yes
BSD Name: disk5
Mac OS 9 Drivers: No
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. status: Not Supported
Volumes:
Seagate149GBTote:
Capacity: 148.73 GB
Available: 132.95 GB
Writable: Yes
File System: Case-sensitive Journaled HFS+
BSD Name: disk5s2
Mount Point: /Volumes/Seagate149GBTote
Unknown Device:
Manufacturer: Unknown
Model: Unknown
GUID: 0x0
Maximum Speed: Up to 800 Mb/sec
Connection Speed: Unknown
OEM ATA Device 00:
Manufacturer: OEM
Model: 0x0
GUID: 0x30E102E0454B7D
Maximum Speed: Up to 800 Mb/sec
Connection Speed: Up to 200 Mb/sec
Sub-units:
OEM ATA Device 00 Unit:
Unit Software Version: 0x10483
Unit Spec ID: 0x609E
Firmware Revision: 0x110
Product Revision Level:
Sub-units:
OEM ATA Device 00 SBP-LUN:
Capacity: 931.51 GB
Removable Media: Yes
BSD Name: disk4
Mac OS 9 Drivers: No
Partition Map Type: GPT (GUID Partition Table)
S.M.A.R.T. status: Not Supported
Volumes:
TimeMachine:
Capacity: 931.19 GB
Available: 606.63 GB
Writable: Yes
File System: Case-sensitive Journaled HFS+
BSD Name: disk4s2
Mount Point: /Volumes/TimeMachine
Unknown Device:
Manufacturer: Unknown
Model: Unknown
Maximum Speed: Up to 400 Mb/sec
Connection Speed: Unknown
Unknown Device:
Manufacturer: Unknown
Model: Unknown
Maximum Speed: Up to 400 Mb/sec
Connection Speed: Unknown
Unknown Device:
Manufacturer: Unknown
Model: Unknown
Maximum Speed: Up to 400 Mb/sec
Connection Speed: Unknown
Unknown Device:
Manufacturer: Unknown
Model: Unknown
Maximum Speed: Up to 800 Mb/sec
Connection Speed: Unknown
Unknown Device:
Manufacturer: Unknown
Model: Unknown
Maximum Speed: Up to 400 Mb/sec
Connection Speed: Unknown
Memory Slots:
ECC: Enabled
DIMM Riser A/DIMM 1:
Size: 4 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x8551
Part Number: 0x373254353132393230454641335343322020
Serial Number: 0x02007D11
DIMM Riser A/DIMM 2:
Size: 4 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x8551
Part Number: 0x373254353132393230454641335343322020
Serial Number: 0x02006013
DIMM Riser B/DIMM 1:
Size: 4 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x8551
Part Number: 0x373254353132393230454641335343322020
Serial Number: 0x0200711F
DIMM Riser B/DIMM 2:
Size: 4 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x8551
Part Number: 0x373254353132393230454641335343322020
Serial Number: 0x02007012
DIMM Riser A/DIMM 3:
Size: 2 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x830B
Part Number: 0x4E54324754373255344E4231424E2D334320
Serial Number: 0xA4730244
DIMM Riser A/DIMM 4:
Size: 2 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x830B
Part Number: 0x4E54324754373255344E4231424E2D334320
Serial Number: 0x70780241
DIMM Riser B/DIMM 3:
Size: 2 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x830B
Part Number: 0x4E54324754373255344E4231424E2D334320
Serial Number: 0xE4760245
DIMM Riser B/DIMM 4:
Size: 2 GB
Type: DDR2 FB-DIMM
Speed: 667 MHz
Status: OK
Manufacturer: 0x830B
Part Number: 0x4E54324754373255344E4231424E2D334320
Serial Number: 0xF0770241I can only tell you that I've run 10.5.7 on my Mac Pro, same model as yours, without any problems. As a beta tester my Mac Pro was the main hardware on which 10.5.7 was tested. I currently have it installed on a first generation iMac, MacBook, and MacBook Pro as well as a second generation MacBook Pro. So far not a single problem.
But, I don't have multiple video cards nor do I use any beta version of iTunes (didn't know there was one since each system upgrade includes the current release) but I do use the Safari 4 Beta - the most recent version just released when 10.5.7 was released.)
I can suggest you read the following about updates of system software:
Essential Steps Before Updating OS X!
Please do things right before updating OS X in order to avoid problems.
A. Repair Hard Drive and Permissions
Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger and Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
If DU reports errors it cannot fix, then you will need Disk Warrior (4.0 for Tiger, and 4.1 for Leopard) and/or TechTool Pro (4.6.1 for Leopard) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
B. Clone Using Restore Option of Disk Utility
1. Open Disk Utility from the Utilities folder.
2. Select the destination volume from the left side list.
3. Click on the Erase tab in the DU main window. Set the format type to Mac OS Extended (journaled, if available) and click on the Erase button. This step can be skipped if the destination has already been freshly erased.
4. Click on the Restore tab in the DU main window.
5. Select the destination volume from the left side list and drag it to the Destination entry field.
6. Select the source volume from the left side list and drag it to the Source entry field.
7. Double-check you got it right, then click on the Restore button.
Destination means your backup drive (should be erased first.)
Source means your startup drive or volume.
C. Download the Standalone Combo Updater from Apple.
Be sure you quit all running applications and disconnect all peripherals (except original keyboard and mouse) before running the installer. When the installer is running do not use the computer in any way other than to respond to an installer dialog.
Install the update by double-clicking on the installer package icon. When the installation is completed Restart the computer. Your computer will boot twice - this is normal. Upon completion of the update use Disk Utility to repair permissions. Not all permissions will seem repaired. You will get spurious reports regarding permissions related to iTunes, Front Row. These can be ignored. They will appear every time you repair permissions.
Following these basic steps should prevent most if not all updating problems. Note that if you have unrepairable disk problems reported in Step A then DO NOT update your system until those problems are resolved.
If you find that you did not follow these suggestions, then you might consider reinstalling OS X and going about the process properly in the hope of a successful result:
How to Perform an Archive and Install
An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
Repairing the Hard Drive and Permissions
Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update. -
System-wide freeze when Time Machine begins back up - Mac Pro 10.7.5
I have recently upgraded my MacPro Intel Early 2008 to Lion 10.7.5 on an external drive. Overall this nice fresh install has been working very well. The problem is that every 2 hours Time Machine starts its automatic back up and then ...
A) Music playing on Spotify stops
B) Curser freezes
C) Application switching freezes
D) Current app stops working
This freeze typically lasts about 15 to 30 seconds, or until the small incremental back up is finished.
I have verified the cause using the Console and reading the activity. I read the log 4 times yesterday (it has been doing this since I upgraded a week ago) to confirm this activity. Usually the log reports the begin and finish of the backup with no activity in between, but in the freeze I just had there was activity in the middle relating to Spotify. That most recent log is shown below. For the record, nearly all of the log activity is something to do with Spotify unless I am doing some other system level process.
I have studied other threads, but the symptoms don't really match those, or I don't have the same suspect apps installed. I have run Disk Utility and Disk Warrior on the Time Machine internal drive, and it appears ok. In energy settings the hard drive disks are NOT set to sleep when possible, but the computer will sleep after an hour of inactivity.
My Time Machine is getting large and using some 90% of the disc. I think I need to redo it because the old (10.5.8 & 10.6) and new system (10.7) inadvertantly wrote to the same TM backup. Thoughts on that?
Here is the last freeze (I truncated the IP addresses) ... and thanks, I appreciate your help. L
7/12/13 10:54:14.857 AM [0x0-0x1c01c].com.spotify.client: 14:54 I [audio_streamer.cpp:538
] 64k-Latency: 2 ms. Play latency: 484 ms (ap)
7/12/13 10:58:35.743 AM com.apple.backupd: Starting standard backup
7/12/13 10:58:35.771 AM com.apple.backupd: Backing up to: /Volumes/Mac Pro Time Machine/Backups.backupdb
7/12/13 10:58:44.850 AM com.apple.backupd: 6.00 GB required (including padding), 99.59 GB available
7/12/13 10:59:02.068 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:171
] Deadlock detected (Thread: gui)
7/12/13 10:59:07.386 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:191
] The deadlock was a lie! (gui, 10533)
7/12/13 10:59:09.749 AM Firewall: Allow Spotify connecting from 64.55:9907 to port 64429 proto=6
7/12/13 10:59:11.619 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:171
] Deadlock detected (Thread: gui)
7/12/13 10:59:12.739 AM [0x0-0x1c01c].com.spotify.client: 14:59 E [watchdog.cpp:191
] The deadlock was a lie! (gui, 5120)
7/12/13 10:59:16.753 AM Firewall: Allow Spotify connecting from 184.17:65289 to port 64429 proto=6
7/12/13 10:59:16.764 AM Firewall: Allow Spotify connecting from 74.40.0:50925 to port 64429 proto=6
7/12/13 10:59:16.765 AM Firewall: Allow Spotify connecting from 68.41:58285 to port 64429 proto=6
7/12/13 10:59:16.766 AM Firewall: Allow Spotify connecting from 216.23.:1526 to port 64429 proto=6
7/12/13 10:59:16.807 AM Firewall: Allow Spotify connecting from 108.2:59770 to port 64429 proto=6
7/12/13 10:59:16.959 AM Firewall: Allow Spotify connecting from 64.203:62864 to port 64429 proto=6
7/12/13 10:59:16.967 AM Firewall: Allow Spotify connecting from 12.1747:3148 to port 64429 proto=6
7/12/13 10:59:16.986 AM Firewall: Allow Spotify connecting from 76.97.:52319 to port 64429 proto=6
7/12/13 10:59:16.997 AM Firewall: Allow Spotify connecting from 70.114:60921 to port 64429 proto=6
7/12/13 10:59:17.020 AM Firewall: Allow Spotify connecting from 66.214:62861 to port 64429 proto=6
7/12/13 10:59:46.808 AM [0x0-0x1c01c].com.spotify.client: 14:59 I [audio_streamer.cpp:538
] 64k-Latency: 2 ms. Play latency: 31 ms (ap)
7/12/13 11:00:03.592 AM [0x0-0x13013].com.stclairsoft.DefaultFolderX.helper: DFX: Finder query returned error -1701
7/12/13 11:00:12.784 AM Firewall: Allow Spotify connecting from 76.14.156.134:55682 to port 64429 proto=6
7/12/13 11:00:32.831 AM [0x0-0x3a03a].org.mozilla.firefox: NOTE: child process received `Goodbye', closing down
7/12/13 11:00:58.261 AM com.apple.backupd: Copied 2527 files (130.0 MB) from volume OSX Upgrades HD.
7/12/13 11:00:58.779 AM com.apple.backupd: 5.85 GB required (including padding), 99.46 GB available
7/12/13 11:01:04.028 AM com.apple.backupd: Copied 1265 files (2.3 MB) from volume OSX Upgrades HD.
7/12/13 11:01:05.428 AM mds: (Error) Volume: Could not find requested backup type:2 for volume
7/12/13 11:01:05.429 AM com.apple.backupd: Starting post-backup thinning
7/12/13 11:01:05.429 AM com.apple.backupd: No post-back up thinning needed: no expired backups exist
7/12/13 11:01:05.771 AM com.apple.backupd: Backup completed successfully.Hi Hatter - thanks for the info, interesting. When making these upgrades, which I resisted for as long as possible, I needed to make it as quick and painless, with "minimal" disruption in my work. It still took three weeks to plan and execute, plus it has been a week of fiddling - that is a lot of time to devote to computer maintenance. I kept the original system as a back-up in case things really went south. Also I need 10.5 because I have several active legacy client web sites in GoLive CS2, which I tried in 10.6, but it did not run well.
I agree that doing things off the internal drives is faster to operate, but my approach was prudent. Later I can swap those around. My external 10.7 drive is a WD My Passport Studio, and has had no problems (except the sucker runs pretty hot). I considered the SSD but the price is still high: NewEgg, internal 500GB regular drive today is $60 - 75, 500GB SSD is $340-370. That is a pretty big difference in a small business. I am maxed out on RAM, so that helps a lot.
One last thing though, for the Adobe Creative Suite the scratch discs are the internal drives, so it still runs fast in that sense. Fast is relative ya know, I remember programs taking 40 and 50 seconds to launch, now Photoshop is 19, barely time to drink some coffee.
I have bought a number of UPS over the years, including replacement batteries. It has been expensive frustration, because in a real emergency they seldom do what they promise. In Colorado there are big thunderstorms every summer, and I field tested them a number of times - but was never happy with the protection. Dollar for dollar, investing in a whole house (or whole office) surge arrester at the main utility panel offers protection for the equipment, with about the same amount of time to save your work (which in reality is about 1 second).
I had a ton of connection issues with Spotify working in 10.5, but I am happy to say those have completely gone away with this upgrade. I also like many of the refinements in Lion, such as the improved System Profiler.
Linc, I will will take a look at your suggestion, it is a little vaque. Am I looking for a perticular result ? I don't want to operate for too long with the firewall off.
I think my first step is getting the Time Machine figured out, that could be the whole issue.
Thanks guys for the input -- it is appreciated. L
Maybe you are looking for
-
Is it possible to upgrade only 1 memory slot in a Macbook Pro?
I have a 2010 Macbook Pro 7.1 running Maverick and I want to upgrade my memory from the standard 4bg. Is it possible to add a single 8gb card in one slot and keep a 2gb in the other? I have read that this model can run up to 16gb but I'm not sure I n
-
Facenow app is showing in my setting in my iPhone 4S wid ios 6
-
Maverick install is asking for an admin password which I never set up to begin with.
Maverick is asking for an admin password which was never set in the beginning. I have tried all help suggestions to no avail Help
-
LabWindows CVI and SQL Toolkit cursor/sch​ema error
We are using CVI 8.5 and SQL Toolkit 2.0.6 to write data to a SQL Server 2008 database. We are utilizing the Microsoft ODBC SQL Server (non-native) driver. We build a transaction that calls stored procedures on the database to write the data. Occa
-
No fullscreen scrolling album art?
Checking out the iPad and much to my surprise i cannot locate the fullscreen scrolling album art view on the iPod app. Surely the iPad has this since even the iPhones do this. Was this view left out or am i just missing the view option?