Hello Sedna Team,

I've been experimenting with Sedna for about a month now after trying it 
out 1 year ago.  Overall it is impressive with what you guys have 
achieved and I would like to congratulate and thank you for producing 
this product.

Can you please tell me if I am doing something wrong here as I 
experience a crash with the governor going down mid-transaction.

Running Sedna Governor Version 3.2.18 (with Java Driver on LinuxMint 
Release 7 Gloria - AMD 64 but with 32 bit OS)

Experiment with loading and dropping a simple XML document - file 
'crash/data/empty.xml'.
This is well-formed XML with no content other than a single document 
element (tagName is single underscore character)
<?xml version="1.0" encoding="UTF-8"?><_/>

First transaction on newly created database committed successfully as 
following logging from my Java application shows:

  > log: get connection
  > log: begin transaction
  > log: execute query
exists( doc( "$documents")/documents/docume...@name='doc-a'])

  > log: 1 serialized result strings
 1> log: false

  > log: execute update
LOAD 'crash/data/empty.xml' 'doc-a'

  > log: execute query
exists( doc( "$documents")/documents/docume...@name='doc-b'])

  > log: 1 serialized result strings
 1> log: false

  > log: execute update
LOAD 'crash/data/empty.xml' 'doc-b'

  > log: commit transaction
  > log: close connection


Second transaction crashed the governor when running query after DROP 
DOCUMENT update as following logging shows:

  Sedna Governor Version 3.2.18 (on LinuxMint Release 7 Gloria)
  > log: get connection
  > log: begin transaction
  > log: execute query
exists( doc( "$documents")/documents/docume...@name='doc-a'])

  > log: 1 serialized result strings
 1> log: true

  > log: execute update
DROP DOCUMENT 'doc-a'

  > log: execute query
exists( doc( "$documents")/documents/docume...@name='doc-b'])

  > log: execute query - exception class 
ru.ispras.sedna.driver.DriverException
SEDNA Message: ERROR SE3007
Failed to recieve a message.


fault-last gov log file contains :-
SEDNA soft fault message:
Failure in pping server (recv() call failed, one of the clients may be 
down).
[eof]

fault-last sm log contains :-
SEDNA soft fault message:
SEDNA GOVERNOR is down
[eof]

fault-last trn log contains :-
SEDNA soft fault message:
Access violation or stack overflow
[eof]

Thanks for your help,

Justin Johansson

btw. Please correct spelling error in yr code

Change message:
"Failed to recieve a message"
to:
Failed to receive a message

English rule is 'i' before 'e' except after 'c'

:-)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to