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

Crash with libssl3

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • None
    • N/A
    • SSL
    • None
    • Debian 12, amd64
    • Not for Release Notes

    Description

      I have no idea why this is happening...

      libssl3 == 3.0.17-1~deb12u1

      2025-08-05 14:47:50 0 [Note] Starting MariaDB 11.8.2-MariaDB-deb12 source revision 8d36cafe4fc700e6e577d5a36650c58707e76b92 server_uid 5mY4deptHiB0yKzyDTLu35GGACg= as process 4058
      2025-08-05 14:47:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
      2025-08-05 14:47:50 0 [Note] InnoDB: Number of transaction pools: 1
      2025-08-05 14:47:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
      2025-08-05 14:47:50 0 [Note] InnoDB: Using liburing
      2025-08-05 14:47:50 0 [Note] InnoDB: innodb_buffer_pool_size_max=16384m, innodb_buffer_pool_size=16384m
      2025-08-05 14:47:51 0 [Note] InnoDB: Completed initialization of buffer pool
      2025-08-05 14:47:51 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
      2025-08-05 14:47:51 0 [Note] InnoDB: End of log at LSN=161257391274
      2025-08-05 14:47:51 0 [Note] InnoDB: Opened 3 undo tablespaces
      2025-08-05 14:47:51 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
      2025-08-05 14:47:51 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
      2025-08-05 14:47:51 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
      2025-08-05 14:47:51 0 [Note] InnoDB: log sequence number 161257391274; transaction id 51045544
      2025-08-05 14:47:51 0 [Note] InnoDB: Loading buffer pool(s) from /srv/mysql/ib_buffer_pool
      2025-08-05 14:47:51 0 [Note] Plugin 'wsrep-provider' is disabled.
      2025-08-05 14:47:55 0 [Note] Server socket created on IP: '0.0.0.0'.
      2025-08-05 14:47:55 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
      2025-08-05 14:47:55 0 [Note] /usr/sbin/mariadbd: ready for connections.
      Version: '11.8.2-MariaDB-deb12'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
      2025-08-05 14:47:56 0 [Note] InnoDB: Buffer pool(s) load completed at 250805 14:47:56
      250806 10:42:41 [ERROR] /usr/sbin/mariadbd got signal 11 ;
      Sorry, we probably made a mistake, and this is a bug.
       
      Your assistance in bug reporting will enable us to fix this for the next release.
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs about how to report
      a bug on https://jira.mariadb.org/.
       
      Please include the information from the server start above, to the end of the
      information below.
       
      Server version: 11.8.2-MariaDB-deb12 source revision: 8d36cafe4fc700e6e577d5a36650c58707e76b92
       
      The information page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/
      contains instructions to obtain a better version of the backtrace below.
      Following these instructions will help MariaDB developers provide a fix quicker.
       
      Attempting backtrace. Include this in the bug report.
      (note: Retrieving this information may fail)
       
      Thread pointer: 0x7f65c8000c68
      stack_bottom = 0x7f665837e000 thread_stack 0x49000
      2025-08-06 10:42:41 0 [Note] /usr/sbin/mariadbd (initiated by: unknown): Normal shutdown
      mysys/stacktrace.c:216(my_print_stacktrace)[0x5625a58cf48e]
      sql/signal_handler.cc:230(handle_fatal_signal)[0x5625a53a48d3]
      /lib/x86_64-linux-gnu/libc.so.6(+0x3c050)[0x7f6a9045b050]
      /lib/x86_64-linux-gnu/libcrypto.so.3(OSSL_STORE_eof+0x12)[0x7f6a90cb0652]
      /lib/x86_64-linux-gnu/libcrypto.so.3(OSSL_STORE_load+0xb6)[0x7f6a90cb0ae6]
      /lib/x86_64-linux-gnu/libcrypto.so.3(+0x2c0271)[0x7f6a90cc0271]
      /lib/x86_64-linux-gnu/libcrypto.so.3(+0x2c043d)[0x7f6a90cc043d]
      /lib/x86_64-linux-gnu/libcrypto.so.3(X509_STORE_CTX_get_by_subject+0xeb)[0x7f6a90cdc1fb]
      /lib/x86_64-linux-gnu/libcrypto.so.3(X509_STORE_CTX_get1_issuer+0x6a)[0x7f6a90cdca6a]
      /lib/x86_64-linux-gnu/libcrypto.so.3(+0x2e0e87)[0x7f6a90ce0e87]
      /lib/x86_64-linux-gnu/libcrypto.so.3(+0x2e2ad6)[0x7f6a90ce2ad6]
      /lib/x86_64-linux-gnu/libcrypto.so.3(X509_verify_cert+0xbc)[0x7f6a90ce3bac]
      /lib/x86_64-linux-gnu/libssl.so.3(+0x72016)[0x7f6a90f2f016]
      /lib/x86_64-linux-gnu/libssl.so.3(+0x75fd5)[0x7f6a90f32fd5]
      /lib/x86_64-linux-gnu/libssl.so.3(+0x668ff)[0x7f6a90f238ff]
      vio/viossl.c:284(ssl_handshake_loop)[0x5625a5545c47]
      psi/mysql_thread.h:986(parse_client_handshake_packet(MPVIO_EXT*, unsigned char**, unsigned long))[0x5625a5090893]
      sql/sql_acl.cc:14492(server_mpvio_read_packet(st_plugin_vio*, unsigned char**))[0x5625a50913be]
      sql/sql_acl.cc:15190(native_password_authenticate(st_plugin_vio*, st_mysql_server_auth_info*))[0x5625a506bd39]
      sql/sql_acl.cc:14684(do_auth_once(THD*, st_mysql_const_lex_string const*, MPVIO_EXT*) [clone .constprop.0])[0x5625a506eb09]
      sql/sql_acl.cc:14771(acl_authenticate(THD*, unsigned int))[0x5625a50921b1]
      sql/sql_connect.cc:1090(check_connection(THD*))[0x5625a5253fd5]
      sql/sql_connect.cc:1156(thd_prepare_connection(THD*))[0x5625a525482a]
      sql/sql_connect.cc:1405(do_handle_one_connection(CONNECT*, bool))[0x5625a52552b2]
      sql/sql_connect.cc:1327(handle_one_connection)[0x5625a5255635]
      perfschema/pfs.cc:2201(pfs_spawn_thread)[0x5625a55e71ec]
      /lib/x86_64-linux-gnu/libc.so.6(+0x891f5)[0x7f6a904a81f5]
      /lib/x86_64-linux-gnu/libc.so.6(+0x10989c)[0x7f6a9052889c]
       
      Connection ID (thread ID): 118234
      Status: KILL_SERVER
      Query (0x0): (null)
      Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off,hash_join_cardinality=on,cset_narrowing=on,sargable_casefold=on
       
      Writing a core file...
      Working directory at /srv/mysql
      Resource Limits (excludes unlimited resources):
      Limit                     Soft Limit           Hard Limit           Units
      Max stack size            8388608              unlimited            bytes
      Max processes             514510               514510               processes
      Max open files            32768                32768                files
      Max locked memory         524288               524288               bytes
      Max pending signals       514510               514510               signals
      Max msgqueue size         819200               819200               bytes
      Max nice priority         0                    0
      Max realtime priority     0                    0
      Core pattern: |/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h %d
       
      Kernel version: Linux version 6.1.0-37-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22)
      

      coredump:

                 PID: 4058 (mariadbd)
                 UID: 115 (mysql)
                 GID: 118 (mysql)
              Signal: 11 (SEGV)
           Timestamp: Wed 2025-08-06 10:42:50 CEST (1h 11min ago)
        Command Line: /usr/sbin/mariadbd
          Executable: /usr/sbin/mariadbd
       Control Group: /system.slice/mariadb.service
                Unit: mariadb.service
               Slice: system.slice
             Boot ID: d0a5cf218e5e4223894860fba14558fc
          Machine ID: 232b374951de413881d1756b2954dc5c
            Hostname: hades
             Storage: /var/lib/systemd/coredump/core.mariadbd.115.d0a5cf218e5e4223894860fba14558fc.4058.1754469770000000.zst (present)
        Size on Disk: 60.5M
             Package: mariadb/1:11.8.2+maria~deb12
            build-id: 841894747f743dc048987fec353bda3a38703551
             Message: Process 4058 (mariadbd) of user 115 dumped core.
       
                      Module metadata_lock_info.so from deb mariadb-1:11.8.2+maria~deb12.amd64
                      Module query_response_time.so from deb mariadb-1:11.8.2+maria~deb12.amd64
                      Module libsystemd.so.0 from deb systemd-252.38-1~deb12u1.amd64
                      Module mariadbd from deb mariadb-1:11.8.2+maria~deb12.amd64
                      Stack trace of thread 24456:
                      #0  0x00007f6a904a9eec n/a (libc.so.6 + 0x8aeec)
                      #1  0x00005625a53a4948 handle_fatal_signal (mariadbd + 0xb22948)
                      #2  0x00007f6a9045b050 n/a (libc.so.6 + 0x3c050)
                      #3  0x00007f6a90cb0652 OSSL_STORE_eof (libcrypto.so.3 + 0x2b0652)
                      #4  0x00007f6a90cb0ae6 OSSL_STORE_load (libcrypto.so.3 + 0x2b0ae6)
                      #5  0x00007f6a90cc0271 n/a (libcrypto.so.3 + 0x2c0271)
                      #6  0x00007f6a90cc043d n/a (libcrypto.so.3 + 0x2c043d)
                      #7  0x00007f6a90cdc1fb X509_STORE_CTX_get_by_subject (libcrypto.so.3 + 0x2dc1fb)
                      #8  0x00007f6a90cdca6a X509_STORE_CTX_get1_issuer (libcrypto.so.3 + 0x2dca6a)
                      #9  0x00007f6a90ce0e87 n/a (libcrypto.so.3 + 0x2e0e87)
                      #10 0x00007f6a90ce2ad6 n/a (libcrypto.so.3 + 0x2e2ad6)
                      #11 0x00007f6a90ce3bac X509_verify_cert (libcrypto.so.3 + 0x2e3bac)
                      #12 0x00007f6a90f2f016 n/a (libssl.so.3 + 0x72016)
                      #13 0x00007f6a90f32fd5 n/a (libssl.so.3 + 0x75fd5)
                      #14 0x00007f6a90f238ff n/a (libssl.so.3 + 0x668ff)
                      #15 0x00005625a5545c47 ssl_handshake_loop (mariadbd + 0xcc3c47)
                      #16 0x00005625a5090893 parse_client_handshake_packet (mariadbd + 0x80e893)
                      #17 0x00005625a50913be server_mpvio_read_packet (mariadbd + 0x80f3be)
                      #18 0x00005625a506bd39 native_password_authenticate (mariadbd + 0x7e9d39)
                      #19 0x00005625a506eb09 do_auth_once (mariadbd + 0x7ecb09)
                      #20 0x00005625a50921b1 _Z16acl_authenticateP3THDj (mariadbd + 0x8101b1)
                      #21 0x00005625a5253fd5 check_connection (mariadbd + 0x9d1fd5)
                      #22 0x00005625a525482a login_connection (mariadbd + 0x9d282a)
                      #23 0x00005625a52552b2 _Z24do_handle_one_connectionP7CONNECTb (mariadbd + 0x9d32b2)
                      #24 0x00005625a5255635 handle_one_connection (mariadbd + 0x9d3635)
                      #25 0x00005625a55e71ec pfs_spawn_thread (mariadbd + 0xd651ec)
                      #26 0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #27 0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 4163:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a78bc pthread_cond_timedwait (libc.so.6 + 0x888bc)
                      #2  0x00005625a4fac9c1 psi_cond_timedwait (mariadbd + 0x72a9c1)
                      #3  0x00005625a4facb9d inline_mysql_cond_timedwait (mariadbd + 0x72ab9d)
                      #4  0x00005625a55e71ec pfs_spawn_thread (mariadbd + 0xd651ec)
                      #5  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #6  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 4058:
                      #0  0x00007f6a9051d99c __select (libc.so.6 + 0xfe99c)
                      #1  0x00005625a58cd1dc my_sleep (mariadbd + 0x104b1dc)
                      #2  0x00005625a500a131 close_connections (mariadbd + 0x788131)
                      #3  0x00007f6a9044624a n/a (libc.so.6 + 0x2724a)
                      #4  0x00007f6a90446305 __libc_start_main (libc.so.6 + 0x27305)
                      #5  0x00005625a4ffd081 _start (mariadbd + 0x77b081)
       
                      Stack trace of thread 4901:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a75d8 pthread_cond_wait (libc.so.6 + 0x885d8)
                      #2  0x00005625a57d7e7c buf_flush_page_cleaner (mariadbd + 0xf55e7c)
                      #3  0x00007f6a906d44a3 n/a (libstdc++.so.6 + 0xd44a3)
                      #4  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #5  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 4209:
                      #0  0x00007f6a910599f7 n/a (liburing.so.2 + 0x29f7)
                      #1  0x00007f6a91059c39 __io_uring_get_cqe (liburing.so.2 + 0x2c39)
                      #2  0x00005625a5864e00 io_uring_wait_cqe_nr (mariadbd + 0xfe2e00)
                      #3  0x00007f6a906d44a3 n/a (libstdc++.so.6 + 0xd44a3)
                      #4  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #5  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 5528:
                      #0  0x00007f6a9045bc82 __sigtimedwait (libc.so.6 + 0x3cc82)
                      #1  0x00005625a4fff93b my_sigwait (mariadbd + 0x77d93b)
                      #2  0x00005625a55e71ec pfs_spawn_thread (mariadbd + 0xd651ec)
                      #3  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #4  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 4908:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a75d8 pthread_cond_wait (libc.so.6 + 0x885d8)
                      #2  0x00005625a4fac94b psi_cond_wait (mariadbd + 0x72a94b)
                      #3  0x00005625a4f51067 inline_mysql_cond_wait (mariadbd + 0x6cf067)
                      #4  0x00005625a55e71ec pfs_spawn_thread (mariadbd + 0xd651ec)
                      #5  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #6  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 1386748:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a7baf pthread_cond_clockwait (libc.so.6 + 0x88baf)
                      #2  0x00005625a5862091 _ZNSt9__condvar10wait_untilERSt5mutexiR8timespec (mariadbd + 0xfe0091)
                      #3  0x00005625a5863310 _ZN5tpool19thread_pool_generic8get_taskEPNS_11worker_dataEPPNS_4taskE (mariadbd + 0xfe1310)
                      #4  0x00005625a586344d _ZN5tpool19thread_pool_generic11worker_mainEPNS_11worker_dataE (mariadbd + 0xfe144d)
                      #5  0x00007f6a906d44a3 n/a (libstdc++.so.6 + 0xd44a3)
                      #6  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #7  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 1317219:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a7baf pthread_cond_clockwait (libc.so.6 + 0x88baf)
                      #2  0x00005625a5862091 _ZNSt9__condvar10wait_untilERSt5mutexiR8timespec (mariadbd + 0xfe0091)
                      #3  0x00005625a5863310 _ZN5tpool19thread_pool_generic8get_taskEPNS_11worker_dataEPPNS_4taskE (mariadbd + 0xfe1310)
                      #4  0x00005625a586344d _ZN5tpool19thread_pool_generic11worker_mainEPNS_11worker_dataE (mariadbd + 0xfe144d)
                      #5  0x00007f6a906d44a3 n/a (libstdc++.so.6 + 0xd44a3)
                      #6  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #7  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 1391301:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a7baf pthread_cond_clockwait (libc.so.6 + 0x88baf)
                      #2  0x00005625a5862091 _ZNSt9__condvar10wait_untilERSt5mutexiR8timespec (mariadbd + 0xfe0091)
                      #3  0x00005625a5863310 _ZN5tpool19thread_pool_generic8get_taskEPNS_11worker_dataEPPNS_4taskE (mariadbd + 0xfe1310)
                      #4  0x00005625a586344d _ZN5tpool19thread_pool_generic11worker_mainEPNS_11worker_dataE (mariadbd + 0xfe144d)
                      #5  0x00007f6a906d44a3 n/a (libstdc++.so.6 + 0xd44a3)
                      #6  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #7  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 853127:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a7baf pthread_cond_clockwait (libc.so.6 + 0x88baf)
                      #2  0x00005625a5862091 _ZNSt9__condvar10wait_untilERSt5mutexiR8timespec (mariadbd + 0xfe0091)
                      #3  0x00005625a5863310 _ZN5tpool19thread_pool_generic8get_taskEPNS_11worker_dataEPPNS_4taskE (mariadbd + 0xfe1310)
                      #4  0x00005625a586344d _ZN5tpool19thread_pool_generic11worker_mainEPNS_11worker_dataE (mariadbd + 0xfe144d)
                      #5  0x00007f6a906d44a3 n/a (libstdc++.so.6 + 0xd44a3)
                      #6  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #7  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
       
                      Stack trace of thread 4207:
                      #0  0x00007f6a904a4f16 n/a (libc.so.6 + 0x85f16)
                      #1  0x00007f6a904a78bc pthread_cond_timedwait (libc.so.6 + 0x888bc)
                      #2  0x00005625a4fac9c1 psi_cond_timedwait (mariadbd + 0x72a9c1)
                      #3  0x00005625a4f649ce inline_mysql_cond_timedwait (mariadbd + 0x6e29ce)
                      #4  0x00005625a5574e79 ma_checkpoint_background (mariadbd + 0xcf2e79)
                      #5  0x00005625a55e71ec pfs_spawn_thread (mariadbd + 0xd651ec)
                      #6  0x00007f6a904a81f5 n/a (libc.so.6 + 0x891f5)
                      #7  0x00007f6a9052889c n/a (libc.so.6 + 0x10989c)
                      ELF object binary architecture: AMD x86-64
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jangrewe Jan Grewe
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.