I am running a Grails 2.0.4 app on OS X (10.7.4). The app starts without any trouble, but when I try to access the home page in a browser, I get stack red zone errors:
Invalid access of stack red zone 0x1139b10c0 rip=0x112e50b70
Bus error: 10
and the server shuts down.
The app uses these plugins:
Does anyone happen to have any tips, Grailswise, on how to get around this?
Thanks!
There are a few hits out there for this error (here and here for example). Mostly they revolve around serializing JSON objects creating a stack overflow error that wasn't reported as a stack overflow. If you are doing anything like that it might be a good place to start. Check any string you are serializing to make sure they are valid JSON:
JSONArray.fromObject(jsonString)
Another suggested bumping up the Java stack size (-Xss1024k
). If your JSON string looks ok, or you are not doing anything related to JSON, you might try this to see if it is just a space issue.