Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35727

main.mysql-interactive fails in buildbot on debian

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 10.5
    • 10.5
    • Tests
    • None

    Description

      Failure from log: https://buildbot.mariadb.org/#/builders/586
      Builder: aarch64-bbw6-docker-debian-10-bintar

      Maybe we should try to update to use a newer readline version?

      CURRENT_TEST: main.mysql-interactive
      free(): double free detected in tcache 2
      --- /home/buildbot/aarch64-debian-10-bintar/build/mysql-test/main/mysql-interactive.result	2024-12-27 17:32:28.000000000 +0000
      +++ /home/buildbot/aarch64-debian-10-bintar/build/mysql-test/main/mysql-interactive.reject	2024-12-27 18:08:34.045947748 +0000
      @@ -11,14 +11,3 @@
       
       Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
       
      -MariaDB [(none)]> delimiter $
      -MariaDB [(none)]> select 1;
      -    -> $
      -+---+
      -| 1 |
      -+---+
      -| 1 |
      -+---+
      -1 row in set
      -
      -MariaDB [(none)]> 
      \ No newline at end of file
      Result length mismatch
       - found 'core', moving it to '/home/buildbot/aarch64-debian-10-bintar/build/mysql-test/var/15/log/main.mysql-interactive'
       - found 'core' (0/2)
      Core generated by '/home/buildbot/aarch64-debian-10-bintar/build/client//mariadb'
      Output from gdb follows. The first stack trace is from the failing thread.
      The following stack traces are from all threads (so the failing one is
      duplicated).
      --------------------------
      [New LWP 181558]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
      Core was generated by `/home/buildbot/aarch64-debian-10-bintar/build/client//mariadb --defaults-file=/'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0x0000ffffae55d884 in raise () from /lib/aarch64-linux-gnu/libc.so.6
      #0  0x0000ffffae55d884 in raise () from /lib/aarch64-linux-gnu/libc.so.6
      #1  0x0000ffffae54b968 in abort () from /lib/aarch64-linux-gnu/libc.so.6
      #2  0x0000ffffae597888 in ?? () from /lib/aarch64-linux-gnu/libc.so.6
      #3  0x0000ffffae59de4c in ?? () from /lib/aarch64-linux-gnu/libc.so.6
      #4  0x0000ffffae59f9e4 in ?? () from /lib/aarch64-linux-gnu/libc.so.6
      #5  0x0000aaaada70231c in really_free_termtype ()
      #6  0x0000aaaada7023fc in _nc_free_termtype ()
      #7  0x0000aaaada6e4bf4 in _nc_setupterm_ex ()
      #8  0x0000aaaada6e4f3c in tgetent_sp ()
      #9  0x0000aaaada6e6b58 in tgetent ()
      #10 0x0000aaaada4821c8 in _rl_init_terminal_io (terminal_name=<optimized out>) at /home/buildbot/aarch64-debian-10-bintar/build/extra/readline/terminal.c:454
      #11 0x0000aaaada46db5c in readline_initialize_everything () at /home/buildbot/aarch64-debian-10-bintar/build/extra/readline/readline.c:1025
      #12 rl_initialize () at /home/buildbot/aarch64-debian-10-bintar/build/extra/readline/readline.c:927
      #13 0x0000aaaada46dd20 in readline (prompt=<optimized out>) at /home/buildbot/aarch64-debian-10-bintar/build/extra/readline/readline.c:312
      #14 0x0000aaaada42dec4 in read_and_execute (interactive=<optimized out>) at /home/buildbot/aarch64-debian-10-bintar/build/client/mysql.cc:2174
      #15 0x0000aaaada42489c in main (argc=<optimized out>, argv=<optimized out>) at /home/buildbot/aarch64-debian-10-bintar/build/client/mysql.cc:1297

      Attachments

        Activity

          serg This is your testcase, added 1 year ago, it still fails frequently in Buildbot. Could you take a look? I tried to look, but I was not able to find any description of what the test is actually testing for, just "regression introduced by MDEV-14448".

          knielsen Kristian Nielsen added a comment - serg This is your testcase, added 1 year ago, it still fails frequently in Buildbot. Could you take a look? I tried to look, but I was not able to find any description of what the test is actually testing for, just "regression introduced by MDEV-14448 ".

          The test runs mariadb client in a terminal. The client behaves differently when it runs in a terminal and to test that behavior it has to run in a terminal.

          serg Sergei Golubchik added a comment - The test runs mariadb client in a terminal. The client behaves differently when it runs in a terminal and to test that behavior it has to run in a terminal.

          People

            serg Sergei Golubchik
            monty Michael Widenius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.