[GRASS-user] v.buffer segmentation fault

Dear grass developers,

I have a potential bug here, if everything I do is right.

I have a vector calledn england.

I run

v.buffer input=england output=england_buffer type=area buffer=1420

and all I get is segmentation fault.

P.S.: I cannot login anymore into the tracker with my ID (ct529). Can Martin
do anything about it?

Best Regards
--
Corrado Topi

Global Climate Change and Biodiversity
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct529@york.ac.uk

Corrado Topi wrote:

I have a potential bug here, if everything I do is right.

I have a vector calledn england.

I run

v.buffer input=england output=england_buffer type=area
buffer=1420

and all I get is segmentation fault.

what version of GRASS? what operating system?
can you reproduce the bug with the North Carolina or spearfish
datasets?

P.S.: I cannot login anymore into the tracker with my ID
(ct529).

can you find your login on the find-my-login-id osgeo wiki
page? (probably linked from the login/create new account page)

Hamish

1) GRASS version: 6.3, 6.4 RC4
Operating system: Linux Kubuntu 9.04 64 bit, FC 9.0 64 bit, Linux Kubuntu 904
32 bit

Which makes me assume this is a bug since the vectors are clean.

Where do I get those datasets?

2) Yes

On Friday 24 July 2009 11:03:03 you wrote:

Corrado Topi wrote:
> I have a potential bug here, if everything I do is right.
>
> I have a vector calledn england.
>
> I run
>
> v.buffer input=england output=england_buffer type=area
> buffer=1420
>
> and all I get is segmentation fault.

what version of GRASS? what operating system?
can you reproduce the bug with the North Carolina or spearfish
datasets?

> P.S.: I cannot login anymore into the tracker with my ID
> (ct529).

can you find your login on the find-my-login-id osgeo wiki
page? (probably linked from the login/create new account page)

Hamish

--
Corrado Topi

Global Climate Change & Biodiversity Indicators
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct529@york.ac.uk

Yes it is reproducible with spearfish:

v.buffer input=landcover output=lcb distance=2 --overwrite

Buffering lines...
100%
Buffering areas...
Segmentation fault
GRASS 6.4.0RC4 (Spearfish60):~ >

It may be a size dependent bug. Small vectors, v.buffer works. Large vectors it
does not.

On Friday 24 July 2009 11:34:42 Corrado wrote:

1) GRASS version: 6.3, 6.4 RC4
Operating system: Linux Kubuntu 9.04 64 bit, FC 9.0 64 bit, Linux Kubuntu
904 32 bit

Which makes me assume this is a bug since the vectors are clean.

Where do I get those datasets?

2) Yes

On Friday 24 July 2009 11:03:03 you wrote:
> Corrado Topi wrote:
> > I have a potential bug here, if everything I do is right.
> >
> > I have a vector calledn england.
> >
> > I run
> >
> > v.buffer input=england output=england_buffer type=area
> > buffer=1420
> >
> > and all I get is segmentation fault.
>
> what version of GRASS? what operating system?
> can you reproduce the bug with the North Carolina or spearfish
> datasets?
>
> > P.S.: I cannot login anymore into the tracker with my ID
> > (ct529).
>
> can you find your login on the find-my-login-id osgeo wiki
> page? (probably linked from the login/create new account page)
>
>
> Hamish

--
Corrado Topi

Global Climate Change & Biodiversity Indicators
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct529@york.ac.uk

On Fri, Jul 24, 2009 at 1:17 PM, Corrado<ct529@york.ac.uk> wrote:

Yes it is reproducible with spearfish:

v.buffer input=landcover output=lcb distance=2 --overwrite

Buffering lines...
100%
Buffering areas...
Segmentation fault

Same here with GRASS 6.5:

GRASS 6.5.svn (spearfish60):~ > gdb v.buffer
...
(gdb) r input=landcover output=lcb distance=2 --o
Starting program:
/home/neteler/grass65/dist.x86_64-unknown-linux-gnu/bin/v.buffer
input=landcover output=lcb distance=2 --o
[Thread debugging using libthread_db enabled]
WARNING: Vector map <lcb> already exists and will be overwritten
Buffering lines...
100%
Buffering areas...
[New Thread 0x7f8b055c4720 (LWP 3392)]

Program received signal SIGSEGV, Segmentation fault.
0x00007f8b051b64c8 in Vect_get_isle_points (Map=0x7fff0d60f6d0,
isle=0, BPoints=0x2362de0) at area.c:118
118 G_debug(3, " n_lines = %d", Isle->n_lines);

I have created a ticket for this:
http://trac.osgeo.org/grass/ticket/699

Markus

Hi,

2009/7/24 Corrado <ct529@york.ac.uk>:

[...]

Where do I get those datasets?

http://grass.osgeo.org/download/data.php

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Dear Martin,

thanks but I had already found them and run the tests (see previous posts).

Thanks anyway!

On Wednesday 29 July 2009 07:20:50 Martin Landa wrote:

Hi,

2009/7/24 Corrado <ct529@york.ac.uk>:

[...]

> Where do I get those datasets?

http://grass.osgeo.org/download/data.php

Martin

Best Regards
--
Corrado Topi

Global Climate Change and Biodiversity
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct529@york.ac.uk