SUpro 7 on OSX 10.5.6 locks up entire UI for all apps
-
OK, here's and update (posted to sketchucation and Google Groups). I chose to work with two folks who were experiencing "SketchUp Leopard" crash / hang issues, and try to drill down what the issues were.
Case 1: Machine gets unusable using SketchUp 7. Symptom - it was determined that WindowServer (the UI-serving application for Macs) memory usage continues to grow. We took the same SketchUp Model and iMac model and couldn't reproduce the problem. We booted in Safe Mode (to eliminate non-essential kernel extensions) but this runs in software rendering mode. We then added the video driver to render OpenGL on the graphics card. No changes. We even called Apple support, and they were stumped. Best suggestion: take the machine (now out of AppleCare warranty) to the nearest Genius Bar. While SketchUp helps manifest the problem, it's a hardware + Mac OS X issue (/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/WindowServer for the curious).
Case 2: Machine crashes frequently while using SketchUp on Leopard. Looking at the crash stacks (/Library/Logs/CrashReporter), we narrowed this down to two likely culprits: a printer driver, and ruby plugins. For the printer issue, I did some googling on Epson printers. Two things made me nervous about this. First, it was a printer that's only sold in some countries so not likely a printer driver that has millions of users. Second, the printer driver used ESC/P (Epson Standard Code for Printers - http://en.wikipedia.org/wiki/ESC/P and specifically a raster to ESC/P driver). Older than PCL, IIRC (and that's 1984ish). Someone had reported that Epson support had suggested switching to Gutenprint (formerly Gimp-Print, at http://gimp-print.sourceforge.net/). So far, this seems to have helped. For the ruby plugin issue, there's no easy way to troubleshoot 200+ ruby scripts that likely range from zero-to-limited software testing. A good rule of thumb for any program with plugins: when you run into trouble, try unloading some of these and keeping only the necessary ones and add in over time. My suggestion was to binary tree them, i.e. add 1/2, then 1/4, then 1/8 etc... to eliminate a potential crasher. We're thinking about ways for us to comprehensively test our ruby API and to help plugin writers test their code as well. Feedback welcome on this issue.
So why did I do this and what did we learn?
I understand that users of SketchUp are often professionals who often spend their entire day in front of the product, so crashes and hangs are VERY frustrating. I'd like to thank the two people who when beyond that frustration and helped us track down these issues in greater detail. Hopefully, this greater-than-typical level of detail will be helpful to others if you have to chase down issues like this.
-
Barry,
Thank you for looking into things. I have found a third answer to the same symptoms.
- Crashes started getting more and more frequent.
- Reinstalled OSX (10.5.7) from scratch, erasing the hard drive (having backed everything up).
- Installed Sketchup 7 ONLY.
- Crashes still happening and even more frequently. Started noticing graphical glitches when using other programs and hangs when moving between windows in the finder. Kernel Panic logs included the word 'NVidia' a lot.
- Looked into issues with the NVidia 7300GT in my Mac Pro. It appears that they have a penchance for 'frying' and are 'falling like flies'.
- http://discussions.apple.com/thread.jspa?threadID=1831300&start=0&tstart=0
- No longer under warranty so replaced the 7300GT with the NVidia GeForce 8800 GT from the Apple Store
- http://store.apple.com/uk/product/MB560Z/A?mco=NDY5ODA0MQ
- Re-instated my account.
- Sketchup works like a dream again. In fact it is much much faster; the same large model that was crashing constantly now orbits with the shadows on...
My conclusions:
The graphics card in my machine was faulty. However this was probably only affecting some of the components...those which are used by certain OpenGL operations. Therefore Sketchup was experiencing the brunt of the the problems. Over time the problem got worse. Booting in Safe Mode seemed to fix matters because was no longer accessing the damaged components (unfortunately neither was Sketchup and it was painfully slow). Would recommend the 8800GT as an upgrade to any 1st Gen Mac Pro/Sketchup Pro user whether or not they are experiencing the hang issues, as it has significantly speeded things up (512Mb memory). £166 well spent.
Thanks again for your help and apologies for assuming that the problem was with Sketchup. Hopefully I won't be back to say that it's just crashed again!
-
my 7300 went haywire as well.. (and you probably read a post by me on the discussion forum you linked to).. like you, i got a 8800 and everything is fine (well, better)again.
-
I'm running the free version on SketchUp 7 on my 24" screen imac with system 10.5.7.
I can't run SketchUp 7 for more than 10 minutes before it crashes.
SketchUP 6 ran GREAT on my system. But SketchUp 7 crashes consistantly within minutes of opening up a file. Sometimes I lose all access to the rest of the computer and sometimes just SketchUp crashes.
I'm using several ruby plugins... specifically the following...
Unfold
Joint Push/Pull
Set Center Point
Skin
Bezier toolsThe only thing that has changed is the introduction of SketchUp 7.
Would love to go back to the previous version. Where the program ran strong and dependably. Is it possible to save a version7 file down to a version6?
I sifted through my consule window and pulled out the common error lines immediately after the last crash.
7/13/09 11:34:38 AM [0x0-0x46046].com.google.sketchupfree7[1014] SketchUp(1014,0xa01c1720) malloc: *** error for object 0xa005e6d8: pointer being freed was not allocated
7/13/09 11:36:29 AM SketchUp[1014] _NXPlaceWindow: error setting window shape (1000)
7/13/09 11:36:29 AM SketchUp[1014] _NSShapePlainWindow: error setting window shape (1000)
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/bezierspline.rb:2223: warning: parenthesize argument(s) for future version
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:59: warning: don't put space before argument parentheses
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/LibTraductor.rb:25: warning: already initialized constant LBT__DEF
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] Bus Error
7/13/09 11:36:43 AM com.apple.launched[72] ([0x0-0x46046].com.google.sketchupfree7[1014]) Exited abnormally: Abort trap
The most common line is the one about "pointer being freed was not allocated" whatever that means..
I know that error code lines I've posted are similar to those posted by Tim. But, I dunno... I doubt that it's a hardware thing since SketchUp 6 ran just fine. I began experiencing these miserable crashes only after I downloaded and installed SketchUp 7.
Any ideas from you more computer savvy folks?
David
-
@outersketcher said:
I'm running the free version on SketchUp 7 on my 24" screen imac with system 10.5.7.
I can't run SketchUp 7 for more than 10 minutes before it crashes.
Ah. Forgot to update people on recent discoveries. On my machine (a new 24" iMac with the 4850 graphics card - jolly nice and fast by the way) the problem was just the same, so clearly not a random hardware problem.
It actually seems to be the Component browser. If I have that open, boom in short order - though more like an hour than 10 minutes) memory used up etc. If I open it and then close it - still the problem. If I run without ever opening it - no problem at all.
Very weird and rather inconvenient since I end up (ab)using the outliner (with all its deranged buglets) as a sort of ersatz component picker within the model.
-
That's interesting Tim.... I tried something yesterday that shouldn't have made any difference at all.
I re-downloaded SketchUp 6 and installed it onto my computer. Tried unsuccessfully to find a way to convert the version 7 files I'm currently working on to version 6.
The really weird thing is that SketchUp 7 hasn't crashed on me even once since I've uploade version 6.
I don't understand how that could've changed anything. Have been using SketchUp for about 3 hours now.
And yes, like Tim, I'm not using the component window, but I am using all of my rubys.
David
-
My first thought would be to move the ruby plugins aside for a bit and see if you still see crashing in 10 minutes. That should be easy to try. If crashes go away, add in 1/2 and retry, then add 1/2 again, and binary tree the sucker until you find the culprit.
If you do crash without any ruby scripts in your plugins directory, I'd send the crash report (copy it in an e-mail, don't send to Apple) either here or to SketchUp's Help menu->Contact Us with a bug.
Tim's issue is still puzzling because we still can't reproduce it, but we're getting closer, and Nicoloco, glad to see you're running better these days.
b
@outersketcher said:
I'm running the free version on SketchUp 7 on my 24" screen imac with system 10.5.7.
I can't run SketchUp 7 for more than 10 minutes before it crashes.
SketchUP 6 ran GREAT on my system. But SketchUp 7 crashes consistantly within minutes of opening up a file. Sometimes I lose all access to the rest of the computer and sometimes just SketchUp crashes.
I'm using several ruby plugins... specifically the following...
Unfold
Joint Push/Pull
Set Center Point
Skin
Bezier toolsThe only thing that has changed is the introduction of SketchUp 7.
Would love to go back to the previous version. Where the program ran strong and dependably. Is it possible to save a version7 file down to a version6?
I sifted through my consule window and pulled out the common error lines immediately after the last crash.
7/13/09 11:34:38 AM [0x0-0x46046].com.google.sketchupfree7[1014] SketchUp(1014,0xa01c1720) malloc: *** error for object 0xa005e6d8: pointer being freed was not allocated
7/13/09 11:36:29 AM SketchUp[1014] _NXPlaceWindow: error setting window shape (1000)
7/13/09 11:36:29 AM SketchUp[1014] _NSShapePlainWindow: error setting window shape (1000)
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/bezierspline.rb:2223: warning: parenthesize argument(s) for future version
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/libtraductor.rb:59: warning: don't put space before argument parentheses
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] /Library/Application Support/Google SketchUp 7/SketchUp/Plugins/LibTraductor.rb:25: warning: already initialized constant LBT__DEF
7/13/09 11:36:30 AM [0x0-0x46046].com.google.sketchupfree7[1014] Bus Error
7/13/09 11:36:43 AM com.apple.launched[72] ([0x0-0x46046].com.google.sketchupfree7[1014]) Exited abnormally: Abort trap
The most common line is the one about "pointer being freed was not allocated" whatever that means..
I know that error code lines I've posted are similar to those posted by Tim. But, I dunno... I doubt that it's a hardware thing since SketchUp 6 ran just fine. I began experiencing these miserable crashes only after I downloaded and installed SketchUp 7.
Any ideas from you more computer savvy folks?
David
-
@outersketcher said:
...Tried unsuccessfully to find a way to convert the version 7 files I'm currently working on to version 6...
Well, while I won't save the Mac World for sure, you should be able to save our SU 7 files into SU 6 format - in SU 7 of course in the File > Save as... and use the pulldown at the bottom to save it in various previous formats (must be something similar on the Mac and a couple of seconds/minutes should be enough):
-
So far (touch wood textured component) it seems that Snow Leopard has stopped the problem on my iMac. Let's hope it is a permanent fix...
-
The WindowServer is dead.... long live the WindowServer!
b
Advertisement