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

crash in SP -> Trigger -> SUM aggregate + UDF?

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11.7
    • 10.11
    • None
    • Windows 11.2401.26.0

    Description

      Hi. As the log file request it, here you go.

      The error is rare crash by the caller procedure since its long run procedure
      that 'long query script + complex multi level inner query + UDF' combination qeury.
      I have never seen the same error before.
      Using own customized ini.
      The memory has spare spaces.

      240318  8:09:45 [ERROR] mysqld got exception 0xc0000005 ;
      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
       
      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.11.7-MariaDB-log source revision: 87e13722a95af5d9378d990caf48cb6874439347
      key_buffer_size=16777216
      read_buffer_size=67108864
      max_used_connections=15
      max_threads=48
      thread_count=16
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 6308890 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x1508f07b338
      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...
      server.dll!Item_result_field::cleanup()[item.cc:10798]
      server.dll!Item_sum_sum::cleanup()[item_sum.cc:1533]
      server.dll!cleanup_items()[sql_parse.cc:1126]
      server.dll!sp_head::execute()[sp_head.cc:1549]
      server.dll!sp_head::execute_procedure()[sp_head.cc:2479]
      server.dll!do_execute_sp()[sql_parse.cc:3060]
      server.dll!Sql_cmd_call::execute()[sql_parse.cc:3302]
      server.dll!mysql_execute_command()[sql_parse.cc:6104]
      server.dll!sp_instr_stmt::exec_core()[sp_head.cc:3923]
      server.dll!sp_lex_keeper::reset_lex_and_exec_core()[sp_head.cc:3646]
      server.dll!sp_instr_stmt::execute()[sp_head.cc:3827]
      server.dll!sp_head::execute()[sp_head.cc:1463]
      server.dll!sp_head::execute_trigger()[sp_head.cc:1973]
      server.dll!Table_triggers_list::process_triggers()[sql_trigger.cc:2486]
      server.dll!write_record()[sql_insert.cc:2267]
      server.dll!mysql_insert()[sql_insert.cc:1160]
      server.dll!mysql_execute_command()[sql_parse.cc:4600]
      server.dll!sp_instr_stmt::exec_core()[sp_head.cc:3923]
      server.dll!sp_lex_keeper::reset_lex_and_exec_core()[sp_head.cc:3646]
      server.dll!sp_instr_stmt::execute()[sp_head.cc:3827]
      server.dll!sp_head::execute()[sp_head.cc:1463]
      server.dll!sp_head::execute_procedure()[sp_head.cc:2479]
      server.dll!do_execute_sp()[sql_parse.cc:3060]
      server.dll!Sql_cmd_call::execute()[sql_parse.cc:3302]
      server.dll!mysql_execute_command()[sql_parse.cc:6104]
      server.dll!mysql_parse()[sql_parse.cc:8101]
      server.dll!dispatch_command()[sql_parse.cc:1896]
      server.dll!do_command()[sql_parse.cc:1407]
      server.dll!do_handle_one_connection()[sql_connect.cc:1415]
      server.dll!handle_one_connection()[sql_connect.cc:1323]
      server.dll!pfs_spawn_thread()[pfs.cc:2204]
      server.dll!pthread_start()[my_winthread.c:62]
      ucrtbase.dll!_recalloc()
      KERNEL32.DLL!BaseThreadInitThunk()
      ntdll.dll!RtlUserThreadStart()
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x15094633d80): CALL myprocedure(varchar, char, int)
      Connection ID (thread ID): 14971
      Status: NOT_KILLED

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              npdmailing@gmail.com Mitchell Lee
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.