|
From: João H. F. <jo...@gm...> - 2009-10-28 00:00:36
|
2009/10/27 Markus Hoenicka <mar...@mh...>: > João Henrique Freitas writes: > > I have a problem in my firebird environment. Some firebird crashes. I > > can't test it yet. > > Can you narrow this down to particular tests? Everything works ok > here, but FreeBSD is pretty forgiving with regard to malloc > problems. I guess I'll have to repeat my tests on Debian too. Search by "todo bug firebird" in test_dbi.c. You will see many. An exemple: ./test_dbi -s test_dbi_result_bind_binary *** buffer overflow detected ***: ./test_dbi terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x37)[0x7ff12df3b2c7] /lib/libc.so.6[0x7ff12df39170] /usr/local/lib/dbd/libdbdfirebird.so(_get_row_data+0x2b1)[0x7ff12a062551] /usr/local/lib/dbd/libdbdfirebird.so(dbd_fetch_row+0x61)[0x7ff12a061ee1] /usr/local/lib/libdbi.so.0(dbi_result_seek_row+0x8c)[0x7ff12e63e7bc] ./test_dbi[0x410829] ./test_dbi[0x41483d] ./test_dbi[0x414968] ./test_dbi[0x414910] ./test_dbi[0x414910] ./test_dbi[0x414910] ./test_dbi[0x414e32] ./test_dbi[0x404340] /lib/libc.so.6(__libc_start_main+0xe6)[0x7ff12de5a5a6] ./test_dbi[0x403e79] > > How do I set up my CVS copy to send the results to cdash? Or do I have > to invoke test_dbi with some command-line parameters? Currently I am working on it. But you need to open test_dbi.cfg.in file and change some things like drivers strings, tag and OS information. Then you can execute the script run_tests.sh. If all goes well the tests will be executed and the report sends to my.cdash.org. But you will need the cmake package installed in you system. The cmake package install the ctest program which is used to send the report (Cgreen only can generate the reports in XML format. In the future it will can send too). The README file have some words about it. Of course the script run_tests.sh is just a wrap to test_dbi arguments like. I need to test it in other SO, like freebsd. This is a nice feature but need to redesign a bit to easy use. > > I didn't know this is a commercial enterprise. What is going to happen > after 6 months are over? Cdash is opensource. But the site my.cdash.org not. We back to use the free access :(. But we can setup a cdash server to libdbi projects. It's not hard. Thanks. -- ----------------------------------------------------------- João Henrique Freitas - joaohf_at_gmail.com Campinas-SP-Brasil BSD051283 LPI 1 http://www.joaohfreitas.eti.br |