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

Blocks are still reachable in loss record in os_event_create / rw_lock_create_func

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.2, 10.3, 10.4
    • Fix Version/s: 10.2, 10.3, 10.4
    • Component/s: Server, Tests
    • Labels:
      None
    • Environment:
      gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 , valgrind-3.12.0.SVN

      Description

      10.2 8129ff14

      perl ./mtr --valgrind rpl.rpl_parallel_partition
       
      rpl.rpl_parallel_partition 'innodb,mix'  [ fail ]  Found warnings/errors in server log file!
              Test ended at 2019-12-17 15:28:31
      line
      ==18753== 112 bytes in 1 blocks are still reachable in loss record 3 of 7
      ==18753==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18753==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18753==    by 0xD4EEC2: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:237)
      ==18753==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18753==    by 0xD3F7C6: srv_purge_coordinator_thread (srv0srv.cc:2859)
      ==18753==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18753==    by 0x6938D0E: clone (clone.S:97)
      ==18753== 112 bytes in 1 blocks are still reachable in loss record 4 of 7
      ==18753==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18753==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18753==    by 0xD4EED7: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:238)
      ==18753==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18753==    by 0xD3F7C6: srv_purge_coordinator_thread (srv0srv.cc:2859)
      ==18753==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18753==    by 0x6938D0E: clone (clone.S:97)
      ==18753== 336 bytes in 3 blocks are still reachable in loss record 6 of 7
      ==18753==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18753==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18753==    by 0xD4EEC2: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:237)
      ==18753==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18753==    by 0xD3EECE: srv_worker_thread (srv0srv.cc:2605)
      ==18753==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18753==    by 0x6938D0E: clone (clone.S:97)
      ==18753== 336 bytes in 3 blocks are still reachable in loss record 7 of 7
      ==18753==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18753==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18753==    by 0xD4EED7: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:238)
      ==18753==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18753==    by 0xD3EECE: srv_worker_thread (srv0srv.cc:2605)
      ==18753==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18753==    by 0x6938D0E: clone (clone.S:97)
      ^ Found warnings in /data/bld/10.2-valgrind-nightly/mysql-test/var/log/mysqld.1.err
      ok
       
       - saving '/data/bld/10.2-valgrind-nightly/mysql-test/var/log/rpl.rpl_parallel_partition-innodb,mix/' to '/data/bld/10.2-valgrind-nightly/mysql-test/var/log/rpl.rpl_parallel_partition-innodb,mix/'
      ***Warnings generated in error logs during shutdown after running tests: rpl.rpl_parallel_partition
       
      ==18837== 112 bytes in 1 blocks are still reachable in loss record 3 of 7
      ==18837==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18837==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18837==    by 0xD4EEC2: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:237)
      ==18837==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18837==    by 0xD3F7C6: srv_purge_coordinator_thread (srv0srv.cc:2859)
      ==18837==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18837==    by 0x6938D0E: clone (clone.S:97)
      ==18837== 112 bytes in 1 blocks are still reachable in loss record 4 of 7
      ==18837==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18837==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18837==    by 0xD4EED7: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:238)
      ==18837==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18837==    by 0xD3F7C6: srv_purge_coordinator_thread (srv0srv.cc:2859)
      ==18837==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18837==    by 0x6938D0E: clone (clone.S:97)
      ==18837== 336 bytes in 3 blocks are still reachable in loss record 6 of 7
      ==18837==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18837==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18837==    by 0xD4EEC2: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:237)
      ==18837==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18837==    by 0xD3EECE: srv_worker_thread (srv0srv.cc:2605)
      ==18837==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18837==    by 0x6938D0E: clone (clone.S:97)
      ==18837== 336 bytes in 3 blocks are still reachable in loss record 7 of 7
      ==18837==    at 0x4C2C4AF: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:377)
      ==18837==    by 0xC48FE9: os_event_create(char const*) (os0event.cc:434)
      ==18837==    by 0xD4EED7: rw_lock_create_func(rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.cc:238)
      ==18837==    by 0xD3A06C: pfs_rw_lock_create_func(unsigned int, rw_lock_t*, latch_level_t, char const*, unsigned int) (sync0rw.ic:508)
      ==18837==    by 0xD3EECE: srv_worker_thread (srv0srv.cc:2605)
      ==18837==    by 0x4E3F4A3: start_thread (pthread_create.c:456)
      ==18837==    by 0x6938D0E: clone (clone.S:97)
      

      Many other tests fail the same way

        Attachments

          Activity

            People

            Assignee:
            kevg Eugene Kosov
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: