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

SEGFAULT in SHOW BINLOG EVENTS FROM for high invalid offsets

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 5.7.24-26, 5.6.43-84.3
    • 8.0.15-6, 5.6.44-85.0, 5.7.26-29
    • None
    • None

    Description

      SEGFAULT was found only for i386/centos:6
      https://ps.cd.percona.com/job/percona-server-5.7-pipeline/1127/

      Program terminated with signal 11, Segmentation fault.
      #0  0xf7f3a059 in __kernel_vsyscall ()
      #0  0xf7f3a059 in __kernel_vsyscall ()
      #1  0xf7f1e643 in pthread_kill () from /lib/libpthread.so.0
      #2  0x08b71feb in my_write_core (sig=11) at /tmp/ps/mysys/stacktrace.c:249
      #3  0x0839bb25 in handle_fatal_signal (sig=11) at /tmp/ps/sql/signal_handler.cc:223
      #4  <signal handler called>
      #5  0xf7aec4e7 in __memcpy_ssse3_rep () from /lib/libc.so.6
      #6  0x08ad9be8 in my_b_read (info=0xe836505c, Buffer=<value optimized out>, Count=1040187373) at /usr/include/bits/string3.h:52
      #7  0x08aeca8e in Log_event::read_log_event (file=0xe836505c, log_lock=0x0, description_event=0xe8016f98, crc_check=0 '\000') at /tmp/ps/sql/log_event.cc:1476
      #8  0x08affab7 in show_binlog_events (thd=0xe8008958, binary_log=0x9798220) at /tmp/ps/sql/binlog.cc:3488
      #9  0x08affe94 in mysql_show_binlog_events (thd=0xe8008958) at /tmp/ps/sql/binlog.cc:3597
      #10 0x08908fdb in mysql_execute_command (thd=0xe8008958, first_level=true) at /tmp/ps/sql/sql_parse.cc:3145
      #11 0x0890ccf0 in mysql_parse (thd=0xe8008958, parser_state=0xe8365f90, update_userstat=false) at /tmp/ps/sql/sql_parse.cc:5899
      #12 0x0890e3ac in dispatch_command (thd=0xe8008958, com_data=0xe83661fc, command=COM_QUERY) at /tmp/ps/sql/sql_parse.cc:1528
      #13 0x0890f590 in do_command (thd=0xe8008958) at /tmp/ps/sql/sql_parse.cc:1053
      #14 0x089ff41c in handle_connection (arg=0xb0a1890) at /tmp/ps/sql/conn_handler/connection_handler_per_thread.cc:312
      #15 0x08b8cd9f in pfs_spawn_thread (arg=0xb0bf930) at /tmp/ps/storage/perfschema/pfs.cc:2190
      #16 0xf7f19bc9 in start_thread () from /lib/libpthread.so.0
      #17 0xf7a9711e in clone () from /lib/libc.so.6
      

      Attachments

        Issue Links

          Activity

            People

              marcelo.altmann Marcelo Altmann
              przemyslaw.skibinski Przemyslaw Skibinski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 6 hours, 12 minutes
                  2d 6h 12m

                  Smart Checklist