Found the error - DBD::Pg was causing the segmentation fault (signal 11). The latest version of the DBD::Pg (1.0.1) is supposed to have fixeddthis.