Hi, Jilong,

I noticed that you are using older versions of FastBit, would you mind
try the latest version?  If you want us to fix anything, ideally, we
would prefer to work on the latest version from the SVN repository.
Please visit http://codeforge.lbl.gov/projects/fastbit/ to download
the latest latest source code.

Thanks.

John


On 4/25/15 1:04 AM, wang jilong wrote:
> Hi John,
> 
> A. I was building 1.3.9 and got the following errors on running "./configure".
> My environment is SUSE 11SP1. Is it anything it missed?
> 
> ===========================
> ......
> checking whether to enable debugging...
> checking whether to enable extra optimization... no
> ./configure: line 424: test: please: integer expression expected
> configure: error: use
> ./configure: line 313: return: please: numeric argument required
> ./configure: line 323: exit: please: numeric argument required
> 
> 
> B. By using valgrind on a multi-thread C++ testing program on top of FastBit 
> 1.3.8, 
> I found several errors related to readKeys. 
> I assumed that was mentioned in ChangeLog on 02/04/2014.
> 
> ======================
> ==19829== Thread 3:
> ==19829== Invalid write of size 2
> ==19829==    at 0x4C2B18B: memcpy (vg_replace_strmem.c:916)
> ==19829==    by 0x6FD1C82: _IO_file_xsgetn (in /lib64/libc-2.11.1.so)
> ==19829==    by 0x6FC70B2: fread (in /lib64/libc-2.11.1.so)
> ==19829==    by 0x643B808: ibis::dictionary::readKeys(char const*, _IO_FILE*) 
> (dictionary.cpp:345)
> ==19829==    by 0x643BECE: ibis::dictionary::read(char const*) 
> (dictionary.cpp:238)
> ==19829==    by 0x62460BC: ibis::category::readDictionary(char const*) const 
> (category.cpp:303)
> ==19829==    by 0x62475F1: ibis::category::prepareMembers() const 
> (category.cpp:245)
> ==19829==    by 0x6248F67: ibis::category::stringSearch(char const*) const 
> (category.cpp:702)
> ==19829==    by 0x60AD984: ibis::query::weight::operator()(ibis::qExpr 
> const*) const (query.cpp:71)
> ==19829==    by 0x61DAF72: ibis::qExpr::reorder(ibis::qExpr::weight const&) 
> (qExpr.cpp:1078)
> ==19829==    by 0x60B04AB: ibis::query::reorderExpr() (query.cpp:2487)
> ==19829==    by 0x60C0EEF: ibis::query::computeHits() (query.cpp:2889)
> ==19829==  Address 0xa5895ac is 6,796 bytes inside a block of size 10,147 
> free'd
> ==19829==    at 0x4C2786E: operator delete[](void*) (vg_replace_malloc.c:542)
> ==19829==    by 0x6438D3D: ibis::dictionary::clear() (dictionary.cpp:365)
> ==19829==    by 0x643B53A: ibis::dictionary::readKeys(char const*, _IO_FILE*) 
> (dictionary.cpp:324)
> ==19829==    by 0x643BECE: ibis::dictionary::read(char const*) 
> (dictionary.cpp:238)
> ==19829==    by 0x62460BC: ibis::category::readDictionary(char const*) const 
> (category.cpp:303)
> ==19829==    by 0x62475F1: ibis::category::prepareMembers() const 
> (category.cpp:245)
> ==19829==    by 0x6248F67: ibis::category::stringSearch(char const*) const 
> (category.cpp:702)
> ==19829==    by 0x60AD984: ibis::query::weight::operator()(ibis::qExpr 
> const*) const (query.cpp:71)
> ==19829==    by 0x61DAF72: ibis::qExpr::reorder(ibis::qExpr::weight const&) 
> (qExpr.cpp:1078)
> ==19829==    by 0x60B04AB: ibis::query::reorderExpr() (query.cpp:2487)
> ==19829==    by 0x60C0EEF: ibis::query::computeHits() (query.cpp:2889)
> ==19829==    by 0x60C1271: ibis::query::evaluate(bool) (query.cpp:909)
> ==19829==
> ==19829== Invalid write of size 1
> ==19829==    at 0x4C2B1C8: memcpy (vg_replace_strmem.c:916)
> ==19829==    by 0x6FD1C82: _IO_file_xsgetn (in /lib64/libc-2.11.1.so)
> ==19829==    by 0x6FC70B2: fread (in /lib64/libc-2.11.1.so)
> ==19829==    by 0x643B808: ibis::dictionary::readKeys(char const*, _IO_FILE*) 
> (dictionary.cpp:345)
> ==19829==    by 0x643BECE: ibis::dictionary::read(char const*) 
> (dictionary.cpp:238)
> ==19829==    by 0x62460BC: ibis::category::readDictionary(char const*) const 
> (category.cpp:303)
> ==19829==    by 0x62475F1: ibis::category::prepareMembers() const 
> (category.cpp:245)
> ==19829==    by 0x6248F67: ibis::category::stringSearch(char const*) const 
> (category.cpp:702)
> ==19829==    by 0x60AD984: ibis::query::weight::operator()(ibis::qExpr 
> const*) const (query.cpp:71)
> ==19829==    by 0x61DAF72: ibis::qExpr::reorder(ibis::qExpr::weight const&) 
> (qExpr.cpp:1078)
> ==19829==    by 0x60B04AB: ibis::query::reorderExpr() (query.cpp:2487)
> ==19829==    by 0x60C0EEF: ibis::query::computeHits() (query.cpp:2889)
> ==19829==  Address 0xa58a2c2 is 10,146 bytes inside a block of size 10,147 
> free'd
> ==19829==    at 0x4C2786E: operator delete[](void*) (vg_replace_malloc.c:542)
> ==19829==    by 0x6438D3D: ibis::dictionary::clear() (dictionary.cpp:365)
> ==19829==    by 0x643B53A: ibis::dictionary::readKeys(char const*, _IO_FILE*) 
> (dictionary.cpp:324)
> ==19829==    by 0x643BECE: ibis::dictionary::read(char const*) 
> (dictionary.cpp:238)
> ==19829==    by 0x62460BC: ibis::category::readDictionary(char const*) const 
> (category.cpp:303)
> ==19829==    by 0x62475F1: ibis::category::prepareMembers() const 
> (category.cpp:245)
> ==19829==    by 0x6248F67: ibis::category::stringSearch(char const*) const 
> (category.cpp:702)
> ==19829==    by 0x60AD984: ibis::query::weight::operator()(ibis::qExpr 
> const*) const (query.cpp:71)
> ==19829==    by 0x61DAF72: ibis::qExpr::reorder(ibis::qExpr::weight const&) 
> (qExpr.cpp:1078)
> ==19829==    by 0x60B04AB: ibis::query::reorderExpr() (query.cpp:2487)
> ==19829==    by 0x60C0EEF: ibis::query::computeHits() (query.cpp:2889)
> ==19829==    by 0x60C1271: ibis::query::evaluate(bool) (query.cpp:909)
> 
> 
> Thanks
> 
> Jilong Wang
> 
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
> 
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to