Hi Godmar,
good news, the bug should be fixed in the newest source in github.
-- Andreas
On 09.06.2011, at 12:10, Andreas Weiler wrote:
Hi Godmar,
ok, i got the bug. I will let u know when the bug is fixed.
-- Andreas
On 08.06.2011, at 21:31, Godmar Back wrote:
Here's a reproducible testcase: http://top.cs.vt.edu/~gback/bx/b662bugs.zip Unzip, and then run './runtest.sh' in the b662bugs directory.
I created a log replayer that may come in handy for future uses: http://top.cs.vt.edu/~gback/bx/b662bugs/BaseXLogParser.java
It replays the log at http://top.cs.vt.edu/~gback/bx/b662bugs/broken.log which results in the problem.
The bin/etc/log directories are unchanged except for changes to the bin/ scripts to allow specifying user.home and the port (for stop server). I had already emailed the bugfix for basexserverstop; the diff for basexserver is appended below. It allows a caller to set VM to pass flags to the JVM.
- Godmar
--
--- /tmp/x/bin/basexserver 2011-03-21 16:23:06.000000000 -0400 +++ ./bin/basexserver 2011-06-08 03:31:41.000000000 -0400 @@ -7,11 +7,12 @@ BASEX=$PWD/../BaseX.jar
# Options for virtual machine -VM=-Xmx512m +VM=${VM:--Xmx512m}
# Classpath LIB=$PWD/../lib CP=$BASEX:$LIB/lucene-analyzers-3.0.2.jar:$LIB/tagsoup-1.2.jar:$LIB/snowball.jar
# Run code +echo java -cp "$BASEX" $VM org.basex.BaseXServer "$@" java -cp "$BASEX" $VM org.basex.BaseXServer "$@"
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk