MySQL Workbench now works on Snow Leopard

September 1, 2009 – 1:45 pm by akojima

So, it turned out fixing the Workbench crash on Snow Leopard wasn’t very hard. Took a little time to find out what was causing the crash but, once that was found, the fix was quick.

The next releases of both branches — MySQL Workbench 5.1.18 this week and 5.2.3 alpha later on — will have proper support for Mac OS X 10.6

For whoever might be interested, the bug was caused by what seems to be a slight change in how object/NSView copies are handed in Cocoa. NSCollectionView items are populated by copying a “prototype” object. It seems that somehow, duplication of that object included the fields of child objects as well in Leopard, but not in Snow Leopard. The object copies were incomplete and when they were accessed, it ended up attempting to create a C++ string out of nil.

Alfredo Kojima

  1. 14 Responses to “MySQL Workbench now works on Snow Leopard”

  2. Fine, that was fix :) . Hoped next 5.2 would be beta :( .

    By wolph on Sep 1, 2009

  3. Great! Now: where to download? I see only version 5.1.17 at:

    http://dev.mysql.com/downloads/workbench/5.1.html

    Thanks much!
    - Kevin JT Binder

    By i2Internet on Sep 1, 2009

  4. Thanks for fixing the bug. It was the only reason why I haven’t switched to snow leopard yet.

    By Pieter on Sep 2, 2009

  5. When can we expect 5.1.18 to be released?

    By andy on Sep 2, 2009

  6. When will this fix be available for download ?

    I just migrated to Snow Leopard, and was bummed that WB was crashing on me.

    Is there a site where I can download a snapshot or patch in the meantime ?

    By Rob Weaver on Sep 2, 2009

  7. /me Anxiously awaiting the next Workbench release. Installed Snow Leopard on the release date; mostly painless except for this one!

    By Chris Fields on Sep 2, 2009

  8. http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-oss-5.1.18-osx10.5-i686.dmg/from/http://mysql.he.net/

    By Chris on Sep 3, 2009

  9. I really need 5.2.x that will work with Snow Leopard…any update?

    By Wade Little on Sep 4, 2009

  10. When do you expect 5.2.3 alpha to be released, I kind of upgraded without thinking.

    By will on Sep 5, 2009

  11. Thank you very much for your hard & relevant work!

    By Christophe Bismuth on Sep 6, 2009

  12. Any word on 5.2.3? I unfortunately started using the 5.2 release under 10.5.8 and to my dismay discovered that file format is not backwards compatible. 5.1.18 refuses to open my 5.2.2 mwb files… :(

    By Andrew McLaughlin on Sep 8, 2009

  13. I am now happily running MySQL Workbench in Mac OS X Snow Leopard. Works great! And I love the new shortcuts to PK, BIN, UN and ZF! :D

    Mike

    By Mikael Grön on Sep 10, 2009

  14. 5.1.18 still crashes on me when I try to open a script :(

    By Bart on Nov 11, 2009

  1. 1 Trackback(s)

  2. Sep 3, 2009: MySQL Workbench Functions On Snow Leopard

Post a Comment