Bug #61289 'make test' dumped core following source build
Submitted: 25 May 2011 21:13 Modified: 18 Jan 2012 15:24
Reporter: David Hillman Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.5.12 OS:Solaris (5.10)
Assigned to: CPU Architecture:Any

[25 May 2011 21:13] David Hillman
Description:

   I downloaded the generic source for version 5.5.12, and then ran "cmake .", followed by "make".  Everything appeared normal to this point.  I then ran "make test", and received the following unexpected output...

shell:/fs2/mysql-5.5.12$ make test
Running tests...
Test project /fs2/mysql-5.5.12
      Start  1: pfs_instr_class
 1/12 Test  #1: pfs_instr_class ..................   Passed    0.00 sec
      Start  2: pfs_instr_class-oom
 2/12 Test  #2: pfs_instr_class-oom ..............   Passed    0.00 sec
      Start  3: pfs_instr
 3/12 Test  #3: pfs_instr ........................   Passed    0.00 sec
      Start  4: pfs_instr-oom
 4/12 Test  #4: pfs_instr-oom ....................   Passed    1.00 sec
      Start  5: pfs
 5/12 Test  #5: pfs ..............................   Passed    1.00 sec
      Start  6: bitmap
 6/12 Test  #6: bitmap ...........................   Passed    6.00 sec
      Start  7: base64
 7/12 Test  #7: base64 ...........................   Passed    0.00 sec
      Start  8: my_vsnprintf
 8/12 Test  #8: my_vsnprintf .....................   Passed    0.00 sec
      Start  9: my_atomic
 9/12 Test  #9: my_atomic ........................   Passed    3.00 sec
      Start 10: my_rdtsc
10/12 Test #10: my_rdtsc .........................   Passed    0.00 sec
      Start 11: lf
11/12 Test #11: lf ...............................   Passed    3.00 sec
      Start 12: my_malloc
12/12 Test #12: my_malloc ........................   Passed    0.00 sec

100% tests passed, 0 tests failed out of 12

Total Test time (real) =  16.00 sec
*** Signal 11 - core dumped
The following command caused the error:
/usr/sfw/bin/ctest --force-new-ctest-process
make: Fatal error: Command failed for target `test'
shell:/fs2/mysql-5.5.12$

   I might've expected some tests to fail, but I did not expect the test harness itself to dump core.

How to repeat:

Follow the installation instructions provided.  Download, cmake, make, make test.
[8 Jun 2011 11:40] Valeriy Kravchuk
What C compiler version do you use?
[8 Jun 2011 19:23] David Hillman
shell$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
[18 Dec 2011 15:24] Valeriy Kravchuk
Please, check if this problem still happens with a newer version, 5.5.19, in your environment. I'd also suggest upgrade gcc to a newer version, 4.1+.
[19 Jan 2012 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".