From: Brian B. <ca...@ai...> - 2003-01-30 10:26:43
|
Hi, Do you have any info about the database. Is it possibly encrypted, access version 2.0 or anything funky like that? Brian On Wed, 29 Jan 2003, Wagner Matthias wrote: > Hi, > > I tried both binary .deb-packages and self compiled version of mdbtools > (with sql-support) to grab some data out of an Access DB which consists > of 4 tables without any relations or keys. mdb-ver <DB> returns > "unkown", and every other mdb-* tool segfaults. I debugged it a bit and > the error seems to be on line 39 of data.c > > Program received signal SIGSEGV, Segmentation fault. > 0x40016a31 in mdb_bind_column (table=0x804ca68, col_num=1, > bind_ptr=0xbffff918) at data.c:39 > 39 col=g_ptr_array_index(table->columns, col_num - 1); > [...] > list > > 34 MdbColumn *col; > 35 > 36 /* > 37 ** the column arrary is 0 based, so decrement to get 1 based parameter > 38 */ > 39 col=g_ptr_array_index(table->columns, col_num - 1); > 40 col->bind_ptr = bind_ptr; > 41 } > 42 void mdb_bind_len(MdbTableDef *table, int col_num, int *len_ptr) > 43 { > > And if I inspect the table-pointer, it returns a null pointer (MdbTableDef *) 0x0 > (explains the segfault ;) > Yet I am in a hurry and can't try to fix that on my own as it was a lot of work.. > any ideas what's wrong? > > mfg > Nec > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > mdbtools-dev mailing list > mdb...@li... > https://lists.sourceforge.net/lists/listinfo/mdbtools-dev > |