<p>Your test file works ok for me. Please check that your osm2pgsql is indeed compiled for 64bit ids. When you run osm2pgsql you should get something like this:</p>

<pre><code>me@here:~/osm2pgsql$ ./osm2pgsql
osm2pgsql SVN version 0.83.0 (64bit id space)
</code></pre>

<p>If that checks out ok, could you provide the full error message and possibly a stack trace of the segfault?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/osm2pgsql/issues/23#issuecomment-17273975'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/g8smGCFOcVLF28Q-xX3zcbZOnvEVErrIUIS9wQQhfruEaCskRN1O6s3fgNd_i91K.gif' height='1' width='1'></p>