|
i have a corrupt metakit db file.
when i read it, happen a segment fault....
so, my program is stopped...
how check whether it is corrupt or not?
the following is the part of my source.
maildb_path = FindUserHomePath(userid)
maildb = metakit.storage( maildb_path +"/accntdb.mk", 1 ) accntDBView = accntDB.view("Mail") ====> here segment fault... gdb output...
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... Core was generated by `./a.out'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libmk4.so...done. Loaded symbols for /usr/lib/libmk4.so Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/i686/libm.so.6...done. Loaded symbols for /lib/i686/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/i686/libc.so.6...done. Loaded symbols for /lib/i686/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 c4_FormatB::Define(int, unsigned char const**) (this=0x804ab98, ptr_=0x804fcb0) at ../src/univ.inl:39 39 ../src/univ.inl: No such file or directory. in ../src/univ.inl |
_____________________________________________ Metakit mailing list - [EMAIL PROTECTED] http://www.equi4.com/mailman/listinfo/metakit
