[GRASS-dev] [GRASS GIS] #1560: v.db.connect failed

#1560: v.db.connect failed
----------------------+-----------------------------------------------------
Reporter: lucadelu | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: Database | Version: svn-develbranch6
Keywords: | Platform: Unspecified
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Using v.db.join I obtain this error related to v.db.connect

{{{
+ v.db.connect -gl map=comuni fs=| layer=1
+ cut -d| -f4
*** glibc detected *** v.db.connect: free(): invalid pointer:
0x00007fdd364c33d8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a8f)[0x7fdd33ba2a8f]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x73)[0x7fdd33ba68e3]
/home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-
gnu/lib/libgrass_vect.6.5.svn.so(Vect_set_organization+0x20)[0x7fdd360ba960]
/home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-
gnu/lib/libgrass_vect.6.5.svn.so(Vect__init_head+0x30)[0x7fdd360bb830]
/home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-
gnu/lib/libgrass_vect.6.5.svn.so(Vect__open_old+0x85)[0x7fdd360c5705]
v.db.connect(main+0x3af)[0x401ccf]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7fdd33b48eff]
v.db.connect[0x401859]
======= Memory map: ========
00400000-00403000 r-xp 00000000 09:02 29626241
/home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-
gnu/bin/v.db.connect
00603000-00604000 r--p 00003000 09:02 29626241
/home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-
gnu/bin/v.db.connect
00604000-00605000 rw-p 00004000 09:02 29626241
/home/luca/compilati/grass6_devel/dist.x86_64-unknown-linux-
gnu/bin/v.db.connect
0136b000-0138c000 rw-p 00000000 00:00 0
[heap]
7fdd24000000-7fdd24021000 rw-p 00000000 00:00 0
7fdd24021000-7fdd28000000 ---p 00000000 00:00 0
7fdd2bedf000-7fdd2c186000 r--p 00000000 09:00 131627
/usr/lib/locale/locale-archive
7fdd2c186000-7fdd2c189000 r-xp 00000000 09:00 805048
/lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7fdd2c189000-7fdd2c388000 ---p 00003000 09:00 805048
/lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7fdd2c388000-7fdd2c389000 r--p 00002000 09:00 805048
/lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7fdd2c389000-7fdd2c38a000 rw-p 00003000 09:00 805048
/lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7fdd2c38a000-7fdd2c399000 r-xp 00000000 09:00 815083
/usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7fdd2c399000-7fdd2c599000 ---p 0000f000 09:00 815083
/usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7fdd2c599000-7fdd2c59a000 r--p 0000f000 09:00 815083
/usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7fdd2c59a000-7fdd2c59b000 rw-p 00010000 09:00 815083
/usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.9
7fdd2c59b000-7fdd2c611000 r-xp 00000000 09:00 805050
/lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7fdd2c611000-7fdd2c811000 ---p 00076000 09:00 805050
/lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7fdd2c811000-7fdd2c812000 r--p 00076000 09:00 805050
/lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7fdd2c812000-7fdd2c815000 rw-p 00077000 09:00 805050
/lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
7fdd2c815000-7fdd2c8af000 r-xp 00000000 09:00 815089
/usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7fdd2c8af000-7fdd2caaf000 ---p 0009a000 09:00 815089
/usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7fdd2caaf000-7fdd2cab5000 r--p 0009a000 09:00 815089
/usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7fdd2cab5000-7fdd2cab6000 rw-p 000a0000 09:00 815089
/usr/lib/x86_64-linux-gnu/libgnutls.so.26.14.12
7fdd2cab6000-7fdd2cacf000 r-xp 00000000 09:00 133738
/usr/lib/libsasl2.so.2.0.23
7fdd2cacf000-7fdd2ccce000 ---p 00019000 09:00 133738
/usr/lib/libsasl2.so.2.0.23
7fdd2ccce000-7fdd2cccf000 r--p 00018000 09:00 133738
/usr/lib/libsasl2.so.2.0.23
7fdd2cccf000-7fdd2ccd0000 rw-p 00019000 09:00 133738
/usr/lib/libsasl2.so.2.0.23
7fdd2ccd0000-7fdd2cce7000 r-xp 00000000 09:00 787026
/lib/x86_64-linux-gnu/libresolv-2.13.so
7fdd2cce7000-7fdd2cee7000 ---p 00017000 09:00 787026
/lib/x86_64-linux-gnu/libresolv-2.13.so
7fdd2cee7000-7fdd2cee8000 r--p 00017000 09:00 787026
/lib/x86_64-linux-gnu/libresolv-2.13.so
7fdd2cee8000-7fdd2cee9000 rw-p 00018000 09:00 787026
/lib/x86_64-linux-gnu/libresolv-2.13.so
7fdd2cee9000-7fdd2ceeb000 rw-p 00000000 00:00 0
7fdd2ceeb000-7fdd2ceed000 r-xp 00000000 09:00 815099
/lib/x86_64-linux-gnu/libkeyutils.so.1.3
7fdd2ceed000-7fdd2d0ec000 ---p 00002000 09:00 815099
/lib/x86_64-linux-gnu/libkeyutils.so.1.3
7fdd2d0ec000-7fdd2d0ed000 r--p 00001000 09:00 815099
/lib/x86_64-linux-gnu/libkeyutils.so.1.3
7fdd2d0ed000-7fdd2d0ee000 rw-p 00002000 09:00 815099
/lib/x86_64-linux-gnu/libkeyutils.so.1.3
7fdd2d0ee000-7fdd2d0f5000 r-xp 00000000 09:00 815155
/usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fdd2d0f5000-7fdd2d2f4000 ---p 00007000 09:00 815155
/usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fdd2d2f4000-7fdd2d2f5000 r--p 00006000 09:00 815155
/usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fdd2d2f5000-7fdd2d2f6000 rw-p 00007000 09:00 815155
/usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fdd2d2f6000-7fdd2d31b000 r-xp 00000000 09:00 815129
/usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fdd2d31b000-7fdd2d51b000 ---p 00025000 09:00 815129
/usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fdd2d51b000-7fdd2d51c000 r--p 00025000 09:00 815129
/usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fdd2d51c000-7fdd2d51d000 rw-p 00026000 09:00 815129
/usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fdd2d51d000-7fdd2e35d000 r--p 00000000 09:00 131694
/usr/lib/libicudata.so.44.2
7fdd2e35d000-7fdd2e55c000 ---p 00e40000 09:00 131694
/usr/lib/libicudata.so.44.2
7fdd2e55c000-7fdd2e55d000 rw-p 00e3f000 09:00 131694
/usr/lib/libicudata.so.44.2
7fdd2e55d000-7fdd2e56a000 r-xp 00000000 09:00 134705
/usr/lib/liblber-2.4.so.2.5.6
7fdd2e56a000-7fdd2e769000 ---p 0000d000 09:00 134705
/usr/lib/liblber-2.4.so.2.5.6
7fdd2e769000-7fdd2e76a000 r--p 0000c000 09:00 134705
/usr/lib/liblber-2.4.so.2.5.6
7fdd2e76a000-7fdd2e76b000 rw-p 0000d000 09:00 134705
/usr/lib/liblber-2.4.so.2.5.6
7fdd2e76b000-7fdd2e79c000 r-xp 00000000 09:00 148895
/usr/lib/libidn.so.11.6.1
7fdd2e79c000-7fdd2e99c000 ---p 00031000 09:00 148895
/usr/lib/libidn.so.11.6.1
7fdd2e99c000-7fdd2e99d000 r--p 00031000 09:00 148895
/usr/lib/libidn.so.11.6.1Aborted
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1560&gt;
GRASS GIS <http://grass.osgeo.org>

#1560: v.db.connect failed
--------------------------+-------------------------------------------------
  Reporter: lucadelu | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.5.0
Component: Database | Version: svn-develbranch6
Resolution: invalid | Keywords:
  Platform: Unspecified | Cpu: x86-64
--------------------------+-------------------------------------------------
Changes (by lucadelu):

  * status: new => closed
  * resolution: => invalid

Comment:

Invalid, after a distclean now all it's working

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1560#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>