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

SIGSEGV on SELECT query

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.5.2, 10.5
    • 10.5, 10.6, 10.11, 11.4
    • Server
    • None
    • Official docker images

    Description

      Running crashes the server 11.5.2-MariaDB-ubu2404 from official docker images.

      SELECT
        *
      FROM
      (
        SELECT
      	'a' AS status
        FROM
          information_schema.tables
       
        UNION
       
        SELECT
      	CASE
      	  'a' WHEN 'b' THEN 'c'
      	END
        FROM
      	information_schema.tables
      ) AS t
      WHERE
        status = '10'
      

      The result:

      SQL Error [08000]: Could not connect to localhost:3311 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
        Could not connect to localhost:3311 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
        Could not connect to localhost:3311 : unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
          unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
          unexpected end of stream, read 0 bytes from 4 (socket was closed by server)
      
      

      Attachments

        Activity

          People

            oleg.smirnov Oleg Smirnov
            grzegorz.dabrowski Grzegorz Dąbrowski
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.