Bug#695976: postgis: shp2pgsql segfault

Andrew Harvey andrew.harvey4 at gmail.com
Sat Dec 15 06:46:36 UTC 2012


On 15/12/12 17:34, Thomas Chung wrote:
> On Sat, Dec 15, 2012 at 4:37 PM, Andrew Harvey <andrew.harvey4 at gmail.com> wrote:
>>
>> Your attached shx file is empty as such,
>>
> 
> That empty shx file is part of the setup. It does not segfault if the
> file does not exist. Could you confirm that you tried it with all
> three files as attached?
> 
> I was trying to create a minimal example, and found that an empty shx
> file still reproduced the problem.
> 
> Thomas

Yep. Used,

those files with md5sums of

60c1d5f7a6a36728b88db947359757ba  nsw.dbf
4b7c97864fdf18acd2bbe0af0d897f7c  nsw.shp
d41d8cd98f00b204e9800998ecf8427e  nsw.shx

and running

    shp2pgsql nsw

gives attached results.

Using postgis package 1.5.3-2 (unstable)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: STDERR
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20121215/72822e57/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: STDOUT
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20121215/72822e57/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20121215/72822e57/attachment.pgp>


More information about the Pkg-grass-devel mailing list