[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] shp2pgsql segment fault (trunk -r 8924 ) without .shp file
From:       Paul Ramsey <pramsey () opengeo ! org>
Date:       2012-01-26 20:53:05
Message-ID: CACowWR0pPFV=vhUj1MmjqaB-dSp1AjJ5znYO9Hsqn3f+XYTsjA () mail ! gmail ! com
[Download RAW message or body]

svn update, problem should be fixed now
P.

On Thu, Jan 26, 2012 at 12:52 PM, Min Wang <ser.basis@gmail.com> wrote:
> HI
> =A0 I =A0built the trunk version 8924 =A0on 64 bit machine.
>
> =A0 The shp2pgsql seems gave me segment fault when there is no .shp file.=
 but
> if pass -n, then it is ok.
>
> =A0 Here is what I did:
>
> =A0gdb shp2pgsql
>
> =A0(gdb) set args s 4269 -g the_geom -W latin1 ./tl_2010_11001_featnames.=
dbf
> (gdb) run
> =A0Starting program: /usr/bin/shp2pgsql s 4269 -g the_geom -W latin1
> ./tl_2010_11001_featnames.dbf
> Unable to open s.shp or s.SHP.
> Unable to open s.shx or s.SHX.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff7867974 in fclose () from /lib/libc.so.6
> (gdb) bt
> #0 =A00x00007ffff7867974 in fclose () from /lib/libc.so.6
> #1 =A00x0000000000405998 in ?? ()
> #2 =A00x0000000000405ecf in ?? ()
> #3 =A00x000000000040bde1 in ?? ()
> #4 =A00x000000000040c906 in ?? ()
> #5 =A00x00007ffff781ec4d in __libc_start_main () from /lib/libc.so.6
> #6 =A00x0000000000402199 in ?? ()
> #7 =A00x00007fffffffe698 in ?? ()
> #8 =A00x000000000000001c in ?? ()
> #9 =A00x0000000000000008 in ?? ()
> #10 0x00007fffffffe8f2 in ?? ()
> #11 0x00007fffffffe905 in ?? ()
> #12 0x00007fffffffe907 in ?? ()
> #13 0x00007fffffffe90c in ?? ()
> #14 0x00007fffffffe90f in ?? ()
> #15 0x00007fffffffe918 in ?? ()
> #16 0x00007fffffffe91b in ?? ()
> #17 0x00007fffffffe922 in ?? ()
> #18 0x0000000000000000 in ?? ()
> (gdb)
>
>
>
>
>
> =A0 any clue?
>
> thanks.
>
>
> Min Wang
> _______________________________________________
> postgis-users mailing list
> postgis-users@postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic