/tmp/postgis-2.1.7/loader/.libs$ gdb --args ./pgsql2shp -f pippo -h giove -u test -g the_geom test public.test GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./pgsql2shp...done. (gdb) run Starting program: /tmp/postgis-2.1.7/loader/.libs/pgsql2shp -f pippo -h giove -u test -g the_geom test public.test [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Initializing... *** buffer overflow detected ***: /tmp/postgis-2.1.7/loader/.libs/pgsql2shp terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x77f6f)[0x7ffff782ff6f] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7ffff78c3a7c] /lib/x86_64-linux-gnu/libc.so.6(+0x109ad0)[0x7ffff78c1ad0] /lib/x86_64-linux-gnu/libc.so.6(__strncat_chk+0x13c)[0x7ffff78c0f0c] /tmp/postgis-2.1.7/loader/.libs/pgsql2shp[0x40af15] /tmp/postgis-2.1.7/loader/.libs/pgsql2shp[0x401e7b] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffff77d9ec5] /tmp/postgis-2.1.7/loader/.libs/pgsql2shp[0x402188] ======= Memory map: ======== 00400000-00412000 r-xp 00000000 08:01 3018150 /tmp/postgis-2.1.7/loader/.libs/pgsql2shp 00611000-00612000 r--p 00011000 08:01 3018150 /tmp/postgis-2.1.7/loader/.libs/pgsql2shp 00612000-00613000 rw-p 00012000 08:01 3018150 /tmp/postgis-2.1.7/loader/.libs/pgsql2shp 00613000-00655000 rw-p 00000000 00:00 0 [heap] 7ffff060e000-7ffff0613000 r-xp 00000000 08:01 30408928 /lib/x86_64-linux-gnu/libnss_dns-2.19.so 7ffff0613000-7ffff0812000 ---p 00005000 08:01 30408928 /lib/x86_64-linux-gnu/libnss_dns-2.19.so 7ffff0812000-7ffff0813000 r--p 00004000 08:01 30408928 /lib/x86_64-linux-gnu/libnss_dns-2.19.so 7ffff0813000-7ffff0814000 rw-p 00005000 08:01 30408928 /lib/x86_64-linux-gnu/libnss_dns-2.19.so 7ffff0814000-7ffff0816000 r-xp 00000000 08:01 30412752 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 7ffff0816000-7ffff0a15000 ---p 00002000 08:01 30412752 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 7ffff0a15000-7ffff0a16000 r--p 00001000 08:01 30412752 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 7ffff0a16000-7ffff0a17000 rw-p 00002000 08:01 30412752 /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2 7ffff0a17000-7ffff0a22000 r-xp 00000000 08:01 30409091 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7ffff0a22000-7ffff0c21000 ---p 0000b000 08:01 30409091 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7ffff0c21000-7ffff0c22000 r--p 0000a000 08:01 30409091 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7ffff0c22000-7ffff0c23000 rw-p 0000b000 08:01 30409091 /lib/x86_64-linux-gnu/libnss_files-2.19.so 7ffff0c23000-7ffff0c2e000 r-xp 00000000 08:01 30409093 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7ffff0c2e000-7ffff0e2d000 ---p 0000b000 08:01 30409093 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7ffff0e2d000-7ffff0e2e000 r--p 0000a000 08:01 30409093 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7ffff0e2e000-7ffff0e2f000 rw-p 0000b000 08:01 30409093 /lib/x86_64-linux-gnu/libnss_nis-2.19.so 7ffff0e2f000-7ffff0e46000 r-xp 00000000 08:01 30408939 /lib/x86_64-linux-gnu/libnsl-2.19.so 7ffff0e46000-7ffff1045000 ---p 00017000 08:01 30408939 /lib/x86_64-linux-gnu/libnsl-2.19.so 7ffff1045000-7ffff1046000 r--p 00016000 08:01 30408939 /lib/x86_64-linux-gnu/libnsl-2.19.so 7ffff1046000-7ffff1047000 rw-p 00017000 08:01 30408939 /lib/x86_64-linux-gnu/libnsl-2.19.so 7ffff1047000-7ffff1049000 rw-p 00000000 00:00 0 7ffff1049000-7ffff1052000 r-xp 00000000 08:01 30408940 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7ffff1052000-7ffff1251000 ---p 00009000 08:01 30408940 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7ffff1251000-7ffff1252000 r--p 00008000 08:01 30408940 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7ffff1252000-7ffff1253000 rw-p 00009000 08:01 30408940 /lib/x86_64-linux-gnu/libnss_compat-2.19.so 7ffff1253000-7ffff125a000 r-xp 00000000 08:01 41156780 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2 7ffff125a000-7ffff1459000 ---p 00007000 08:01 41156780 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2 7ffff1459000-7ffff145a000 r--p 00006000 08:01 41156780 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2 7ffff145a000-7ffff145b000 rw-p 00007000 08:01 41156780 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2 7ffff145b000-7ffff1464000 r-xp 00000000 08:01 30409065 /lib/x86_64-linux-gnu/libcrypt-2.19.so 7ffff1464000-7ffff1664000 ---p 00009000 08:01 30409065 /lib/x86_64-linux-gnu/libcrypt-2.19.so 7ffff1664000-7ffff1665000 r--p 00009000 08:01 30409065 /lib/x86_64-linux-gnu/libcrypt-2.19.so 7ffff1665000-7ffff1666000 rw-p 0000a000 08:01 30409065 /lib/x86_64-linux-gnu/libcrypt-2.19.so 7ffff1666000-7ffff1694000 rw-p 00000000 00:00 0 7ffff1694000-7ffff1753000 r-xp 00000000 08:01 41157778 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7ffff1753000-7ffff1952000 ---p 000bf000 08:01 41157778 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7ffff1952000-7ffff1956000 r--p 000be000 08:01 41157778 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7ffff1956000-7ffff1958000 rw-p 000c2000 08:01 41157778 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 7ffff1958000-7ffff1959000 rw-p 00000000 00:00 0 7ffff1959000-7ffff199e000 r-xp 00000000 08:01 41165281 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0 7ffff199e000-7ffff1b9e000 ---p 00045000 08:01 41165281 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0 7ffff1b9e000-7ffff1ba0000 r--p 00045000 08:01 41165281 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0 7ffff1ba0000-7ffff1ba2000 rw-p 00047000 08:01 41165281 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0 7ffff1ba2000-7ffff1ba3000 rw-p 00000000 00:00 0 7ffff1ba3000-7ffff1bb0000 r-xp 00000000 08:01 41164997 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0 7ffff1bb0000-7ffff1daf000 ---p 0000d000 08:01 41164997 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0 7ffff1daf000-7ffff1db0000 r--p 0000c000 08:01 41164997 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0 7ffff1db0000-7ffff1db1000 rw-p 0000d000 08:01 41164997 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0 7ffff1db1000-7ffff1dd8000 r-xp 00000000 08:01 41164999 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0 7ffff1dd8000-7ffff1fd8000 ---p 00027000 08:01 41164999 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0 7ffff1fd8000-7ffff1fd9000 r--p 00027000 08:01 41164999 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0 7ffff1fd9000-7ffff1fda000 rw-p 00028000 08:01 41164999 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0 7ffff1fda000-7ffff1fde000 r-xp 00000000 08:01 30416937 /lib/x86_64-linux-gnu/libgpg-error.so.0.11.0 7ffff1fde000-7ffff21dd000 ---p 00004000 08:01 30416937 /lib/x86_64-linux-gnu/libgpg-error.so.0.11.0 7ffff21dd000-7ffff21de000 r--p 00003000 08:01 30416937 /lib/x86_64-linux-gnu/libgpg-error.so.0.11.0 7ffff21de000-7ffff21df000 rw-p 00004000 08:01 30416937 /lib/x86_64-linux-gnu/libgpg-error.so.0.11.0 7ffff21df000-7ffff225d000 r-xp 00000000 08:01 41164096 /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0 7ffff225d000-7ffff245d000 ---p 0007e000 08:01 41164096 /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0 7ffff245d000-7ffff245e000 r--p 0007e000 08:01 41164096 /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0 7ffff245e000-7ffff245f000 rw-p 0007f000 08:01 41164096 /usr/lib/x86_64-linux-gnu/libgmp.so.10.2.0 7ffff245f000-7ffff248b000 r-xp 00000000 08:01 41164145 /usr/lib/x86_64-linux-gnu/libhogweed.so.2.5 7ffff248b000-7ffff268b000 ---p 0002c000 08:01 41164145 /usr/lib/x86_64-linux-gnu/libhogweed.so.2.5 7ffff268b000-7ffff268c000 r--p 0002c000 08:01 41164145 /usr/lib/x86_64-linux-gnu/libhogweed.so.2.5 7ffff268c000-7ffff268d000 rw-p 0002d000 08:01 41164145 /usr/lib/x86_64-linux-gnu/libhogweed.so.2.5 7ffff268d000-7ffff26bc000 r-xp 00000000 08:01 41164100 /usr/lib/x86_64-linux-gnu/libnettle.so.4.7 7ffff26bc000-7ffff28bc000 ---p 0002f000 08:01 41164100 /usr/lib/x86_64-linux-gnu/libnettle.so.4.7 7ffff28bc000-7ffff28bd000 r--p 0002f000 08:01 41164100 /usr/lib/x86_64-linux-gnu/libnettle.so.4.7 7ffff28bd000-7ffff28be000 rw-p 00030000 08:01 41164100 /usr/lib/x86_64-linux-gnu/libnettle.so.4.7 7ffff28be000-7ffff28cf000 r-xp 00000000 08:01 41166586 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.3.0 7ffff28cf000-7ffff2acf000 ---p 00011000 08:01 41166586 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.3.0 7ffff2acf000-7ffff2ad0000 r--p 00011000 08:01 41166586 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.3.0 7ffff2ad0000-7ffff2ad1000 rw-p 00012000 08:01 41166586 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.3.0 7ffff2ad1000-7ffff2b0c000 r-xp 00000000 08:01 41164150 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7ffff2b0c000-7ffff2d0b000 ---p 0003b000 08:01 41164150 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7ffff2d0b000-7ffff2d11000 r--p 0003a000 08:01 41164150 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7ffff2d11000-7ffff2d13000 rw-p 00040000 08:01 41164150 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7ffff2d13000-7ffff2d2b000 r-xp 00000000 08:01 30412832 /lib/x86_64-linux-gnu/libz.so.1.2.8 7ffff2d2b000-7ffff2f2a000 ---p 00018000 08:01 30412832 /lib/x86_64-linux-gnu/libz.so.1.2.8 7ffff2f2a000-7ffff2f2b000 r--p 00017000 08:01 30412832 /lib/x86_64-linux-gnu/libz.so.1.2.8 7ffff2f2b000-7ffff2f2c000 rw-p 00018000 08:01 30412832 /lib/x86_64-linux-gnu/libz.so.1.2.8 7ffff2f2c000-7ffff2f40000 r-xp 00000000 08:01 41164990 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0 7ffff2f40000-7ffff313f000 ---p 00014000 08:01 41164990 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0 7ffff313f000-7ffff3140000 r--p 00013000 08:01 41164990 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0 7ffff3140000-7ffff3141000 rw-p 00014000 08:01 41164990 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0 7ffff3141000-7ffff3171000 r-xp 00000000 08:01 41164995 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0 7ffff3171000-7ffff3371000 ---p 00030000 08:01 41164995 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0 7ffff3371000-7ffff3372000 r--p 00030000 08:01 41164995 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0 7ffff3372000-7ffff3373000 rw-p 00031000 08:01 41164995 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0 7ffff3373000-7ffff3374000 rw-p 00000000 00:00 0 7ffff3374000-7ffff3411000 r-xp 00000000 08:01 41164992 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0 7ffff3411000-7ffff3611000 ---p 0009d000 08:01 41164992 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0 7ffff3611000-7ffff3612000 r--p 0009d000 08:01 41164992 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0 7ffff3612000-7ffff3615000 rw-p 0009e000 08:01 41164992 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0 7ffff3615000-7ffff3697000 r-xp 00000000 08:01 41165672 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0 7ffff3697000-7ffff3896000 ---p 00082000 08:01 41165672 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0 7ffff3896000-7ffff3899000 r--p 00081000 08:01 41165672 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0 7ffff3899000-7ffff389c000 rw-p 00084000 08:01 41165672 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0 7ffff389c000-7ffff389d000 rw-p 00000000 00:00 0 7ffff389d000-7ffff38a5000 r-xp 00000000 08:01 41165712 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0 7ffff38a5000-7ffff3aa4000 ---p 00008000 08:01 41165712 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0 7ffff3aa4000-7ffff3aa5000 r--p 00007000 08:01 41165712 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0 7ffff3aa5000-7ffff3aa6000 rw-p 00008000 08:01 41165712 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0 7ffff3aa6000-7ffff3aa9000 r-xp 00000000 08:01 30409030 /lib/x86_64-linux-gnu/libkeyutils.so.1.5 7ffff3aa9000-7ffff3ca8000 ---p 00003000 08:01 30409030 /lib/x86_64-linux-gnu/libkeyutils.so.1.5 7ffff3ca8000-7ffff3ca9000 r--p 00002000 08:01 30409030 /lib/x86_64-linux-gnu/libkeyutils.so.1.5 7ffff3ca9000-7ffff3caa000 rw-p 00003000 08:01 30409030 /lib/x86_64-linux-gnu/libkeyutils.so.1.5 7ffff3caa000-7ffff3d81000 r-xp 00000000 08:01 30410709 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.1 7ffff3d81000-7ffff3f81000 ---p 000d7000 08:01 30410709 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.1 7ffff3f81000-7ffff3f82000 r--p 000d7000 08:01 30410709 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.1 7ffff3f82000-7ffff3f8b000 rw-p 000d8000 08:01 30410709 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.1 7ffff3f8b000-7ffff408a000 r-xp 00000000 08:01 41165576 /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.30.7 7ffff408a000-7ffff4289000 ---p 000ff000 08:01 41165576 /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.30.7 7ffff4289000-7ffff4292000 r--p 000fe000 08:01 41165576 /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.30.7 7ffff4292000-7ffff4294000 rw-p 00107000 08:01 41165576 /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28.30.7 7ffff4294000-7ffff42ce000 r-xp 00000000 08:01 41165674 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0 7ffff42ce000-7ffff44ce000 ---p 0003a000 08:01 41165674 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0 7ffff44ce000-7ffff44cf000 r--p 0003a000 08:01 41165674 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0 7ffff44cf000-7ffff44d1000 rw-p 0003b000 08:01 41165674 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0 7ffff44d1000-7ffff44d2000 rw-p 00000000 00:00 0 7ffff44d2000-7ffff44eb000 r-xp 00000000 08:01 41164313 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25 7ffff44eb000-7ffff46eb000 ---p 00019000 08:01 41164313 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25 7ffff46eb000-7ffff46ec000 r--p 00019000 08:01 41164313 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25 7ffff46ec000-7ffff46ed000 rw-p 0001a000 08:01 41164313 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25 7ffff46ed000-7ffff4704000 r-xp 00000000 08:01 30409079 /lib/x86_64-linux-gnu/libresolv-2.19.so 7ffff4704000-7ffff4904000 ---p 00017000 08:01 30409079 /lib/x86_64-linux-gnu/libresolv-2.19.so 7ffff4904000-7ffff4905000 r--p 00017000 08:01 30409079 /lib/x86_64-linux-gnu/libresolv-2.19.so 7ffff4905000-7ffff4906000 rw-p 00018000 08:01 30409079 /lib/x86_64-linux-gnu/libresolv-2.19.so 7ffff4906000-7ffff4908000 rw-p 00000000 00:00 0 7ffff4908000-7ffff4915000 r-xp 00000000 08:01 41165883 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.3 7ffff4915000-7ffff4b15000 ---p 0000d000 08:01 41165883 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.3 7ffff4b15000-7ffff4b16000 r--p 0000d000 08:01 41165883 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.3 7ffff4b16000-7ffff4b17000 rw-p 0000e000 08:01 41165883 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.3 7ffff4b17000-7ffff4b21000 r-xp 00000000 08:01 41161297 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7ffff4b21000-7ffff4d20000 ---p 0000a000 08:01 41161297 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7ffff4d20000-7ffff4d21000 r--p 00009000 08:01 41161297 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7ffff4d21000-7ffff4d22000 rw-p 0000a000 08:01 41161297 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 7ffff4d22000-7ffff4d25000 r-xp 00000000 08:01 30408911 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7ffff4d25000-7ffff4f24000 ---p 00003000 08:01 30408911 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7ffff4f24000-7ffff4f25000 r--p 00002000 08:01 30408911 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7ffff4f25000-7ffff4f26000 rw-p 00003000 08:01 30408911 /lib/x86_64-linux-gnu/libcom_err.so.2.1 7ffff4f26000-7ffff4f53000 r-xp 00000000 08:01 41156698 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7ffff4f53000-7ffff5152000 ---p 0002d000 08:01 41156698 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7ffff5152000-7ffff5154000 r--p 0002c000 08:01 41156698 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7ffff5154000-7ffff5155000 rw-p 0002e000 08:01 41156698 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 7ffff5155000-7ffff5156000 rw-p 00000000 00:00 0 7ffff5156000-7ffff5216000 r-xp 00000000 08:01 41161262 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7ffff5216000-7ffff5416000 ---p 000c0000 08:01 41161262 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7ffff5416000-7ffff5423000 r--p 000c0000 08:01 41161262 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7ffff5423000-7ffff5425000 rw-p 000cd000 08:01 41161262 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 7ffff5425000-7ffff5428000 r-xp 00000000 08:01 30408944 /lib/x86_64-linux-gnu/libdl-2.19.so 7ffff5428000-7ffff5627000 ---p 00003000 08:01 30408944 /lib/x86_64-linux-gnu/libdl-2.19.so 7ffff5627000-7ffff5628000 r--p 00002000 08:01 30408944 /lib/x86_64-linux-gnu/libdl-2.19.so 7ffff5628000-7ffff5629000 rw-p 00003000 08:01 30408944 /lib/x86_64-linux-gnu/libdl-2.19.so 7ffff5629000-7ffff563f000 r-xp 00000000 08:01 30413600 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff563f000-7ffff583e000 ---p 00016000 08:01 30413600 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff583e000-7ffff583f000 r--p 00015000 08:01 30413600 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff583f000-7ffff5840000 rw-p 00016000 08:01 30413600 /lib/x86_64-linux-gnu/libgcc_s.so.1 7ffff5840000-7ffff5930000 r-xp 00000000 08:01 41156693 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 7ffff5930000-7ffff5b30000 ---p 000f0000 08:01 41156693 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 7ffff5b30000-7ffff5b38000 r--p 000f0000 08:01 41156693 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 7ffff5b38000-7ffff5b3a000 rw-p 000f8000 08:01 41156693 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20 7ffff5b3a000-7ffff5b4f000 rw-p 00000000 00:00 0 7ffff5b4f000-7ffff5cf2000 r-xp 00000000 08:01 41425073 /usr/local/lib/libgeos-3.5.0dev.so 7ffff5cf2000-7ffff5ef1000 ---p 001a3000 08:01 41425073 /usr/local/lib/libgeos-3.5.0dev.so 7ffff5ef1000-7ffff5efe000 r--p 001a2000 08:01 41425073 /usr/local/lib/libgeos-3.5.0dev.so 7ffff5efe000-7ffff5f03000 rw-p 001af000 08:01 41425073 /usr/local/lib/libgeos-3.5.0dev.so 7ffff5f03000-7ffff5f1c000 r-xp 00000000 08:01 30408951 /lib/x86_64-linux-gnu/libpthread-2.19.so 7ffff5f1c000-7ffff611b000 ---p 00019000 08:01 30408951 /lib/x86_64-linux-gnu/libpthread-2.19.so 7ffff611b000-7ffff611c000 r--p 00018000 08:01 30408951 /lib/x86_64-linux-gnu/libpthread-2.19.so 7ffff611c000-7ffff611d000 rw-p 00019000 08:01 30408951 /lib/x86_64-linux-gnu/libpthread-2.19.so 7ffff611d000-7ffff6121000 rw-p 00000000 00:00 0 7ffff6121000-7ffff616e000 r-xp 00000000 08:01 41165570 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.8.3 7ffff616e000-7ffff636e000 ---p 0004d000 08:01 41165570 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.8.3 7ffff636e000-7ffff6370000 r--p 0004d000 08:01 41165570 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.8.3 7ffff6370000-7ffff6371000 rw-p 0004f000 08:01 41165570 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.8.3 7ffff6371000-7ffff6373000 rw-p 00000000 00:00 0 7ffff6373000-7ffff63b8000 r-xp 00000000 08:01 41160885 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 7ffff63b8000-7ffff65b7000 ---p 00045000 08:01 41160885 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 7ffff65b7000-7ffff65b9000 r--p 00044000 08:01 41160885 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 7ffff65b9000-7ffff65ba000 rw-p 00046000 08:01 41160885 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 7ffff65ba000-7ffff65bb000 rw-p 00000000 00:00 0 7ffff65bb000-7ffff6772000 r-xp 00000000 08:01 30409756 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7ffff6772000-7ffff6971000 ---p 001b7000 08:01 30409756 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7ffff6971000-7ffff698e000 r--p 001b6000 08:01 30409756 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7ffff698e000-7ffff699a000 rw-p 001d3000 08:01 30409756 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7ffff699a000-7ffff699e000 rw-p 00000000 00:00 0 7ffff699e000-7ffff69f3000 r-xp 00000000 08:01 30409758 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7ffff69f3000-7ffff6bf3000 ---p 00055000 08:01 30409758 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7ffff6bf3000-7ffff6bf6000 r--p 00055000 08:01 30409758 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7ffff6bf6000-7ffff6bfd000 rw-p 00058000 08:01 30409758 /lib/x86_64-linux-gnu/libssl.so.1.0.0 7ffff6bfd000-7ffff6c07000 r-xp 00000000 08:01 30413559 /lib/x86_64-linux-gnu/libjson-c.so.2.0.0 7ffff6c07000-7ffff6e06000 ---p 0000a000 08:01 30413559 /lib/x86_64-linux-gnu/libjson-c.so.2.0.0 7ffff6e06000-7ffff6e07000 r--p 00009000 08:01 30413559 /lib/x86_64-linux-gnu/libjson-c.so.2.0.0 7ffff6e07000-7ffff6e08000 rw-p 0000a000 08:01 30413559 /lib/x86_64-linux-gnu/libjson-c.so.2.0.0 7ffff6e08000-7ffff6e57000 r-xp 00000000 08:01 41171968 /usr/lib/libproj.so.0.7.0 7ffff6e57000-7ffff7056000 ---p 0004f000 08:01 41171968 /usr/lib/libproj.so.0.7.0 7ffff7056000-7ffff7057000 r--p 0004e000 08:01 41171968 /usr/lib/libproj.so.0.7.0 7ffff7057000-7ffff705a000 rw-p 0004f000 08:01 41171968 /usr/lib/libproj.so.0.7.0 7ffff705a000-7ffff715f000 r-xp 00000000 08:01 30408926 /lib/x86_64-linux-gnu/libm-2.19.so 7ffff715f000-7ffff735e000 ---p 00105000 08:01 30408926 /lib/x86_64-linux-gnu/libm-2.19.so 7ffff735e000-7ffff735f000 r--p 00104000 08:01 30408926 /lib/x86_64-linux-gnu/libm-2.19.so 7ffff735f000-7ffff7360000 rw-p 00105000 08:01 30408926 /lib/x86_64-linux-gnu/libm-2.19.so 7ffff7360000-7ffff7386000 r-xp 00000000 08:01 41425076 /usr/local/lib/libgeos_c.so.1.9.0 7ffff7386000-7ffff7586000 ---p 00026000 08:01 41425076 /usr/local/lib/libgeos_c.so.1.9.0 7ffff7586000-7ffff7588000 r--p 00026000 08:01 41425076 /usr/local/lib/libgeos_c.so.1.9.0 7ffff7588000-7ffff7589000 rw-p 00028000 08:01 41425076 /usr/local/lib/libgeos_c.so.1.9.0 7ffff7589000-7ffff75b5000 r-xp 00000000 08:01 41157076 /usr/lib/x86_64-linux-gnu/libpq.so.5.7 7ffff75b5000-7ffff77b4000 ---p 0002c000 08:01 41157076 /usr/lib/x86_64-linux-gnu/libpq.so.5.7 7ffff77b4000-7ffff77b7000 r--p 0002b000 08:01 41157076 /usr/lib/x86_64-linux-gnu/libpq.so.5.7 7ffff77b7000-7ffff77b8000 rw-p 0002e000 08:01 41157076 /usr/lib/x86_64-linux-gnu/libpq.so.5.7 7ffff77b8000-7ffff7972000 r-xp 00000000 08:01 30409092 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7972000-7ffff7b71000 ---p 001ba000 08:01 30409092 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7b71000-7ffff7b75000 r--p 001b9000 08:01 30409092 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7b75000-7ffff7b77000 rw-p 001bd000 08:01 30409092 /lib/x86_64-linux-gnu/libc-2.19.so 7ffff7b77000-7ffff7b7c000 rw-p 00000000 00:00 0 7ffff7b7c000-7ffff7bd8000 r-xp 00000000 08:01 41157029 /usr/lib/liblwgeom-2.1.7.so 7ffff7bd8000-7ffff7dd8000 ---p 0005c000 08:01 41157029 /usr/lib/liblwgeom-2.1.7.so 7ffff7dd8000-7ffff7dd9000 r--p 0005c000 08:01 41157029 /usr/lib/liblwgeom-2.1.7.so 7ffff7dd9000-7ffff7dda000 rw-p 0005d000 08:01 41157029 /usr/lib/liblwgeom-2.1.7.so 7ffff7dda000-7ffff7dfd000 r-xp 00000000 08:01 30409083 /lib/x86_64-linux-gnu/ld-2.19.so 7ffff7fac000-7ffff7fc2000 rw-p 00000000 00:00 0 7ffff7ff4000-7ffff7ff8000 rw-p 00000000 00:00 0 7ffff7ff8000-7ffff7ffa000 r-xp 00000000 00:00 0 [vdso] 7ffff7ffa000-7ffff7ffc000 r--p 00000000 00:00 0 [vvar] 7ffff7ffc000-7ffff7ffd000 r--p 00022000 08:01 30409083 /lib/x86_64-linux-gnu/ld-2.19.so 7ffff7ffd000-7ffff7ffe000 rw-p 00023000 08:01 30409083 /lib/x86_64-linux-gnu/ld-2.19.so 7ffff7ffe000-7ffff7fff000 rw-p 00000000 00:00 0 7ffffffde000-7ffffffff000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Program received signal SIGABRT, Aborted. 0x00007ffff77eee37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: File o directory non esistente. (gdb) bt full #0 0x00007ffff77eee37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 16098 selftid = 16098 #1 0x00007ffff77f0528 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x2020202020202020, sa_sigaction = 0x2020202020202020}, sa_mask = {__val = {3395749441387372576, 3414407380873671541, 8026935673474935148, 3330181238227086701, 7378697628689264499, 3256155514268312631, 7233967814408037943, 3276212736508309601, 3486970492574769264, 3544396919740575792, 3616451202376610848, 2314885530818453561, 2314885530818453536, 8247064187908399136, 7091318039041895471, 140737488335632}}, sa_flags = 87, sa_restorer = 0x7fffffffb250} sigs = {__val = {32, 0 }} #2 0x00007ffff782ff74 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff7936966 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175 ap = {{gp_offset = 32, fp_offset = 32767, overflow_arg_area = 0x7fffffffb260, reg_save_area = 0x7fffffffb1f0}} fd = 5 on_2 = list = nlist = cp = written = #3 0x00007ffff78c3a7c in __GI___fortify_fail (msg=, msg@entry=0x7ffff79368fd "buffer overflow detected") at fortify_fail.c:37 do_abort = 2 #4 0x00007ffff78c1ad0 in __GI___chk_fail () at chk_fail.c:28 No locals. #5 0x00007ffff78c0f0c in __strncat_chk (s1=, s2=, n=, s1len=) at strncat_chk.c:37 c = s = #6 0x000000000040af15 in strncat (__len=, __src=, __dest=) at /usr/include/x86_64-linux-gnu/bits/string3.h:150 No locals. #7 ShpDumperOpenTable (state=0x6149d0) at pgsql2shp-core.c:1642 dbffieldsize = -1 dbffielddecs = -141368960 dbffieldname = 0x64f720 "TIPOLOGIA_" buf = "Warning, field tipologia_schedatura renamed to TIPOLOGIA_\n\000\000TAZ_01\n\000d to ELEMENT_03\n\000\000\000\000\001\000\000\000\003\000\000\000M\311Z\367\377\177\000\000\200\261\377\377\377\177\000\000\n\000\000\000\377\177\000\000\377\377\377\377\247\370j\361\000\000\000\000\021L\004\023", '\000' , "p\373d\000\000\000\000\000\202\261\377\377\377\177\000\000\357\177\027\353\254D\354\313/\023\276v\023Y\333b\023\022\225\272\227y\034˵I\272\060\177\372_\245}"... #8 0x0000000000401e7b in main (argc=, argv=0x7fffffffdc78) at pgsql2shp-cli.c:192 config = state = 0x6149d0 ret = c = i = (gdb)