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

plugins.pam fails in buildbot with valgrind

    XMLWordPrintable

Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/9376/steps/test/logs/stdio

      plugins.pam                              w3 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2016-09-25 14:20:00
      line
      ==18242== Thread 7:
      ==18242== Invalid read of size 1
      ==18242==    at 0x4C27F72: strlen (vg_replace_strmem.c:454)
      ==18242==    by 0x62700DF: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x627131F: ??? (in /lib64/libc-2.9.so)
      ==18242==    by 0x626C6C5: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x62764A7: fprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0xE1DC235: pam_auth (auth_pam.c:168)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242==    by 0x7BC94A: do_handle_one_connection(THD*) (sql_connect.cc:1341)
      ==18242==  Address 0xc9a6350 is 0 bytes inside a block of size 9 free'd
      ==18242==    at 0x4C261C8: free (vg_replace_malloc.c:530)
      ==18242==    by 0xE6155A9: pam_end (in /lib64/libpam.so.0.81.12)
      ==18242==    by 0xE1DC208: pam_auth (auth_pam.c:167)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242==    by 0x7BC94A: do_handle_one_connection(THD*) (sql_connect.cc:1341)
      ==18242==    by 0x7BCAD9: handle_one_connection (sql_connect.cc:1262)
      ==18242==    by 0xC2E9A3: pfs_spawn_thread (pfs.cc:1860)
      ==18242==    by 0x4E3806F: start_thread (in /lib64/libpthread-2.9.so)
      ==18242==  Block was alloc'd at
      ==18242==    at 0x4C267EE: malloc (vg_replace_malloc.c:299)
      ==18242==    by 0xE618797: ??? (in /lib64/libpam.so.0.81.12)
      ==18242==    by 0xE617DF5: pam_set_item (in /lib64/libpam.so.0.81.12)
      ==18242==    by 0xEA39A04: ???
      ==18242==    by 0xE615001: ??? (in /lib64/libpam.so.0.81.12)
      ==18242==    by 0xE6148C1: pam_authenticate (in /lib64/libpam.so.0.81.12)
      ==18242==    by 0xE1DC12E: pam_auth (auth_pam.c:154)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242== Conditional jump or move depends on uninitialised value(s)
      ==18242==    at 0x626D7F2: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x627131F: ??? (in /lib64/libc-2.9.so)
      ==18242==    by 0x626C6C5: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x62764A7: fprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0xE1DC235: pam_auth (auth_pam.c:168)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242==    by 0x7BC94A: do_handle_one_connection(THD*) (sql_connect.cc:1341)
      ==18242==    by 0x7BCAD9: handle_one_connection (sql_connect.cc:1262)
      ==18242== Use of uninitialised value of size 8
      ==18242==    at 0x4C27F72: strlen (vg_replace_strmem.c:454)
      ==18242==    by 0x62700DF: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x627131F: ??? (in /lib64/libc-2.9.so)
      ==18242==    by 0x626C6C5: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x62764A7: fprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0xE1DC235: pam_auth (auth_pam.c:168)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242==    by 0x7BC94A: do_handle_one_connection(THD*) (sql_connect.cc:1341)
      ==18242== Use of uninitialised value of size 8
      ==18242==    at 0x4C27F84: strlen (vg_replace_strmem.c:454)
      ==18242==    by 0x62700DF: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x627131F: ??? (in /lib64/libc-2.9.so)
      ==18242==    by 0x626C6C5: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x62764A7: fprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0xE1DC235: pam_auth (auth_pam.c:168)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242==    by 0x7BC94A: do_handle_one_connection(THD*) (sql_connect.cc:1341)
      ==18242== Use of uninitialised value of size 8
      ==18242==    at 0x629B740: _IO_default_xsputn (in /lib64/libc-2.9.so)
      ==18242==    by 0x626F846: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x627131F: ??? (in /lib64/libc-2.9.so)
      ==18242==    by 0x626C6C5: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x62764A7: fprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0xE1DC235: pam_auth (auth_pam.c:168)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242==    by 0x7BC94A: do_handle_one_connection(THD*) (sql_connect.cc:1341)
      ==18242== Use of uninitialised value of size 8
      ==18242==    at 0x629B74F: _IO_default_xsputn (in /lib64/libc-2.9.so)
      ==18242==    by 0x626F846: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x627131F: ??? (in /lib64/libc-2.9.so)
      ==18242==    by 0x626C6C5: vfprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0x62764A7: fprintf (in /lib64/libc-2.9.so)
      ==18242==    by 0xE1DC235: pam_auth (auth_pam.c:168)
      ==18242==    by 0x5FC0A1: do_auth_once(THD*, st_mysql_lex_string const*, MPVIO_EXT*) (sql_acl.cc:12282)
      ==18242==    by 0x60D508: acl_authenticate(THD*, unsigned int) (sql_acl.cc:12394)
      ==18242==    by 0x7BB453: check_connection(THD*) (sql_connect.cc:1023)
      ==18242==    by 0x7BC0F6: login_connection(THD*) (sql_connect.cc:1091)
      ==18242==    by 0x7BC1D5: thd_prepare_connection(THD*) (sql_connect.cc:1270)
      ==18242==    by 0x7BC94A: do_handle_one_connection(THD*) (sql_connect.cc:1341)
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.