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

main.plugin_load - AddressSanitizer: Joining already joined thread, aborting.

Details

    Description

      10.11-f6989d1767ade3486af35246a8ad5be50507ca10

      #0  0x00007ffff70ab144 in __pthread_kill_implementation () from /lib64/libc.so.6
      No symbol table info available.
      #1  0x00007ffff705365e in raise () from /lib64/libc.so.6
      No symbol table info available.
      #2  0x00007ffff703b902 in abort () from /lib64/libc.so.6
      No symbol table info available.
      #3  0x00000000008674bb in __sanitizer::Abort() ()
      No symbol table info available.
      #4  0x0000000000865655 in __sanitizer::Die() ()
      No symbol table info available.
      #5  0x0000000000861237 in __sanitizer::ThreadArgRetval::BeforeJoin(unsigned long) const ()
      No symbol table info available.
      #6  0x0000000000826ba4 in __interceptor_pthread_join ()
      No symbol table info available.
      #7  0x00007ffff7af3ff3 in daemon_example_plugin_deinit (p=<optimized out>) at /home/dan/repos/mariadb-server-10.11/plugin/daemon_example/daemon_example.cc:181
              result = <optimized out>
              plugin = <optimized out>
              con = 0x5040000005e8
              buffer = <optimized out>
              tm_tmp = <optimized out>
      #8  0x0000000000bbfb14 in plugin_deinitialize (plugin=0x5210000c2798, ref_check=<optimized out>) at /home/dan/repos/mariadb-server-10.11/sql/sql_plugin.cc:1274
              deinit = 0x0
      #9  0x0000000000bbc71a in reap_plugins () at /home/dan/repos/mariadb-server-10.11/sql/sql_plugin.cc:1345
              count = <optimized out>
              reap = 0x7fffffff9700
              plugin = 0x13de69
              list = <optimized out>
      #10 0x0000000000bc05c4 in plugin_shutdown () at /home/dan/repos/mariadb-server-10.11/sql/sql_plugin.cc:2098
              count = 73
              i = <optimized out>
              plugin = <optimized out>
              plugins = <optimized out>
              dl = <optimized out>
      #11 0x0000000000883a55 in clean_up (print_message=<optimized out>) at /home/dan/repos/mariadb-server-10.11/sql/mysqld.cc:2002
      No locals.
      #12 0x0000000000888065 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /home/dan/repos/mariadb-server-10.11/sql/mysqld.cc:6084
              ho_error = <optimized out>
              new_thread_stack_size = <optimized out>
              user = 0x5060000164d8 "root[root] @ localhost [127.0.0.1]"
              please_close_stdin = <optimized out>
      #13 0x00007ffff703d088 in __libc_start_call_main () from /lib64/libc.so.6
      No symbol table info available.
      #14 0x00007ffff703d14b in __libc_start_main_impl () from /lib64/libc.so.6
      No symbol table info available.
      #15 0x00000000007a60d5 in _start ()
      No symbol table info available.
      quit
      

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            saved by rr

            Thread 1 hit Breakpoint 1, 0x000055bcfeb0a880 in __interceptor_pthread_join ()
            (rr) bt
            #0  0x000055bcfeb0a880 in __interceptor_pthread_join ()
            #1  0x00007f3f00e12ff0 in daemon_example_plugin_deinit (p=<optimized out>) at /source/plugin/daemon_example/daemon_example.cc:181
            #2  0x000055bcfeea5664 in plugin_deinitialize (plugin=0x5210000c2798, ref_check=<optimized out>) at /source/sql/sql_plugin.cc:1274
            #3  0x000055bcfeea232a in reap_plugins () at /source/sql/sql_plugin.cc:1345
            #4  0x000055bcfeea6114 in plugin_shutdown () at /source/sql/sql_plugin.cc:2098
            #5  0x000055bcfeb69985 in clean_up (print_message=<optimized out>) at /source/sql/mysqld.cc:2006
            #6  0x000055bcfeb6e265 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /source/sql/mysqld.cc:6103
            #7  0x00007f3f084b324a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
            #8  0x00007f3f084b3305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
            #9  0x000055bcfea85ca1 in _start ()
            (rr) reverse-continue 
            Continuing.
            [New Thread 286709.286711]
             
            Thread 8 received signal SIG32, Real-time event 32.
            [Switching to Thread 286709.286711]
            0x00007f3f0855b505 in clock_nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
            (rr) reverse-continue 
            Continuing.
            [Switching to Thread 286709.286709]
             
            Thread 1 hit Breakpoint 1, 0x000055bcfeb0a880 in __interceptor_pthread_join ()
            (rr) bt
            #0  0x000055bcfeb0a880 in __interceptor_pthread_join ()
            #1  0x00007f3f00e12ef5 in daemon_example_plugin_deinit (p=<optimized out>) at /source/plugin/daemon_example/daemon_example.cc:164
            #2  0x000055bcfeea5664 in plugin_deinitialize (plugin=0x5210000c2798, ref_check=<optimized out>) at /source/sql/sql_plugin.cc:1274
            #3  0x000055bcfeea232a in reap_plugins () at /source/sql/sql_plugin.cc:1345
            #4  0x000055bcfeea6114 in plugin_shutdown () at /source/sql/sql_plugin.cc:2098
            #5  0x000055bcfeb69985 in clean_up (print_message=<optimized out>) at /source/sql/mysqld.cc:2006
            #6  0x000055bcfeb6e265 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /source/sql/mysqld.cc:6103
            #7  0x00007f3f084b324a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
            #8  0x00007f3f084b3305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
            #9  0x000055bcfea85ca1 in _start ()
            

            Two joins within a few lines of each other.

            danblack Daniel Black added a comment - saved by rr Thread 1 hit Breakpoint 1, 0x000055bcfeb0a880 in __interceptor_pthread_join () (rr) bt #0 0x000055bcfeb0a880 in __interceptor_pthread_join () #1 0x00007f3f00e12ff0 in daemon_example_plugin_deinit (p=<optimized out>) at /source/plugin/daemon_example/daemon_example.cc:181 #2 0x000055bcfeea5664 in plugin_deinitialize (plugin=0x5210000c2798, ref_check=<optimized out>) at /source/sql/sql_plugin.cc:1274 #3 0x000055bcfeea232a in reap_plugins () at /source/sql/sql_plugin.cc:1345 #4 0x000055bcfeea6114 in plugin_shutdown () at /source/sql/sql_plugin.cc:2098 #5 0x000055bcfeb69985 in clean_up (print_message=<optimized out>) at /source/sql/mysqld.cc:2006 #6 0x000055bcfeb6e265 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /source/sql/mysqld.cc:6103 #7 0x00007f3f084b324a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x00007f3f084b3305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #9 0x000055bcfea85ca1 in _start () (rr) reverse-continue Continuing. [New Thread 286709.286711]   Thread 8 received signal SIG32, Real-time event 32. [Switching to Thread 286709.286711] 0x00007f3f0855b505 in clock_nanosleep () from /lib/x86_64-linux-gnu/libc.so.6 (rr) reverse-continue Continuing. [Switching to Thread 286709.286709]   Thread 1 hit Breakpoint 1, 0x000055bcfeb0a880 in __interceptor_pthread_join () (rr) bt #0 0x000055bcfeb0a880 in __interceptor_pthread_join () #1 0x00007f3f00e12ef5 in daemon_example_plugin_deinit (p=<optimized out>) at /source/plugin/daemon_example/daemon_example.cc:164 #2 0x000055bcfeea5664 in plugin_deinitialize (plugin=0x5210000c2798, ref_check=<optimized out>) at /source/sql/sql_plugin.cc:1274 #3 0x000055bcfeea232a in reap_plugins () at /source/sql/sql_plugin.cc:1345 #4 0x000055bcfeea6114 in plugin_shutdown () at /source/sql/sql_plugin.cc:2098 #5 0x000055bcfeb69985 in clean_up (print_message=<optimized out>) at /source/sql/mysqld.cc:2006 #6 0x000055bcfeb6e265 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /source/sql/mysqld.cc:6103 #7 0x00007f3f084b324a in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x00007f3f084b3305 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #9 0x000055bcfea85ca1 in _start () Two joins within a few lines of each other.
            danblack Daniel Black added a comment -

            Thanks for reviews.

            danblack Daniel Black added a comment - Thanks for reviews.

            People

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