On 24 Jan 2002 at 2:20, Troy A. Griffitts sent forth the message:

> Me and Chris are out here in Dallas at Wycliffe and have had some time
> to work together.  TreeKey and general book support are now checked in
> to cvs.  Try them out and let me know what you think.
> 
> There are test tools in the tests directory.  There is a genbooktest.cpp
> that should be of interest.  Try something like:
> 
> cd sword/tests
> mkdir yoyo
> ./genbooktest ./yoyo/mybook
> ?
> 

er, trying this on crosswire ...

[glasseyes@www tests]$ mkdir yoyo
[glasseyes@www tests]$ ./genbooktest ./yoyo/mybook
Error: 2: No such file or directory
Error: 2: No such file or directory
Segmentation fault (core dumped)
[glasseyes@www tests]$ ls
H (@H (@ybook.dat  compzip        indextest    listtest.o    romantest
H (@H (@ybook.idx  compzip.o      indextest.o  localetest    romantest.o
Makefile           configtest     introtest    localetest.o  swaptest
casttest           configtest.o   introtest.o  mgrtest       swaptest.o
casttest.o         core           keycast      mgrtest.o     testblocks
complzss           filtertest     keycast.o    modtest       testblocks.o
complzss.o         filtertest.o   keytest      modtest.o     treeidxtest
compnone           genbooktest    keytest.o    parsekey      treeidxtest.o
compnone.o         genbooktest.o  listtest     parsekey.o    yoyo
[glasseyes@www tests]$ ls yoyo
mybook.bdt
[glasseyes@www tests]$


[glasseyes@www .libs]$ !gdb
gdb ./genbooktest
GNU gdb 4.18
Copyright 1998 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"...
(gdb) set args ./yoyo/mybook
(gdb) run
Starting program: /home/glasseyes/cvs/sword/build/tests/.libs/./genbooktest 
./yoyo/mybook
Error: 2: No such file or directory
Error: 2: No such file or directory

Program received signal SIGSEGV, Segmentation fault.
0x40144525 in 
__as__t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0PCc 
(this=0x4011b53c, s=0x0)
    at ../../../libstdc++/std/straits.h:125
125     ../../../libstdc++/std/straits.h: No such file or directory.
(gdb) bt
#0  0x40144525 in 
__as__t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0PCc 
(this=0x4011b53c, s=0x0)
    at ../../../libstdc++/std/straits.h:125
#1  0x40081127 in TreeKeyIdx::getFullName (this=0x80522a0)
    at ../../src/keys/treekeyidx.cpp:133
#2  0x804ca12 in main (argc=2, argv=0xbffffc64)
    at ../../tests/genbooktest.cpp:122



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to