sjeiwei / sqljet

Automatically exported from code.google.com/p/sqljet
0 stars 0 forks source link

java hangs/crashes within sqljet inserts #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. untar attached sqljet-bug.tgz
2. in sqljet-bug directory, execute "sh command.sh"

What is the expected output? What do you see instead?

The provided application (in jar format) is a complicated piece of code that 
reads a file in one format and writes it as a SqlJet database.  Reproducibly 
when inserting one of the records (containing completely ordinary data) the 
Java either hangs or crashes immediately.  When I've been able to get info 
about why the Java crashes, it always shows it is within SqlJet low-level 
routines.

What version of the product are you using? On what operating system?

sqljet 1.0.7 using java-6-openjdk running under Ubuntu linux 2.6.38.

Please provide any additional information below.

I wish I could provide a simpler test case, but I have only been able to cause 
this with fairly involved write patterns.  The database is readable after 
hangs/crashes, so the schema can be found via sqlite3 or SqlJet routines.

Original issue reported on code.google.com by cdemarc...@gmail.com on 13 Oct 2011 at 10:26

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by sergey.s...@gmail.com on 13 Oct 2011 at 10:35