After posting orignal, I removed some commented code,
recompiled and ran with this result:

Connecting to Couchdb at http://test:test@127.0.0.1:5985
/testcouchdbglib/TestArrayField: 
begin: test_array_field
  begin: create_fake_array
  end: create_fake_array
  fake array assigned
  fake array nulled
  before loop
  before remove: length 5
  after remove: length 5
  before remove: length 4
  after remove: length 4
  before remove: length 3
  after remove: length 3
  before remove: length 2
  after remove: length 2
  before remove: length 1
  after remove: length 1

  libcouchtests: malloc.c:4071: __libc_calloc: Assertion `!mem ||
  ((((mchunkptr)((char*)(mem) - 2*(sizeof(size_t)))))->size & 0x2) || av
  == (((((mchunkptr)((char*)(mem) - 2*(sizeof(size_t)))))->size & 0x4) ?
  ((heap_info *)((unsigned long)(((mchunkptr)((char*)(mem) -
  2*(sizeof(size_t))))) & ~((2 * (512 * 1024))-1)))->ar_ptr :
  &main_arena)' failed.

  after loop 
  after loop 

should not print twice?

-- 
Regards,
Brian Winfrey

_______________________________________________
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to