Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed Unit Test for Spectral_MI bloom filter. #1

Closed
soumyabasu opened this issue Aug 1, 2012 · 2 comments
Closed

Failed Unit Test for Spectral_MI bloom filter. #1

soumyabasu opened this issue Aug 1, 2012 · 2 comments
Assignees

Comments

@soumyabasu
Copy link

#0  0x00007ffff6f9a445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff6f9dbab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff6f9310e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff6f931b2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x0000000000432dff in bf::fixed_width<unsigned char, std::allocator<unsigned char> >::increment (this=0x7fffffffd2b8, cell=6658256)
    at /home/soumya/libbf/src/store.h:81
#5  0x00000000004373de in bf::detail::spectral::minimum_increase<char [9], bf::core<bf::fixed_width<unsigned char, std::allocator<unsigned char> >, bf::default_hashing<bf::basic_hasher, bf::fixed_seed<42u> >, bf::no_partitioning> > (x=..., core=...)
    at /home/soumya/libbf/src/detail/spectral.h:90
#6  0x0000000000434785 in bf::spectral_mi<bf::core<bf::fixed_width<unsigned char, std::allocator<unsigned char> >, bf::default_hashing<bf::basic_hasher, bf::fixed_seed<42u> >, bf::no_partitioning> >::add<char [9]> (this=0x7fffffffd2b0, x=...)
    at /home/soumya/libbf/src/bloom_filter_spectral.h:27
#7  0x000000000042bd5b in spectral_mi_bloom_filter::test_method (
    this=0x7fffffffd32f) at /home/soumya/libbf/test/unit.cc:169
#8  0x000000000042bcdb in spectral_mi_bloom_filter_invoker ()
    at /home/soumya/libbf/test/unit.cc:165
#9  0x0000000000443906 in boost::unit_test::ut_detail::invoker<boost::unit_test::ut_detail::unused>::invoke<void (*)()> (this=0x7fffffffd38f, 
    f=@0x654c28: 0x42bcc7 <spectral_mi_bloom_filter_invoker()>)
    at /usr/include/boost/test/utils/callback.hpp:56
#10 0x00000000004437a0 in boost::unit_test::ut_detail::callback0_impl_t<boost::unit_test::ut_detail::unused, void (*)()>::invoke (this=0x654c20)
    at /usr/include/boost/test/utils/callback.hpp:89
#11 0x00007ffff7b9b2f1 in operator() (this=<optimized out>)
    at ./boost/test/utils/callback.hpp:118
#12 operator() (this=<optimized out>) at ./boost/test/impl/unit_test_monitor.ipp:41
#13 invoke<boost::unit_test::{anonymous}::zero_return_wrapper_t<boost::unit_test::callback0<> > > (f=..., this=<optimized out>) at ./boost/test/utils/callback.hpp:42
#14 boost::unit_test::ut_detail::callback0_impl_t<int, boost::unit_test::{anonymous}::zero_return_wrapper_t<boost::unit_test::callback0<boost::unit_test::ut_detail::unused> > >::invoke(void) (this=<optimized out>) at ./boost/test/utils/callback.hpp:89
#15 0x00007ffff7b7f4fe in operator() (this=0x7fffffffdec0)
    at ./boost/test/utils/callback.hpp:118
#16 do_invoke<boost::scoped_ptr<boost::detail::translate_exception_base>, boost::unit_test::callback0<int> > (F=..., tr=...)
    at ./boost/test/impl/execution_monitor.ipp:281
#17 boost::execution_monitor::catch_signals (this=0x7ffff7dd8980, F=...)
    at ./boost/test/impl/execution_monitor.ipp:885
#18 0x00007ffff7b7fdfb in boost::execution_monitor::execute (this=0x7ffff7dd8980, 
    F=...) at ./boost/test/impl/execution_monitor.ipp:1211
#19 0x00007ffff7b9b3eb in boost::unit_test::unit_test_monitor_t::execute_and_translate (this=0x7ffff7dd8980, tc=...) at ./boost/test/impl/unit_test_monitor.ipp:69
#20 0x00007ffff7b868a1 in boost::unit_test::framework_impl::visit (
    this=0x7ffff7dd88c0, tc=...) at ./boost/test/impl/framework.ipp:156
#21 0x00007ffff7bb8993 in boost::unit_test::traverse_test_tree (suite=..., V=...)
    at ./boost/test/impl/unit_test_suite.ipp:207
#22 0x00007ffff7b81fd1 in boost::unit_test::framework::run (id=1, 
    continue_test=<optimized out>) at ./boost/test/impl/framework.ipp:442
#23 0x00007ffff7b9a82f in boost::unit_test::unit_test_main (
    init_func=<optimized out>, argc=<optimized out>, argv=<optimized out>)
    at ./boost/test/impl/unit_test_main.ipp:185
#24 0x00000000004252ce in main (argc=1, argv=0x7fffffffe298)
    at /usr/include/boost/test/unit_test.hpp:59

This is the backtrace for the failed spectral_mi bloom filter test on my operating system (Ubuntu 12.04). Let me know if you need any more information.

@ghost ghost assigned mavam Aug 1, 2012
@mavam
Copy link
Owner

mavam commented Aug 1, 2012

Thanks for reporting the bug. It does not occur on Darwin and will test it on a Linux.

@mavam
Copy link
Owner

mavam commented Jul 17, 2013

I'm closing this issue after the recent rewrite of the library. If it still persists, please reopen it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants