|
From: <br...@br...> - 2004-06-08 11:45:37
|
Is it possible that this database is encrypted? That would give this
kind of result.
There is a patch floating around somewhere to deal with encrypted
databases.
Brian
On Mon, 7 Jun 2004 22:21:45 -0700 (PDT), Jeff Smith wrote:
>
> I can see where things start going downhill, but more information
would
> be helpful.
> 1. are you using mdbtools v0.5, or mdbtools from CVS?
> 2. what platform are you using (e.g. Linux on x86)
> 3. how was the mdb created (if Access, which version)?
>
> Here is what I can tell you at this point:
> > lseek(3, 4096, SEEK_SET) = 4096
> mdbtools has decided this is a JET3 database
> > read(3,
> "\201\310\244w\261*\307\6:\254/\3001@a\210)t\250\201\244"..., 2048) =
> 2048
> This data does not look right compared with other JET3 databases I've
> seen.
> > lseek(3, 3162402816, SEEK_SET) = -1 EINVAL (Invalid
> argument)
> We are now trying to read 3GB past the end of the file, so omething
in
> that last block
> was obviously wrong.
>
> -- Jeff Smith
>
> --- Hans Christian Studt <hc...@po...> wrote:
> > Hi,
> >
> > I get Segmentation fault on a mdb file.
> > I have included the short strace output.
> > Does anybody have a guess what goes wrong ?
> >
> ...
> >
> > stat64("mgh-base.mdb", {st_mode=S_IFREG|0755, st_size=1908736,
...})
> = 0
> > open("mgh-base.mdb", O_RDONLY) = 3
> > fstat64(3, {st_mode=S_IFREG|0755, st_size=1908736, ...}) = 0
> > lseek(3, 0, SEEK_SET) = 0
> > read(3, "\0\1\0\0Standard Jet DB\0\0\0\0\0\265n\3b`\t\302U"...,
> 2048) = 2048
> > fstat64(3, {st_mode=S_IFREG|0755, st_size=1908736, ...}) = 0
> > lseek(3, 4096, SEEK_SET) = 4096
> > read(3,
> "\201\310\244w\261*\307\6:\254/\3001@a\210)t\250\201\244"..., 2048) =
> 2048
> > fstat64(3, {st_mode=S_IFREG|0755, st_size=1908736, ...}) = 0
> > lseek(3, 3162402816, SEEK_SET) = -1 EINVAL (Invalid
> argument)
> > read(3,
"\f,\2777\362D\357e\314\365\265\352]R\236\0003s`\224\36"...,
> 2048) = 2048
> > mmap2(NULL, 4294938624, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1
> > EINVAL (Invalid argument)
> > mmap2(NULL, 2097152, PROT_NONE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) =
> > 0xf6e1b000
> > munmap(0xf6e1b000, 937984) = 0
> > munmap(0xf7000000, 110592) = 0
> > mprotect(0xf6f00000, 102400, PROT_READ|PROT_WRITE) = 0
> > mmap2(NULL, 4294938624, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1
> > EINVAL (Invalid argument)
> > mmap2(NULL, 2097152, PROT_NONE,
> MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) =
> > 0xf6d00000
> > munmap(0xf6d00000, 0) = -1 EINVAL (Invalid
> argument)
> > munmap(0xf6e00000, 1048576) = 0
> > mprotect(0xf6d00000, 102400, PROT_READ|PROT_WRITE) = 0
> > munmap(0xf6d00000, 1048576) = 0
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
> > Mon Jun 07 20:29:44 (hcs)@(tux1700)on(pts/19):
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in
Norway
> http://2004/guadec.org
> _______________________________________________
> mdbtools-dev mailing list
> mdb...@li...
> https://lists.sourceforge.net/lists/listinfo/mdbtools-dev
|