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

myodbc.so error: in sqlchar_as_sqlwchar ()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 10.0.10
    • Fix Version/s: 10.0.11
    • Component/s: None
    • Labels:
    • Environment:
      Ubuntu 12.04 LTS, 64bit

      Description

      I've been using mariadb for a while on Ubuntu 12.04 with an ODBC DSN that I could use in R.

      I am getting the following error

      slocke@host:~$ isql -v myDB
      Floating point exception (core dumped)

      Using apport-retrace I have ascertained the issue to be

      sudo apport-retrace -g -R  /var/crash/_usr_bin_isql.0.crash
      Program terminated with signal 8, Arithmetic exception.
      #0  0x00007ff459929366 in sqlchar_as_sqlwchar ()
         from /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so

      I have previously encountered libmyodbc errors from this bug which was about string handling and wonder whether it could be related?


      ODBC config

      /etc/odbcinst.ini

      [MySQL]
      Description     = ODBC Driver for MySQL
      Driver          = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
      Setup           = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so
      FileUsage       = 1

      /etc/odbc.ini

      [myDB]
      Description = Database linked to application
      Driver = MySQL
      SERVER = localhost
      USER = abc
      PASSWORD = mypwd
      PORT = 3306
      DATABASE = mydb

      Installed mariadb packages

       dpkg --list
       
      ii  mariadb-client 10.0.10+maria- MariaDB database client binaries
      ii  mariadb-client 10.0.10+maria- MariaDB database core client binaries
      ii  mariadb-common 10.0.10+maria- MariaDB database common files (e.g. /etc/mys
      ii  mariadb-server 10.0.10+maria- MariaDB database server (metapackage dependi
      ii  mariadb-server 10.0.10+maria- MariaDB database server binaries
      ii  mariadb-server 10.0.10+maria- MariaDB database core server files

      Other packages

      ii  libmyodbc      5.1.10-1       the MySQL ODBC driver
      ii  libmysqlclient 10.0.10+maria- Virtual package to satisfy external depends
      external depends
       
      ii  unixodbc       2.2.14p2-5ubun Basic ODBC tools
      ii  unixodbc-dev   2.2.14p2-5ubun ODBC libraries for UNIX (development files)

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            slocke Steph Locke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration