Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-585

LP #1050758: bitmap_init calls DBUG_* which may cause segmentation fault in some cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Sergei Glushchenko last update 23-03-2016 17:36:31

      This is a duplicate of upstream http://bugs.mysql.com/bug.php?id=65946.

      The stack trace of failure on our Jenkins slaves looks like:

      [Thread debugging using libthread_db enabled]

      Program received signal SIGSEGV, Segmentation fault.
      db_enter (func=0xb4798c "bitmap_init",
      file=0xb477c0 "/home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/mysys/my_bitmap.c",
      line=<value optimized out>, stack_frame=0x7fffffffe2a0)
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/dbug/dbug.c:1107
      1107 stack_frame>func= cs>func;
      #0 db_enter (func=0xb4798c "bitmap_init",
      file=0xb477c0 "/home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/mysys/my_bitmap.c",
      line=<value optimized out>, stack_frame=0x7fffffffe2a0)
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/dbug/dbug.c:1107
      #1 0x0000000000808678 in bitmap_init (map=0x1186c68, buf=0x1186c88,
      n_bits=128, thread_safe=0 '\000')
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/mysys/my_bitmap.c:141
      #2 0x0000000000561070 in Bitmap<128u>::init ()
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/sql/sql_bitmap.h:36
      #3 Bitmap ()
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/sql/sql_bitmap.h:33
      #4 TABLE_SHARE ()
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/sql/table.h:544
      #5 __static_initialization_and_destruction_0 ()
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/sql/sql_base.cc:206
      #6 global constructors keyed to sql_base.cc ()
      at /home/jenkins/workspace/percona-server-5.5-param/BUILD_TYPE/debug/Host/ubuntu-lucid-64bit/Percona-Server/sql/sql_base.cc:9417
      #7 0x0000000000a89756 in __do_global_ctors_aux ()
      #8 0x000000000051b7bb in _init ()
      #9 0x00007ffff71780b0 in ?? () at dlsym.c:60 from /lib/libdl.so.2
      #10 0x0000000000a896e5 in __libc_csu_init ()
      #11 0x00007ffff687bbe0 in __libc_start_main (main=<value optimized out>,
      argc=<value optimized out>, ubp_av=<value optimized out>,
      init=0xa896a0 <__libc_csu_init>, fini=0x11b5a00, rtld_fini=0x200000,
      stack_end=0x7fffffffe448) at libc-start.c:185
      #12 0x000000000051c8d9 in _start ()

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            lpjirasync lpjirasync (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist