HI all,
I'm getting this bug, which seems to happen when I have two clients talking to the db at the same time, one via the command line, and one through a socket connection using the PHP API. After this error, the data appears to be corrupt and the only solution is to quit the server and all clients, restart, and drop the database. Wasn't having this problem under the same usage with 7.0.2.
THanks,
-BB
Here's the error message:
BaseX 7.7 [Client] Try help to get more information.
list
name Resources Size Input Path ------------------------------------------------------------------------- collection_guides 2 242308 /var/www/html/collection-guides/xml
1 Databases.
list collection_guides
Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 7.7 Java: Apple Inc., 1.6.0_51 OS: Mac OS X, x86_64 Stack Trace: java.lang.RuntimeException: Data Access out of bounds: - pre value: 0 - #used blocks: 0 - #total locks: 0 - access: -1 (0 > -1] at org.basex.util.Util.notexpected(Util.java:53) at org.basex.io.random.TableDiskAccess.cursor(TableDiskAccess.java:488) at org.basex.io.random.TableDiskAccess.read5(TableDiskAccess.java:211) at org.basex.data.Data.textOff(Data.java:421) at org.basex.data.DiskData.text(DiskData.java:234) at org.basex.core.cmd.List.listDB(List.java:130) at org.basex.core.cmd.List.run(List.java:49) at org.basex.core.Command.run(Command.java:345) at org.basex.core.Command.exec(Command.java:321) at org.basex.core.Command.execute(Command.java:78) at org.basex.server.ClientListener.run(ClientListener.java:145) -- Bill Beck, Web Development Specialist Massachusetts Historical Society 1154 Boylston Street, Boston, MA 02215 Tel: 617-646-0505, Fax: 617-859-0074 www.masshist.org - America's First Historical Society - Founded 1791
"The Object of History: 18th-Century Treasures from the Collections of the Massachusetts Historical Society" and "The Education of Our Children Is Never out of My Mind": John & Abigail Adams's Thoughts on Education open through September 7. More information is available at www.masshist.org/events.