[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Issue 96 - SQLite 3.7.3 breakage (monotone)
From: |
code |
Subject: |
[Monotone-devel] Issue 96 - SQLite 3.7.3 breakage (monotone) |
Date: |
Sat, 16 Oct 2010 21:40:33 GMT |
Hello,
A new issue has been created and assigned
to you:
96 - SQLite 3.7.3 breakage
Project: monotone
Status: New
Reported by: Thomas Keller
Labels:
Type:Defect
Priority:Critical
Description:
Steps to reproduce the problem:
-------------------------------
$ mtn ls vars
Expected result:
----------------
Database variables
Actual results:
---------------
mtn: fatal: error: null result in query: SELECT domain, name, value FROM db_vars
mtn: this is almost certainly a bug in monotone.
...
Output of `mtn version --full`:
-------------------------------
monotone 0.99dev (base revision: 104f634f6a14e8e085ba5c89d8b95d16ae5b62c4)
Running on : Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
C++ compiler : GNU C++ version 4.0.1 (Apple Inc. build 5490)
C++ standard library: GNU libstdc++ version 20050421
Boost version : 1_44
SQLite version : 3.7.3 (compiled against 3.7.2)
Lua version : Lua 5.1
PCRE version : 8.10 2010-06-25 (compiled against 8.10)
Botan version : 1.8.10 (compiled against 1.8.10)
Changes since base revision:
format_version "1"
new_manifest [c679fc930e31daba26c09dc437f950a0d7fe7d78]
old_revision [104f634f6a14e8e085ba5c89d8b95d16ae5b62c4]
-----------
This seems to be a runtime-only problem, i.e. it doesn't matter that mtn is
compiled against 3.7.2 for the problem to pop up. The invariant in
database.cc:1537 fires, because a column we're trying to fetch returns a NULL
result:
// value is NULL
const char * value = \
(const char*)sqlite3_column_blob(i->second.stmt(), col);
I'm not sure why this is the case and I cannot take on this right now. I hope I
can evaluate the problem more in detail later on.
--
Issue: http://code.monotone.ca/p/monotone/issues/96/
- [Monotone-devel] Issue 96 - SQLite 3.7.3 breakage (monotone),
code <=