Percona Server with XtraDB

bitmap_init calls DBUG_* which may cause segmentation fault in some cases

Reported by Sergei Glushchenko on 2012-09-14
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
Percona Server
Status tracked in 5.6
5.5
High
Unassigned
5.6
High
Stewart Smith

Bug Description

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 ()

Changed in percona-server:
status: New → Confirmed
tags: added: upstream
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.