Package: virtuoso-opensource-6.1-bin
Version: 6.1.0+dfsg2-2
Severity: grave
Hello,
it has come to my knowledge that apparently internal database format of
6.1.0+dfsg2-2 has changed in the binary incompatible way with 6.1.0+dfsg2-1.
SQARQL queries fail hinting internal problems when they are executed with
virtuoso-t 6.1.0+dfsg2-2 that uses database files initially produced with
6.1.0+dfsg2-1. The bug has been confirmed on at least i386 and amd64.
For example, if I generate KDE nepomuk index with 6.1.0+dfsg2-1 and later
upgrade to 6.1.0+dfsg2-2, nepomuk starts re-indexing even if it should not and
otherwise behaves weirdly all over the map. However, if I start 6.1.0+dfsg2-2
without any database files and let it create them from scratch, everything
works as expected.
Demonstration of 6.1.0+dfsg2-1 vs. 6.1.0+dfsg2-2 incompatibilities
------------------------------------------------------------------
1) Install virtuoso-minimal 6.1.0+dfsg2-1.
2) Disable nepomuk, remove previous databases files (if any).
$ ls -lh
.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso*
-rw------- 1 modax modax 50M 2010-03-24 01:48
.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.db
-rw-r--r-- 1 modax modax 15 2010-03-24 01:45
.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.lck
-rw-r--r-- 1 modax modax 0 2010-03-24 01:45
.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.log
-rw-r--r-- 1 modax modax 0 2010-03-24 01:45
.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.pxa
-rw-r--r-- 1 modax modax 2,0M 2010-03-24 01:45
.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso-temp.db
-rw-r--r-- 1 modax modax 24M 2010-03-24 01:48
.kde/share/apps/nepomuk/repository/main/data/virtuosobackend/soprano-virtuoso.trx
$ rm -rf /home/modax/.kde/share/apps/nepomuk/repository/
3) Start nepomuk. Let it create an index.
4) Execute a simple query. Everything is just fine here.
$ isql-vt
OpenLink Interactive SQL (Virtuoso), version 0.9849b.
Type HELP; for help and EXIT; to exit.
SQL> sparql select * where { ?a ?b ?c } limit 5;
Connected to OpenLink Virtuoso
Driver: 06.01.3126 OpenLink Virtuoso ODBC Driver
a
b
c
VARCHAR
VARCHAR
VARCHAR
_______________________________________________________________________________
http://www.openlinksw.com/virtrdf-data-formats#default-iid
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
http://www.openlinksw.com/virtrdf-data-formats#default-iid-nullable
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
http://www.openlinksw.com/virtrdf-data-formats#default-iid-nonblank
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
http://www.openlinksw.com/virtrdf-data-formats#default-iid-nonblank-nullable
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
http://www.openlinksw.com/virtrdf-data-formats#default
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat
5 Rows. -- 1 msec.
5) Stop nepomuk, make sure it stops virtuoso-t as well.
6) Upgrade virtuoso to 6.1.0+dfsg2-2:
libvirtodbc0 virtuoso-minimal virtuoso-opensource-6.1-bin
virtuoso-opensource-6.1-common
$ sudo aptitude dist-upgrade
7) Start nepomuk. It starts virtuoso-t and begin reindexing again (albeit
unsuccessfully). What is more, at that point, nepomuk ceases working properly
in general.
8) Execute the same simple query as in (4). It fails...
$ isql-vt
OpenLink Interactive SQL (Virtuoso), version 0.9849b.
Type HELP; for help and EXIT; to exit.
SQL> sparql select * where { ?a ?b ?c } limit 5;
Connected to OpenLink Virtuoso
Driver: 06.01.3126 OpenLink Virtuoso ODBC Driver
*** Error RDFXX: [Virtuoso Driver][Virtuoso Server].....: IRI ID 381 does not
match any known IRI in __rdf_sqlval_of_obj()
at line 1 of Top-Level:
sparql select * where { ?a ?b ?c } limit 5
SQL>
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33-2-amd64 (SMP w/1 CPU core)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages virtuoso-opensource-6.1-bin depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libpcre3 7.8-3 Perl 5 Compatible Regular Expressi
ii libreadline5 5.2-7 GNU readline and history libraries
ii libssl0.9.8 0.9.8m-2 SSL shared libraries
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
virtuoso-opensource-6.1-bin recommends no packages.
virtuoso-opensource-6.1-bin suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]