I found out that an error in PostGIS caused the problem. Cause as I switched to version 1.3.1 everything works fine now.