export osm data with pgsql2shp breaks

Hello,

I’m trying to export the planet residential roads to a shape file.
I’ve got all osm data into a postgres/postgis database and I tried to export this layer using the command psql2shp.
#pgsql2shp -f /mnt/osm_shape/temp/highway_residential_line.shp -p 5432 -u postgres osm “select * from osm_line where highway = ‘residential’”
The problem is that this process break without saying anything and i don’t know why?
I’m doing the same command for “motorway” and it works perfectly.
So, i tried with the command ogr2ogr and it’s the same. It just says : killed.

Does anyone have an idea why it doesn’t work?

Thanks