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

Crash If Select UDF and UDF Call DLL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 10.4.21
    • Fix Version/s: N/A
    • Component/s: Plugins
    • Labels:
    • Environment:
      MariaDB 10.4.21 64 bits
      Windows 10 Pro 64 bits
      16 GB RAM
      DLL write from Delphi 10.4

      Description

      210825 12:19:21 [ERROR] mysqld got exception 0xc0000005 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.4.21-MariaDB
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=18
      max_threads=65537
      thread_count=21
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 195284 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x182bf7f0638
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      MasterUDFv7.dll!???
      MasterUDFv7.dll!???
      MasterUDFv7.dll!???
      MasterUDFv7.dll!__dbk_fcall_wrapper()
      MasterUDFv7.dll!masterusbhid()
      MasterUDFv7.dll!masterusbhidv7()
      mysqld.exe!udf_handler::val_str()[item_func.cc:3629]
      mysqld.exe!Item_func_udf_str::val_str()[item_func.cc:3775]
      mysqld.exe!Item_func_set_user_var::check()[item_func.cc:5002]
      mysqld.exe!set_var_user::check()[set_var.cc:873]
      mysqld.exe!sql_set_variables()[set_var.cc:733]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:5021]
      mysqld.exe!mysql_parse()[sql_parse.cc:7999]
      mysqld.exe!dispatch_command()[sql_parse.cc:1860]
      mysqld.exe!do_command()[sql_parse.cc:1373]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:381]
      mysqld.exe!tp_callback()[threadpool_common.cc:192]
      ntdll.dll!TpAllocPool()
      ntdll.dll!TpReleaseCleanupGroupMembers()
      KERNEL32.DLL!BaseThreadInitThunk()
      ntdll.dll!RtlUserThreadStart()
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x182996a5bb0): Set @rockeyhid = masterusbhidv7('1')
      Connection ID (thread ID): 60
      Status: NOT_KILLED
      

        Attachments

        1. Master.err
          40 kB
        2. MasterUDFSuper.dll
          1.59 MB
        3. MasterUDFv7.dll
          1.61 MB
        4. mysqld.dmp
          474 kB
        5. SDX64.dll
          101 kB

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            masteritec TAT LIM CHIN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration