Bug fixed in the latest version, see: http://files.basex.org/releases/latest/

Am 09.06.2011 um 16:30 schrieb Godmar Back:

Thanks - I meant to say this bug isn't critical for me, but I
appreciate your prompt response.

I'm happy to confirm the bugfix if you point me at a .jar file.

- Godmar

On Thu, Jun 9, 2011 at 10:24 AM, Andreas Weiler
<andreas.weiler@uni-konstanz.de> wrote:
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