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

[Draft] MSAN errors in galera self test

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • N/A
    • Galera
    • None

    Description

      buildbot@5a413d784da2:/build$ for a in galerautils/tests/*; do echo ====$a LD_LIBRARY_PATH=/msan-libs/ $a; echo ; done
      ====galerautils/tests/avalanche
      0.4984 : 0.5016 (delta: 0.0033)
       
      ====galerautils/tests/crc32c_bench
       INFO: CRC-32C: using 64-bit x86 acceleration.
       
      Impl:   	Bytes:	Duration:	Result:
      GU Sarwate 	11	2.060937	1417414422
      GU Slicing4	11	1.536055	1417414422
      GU Slicing8	11	1.633976	1417414422
      GU x86_32  	11	0.688337	1417414422
      GU x86_64  	11	1.239802	1417414422
       
      Impl:   	Bytes:	Duration:	Result:
      GU Sarwate 	31	3.148643	1123117257
      GU Slicing4	31	1.684383	1123117257
      GU Slicing8	31	1.695324	1123117257
      GU x86_32  	31	0.470256	1123117257
      GU x86_64  	31	0.702188	1123117257
       
      Impl:   	Bytes:	Duration:	Result:
      GU Sarwate 	64	3.059854	2651450193
      GU Slicing4	64	1.595656	2651450193
      GU Slicing8	64	1.597852	2651450193
      GU x86_32  	64	0.348857	2651450193
      GU x86_64  	64	0.398240	2651450193
       
      Impl:   	Bytes:	Duration:	Result:
      GU Sarwate 	512	2.979523	1036845834
      GU Slicing4	512	1.460025	1036845834
      GU Slicing8	512	1.482042	1036845834
      GU x86_32  	512	0.312467	1036845834
      GU x86_64  	512	0.156672	1036845834
       
      Impl:   	Bytes:	Duration:	Result:
      GU Sarwate 	1048576	3.299353	3110145204
      GU Slicing4	1048576	1.525782	3110145204
      GU Slicing8	1048576	1.444520	3110145204
      GU x86_32  	1048576	0.289053	3110145204
      GU x86_64  	1048576	0.158909	3110145204
       
      ====galerautils/tests/deqmap_bench
      Running with parameters: container type = deq, max power = 0, base loops = 1
      Power: 0
      Loops(1):MemorySanitizer:DEADLYSIGNAL
      ==1601==ERROR: MemorySanitizer: stack-overflow on address 0x7ffd389f5ea0 (pc 0x55e78256cc33 bp 0x7ffd389f66d0 sp 0x7ffd389f5ea0 T1601)
      MemorySanitizer:DEADLYSIGNAL
      MemorySanitizer: nested bug in the same thread, aborting.
       
      ====galerautils/tests/gu_tests
      Running suite(s): Galera memory utils
      Uninitialized bytes in fwrite at offset 0 inside [0x7010000000e0, 8)
      ==1603==WARNING: MemorySanitizer: use-of-uninitialized-value
          #0 0x55a5a2acdc61 in ppack (/build/galerautils/tests/gu_tests+0xe8c61) (BuildId: f93292c070637881a9469726f6bc6263c25430aa)
          #1 0x55a5a2acd2bf in send_ctx_info (/build/galerautils/tests/gu_tests+0xe82bf) (BuildId: f93292c070637881a9469726f6bc6263c25430aa)
          #2 0x55a5a2ace356 in srunner_run_setup check_run.o
          #3 0x55a5a2aceaf9 in srunner_run_tagged (/build/galerautils/tests/gu_tests+0xe9af9) (BuildId: f93292c070637881a9469726f6bc6263c25430aa)
          #4 0x55a5a2ab2fd2 in main /source/galerautils/tests/gu_tests.c:69:7
          #5 0x7f218f6ad249  (/lib/x86_64-linux-gnu/libc.so.6+0x27249) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
          #6 0x7f218f6ad304 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x27304) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
          #7 0x55a5a2a1b5a0 in _start (/build/galerautils/tests/gu_tests+0x365a0) (BuildId: f93292c070637881a9469726f6bc6263c25430aa)
       
      SUMMARY: MemorySanitizer: use-of-uninitialized-value (/build/galerautils/tests/gu_tests+0xe8c61) (BuildId: f93292c070637881a9469726f6bc6263c25430aa) in ppack
      Exiting
      ../../src/check_msg.c:133: Error in call to punpack
       
      ====galerautils/tests/gu_tests++
      Running suite(s): gu::Atomic
      Uninitialized bytes in fwrite at offset 0 inside [0x7010000011c0, 8)
      MemorySanitizer:DEADLYSIGNAL
      ==1606==ERROR: MemorySanitizer: stack-overflow on address 0x7ffc61f599d8 (pc 0x55599b77f707 bp 0x7ffc61f5a220 sp 0x7ffc61f599e0 T1606)
      MemorySanitizer:DEADLYSIGNAL
      MemorySanitizer: nested bug in the same thread, aborting.
      ../../src/check_msg.c:133: Error in call to punpack
       
      ====galerautils/tests/gu_to_test
      Starting with 16 threads and 1048576 maximum seqno.
      Created TO monitor of length 64
      1048576 seqnos in 12.171 seconds (86156.575 seqno/sec)
      Overhead at 10000 actions/second: 11.61%
      Grabbed:           735147
      Failed:            247899
      Self-cancelled:     65530
      Canceled:          293380 (can exceed total number of seqnos)
      

      #17360 0x000055974a09771f in __msan::PrintWarningWithOrigin(unsigned long, unsigned long, unsigned int) ()
      #17361 0x000055974a0aeb80 in __interceptor_fwrite ()
      #17362 0x000055974a309e62 in ppack ()
      #17363 0x000055974a3094c0 in send_ctx_info ()
      #17364 0x000055974a308807 in tcase_fn_start ()
      #17365 0x000055974a30a827 in tcase_run_tfun_nofork ()
      #17366 0x000055974a30ade2 in srunner_run_tagged ()
      #17367 0x000055974a213279 in main (argc=<optimized out>, argv=<optimized out>) at /source/galerautils/tests/gu_tests++.cpp:36
      (rr) quit
      A debugging session is active.
       
      	Inferior 1 [process 902] will be detached.
      buildbot@7c7dc7f8ebca:/build$ LD_LIBRARY_PATH=/msan-libs/ rr record galerautils/tests/gu_tests++ nofork
      
      

      Attachments

        Activity

          People

            danblack Daniel Black
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.