Hi, Andrew,

We really appreciate your effort in putting the test case together. 
Thanks.

I have just checked some updates that appears to be not crashing with 
the set of parameters mentioned in your message.  However, there are 
still some indications of memory leak -- this might another 
manifestation of the problem you've observed.  For the moment, I don't 
have a convenient access to valgrind, but will have it tomorrow and 
will continue to work on this at that time.

In the mean time, if you want to try the latest source code, you may 
download it from 
<https://codeforge.lbl.gov/snapshots.php?group_id=44>.  Note, the 
nightly snapshot seems to be built every night at about 3AM pacific time.

Thanks again.

John



On 7/30/2009 8:51 AM, Andrew Olson wrote:
> Hi John,
> 
> I've attached my code and a sample data set.  My makefile compiles as 
> follows:
> 
> g++ -Wall -c -g get2DDistribution.cpp
> g++ -Wall -g -lfastbit get2DDistribution.o -o get2DDist
> 
> I get the segmentation fault with these command lines (and others):
> ./get2DDist -d test -b 20 -c1 start -c2 end -w "seqid=1 and strand='+'"
> ./get2DDist -d test -b 20 -c1 start -c2 end -w "seqid=3 and strand='+'"
> 
> Oddly it works with these options for -w
> "seqid=2 and strand='+'"
> "seqid IN (1,3) and strand='+'"
> 
> 
> 
> 
> 
> 
> On Jul 29, 2009, at 6:58 PM, K. John Wu wrote:
> 
>> Hi, Andrew,
>>
>> Thanks for reporting the problem.  We have a group of users making
>> heavy use of the histograming functions, so we are very keen on fixing
>> this problem.  To do this, we would need some additional information
>> from you.
>>
>> There are four different version of get2DDistribution in ibis::part
>> class, can you tell us which version you are using?  It would be
>> helpful to also have a log file showing where the problem might be.
>> If you have a small test example with some sample data that you can
>> share with us, it would further make the debugging process a lot easier.
>>
>> John
>>
>> PS: To make FastBit code print more information about its operations,
>> you can call ibis::init with an integer of moderate size, e.g.,
>>
>> ibis::init(5);
>>
>> which set the verboseness level to 5.  Normally verboseness level is
>> set to 0, which only print errors and some warnings.
>>
>>
>> On 7/29/2009 1:13 PM, Andrew Olson wrote:
>>> Hi John,
>>> I am using ibis::part::get2DDistribution() to calculate conditional 2D
>>> histograms with adaptive bins.
>>> My program crashes whenever the constraints argument includes more
>>> than one type of column.  (e.g., UINT and CATEGORY)
>>>
>>> Andrew
>>>
>>> _______________________________________________
>>> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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