Skip to Content.
Sympa Menu

freetds - Re: [freetds] Illegal Instruction (coredump) when trying connectiontoSQL Server

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Illegal Instruction (coredump) when trying connectiontoSQL Server
  • Date: Tue, 28 Feb 2006 15:40:11 +0100

Il giorno mar, 28/02/2006 alle 07.23 -0500, Dave Varley ha scritto:
> Hi James,
>
> Tried configure --disable-iconv but it still looked for and used iconv,
> so I renamed the iconv executable, header file and library then did a
> configure. Configure couldn't find iconv and suggested I install
> libiconv.
>
> Once make and make install had finished, I get the same illegal
> instruction (coredump), but the log is different:
>
> 08:38:31.549425 Starting log file for FreeTDS 0.63
> on 2006-02-28 08:38:31 with debug level 99.
> 08:38:31.549705 Using trivial iconv from
> iconv.c
>
> It does seem iconv is the problem. I have tried installing libiconv 1.9
> and I get the same coredump as soon as I run the iconv executable. Is
> there any way to use FreeTDS without calling iconv even the trivial
> iconv call from iconv.c?
>
> Dave
>

Well, you mainly have 2 options:
- use libiconv (system if available or GNU one)
- use trivial iconv (a replacement)

However I would try to detect where the problem occur. I'm not familiar
with AIX but if you have gdb (GNU debugger), run program with gdb (gdb
program, then 'r' command) when stop dump stack ('bt' command). If not
available perhaps somebody could help using AIX debugger...

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page