[GRASS-user] having problems importing shapefiles
Carlos Grohmann
carlos.grohmann at gmail.com
Thu Oct 29 14:11:30 EDT 2009
Hi all, I just test it with GRASS 7, and got the same problems. So
maybe this is GDAL-related? I think thats a little strange because
things were working fine before..
Carlos
On Thu, Oct 29, 2009 at 09:16, Markus Metz
<markus.metz.giswork at googlemail.com> wrote:
>
> Carlos Grohmann wrote:
>>
>> Hi all,
>>
>> I'm facing some serious issues importing shapefiles (latest svn).
>
> But your terminal prompt says GRASS 6.4.0RC5 instead of GRASS 6.4.0svn. Can
> you try with latest svn again?
>>
>> I
>> always end up with a buffer overflow, no matter the size of the file
>> (error msg at the end of this)
>>
>
> What command did you use, how far did v.in.ogr proceed, e.g. was there a
> message like "Layer: <layer name>"? If there is any output and v.in.ogr does
> not exit immediately with that buffer overflow, can you post the full
> output? You can also set debug level to 3 and post the messages, maybe there
> is some helpful hint in there.
>
> Lastly, the following information would be helpful: what system, is grass
> self-compiled or binary, what gdal version do you use?
>
> If all fails, try 6.5 or 7, v.in.ogr has been considerably improved by Ben
> Ducke in these versions of grass.
>
> Markus M
>>
>> I did managed to use v.external, but if I try to reproject the linked
>> shp, it comes without any table..
>>
>> I also noticed that sometimes, using wxgui, I see python eating about
>> 40% of my cpu... this looks bad
>>
>> Just some more notes on wxgui: v.overlay: window title set at
>> "v.overla", and in v.external, the fiels for the dns path is set to be
>> too long, it should be smaller.
>>
>> On a side note: I know that programming the new GUI is a lot of work,
>> but every time I have to use r.mapcalculator on wxgui, I just give up
>> the annoying clicking and usually just start the old tcltk GUI so I
>> can run the stuff as I am sued to it, like "if (A > x, null(), B)".
>> Can we have something like that in wx??? please?? :)
>>
>>
>> tks
>>
>> Carlos
>>
>>
>> GRASS 6.4.0RC5 (newLocation):~ > *** buffer overflow detected ***:
>> v.in.ogr terminated
>> ======= Backtrace: =========
>> /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x264de8]
>> /lib/tls/i686/cmov/libc.so.6[0x263e20]
>> /lib/tls/i686/cmov/libc.so.6[0x263779]
>> /lib/tls/i686/cmov/libc.so.6(__snprintf_chk+0x34)[0x263664]
>>
>> /usr/lib/libgdal1.5.0.so.1(_ZN10OGRFeature16GetFieldAsStringEi+0x34e)[0x135e3be]
>> /usr/lib/libgdal1.5.0.so.1(OGR_F_GetFieldAsString+0x28)[0x135f1c8]
>> v.in.ogr(main+0x21e8)[0x804d9d8]
>> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x19ab56]
>> v.in.ogr[0x804aab1]
>> ======= Memory map: ========
>> 00110000-0011d000 r-xp 00000000 08:01 321277
>> /usr/lib/grass64/lib/libgrass_dbmibase.6.
>> 4.0RC5.so
>> 0011d000-0011e000 r--p 0000c000 08:01 321277
>> /usr/lib/grass64/lib/libgrass_dbmibase.6.
>> 4.0RC5.so
>> 0011e000-0011f000 rw-p 0000d000 08:01 321277
>> /usr/lib/grass64/lib/libgrass_dbmibase.6.
>> 4.0RC5.so
>> 0011f000-00151000 r-xp 00000000 08:01 280413 /usr/lib/libproj.so.0.5.5
>> 00151000-00152000 r--p 00032000 08:01 280413 /usr/lib/libproj.so.0.5.5
>> 00152000-00154000 rw-p 00033000 08:01 280413 /usr/lib/libproj.so.0.5.5
>> 00154000-00169000 r-xp 00000000 08:01 279041
>> /usr/lib/libgeos_c.so.1.5.0
>> 00169000-0016a000 r--p 00014000 08:01 279041
>> /usr/lib/libgeos_c.so.1.5.0
>> 0016a000-0016b000 rw-p 00015000 08:01 279041
>> /usr/lib/libgeos_c.so.1.5.0
>> 0016b000-0016d000 r-xp 00000000 08:01 768 /lib/libkeyutils-1.2.so
>> 0016d000-0016e000 r--p 00001000 08:01 768 /lib/libkeyutils-1.2.so
>> 0016e000-0016f000 rw-p 00002000 08:01 768 /lib/libkeyutils-1.2.so
>> 00171000-00182000 r-xp 00000000 08:01 321293
>> /usr/lib/grass64/lib/libgrass_dig2.6.4.0R
>> C5.so
>> 00182000-00183000 r--p 00010000 08:01 321293
>> /usr/lib/grass64/lib/libgrass_dig2.6.4.0R
>> C5.so
>> 00183000-00184000 rw-p 00011000 08:01 321293
>> /usr/lib/grass64/lib/libgrass_dig2.6.4.0R
>> C5.so
>> 00184000-002c2000 r-xp 00000000 08:01 2505
>> /lib/tls/i686/cmov/libc-2.10.1.so
>> 002c2000-002c4000 r--p 0013e000 08:01 2505
>> /lib/tls/i686/cmov/libc-2.10.1.so
>> 002c4000-002c5000 rw-p 00140000 08:01 2505
>> /lib/tls/i686/cmov/libc-2.10.1.so
>> 002c5000-002c8000 rw-p 00000000 00:00 0
>> 002c8000-0032c000 r-xp 00000000 08:01 3913 /usr/lib/libodbc.so.1.0.0
>> 0032c000-0032d000 r--p 00063000 08:01 3913 /usr/lib/libodbc.so.1.0.0
>> 0032d000-00331000 rw-p 00064000 08:01 3913 /usr/lib/libodbc.so.1.0.0
>> 00331000-00334000 r-xp 00000000 08:01 758
>> /lib/libgpg-error.so.0.4.0
>> 00334000-00335000 r--p 00002000 08:01 758
>> /lib/libgpg-error.so.0.4.0
>> 00335000-00336000 rw-p 00003000 08:01 758
>> /lib/libgpg-error.so.0.4.0
>> 00337000-00338000 r-xp 00000000 00:00 0 [vdso]
>> 00338000-00381000 r-xp 00000000 08:01 5305
>> /usr/lib/libjasper.so.1.0.0
>> 00381000-00382000 r--p 00048000 08:01 5305
>> /usr/lib/libjasper.so.1.0.0
>> 00382000-00385000 rw-p 00049000 08:01 5305
>> /usr/lib/libjasper.so.1.0.0
>> 00385000-0038b000 rw-p 00000000 00:00 0
>> 0038b000-003ad000 r-xp 00000000 08:01 279373
>> /usr/lib/libmfhdf.so.4.1r4
>> 003ad000-003ae000 r--p 00021000 08:01 279373
>> /usr/lib/libmfhdf.so.4.1r4
>> 003ae000-003af000 rw-p 00022000 08:01 279373
>> /usr/lib/libmfhdf.so.4.1r4
>> 003af000-003b0000 rw-p 00000000 00:00 0
>> 003b0000-0042c000 r-xp 00000000 08:01 279372 /usr/lib/libdf.so.4.1r4
>> 0042c000-0042d000 r--p 0007c000 08:01 279372 /usr/lib/libdf.so.4.1r4
>> 0042d000-0042f000 rw-p 0007d000 08:01 279372 /usr/lib/libdf.so.4.1r4
>> 0042f000-00457000 rw-p 00000000 00:00 0
>> 00457000-00473000 r-xp 00000000 08:01 289756 /usr/lib/libogdi.so.3.2
>> 00473000-00474000 r--p 0001b000 08:01 289756 /usr/lib/libogdi.so.3.2
>> 00474000-00475000 rw-p 0001c000 08:01 289756 /usr/lib/libogdi.so.3.2
>> 00475000-00497000 r-xp 00000000 08:01 5307
>> /usr/lib/libjpeg.so.62.0.0
>> 00497000-00498000 r--p 00021000 08:01 5307
>> /usr/lib/libjpeg.so.62.0.0
>> 00498000-00499000 rw-p 00022000 08:01 5307
>> /usr/lib/libjpeg.so.62.0.0
>> 00499000-004ae000 r-xp 00000000 08:01 6668
>> /lib/tls/i686/cmov/libpthread-2.10.1.so
>> 004ae000-004af000 r--p 00014000 08:01 6668
>> /lib/tls/i686/cmov/libpthread-2.10.1.so
>> 004af000-004b0000 rw-p 00015000 08:01 6668
>> /lib/tls/i686/cmov/libpthread-2.10.1.so
>> 004b0000-004b2000 rw-p 00000000 00:00 0
>> 004b2000-004b9000 r-xp 00000000 08:01 5317
>> /usr/lib/libkrb5support.so.0.1
>> 004b9000-004ba000 r--p 00006000 08:01 5317
>> /usr/lib/libkrb5support.so.0.1
>> 004ba000-004bb000 rw-p 00007000 08:01 5317
>> /usr/lib/libkrb5support.so.0.1
>> 004bb000-004f0000 r-xp 00000000 08:01 321294
>> /usr/lib/grass64/lib/libgrass_vect.6.4.0R
>> C5.so
>> 004f0000-004f1000 r--p 00035000 08:01 321294
>> /usr/lib/grass64/lib/libgrass_vect.6.4.0R
>> C5.so
>> 004f1000-004f2000 rw-p 00036000 08:01 321294
>> /usr/lib/grass64/lib/libgrass_vect.6.4.0R
>> C5.so
>> 004f2000-004f3000 rw-p 00000000 00:00 0
>> 004f3000-00519000 r-xp 00000000 08:01 5469
>> /usr/lib/libpng12.so.0.37.0
>> 00519000-0051a000 r--p 00025000 08:01 5469
>> /usr/lib/libpng12.so.0.37.0
>> 0051a000-0051b000 rw-p 00026000 08:01 5469
>> /usr/lib/libpng12.so.0.37.0
>> 0051b000-0054d000 r-xp 00000000 08:01 27888
>> /usr/lib/libnetcdf.so.4.0.0
>> 0054d000-0054e000 r--p 00031000 08:01 27888
>> /usr/lib/libnetcdf.so.4.0.0
>> 0054e000-0054f000 rw-p 00032000 08:01 27888
>> /usr/lib/libnetcdf.so.4.0.0
>> 0054f000-00550000 rw-p 00000000 00:00 0
>> 00550000-00558000 r-xp 00000000 08:01 5338 /usr/lib/libltdl.so.7.2.0
>> 00558000-00559000 r--p 00007000 08:01 5338 /usr/lib/libltdl.so.7.2.0
>> 00559000-0055a000 rw-p 00008000 08:01 5338 /usr/lib/libltdl.so.7.2.0
>> 0055a000-0055e000 r-xp 00000000 08:01 321282
>> /usr/lib/grass64/lib/libgrass_vask.6.4.0R
>> C5.so
>> 0055e000-0055f000 r--p 00003000 08:01 321282
>> /usr/lib/grass64/lib/libgrass_vask.6.4.0R
>> C5.so
>> 0055f000-00560000 rw-p 00004000 08:01 321282
>> /usr/lib/grass64/lib/libgrass_vask.6.4.0R
>> C5.so
>> 00560000-00561000 rw-p 00000000 00:00 0
>> 00561000-00569000 r-xp 00000000 08:01 321278
>> /usr/lib/grass64/lib/libgrass_dbmiclient.
>> 6.4.0RC5.so
>> 00569000-0056a000 r--p 00007000 08:01 321278
>> /usr/lib/grass64/lib/libgrass_dbmiclient.
>> 6.4.0RC5.so
>> 0056a000-0056b000 rw-p 00008000 08:01 321278
>> /usr/lib/grass64/lib/libgrass_dbmiclient.
>> 6.4.0RC5.so
>> 0056b000-0058f000 r-xp 00000000 08:01 8150 /usr/lib/libpq.so.5.2
>> 0058f000-00590000 r--p 00023000 08:01 8150 /usr/lib/libpq.so.5.2
>> 00590000-00591000 rw-p 00024000 08:01 8150 /usr/lib/libpq.so.5.2
>> 00591000-005ce000 r-xp 00000000 08:01 4936
>> /usr/lib/libcurl-gnutls.so.4.1.1
>> 005ce000-005cf000 r--p 0003d000 08:01 4936
>> /usr/lib/libcurl-gnutls.so.4.1.1
>> 005cf000-005d0000 rw-p 0003e000 08:01 4936
>> /usr/lib/libcurl-gnutls.so.4.1.1
>> 005d0000-005ec000 r-xp 00000000 08:01 1539 /lib/libgcc_s.so.1
>> 005ec000-005ed000 r--p 0001b000 08:01 1539 /lib/libgcc_s.so.1
>> GRASS 6.4.0RC5 (newLocation):~ >
>>
>>
>
--
Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
http://www.igc.usp.br/pessoais/guano
Linux User #89721
________________
Can’t stop the signal.
More information about the grass-user
mailing list