Hi Kristian, The other builder is set up now :) I have installed clang on the 2nd host also, but I don't know how to make the mariadb build process use clang instead of gcc / g++ ? Do I need to uninstall gcc / g++ and make a symlink ? On 15/04/2013 11:26, Kristian Nielsen wrote:
Yes, it seems to be working fine, great!
I am looking into the test failures, and I may need help with tracking down one of them. We have a test that causes the server to crash like this:
130414 13:57:41 [ERROR] mysqld got signal 6 ;
stack_bottom = 0x0 thread_stack 0x48000 mysys/stacktrace.c:247(my_print_stacktrace)[0xb2ef89] sql/signal_handler.cc:153(handle_fatal_signal)[0x71cb1b] ??:0(??)[0x7f82edc528f0] ??:0(??)[0x7f82ec98fa83] sql/mysqld.cc:5556(handle_connections_sockets())[0x51ca2e] sql/mysqld.cc:5007(mysqld_main(int, char**))[0x52359f] ??:0(??)[0x7f82ec8d1c4d] ??:0(_start)[0x516c4d]
Writing a core file
As you see, there is not much information to go by. Here are some suggestions you can try on the dan_demeter1 host to get more information available:
- Install gdb (if not there already). mysql-test-run can use gdb to obtain better stack traces from core files. It was not installed, added to my how-to and installed it on my both hosts
- Enable core files in current directory (if not enabled already). It looks like mysql-test-run does not find any core file, even though the log says that one is written. Maybe there is some default ubuntu security configuration or something that disables core files, or puts them in a different location? Not 100% sure, but something to check... uhm, Not sure how to do this. Is this http://ubuntuforums.org/archive/index.php/t-313498.html the option you are talking about? I can tweak the /etc/security/limits.conf file if needed.
- Maybe you can install debug symbols for libc (apt-get install libc6-dbg) to attempt to get better information in the stack trace (if not there already). Done that!
Check now if you have better debug messages, with gdb and debug symbols installed. If not, then I will take a look on the core file directory. Any other ideas are welcomed :) Regards, Dan