Details Ticket 4291


Comment | Reply | Take | Open


Serial Number 4291
Subject v.in.ascii memory faults with only two columns.
Area grass6
Queue grass
Requestors cedricgrass@shockfamily.net
Owner none
Status resolved
Last User Contact Fri May 12 07:58:28 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Fri May 12 07:58:28 2006 (2 yr ago)
Created Fri Apr 14 18:32:50 2006 (2 yr ago)

Transaction History Ticket 4291


Fri, Apr 14 2006 18:32:50    Request created by cshock  
Subject: v.in.ascii memory faults with only two columns.

Hi,

I'm using a recent (past couple of days) self compiled CVS grass on Ubuntu
(debian).

v.in.ascii will not import a file with just two columns. It imports the same
data correctly if there are more columns to the right.

Output:

v.in.ascii input=ascii-test.csv output=ascii_test fs=, skip=1
Maximum input row length: 8
Maximum number of columns: 2
Minimum number of columns: 2
*** glibc detected *** malloc(): memory corruption: 0x0809b1b8 ***
Aborted

Download test case:
http://www.shockfamily.net/cedric/grass/ascii-test.csv

Thanks for the help,

Cedric
Fri, May 12 2006 07:58:28    Status changed to resolved by cshock  
Fri, May 12 2006 07:58:28    Mail sent by cshock  
Fixed in CVS. Writting past end of a buffer caused segfault in malloc later.
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request