Hi basex-team,

I'm Samuel Lacmene, a software developer by B&IT Solution.
In context to change our xml-based database, we have done some research and comparison and have decided to use baseX.
I was running a performance test on the database and I found a BUG (See the error message below).

I started 100 Java-threads, they should try to query parallel some data in the database and all threads had the job to execute the same request 10 or 20 times. This error occured for 3 Queries in this test, after running the same time more time, I remarked that the error occurs randomly. Can you please tell me if you have an issue for this BUG?



Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk@mailman.uni-konstanz.de
Version: BaseX 7.3
Java: Oracle Corporation, 1.7.0
OS: Windows 7, amd64
Stack Trace:
java.nio.channels.OverlappingFileLockException
sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
sun.nio.ch.SharedFileLockTable.add(Unknown Source)
sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
org.basex.io.random.TableDiskAccess.lck(TableDiskAccess.java:183)
org.basex.io.random.TableDiskAccess.sharedLock(TableDiskAccess.java:170)
org.basex.io.random.TableDiskAccess.<init>(TableDiskAccess.java:81)
org.basex.data.DiskData.init(DiskData.java:116)
org.basex.data.DiskData.<init>(DiskData.java:86)
org.basex.core.cmd.Open.open(Open.java:76)
org.basex.query.QueryResources.open(QueryResources.java:234)
org.basex.query.QueryResources.collection(QueryResources.java:179)
org.basex.query.func.FNGen.collection(FNGen.java:117)
org.basex.query.func.FNGen.value(FNGen.java:70)
org.basex.query.func.StandardFunc.compile(StandardFunc.java:48)
org.basex.query.path.Path.compile(Path.java:69)
org.basex.query.flwor.For.compile(For.java:53)
org.basex.query.flwor.For.compile(For.java:21)
org.basex.query.flwor.GFLWOR.compile(GFLWOR.java:91)
org.basex.query.flwor.FLWR.compile(FLWR.java:32)
org.basex.query.flwor.Let.compile(Let.java:50)
org.basex.query.flwor.Let.compile(Let.java:22)
org.basex.query.flwor.GFLWOR.compile(GFLWOR.java:91)
org.basex.query.flwor.FLWR.compile(FLWR.java:32)
org.basex.query.QueryContext.analyze(QueryContext.java:231)
org.basex.query.QueryContext.compile(QueryContext.java:215)
org.basex.query.QueryProcessor.compile(QueryProcessor.java:65)
org.basex.core.cmd.AQuery.query(AQuery.java:79)
org.basex.core.cmd.XQuery.run(XQuery.java:22)
org.basex.core.Command.run(Command.java:326)
org.basex.core.Command.exec(Command.java:305)
org.basex.core.Command.execute(Command.java:77)
org.basex.server.ClientListener.run(ClientListener.java:150)


Best regards

Samuel Lacmene


PS: Besuchen Sie doch mal wieder unsere Website unter www.buit-solutions.com wenn Sie erfahren möchten, welche Lösungen wir für Ihre Geschäftsprozesse anbieten.



B&IT Solutions
Dipl.-Kfm. Rudolf Markus Petri
Lietzenburger Str. 77
10719 Berlin

Tel:0049 30 8867 6099
Fax:0049 30 8867 6159
Mail:samuel.lacmene@buit-solutions.com
Web:
www.buit-solutions.com