From: KEVIN Z. <KZE...@jh...> - 2003-07-10 18:22:53
|
Michael, thank you for your response. I tried both things, to see if there was difference. Here's the output of = the debugging, after compiling with the -g option: www:/home/kevinz/mdbtools-0.5rc2# gdb mdb-export GNU gdb 2002-04-01-cvs 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-linux"... (gdb) run -H ../budgetdb/budgettables.mdb BCODE Starting program: /usr/local/bin/mdb-export -H ../budgetdb/budgettables.mdb= BCODE Program received signal SIGSEGV, Segmentation fault. 0x08048db3 in main (argc=3D4, argv=3D0xbffff914) at mdb-export.c:103 103 if (quote_text && is_text_type(col-= >col_type)) { (gdb) backtrace #0 0x08048db3 in main (argc=3D4, argv=3D0xbffff914) at mdb-export.c:103 (gdb)=20 Just pressing RETURN when asked for the password gave the same result: kevinz@www:~$ cvs -d:pserver:ano...@cv...:/cvsroo= t/mdbtools login Logging in to :pserver:ano...@cv...:2401/cvsroot/= mdbtools CVS password: [Just pressed RETURN here] cvs [login aborted]: recv() from server cvs.mdbtools.sourceforge.net: = Connection reset by peer kevinz@www:~$ cvs -z3 -d:pserver:ano...@cv...:/cv= sroot/mdbtools co mdbtools cvs checkout: failed to open /home/kevinz/.cvspass for reading: No such = file or directory cvs [checkout aborted]: recv() from server cvs.mdbtools.sourceforge.net: = EOF kevinz@www:~$=20 Michael, thanks again for your help. -Kevin Zembower >>> Michael Wood <mw...@it...> 07/10/03 08:21AM >>> On Wed, Jul 09, 2003 at 01:06:05PM -0400, KEVIN ZEMBOWER wrote: > I'm trying to get my first installation of MDB tools working. I'm also = not familiar with CVS, so I couldn't get this command to work: > www:~# cvs -d:pserver:ano...@cv...:/cvsroot/mdb= tools login [snip] > I tried putting in 'anonymous' and my email address in response to the > password prompt, but neither was accepted. Try just pressing ENTER without typing anything for the password. > Then, I got the 0.5rc2 tarball and did the dance: tar zxvf > mdbtools-0.5rc2.tar.gz; cd mdbtools-0.5rc2/; ./configure --enable-sql; > make; su -; make install. All seemed to go well, except for some > complaints about missing libglade and libgnomeui, which didn't stop > the build. mdbtools seems to be working, except for a Segmentation > fault when the '-H' (omit the header row) is used: [snip] > kevinz@www:~/budgetdb$ mdb-export -H budgettables.mdb BCODE > Segmentation fault > kevinz@www:~/budgetdb$=20 >=20 > Any ideas on how to troubleshoot this problem? I tried to search the You could try compiling everything with debugging and then run that command under gdb. e.g. $ CFLAGS=3D"-g" ./configure ... $ make $ gdb mdb-export [...] (gdb) run -H budgettables.mdb BCODE Then when it crashes, type: (gdb) backtrace If you post that to the list someone should be able to tell what the problem is. --=20 Michael Wood <mw...@it...> |