{"id":60,"date":"2008-02-22T22:05:28","date_gmt":"2008-02-23T04:05:28","guid":{"rendered":"http:\/\/www.pervasivecode.com\/blog\/2008\/02\/22\/leopard-gui-crashes-not-parallels-but-canon\/"},"modified":"2008-04-28T17:42:21","modified_gmt":"2008-04-28T23:42:21","slug":"leopard-gui-crashes-not-parallels-but-canon","status":"publish","type":"post","link":"http:\/\/www.pervasivecode.com\/blog\/2008\/02\/22\/leopard-gui-crashes-not-parallels-but-canon\/","title":{"rendered":"Leopard GUI Crashes &#8211; Not Parallels but Canon?"},"content":{"rendered":"<p>I had some <a href=\"\/blog\/2008\/02\/14\/leopard-gui-crashes-solved-caused-by-outdated-parallels-kernel-modules\/\">serious  Leopard stability problems<\/a> recently. I thought I had found the problem but I was wrong then.<\/p>\n<p>This time I&#8217;m pretty sure I&#8217;ve gotten rid of all the badness. I&#8217;ve had almost 2 days of continuous uptime, which may not sound like something to get excited about, but it sure beats the 4-6 hour average uptime I&#8217;ve had for the past few weeks.<\/p>\n<p>I&#8217;ve spent so much time on this that I&#8217;m not willing to put in the extra 4-8 hours it would take to really truly isolate this issue. But my best guess is that it was the Canon drivers for my recently purchased Canon PIXMA MX310 multifunction printer. Specifically I think it&#8217;s the scanner driver, but I&#8217;m not certain. If so, that would mean that the culprits were <code>BJUSBLoad.kext<\/code> and <code>BJUSBMP.kext<\/code> in \/System\/Library\/Extensions.<br \/>\n<!--more--><br \/>\nI got fed up a couple of days ago and started using <code>sudo rm -rf<\/code> on anything that looked suspicious, based on the output of <code>launchctl list<\/code>. That included completely removing a recently installed copy of VMWare Fusion, and everything that had been installed for my prior printer, which was an HP PSC 1600. I also re-disabled all my fonts, leaving only the required ones (see the prior post for info about that).<\/p>\n<p>The clue came when I had to scan something this past weekend. I had already reinstalled Leopard on an external drive and brought it up to 10.5.2 with the Leopard Graphics Update 1.0, and it was fine. So, I was using the external drive&#8217;s clean Leopard install to get work done. (As a re-cap, Safe Boot mode on the internal hard drive had worked fine also. So I knew it had to be something not installed on the external drive yet, that was loaded only in non-Safe Boot mode.)<\/p>\n<p>In order to scan a document I had to install the Canon drivers for the printer and scanner. A couple of hours after doing so, the system froze up. I hadn&#8217;t yet made the mental association between the Canon drivers and the subsequent crash, so I kept using the system for a while, even though it was crashing and requiring a reboot every few hours. At that point I decided to punt and go back to using my internal drive, since it was no worse now than the reinstall.<\/p>\n<p>So, given that info, and the fact that I had never installed the HP drivers nor VMWare Fusion on the external drive, I&#8217;m pretty sure it was one of the Canon drivers. Otherwise there would have to be something in my user directory (which I copied over from the internal drive) which managed to start up something that was not installed on the active boot disk. That seems unlikely to me, but possible. In the launchd config files I&#8217;ve seen, the paths are hard-coded to where the installer puts things, so even though the internal drive was mounted, those things should have failed to start because the actual installed drivers and daemons are not where they were expected to be.<\/p>\n<p>So, which Canon driver is it? Probably the scanner driver. From what I can tell, the printer driver is more or less an outgoing thing: try and print, and it looks on the USB bus for the printer, and prints to it. However, the scanner driver has to deal with the case where the user presses the &#8220;Scan&#8221; button on the printer&#8217;s control panel. If that happens it launches either Image Capture.app or the &#8220;MP Navigator EX&#8221; application which is Canon&#8217;s multifunction dashboard app. My suspicion is that this is what those two kexts are for.<\/p>\n<p>So, if you get this kind of trouble, try blowing away those two kexts (wouldn&#8217;t it be grand if Canon provided an uninstall feature for their scanner driver?) and rebooting and see if that fixes it. Better yet, delete them one at a time and reboot each time, and see if you can figure out which one is really the problem.<\/p>\n<p><b>Update: It was actually an intermittent hardware problem and Apple has replaced the logic board of this computer.<\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had some serious Leopard stability problems recently. I thought I had found the problem but I was wrong then. This time I&#8217;m pretty sure I&#8217;ve gotten rid of all the badness. I&#8217;ve had almost 2 days of continuous uptime, which may not sound like something to get excited about, but it sure beats the &hellip; <a href=\"http:\/\/www.pervasivecode.com\/blog\/2008\/02\/22\/leopard-gui-crashes-not-parallels-but-canon\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Leopard GUI Crashes &#8211; Not Parallels but Canon?&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,42],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-mac","category-vmware"],"_links":{"self":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/posts\/60"}],"collection":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/comments?post=60"}],"version-history":[{"count":0,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/media?parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/categories?post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.pervasivecode.com\/blog\/wp-json\/wp\/v2\/tags?post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}