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: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Illegal Instruction (coredump) when trying connectiontoSQL Server
  • Date: Tue, 28 Feb 2006 20:11:22 -0500

Dave Varley wrote:
> 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
> glibiconv.

Sorry, old man. I should have referred you to the docs instead of hoping
I'd remember:

$ ./configure --help | grep iconv
--disable-libiconv do not attempt to include libiconv
--with-libiconv-prefix=DIR
search for libiconv in DIR/include and DIR/lib

The configure script will (for good but arcane reasons) ignore options it
doesn't recognize.

> 08:38:31.549705 Using trivial iconv from
> iconv.c
>
> It does seem iconv is the problem, but how can I stop the program from
> using it or solve the problem?

That's proof you're using our built-in iconv replacement, but I no longer
think it's iconv causing your problem. I just don't think both libraries
would bomb out in the same way. Something else is amiss.

Frediano made the best suggestion: debug the core dump. Failing that,
start tsql under gdb and get a backtrace when it faults.

I hope you uncover something. It'd be nice to fix it.

--jkl


> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org
> [mailto:freetds-bounces AT lists.ibiblio.org]
> Sent: 27 February 2006 15:02
> To: FreeTDS Development Group
> Subject: Re: [freetds] Illegal Instruction (coredump) when trying
> connectiontoSQL Server
>
> > From: Dave Varley
> > Sent: Monday, February 27, 2006 7:27 AM
> >
> > I am trying to use FreeTDS to connect from an RS6000 running AIX
> > 4.2.1.0 to a Windows 2000 SQL Server 2000 database. When trying to
> > use tsql -H ***.***.***.*** -p 1433 -U sa -P ******* I get an
> > immediate illegal instruction (coredump).
> > ...
> > When I configured, I had to specify --disabled-threadsafe and
> > --disable-shared to get the program to make. Other than that, I had
> > no problems.
>
> Hi David,
>
> The next message in your TDSDUMP log would be from iconv, something
> like:
>
> write.c:134:tds_put_string converting 9 bytes of "localhost"
>
> Maybe the problem is iconv? Try --disable-iconv.
>
> Please let us know. I may need to update the UG.
> (http://www.schemamania.org/projects/freetds/build/doc/userguide/osissue
> s.htm#AIX)
>
> Regards,
>
> --jkl
>
>
> -----------------------------------------
> The information contained in this transmission may be privileged and
> confidential and is intended only for the use of the person(s) named
> above. If you are not the intended recipient, or an employee or agent
> responsible for delivering this message to the intended recipient, any
> review, dissemination, distribution or duplication of this communication
> is strictly prohibited. If you are not the intended recipient, please
> contact the sender immediately by reply e-mail and destroy all copies of
> the original message. Please note that we do not accept account orders
> and/or instructions by e-mail, and therefore will not be responsible for
> carrying out such orders and/or instructions. If you, as the intended
> recipient of this message, the purpose of which is to inform and update
> our clients, prospects and consultants of developments relating to our
> services and products, would not like to receive further e-mail
> correspondence from the sender, please "reply" to the sender indicating
> your wishes. In the U.S.: 1345 Avenue of the Americas, New York, NY
> 10105.
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page