Why do my Perl scripts complete but end in a segmentation violation?

Did you build Perl DBD::ODBC with unixODBC? If so, you should ensure unixODBC is built without threads (use the configure option --enable-threads=no).

We build the unixODBC Driver Manager with --enable-threads=yes. ODBC-ODBC Bridge distributions containing "mt" in the distribution name are thread-safe and currently will not work with Perl.