Thursday, November 12, 2009

Hosted Mode crashes after OS Update 10.6.2

This morning I updated my work computer to Snow Leopard 10.6.2. This includes an update of Safari from 4.0.3 to 4.0.4. The newer version of Safari causes the hosted browser to crash with an Invalid memory access.

Theres already an open issue on the GWT issue tracker (from this morning as well), but theres no fix yet.

So I decided to try a nasty workaround:

I replaced the implementation of gcUnprotected(int, int) in LowLevelSaf.java with an empty implementation. A modified version of the gwt-dev.jar can be downloaded from http://www.daniel-kurka.de/gwt-dev-1.7.1-mac-sf-4.0.4-fix.jar

10 comments:

  1. how do i replace the original dev-file?

    ReplyDelete
  2. backup your original gwt-mac-dev.jar and replace it with the one you can download from my server

    ReplyDelete
  3. What are the side effects? I mean, gcUnprotect probably has some purpose?

    ReplyDelete
  4. Same correction for GWT 1.5.3 is available here : http://dl.octo.com/getfile.php?fileid=8e5c0ce7b49b867e7c42745dc46f8f37

    Thanks you for the tip !

    ReplyDelete
  5. Sweet. Thanks for saving my weekend! ;-)

    ReplyDelete
  6. Thank you. That really saved my day.

    ReplyDelete
  7. Profit primarily prime quality items -- you can understand them all within:
    spy phone app

    ReplyDelete