The attached tarball (1475058721_bug_bundle.tar.gz) gives the testcase as an exact match of our system, including some handy utilities

$ vi 1475058721_mybase         # STEP1: Update the base path in this file (usually the only change required!). If you use a non-binary distribution, please update SOURCE_DIR location also
$ ./1475058721_init            # STEP2: Initializes the data dir
$ ./1475058721_start           # STEP3: Starts mysqld
$ ./1475058721_cl              # STEP4: To check mysqld is up
$ ./1475058721_run_pquery      # STEP5: Run the testcase with the pquery binary
$ ./1475058721_run             # OPTIONAL: Run the testcase with the mysql CLI (may not reproduce the issue, as the pquery binary was used for the original testcase reduction)
$ vi /dev/shm/1475058721/error.log.out  # STEP6: Verify the error log
$ ./1475058721_gdb             # OPTIONAL: Brings you to a gdb prompt with gdb attached to the used mysqld and attached to the generated core
$ ./1475058721_parse_core      # OPTIONAL: Creates 1475058721_STD.gdb and 1475058721_FULL.gdb; standard and full variables gdb stack traces
