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

Error in `mysql': double free or corruption

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.0.13
    • 10.0.20
    • Scripts & Clients
    • None
    • opensuse 13.2 x86-64

    Description

      When i log in using cli and then hit CTRL-S then CTRL-D then CTRL-C the client spits following errors:

      mysql -u root
      Welcome to the MariaDB monitor.  Commands end with ; or \g.
      Your MariaDB connection id is 7
      Server version: 10.0.13-MariaDB openSUSE package
       
      Copyright (c) 2000, 2014, Oracle, SkySQL Ab and others.
       
      Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
       
      MariaDB [(none)]> ^CBye
      Ctrl-C -- exit!
      *** Error in `mysql': double free or corruption (!prev): 0x0000000001124eb0 ***
      ======= Backtrace: =========
      /lib64/libc.so.6(+0x7283f)[0x7f3cb26d983f]
      /lib64/libc.so.6(+0x780ae)[0x7f3cb26df0ae]
      /lib64/libc.so.6(+0x78db6)[0x7f3cb26dfdb6]
      mysql(mysql_end+0x42)[0x421c72]
      mysql(handle_sigint+0x1bf)[0x42213f]
      /lib64/libpthread.so.0(+0xf890)[0x7f3cb3c1e890]
      /lib64/libc.so.6(__write+0xe)[0x7f3cb273fd6e]
      /lib64/libc.so.6(_IO_file_write+0x43)[0x7f3cb26daab3]
      /lib64/libc.so.6(+0x73173)[0x7f3cb26da173]
      /lib64/libc.so.6(_IO_do_write+0x15)[0x7f3cb26db8e5]
      /lib64/libc.so.6(_IO_file_overflow+0xe3)[0x7f3cb26dbc33]
      /lib64/libc.so.6(fputc+0xb9)[0x7f3cb26d7b59]
      mysql(_Z8tee_putsPKcP8_IO_FILE+0x1e)[0x42155e]
      mysql(mysql_end+0x291)[0x421ec1]
      mysql(main+0x7a9)[0x41e309]
      /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f3cb2688b05]
      mysql[0x41ec2f]
      ======= Memory map: ========
      00400000-0071c000 r-xp 00000000 fe:01 1054820                            /usr/bin/mysql
      0091c000-00924000 r--p 0031c000 fe:01 1054820                            /usr/bin/mysql
      00924000-00998000 rw-p 00324000 fe:01 1054820                            /usr/bin/mysql
      00998000-009a1000 rw-p 00000000 00:00 0 
      01123000-0119e000 rw-p 00000000 00:00 0                                  [heap]
      7f3cb2245000-7f3cb225b000 r-xp 00000000 fe:01 134864                     /lib64/libgcc_s.so.1
      7f3cb225b000-7f3cb245a000 ---p 00016000 fe:01 134864                     /lib64/libgcc_s.so.1
      7f3cb245a000-7f3cb245b000 r--p 00015000 fe:01 134864                     /lib64/libgcc_s.so.1
      7f3cb245b000-7f3cb245c000 rw-p 00016000 fe:01 134864                     /lib64/libgcc_s.so.1
      7f3cb245c000-7f3cb2466000 r-xp 00000000 fe:01 171101                     /lib64/libnss_files-2.19.so
      7f3cb2466000-7f3cb2665000 ---p 0000a000 fe:01 171101                     /lib64/libnss_files-2.19.so
      7f3cb2665000-7f3cb2666000 r--p 00009000 fe:01 171101                     /lib64/libnss_files-2.19.so
      7f3cb2666000-7f3cb2667000 rw-p 0000a000 fe:01 171101                     /lib64/libnss_files-2.19.so
      7f3cb2667000-7f3cb2805000 r-xp 00000000 fe:01 171094                     /lib64/libc-2.19.so
      7f3cb2805000-7f3cb2a04000 ---p 0019e000 fe:01 171094                     /lib64/libc-2.19.so
      7f3cb2a04000-7f3cb2a08000 r--p 0019d000 fe:01 171094                     /lib64/libc-2.19.so
      7f3cb2a08000-7f3cb2a0a000 rw-p 001a1000 fe:01 171094                     /lib64/libc-2.19.so
      7f3cb2a0a000-7f3cb2a0e000 rw-p 00000000 00:00 0 
      7f3cb2a0e000-7f3cb2b0e000 r-xp 00000000 fe:01 171097                     /lib64/libm-2.19.so
      7f3cb2b0e000-7f3cb2d0d000 ---p 00100000 fe:01 171097                     /lib64/libm-2.19.so
      7f3cb2d0d000-7f3cb2d0e000 r--p 000ff000 fe:01 171097                     /lib64/libm-2.19.so
      7f3cb2d0e000-7f3cb2d0f000 rw-p 00100000 fe:01 171097                     /lib64/libm-2.19.so
      7f3cb2d0f000-7f3cb2d12000 r-xp 00000000 fe:01 171096                     /lib64/libdl-2.19.so
      7f3cb2d12000-7f3cb2f11000 ---p 00003000 fe:01 171096                     /lib64/libdl-2.19.so
      7f3cb2f11000-7f3cb2f12000 r--p 00002000 fe:01 171096                     /lib64/libdl-2.19.so
      7f3cb2f12000-7f3cb2f13000 rw-p 00003000 fe:01 171096                     /lib64/libdl-2.19.so
      7f3cb2f13000-7f3cb310a000 r-xp 00000000 fe:01 134493                     /lib64/libcrypto.so.1.0.0
      7f3cb310a000-7f3cb330a000 ---p 001f7000 fe:01 134493                     /lib64/libcrypto.so.1.0.0
      7f3cb330a000-7f3cb3325000 r--p 001f7000 fe:01 134493                     /lib64/libcrypto.so.1.0.0
      7f3cb3325000-7f3cb3332000 rw-p 00212000 fe:01 134493                     /lib64/libcrypto.so.1.0.0
      7f3cb3332000-7f3cb3336000 rw-p 00000000 00:00 0 
      7f3cb3336000-7f3cb3393000 r-xp 00000000 fe:01 134856                     /lib64/libssl.so.1.0.0
      7f3cb3393000-7f3cb3593000 ---p 0005d000 fe:01 134856                     /lib64/libssl.so.1.0.0
      7f3cb3593000-7f3cb3597000 r--p 0005d000 fe:01 134856                     /lib64/libssl.so.1.0.0
      7f3cb3597000-7f3cb359d000 rw-p 00061000 fe:01 134856                     /lib64/libssl.so.1.0.0
      7f3cb359d000-7f3cb35b2000 r-xp 00000000 fe:01 131213                     /lib64/libz.so.1.2.8
      7f3cb35b2000-7f3cb37b1000 ---p 00015000 fe:01 131213                     /lib64/libz.so.1.2.8
      7f3cb37b1000-7f3cb37b2000 r--p 00014000 fe:01 131213                     /lib64/libz.so.1.2.8
      7f3cb37b2000-7f3cb37b3000 rw-p 00015000 fe:01 131213                     /lib64/libz.so.1.2.8
      7f3cb37b3000-7f3cb37de000 r-xp 00000000 fe:01 134915                     /lib64/libtinfo.so.5.9
      7f3cb37de000-7f3cb39dd000 ---p 0002b000 fe:01 134915                     /lib64/libtinfo.so.5.9
      7f3cb39dd000-7f3cb39e1000 r--p 0002a000 fe:01 134915                     /lib64/libtinfo.so.5.9
      7f3cb39e1000-7f3cb39e6000 rw-p 0002e000 fe:01 134915                     /lib64/libtinfo.so.5.9
      7f3cb39e6000-7f3cb39e7000 rw-p 00000000 00:00 0 
      7f3cb39e7000-7f3cb3a0d000 r-xp 00000000 fe:01 134914                     /lib64/libncurses.so.5.9
      7f3cb3a0d000-7f3cb3c0d000 ---p 00026000 fe:01 134914                     /lib64/libncurses.so.5.9
      7f3cb3c0d000-7f3cb3c0e000 r--p 00026000 fe:01 134914                     /lib64/libncurses.so.5.9
      7f3cb3c0e000-7f3cb3c0f000 rw-p 00027000 fe:01 134914                     /lib64/libncurses.so.5.9
      7f3cb3c0f000-7f3cb3c27000 r-xp 00000000 fe:01 138573                     /lib64/libpthread-2.19.so
      7f3cb3c27000-7f3cb3e26000 ---p 00018000 fe:01 138573                     /lib64/libpthread-2.19.so
      7f3cb3e26000-7f3cb3e27000 r--p 00017000 fe:01 138573                     /lib64/libpthread-2.19.so
      7f3cb3e27000-7f3cb3e28000 rw-p 00018000 fe:01 138573                     /lib64/libpthread-2.19.so
      7f3cb3e28000-7f3cb3e2c000 rw-p 00000000 00:00 0 
      7f3cb3e2c000-7f3cb3e4c000 r-xp 00000000 fe:01 134908                     /lib64/ld-2.19.so
      7f3cb3fc9000-7f3cb4008000 r--p 00000000 fe:01 947098                     /usr/lib/locale/en_US.utf8/LC_CTYPE
      7f3cb4008000-7f3cb400e000 rw-p 00000000 00:00 0 
      7f3cb4042000-7f3cb4044000 rw-p 00000000 00:00 0 
      7f3cb4044000-7f3cb404b000 r--s 00000000 fe:01 832258                     /usr/lib64/gconv/gconv-modules.cache
      7f3cb404b000-7f3cb404c000 rw-p 00000000 00:00 0 
      7f3cb404c000-7f3cb404d000 r--p 00020000 fe:01 134908                     /lib64/ld-2.19.so
      7f3cb404d000-7f3cb404e000 rw-p 00021000 fe:01 134908                     /lib64/ld-2.19.so
      7f3cb404e000-7f3cb404f000 rw-p 00000000 00:00 0 
      7fff75111000-7fff75132000 rw-p 00000000 00:00 0                          [stack]
      7fff75150000-7fff75152000 r-xp 00000000 00:00 0                          [vdso]
      7fff75152000-7fff75154000 r--p 00000000 00:00 0                          [vvar]
      ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
      Aborted

      Attachments

        Activity

          People

            elenst Elena Stepanova
            redflo Flo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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