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

DuckDB duckdb::JemallocExtension::ThreadFlush MemorySanitizer: use-of-uninitialized-value

    XMLWordPrintable

Details

    Description

      CURRENT_TEST: duckdb.duckdb_monitor
       
          #0 0x7f1192bbfd51 in duckdb::JemallocExtension::ThreadFlush(unsigned long) (/build/mysql-test/var/plugins/ha_duckdb.so+0x854cd51) (BuildId: b665d457152558a7cef41193f4b8c984f07a2227)
          #1 0x7f118bf94555 in duckdb::Allocator::ThreadFlush(bool, unsigned long, unsigned long) (/build/mysql-test/var/plugins/ha_duckdb.so+0x1921555) (BuildId: b665d457152558a7cef41193f4b8c984f07a2227)
          #2 0x7f118cdf30bd in duckdb::TaskScheduler::ExecuteForever(std::__1::atomic<bool>*) (/build/mysql-test/var/plugins/ha_duckdb.so+0x27800bd) (BuildId: b665d457152558a7cef41193f4b8c984f07a2227)
          #3 0x7f118ce35790 in void* std::__1::__thread_proxy[abi:nqe220108]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (*)(duckdb::TaskScheduler*, std::__1::atomic<bool>*), duckdb::TaskScheduler*, std::__1::atomic<bool>*>>(void*) (/build/mysql-test/var/plugins/ha_duckdb.so+0x27c2790) (BuildId: b665d457152558a7cef41193f4b8c984f07a2227)
          #4 0x7f119bab7b7a  (/lib/x86_64-linux-gnu/libc.so.6+0x92b7a) (BuildId: c495b62edadd6c356265942ec1282d98058a7b41)
          #5 0x7f119bb357f7  (/lib/x86_64-linux-gnu/libc.so.6+0x1107f7) (BuildId: c495b62edadd6c356265942ec1282d98058a7b41)
       
        Uninitialized value was created by an allocation of 'result.i' in the stack frame
          #0 0x7f1192bbf9e7 in duckdb::JemallocExtension::ThreadFlush(unsigned long) (/build/mysql-test/var/plugins/ha_duckdb.so+0x854c9e7) (BuildId: b665d457152558a7cef41193f4b8c984f07a2227)
       
      SUMMARY: MemorySanitizer: use-of-uninitialized-value (/build/mysql-test/var/plugins/ha_duckdb.so+0x854cd51) (BuildId: b665d457152558a7cef41193f4b8c984f07a2227) in duckdb::JemallocExtension::ThreadFlush(unsigned long)
      Exiting
      ==24811==WARNING: MemorySanitizer: use-of-uninitialized-value
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.