The attempt to run test-couchdb-glib ends up with the following on Maverick:
Connecting to Couchdb at http://ErOGVLVdJw:SianblfwnC@127.0.0.1:37841
/testcouchdbglib/TestArrayField: OK
/testcouchdbglib/TestStructField: OK
/testcouchdbglib/ListDatabases: Segmentation fault
due to code in COUCHDB_IS_DOCUMENT macro accessing some nonexisting location.
The code also creates invalid json during json_generator_to_data serialization in case CouchdbDocument was previously parsed by couchdb-glib. An attempt to serialize "indent" member is performed, which raises json-CRITICAL node != null assertion and the testcase aborts. I suppose something around the attempt to serialize members that are not in the document at all may have something to do with that.
The attempt to run test-couchdb-glib ends up with the following on Maverick:
Connecting to Couchdb at http:// ErOGVLVdJw: SianblfwnC@ 127.0.0. 1:37841 b/TestArrayFiel d: OK b/TestStructFie ld: OK b/ListDatabases : Segmentation fault
/testcouchdbgli
/testcouchdbgli
/testcouchdbgli
due to code in COUCHDB_IS_DOCUMENT macro accessing some nonexisting location.
The code also creates invalid json during json_generator_ to_data serialization in case CouchdbDocument was previously parsed by couchdb-glib. An attempt to serialize "indent" member is performed, which raises json-CRITICAL node != null assertion and the testcase aborts. I suppose something around the attempt to serialize members that are not in the document at all may have something to do with that.