Skip to Content.
Sympa Menu

freetds - RE: FreeTDS and segfaults under IRIX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: David Nahman <vanyadog AT yahoo.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: RE: FreeTDS and segfaults under IRIX
  • Date: Wed, 17 Jul 2002 14:23:42 -0700 (PDT)


Dear List,

I found the problem and it had nothing to do with
freetds or any of the tds_convert issues: a mismatch
on buffer sizes that was overwriting items on the
stack.

--david
--- David Nahman <vanyadog AT yahoo.com> wrote:
> Frediano,
>
> I'm not sure if the fix that you are talking about
> is
> the same problem that I'm having. (I just checked
> and
> my source is up to date with CVS).
>
> It is interesting to note that this only happens
> when
> I build freetds with gcc and the rest of my software
> with MIPSPro under IRIX (which I have to support at
> least for another year or so). When I build
> everything with gcc under Linux, everything works
> properly. I guess it is possible that there is
> still
> a lurking bug somewhere that is getting masked in
> the
> Linux build, but I don't know for sure yet.
>
> Any thoughts you might have would be most
> appreciated.
>
> Kind regards,
> David
>
>
> --- ZIGLIO Frediano
> <Frediano.Ziglio AT vodafoneomnitel.it> wrote:
> > >
> > > Dear List,
> > >
> > > This is probably not a problem with FreeTDS, but
> > I'm
> > > posting here in case it jogs a memory of a
> similar
> > > occurance.
> > >
> > > I'm building the current CVS snapshot under IRIX
> > with
> > > gcc with --disable-shared. I am finding that
> > > somewhere under tds_convert, after a certain
> > number of
> > > iterations, ctx->locale gets incorrectly freed
> or
> > the
> > > pointer gets overwritten, so that later when my
> > > program segfaults in cs_ctx_drop.
> > >
> >
> > Fixed yesterday...
> > What are problems compiling with other compiler?
> >
> > freddy77
> >
> > =================================
> > "STRICTLY PERSONAL AND CONFIDENTIAL
> >
> > This message may contain confidential and
> > proprietary material for the sole
> > use of the intended recipient. Any review or
> > distribution by others is
> > strictly prohibited. If you are not the intended
> > recipient please contact
> > the sender and delete all copies.
> > The contents of this message that do not relate to
> > the official business of
> > our company shall be understood as neither given
> nor
> > endorsed by it."
> >
> > =================================
> >
> > ---
> > You are currently subscribed to freetds as:
> > [vanyadog AT yahoo.com]
> > To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Autos - Get free new car price quotes
> http://autos.yahoo.com
>


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com




Archive powered by MHonArc 2.6.24.

Top of Page