Results 1 to 5 of 5

Thread: Segmentation fault running isql -v

  1. #1

    Default Segmentation fault running isql -v

    I am triying to use the mysql odbc driver.
    The odbc. ini looks:

    [MySQL5]
    Driver = /usr/lib64/libmyodbc5.so
    Description = Connector/ODBC 5.1 Driver DSN
    SERVER = localhost
    PORT =
    USER = eld
    Password =
    Database = test
    ; OPTION = 3
    SOCKET =

    When I test the configuration with isql -v I get a big backtrace

    *** Error in `isql': free(): invalid pointer: 0x0000000000ea8068 ***
    ======= Backtrace: =========
    /lib64/libc.so.6(+0x730bf)[0x7f7f9ca780bf]
    /lib64/libc.so.6(+0x7892e)[0x7f7f9ca7d92e]
    /lib64/libc.so.6(+0x79636)[0x7f7f9ca7e636]
    /usr/lib64/libmyodbc5.so(MySQLGetPrivateProfileStringW+0xf4)[0x7f7f9c3d8864]
    /usr/lib64/libmyodbc5.so(ds_lookup+0x4c)[0x7f7f9c3d85dc]
    /usr/lib64/libmyodbc5.so(MySQLConnect+0xc6)[0x7f7f9c3c1166]
    /usr/lib64/libmyodbc5.so(SQLConnect+0xac)[0x7f7f9c3b8a2c]
    /usr/lib64/libodbc.so.2(SQLConnect+0x1f8)[0x7f7f9cfda0a8]
    isql[0x402a4a]
    /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f7f9ca26b05]
    isql[0x402d9c]
    ======= Memory map: ========
    00400000-00407000 r-xp 00000000 00:20 93298 /usr/bin/isql
    00606000-00607000 r--p 00006000 00:20 93298 /usr/bin/isql
    00607000-00608000 rw-p 00007000 00:20 93298 /usr/bin/isql
    ......

    Can help me anyone?.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,954
    Blog Entries
    2

    Default Re: Segmentation fault running isql -v

    Is there some reason why you'd use an app (isql) that last received a code update in 2007?

    Although it's not an absolute indication the problem is with the app, in general I'd personally avoid un-maintained software unless there was on choice, and even then I'd have to feel pretty good about being able to dig into the code myself personally if needed.

    There are numerous other apps in the OSS repo and elsewhere that would probably be more reliable... if you even wanted to avoid using the reliable standard CLI tools.

    TSU

  3. #3

    Default Re: Segmentation fault running isql -v

    No, I am using the newest version OpenSuSE 13.2. The version of the unixODBC package is unixODBC-2.3.2-2.2.1.x86_64.

    I think, I have a problem in the configuration but I cannot identify what I am doing wrong.

    Cheers

    Esteban

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,954
    Blog Entries
    2

    Default Re: Segmentation fault running isql -v

    Where did you get your isql app from?

    My previous post had nothing to do with openSUSE.
    If you look at the isql code on sourceforge, you'd see that the code hasn't changed since 2007.

    TSU

  5. #5

    Default Re: Segmentation fault running isql -v

    Quote Originally Posted by Emilio View Post
    No, I am using the newest version OpenSuSE 13.2. The version of the unixODBC package is unixODBC-2.3.2-2.2.1.x86_64.

    I think, I have a problem in the configuration but I cannot identify what I am doing wrong.

    Cheers

    Esteban

    Hi Emilio! i have the same problem, but using Opensuse 13.1: at some point i upgraded mysqlodbc and stop working.
    Please let me now if you already resolved the problem:

    i believe that if you make a fresh install with opensuse 13.1 without upgrading, the isql wont be broken.

    servidor-asterisk:/etc/asterisk # echo "select 1" | isql -v asterisk-connector asterisk [password]
    *** Error in `isql': free(): invalid pointer: 0x0000000001633328 ***
    ======= Backtrace: =========
    /lib64/libc.so.6(+0x73d8f)[0x7f4621195d8f]
    /lib64/libc.so.6(+0x795ee)[0x7f462119b5ee]
    /lib64/libc.so.6(+0x7a2c7)[0x7f462119c2c7]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •