id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3100,boost::math::binomial_coefficient causes Aborted (core dumped),jhair.tocancipa@…,John Maddock,"The following program: //--- #include int main () { boost::math::binomial_coefficient(6, 2); } //--- causes: $ ./a.out terminate called after throwing an instance of 'boost::exception_detail::clone_impl >' what(): bad lexical cast: source type value could not be interpreted as target Aborted (core dumped) gdb says: $ gdb ./a.out core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type ""show copying"" and ""show warranty"" for details. This GDB was configured as ""i486-linux-gnu""... warning: Can't read pathname for load map: Input/output error. Reading symbols from /home/jtocancipa/tmp/boost/lib/libboost_math_c99-gcc42-mt-1_38.so.1.38.0...done. Loaded symbols for /home/jtocancipa/tmp/boost/lib/libboost_math_c99-gcc42-mt-1_38.so.1.38.0 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/tls/i686/cmov/librt.so.1...done. Loaded symbols for /lib/tls/i686/cmov/librt.so.1 Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done. Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Core was generated by `./a.out'. Program terminated with signal 6, Aborted. [New process 22772] #0 0xb7f53410 in __kernel_vsyscall () (gdb) bt 100 #0 0xb7f53410 in __kernel_vsyscall () #1 0xb7cd5085 in raise () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7cd6a01 in abort () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7ee5480 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6 #4 0xb7ee2d05 in ?? () from /usr/lib/libstdc++.so.6 #5 0xb7ee2d42 in std::terminate () from /usr/lib/libstdc++.so.6 #6 0xb7ee2e6a in __cxa_throw () from /usr/lib/libstdc++.so.6 #7 0x0805da35 in boost::throw_exception () #8 0x0805db17 in boost::detail::lexical_cast () #9 0x0805dd3e in boost::lexical_cast () #10 0x0805edfe in boost::math::unchecked_factorial () #11 0x08061d77 in boost::math::binomial_coefficient > () #12 0x08061ef5 in boost::math::binomial_coefficient () #13 0x08050e35 in main () ",Bugs,closed,Boost 1.40.0,math,Boost 1.38.0,Problem,wontfix,,