Specifically which versions of the autotools did you use, just out of
curiosity?
~BAS
On Fri, 2005-09-30 at 20:59, Andreas Richter wrote:
> Hi,
> After beating autoconf, libtool, autogen and so on into pulp I have the
> CVS
> version running. It can correctly read the blobs with mdb_read_ole!!!
> Yes.
> However blobs that are longer than will cause an segment fault in
> mdb_read_ole_next. The problem seems to be that the length calculation
> is
> wrong. The following code in mdb_find_pg_row comes back with a len of
> 0xfffffb9b i.e. A negative number.
>
> mdb_swap_pgbuf(mdb);
> mdb_find_row(mdb, row, off, len);
> mdb_swap_pgbuf(mdb);
>
> In mdb_find_row the next_start is 4096 even though I am not loading the
> blob
> from the first row. By testing thing I think I figured out that
> sometimes
> blobs come with extensions, but the pg_row for the extension (i.e. The
> next
> pointer) is zero. Therefore making the following change in
> mdb_read_ole_next
> seemed to fix the crash (line 460)
>
> if (mdb_find_pg_row(mdb, col->cur_blob_pg_row,
> &buf, &row_start, &len)) {
> return 0;
> }
>
> To
>
> if (!col->cur_blob_pg_row || mdb_find_pg_row(mdb,
> col->cur_blob_pg_row,
> &buf, &row_start, &len)) {
> return 0;
> }
>
> BTW: The CVS version of mdbtools.h has an #include <config.h> which
> probably
> won't work from a normal include directory.
> Thanks,
> Andy
>
> > From: Andreas Richter <mdbtools@xxxxxxxxxxxxxxx>
> > Date: Fri, 30 Sep 2005 11:24:31 -0400
> > To: 'Sam Moffatt' <pasamio@xxxxxxxxx>, 'Andreas Richter'
> > <mdbtools@xxxxxxxxxxxxxxx>
> > Cc: <mdbtools-dev@xxxxxxxxxxxxxxxxxxxxx>
> > Subject: RE: [mdb-dev] Problem reading blobs
> >
> > No success building CVS dump under Darwin. The 0.6pre tar file did
> > work
> > correctly under a fink installation, but the autogen.sh file for the
> > CVS
> > dump did not work. Has anyone done this yet? I'll probably just
> > execute the
> > autogen.sh under linux and then move the files to Darwin. Any
> > suggestions
> > would be great.
> > Thanks,
> > Andy
> >
> > -----Original Message-----
> > From: Sam Moffatt [mailto:pasamio@xxxxxxxxx]
> > Sent: Thursday, September 29, 2005 8:17 AM
> > To: Andreas Richter
> > Cc: mdbtools-dev@xxxxxxxxxxxxxxxxxxxxx
> > Subject: Re: [mdb-dev] Problem reading blobs
> >
> > what version of the library and as others will say, the cvs version
> > has heaps of improvements in it.
> >
> > On 9/29/05, Andreas Richter <mdbtools@xxxxxxxxxxxxxxx> wrote:
> >>
> >>
> >> Hi,
> >>
> >> I am trying to read an access 2k database with blobs. After reading
> >> the
> > blob
> >> with mdb_read_ole it will give me a 4k of data. Calling
> >> mdb_read_ole_next
> >> will always tell me that there is no more data. Is mdb_read_ole
> >> currently
> >> implemented for normal blobs? Can I help implementing it? I am using
> >> the
> >> library under Mac OS X.
> >>
> >> Thanks
> >>
> >> Andy
> >>
> >
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> mdbtools-dev mailing list
> mdbtools-dev@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/mdbtools-dev
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
mdbtools-dev mailing list
mdbtools-dev@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mdbtools-dev