Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-167

Crash on mthd_stmt_read_all_rows when SELECT has lots of field

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • None
    • None
    • Windows, using QT 5 plugin

    Description

      I have a rather long SELECT query that retrieves data from multiple tables - a query that crashes when it is executed.

      I've attached the windows minidump. Plus some analysis data from BoundsChecker,

      backtrace:
      1 libmariadb.dll!net_field_length(unsigned char * * packet=0x0018e128)
      *2 libmariadb.dll!mthd_stmt_read_all_rows(st_mysql_stmt * stmt=0x032c7ce8)
      3 libmariadb.dll!mysql_stmt_store_result(st_mysql_stmt * stmt=0x032c7ce8)
      4 qsqlmysql.dll!QMYSQLResult::exec()

      Easily reproducible - please let me know what you need more.

      Attachments

        1. Capture.PNG
          39 kB
          Oz Gilat
        2. libmariadb.dll
          797 kB
          Oz Gilat
        3. libmariadb.pdb
          7.64 MB
          Oz Gilat
        4. maria.dmp
          74 kB
          Oz Gilat
        5. maria2.sql
          180 kB
          Oz Gilat
        6. maria220316.dmp
          65 kB
          Oz Gilat

        Activity

          People

            georg Georg Richter
            ozgilat Oz Gilat
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.