#78 seg faults and bad exports

open
nobody
None
5
2005-03-30
2005-03-30
Imran
No

Using version .5 (mdbtools-0.5-0.dag.rh90.rpm)

Running mdb-schema gives a segmentation fault. It stops
displaying the proper column names at the column named
"CurAgCredit". e.g.
...
CurNetLand Long Integer (4),
CurA Long Integer (4),
Long Integer (4),
...

Output of mdb-headers does not display proper data.
This appears to happen to columns that are of single or
decimal type. In dumptypes.c:
...
fprintf (stdout, "x.totalacres = ");
totalacres);
fprintf (stdout, "x.unittype = ");
dump_string (x.unittype);
fprintf (stdout, "x.grossbldarea = ");
grossbldarea);
fprintf (stdout, "x.bldcode = ");
dump_string (x.bldcode);
...
In types.h:
...
int effyr;
totalacres;
char * unittype;
grossbldarea;
char * bldcode;
...

Output of mdb-export has a lot of garbled data. The
header in the export has blanks for the column names
after "CurAgCredit" with "CurAgCredit" cut to "CurAg".
Incorrect data is sprinkled throughout the export.

Any ideas what is going on? I have noticed similar
problems with several other files.

Discussion

  • Imran
    Imran
    2005-03-30

    Access file with one tables

     
    Attachments