Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 May 1997 15:51:51 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        freebsd-hackers@FreeBSD.ORG (FreeBSD hackers)
Subject:   Re: g++ shared library segfaults 
Message-ID:  <199705092251.PAA05670@rah.star-gate.com>
In-Reply-To: Your message of "Fri, 09 May 1997 21:43:57 %2B0200." <19970509214357.SQ03572@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I traced it further more and it looks like a bug in Docviewer.c using 
an illegal reference to a local variable.

 for (long i = 0; i < count; ++i) {
        ViewerColorInfo& info = _color_info->item_ref(i);
        if (strcmp(info._name, name) == 0) {
            break;
        }
    }

later on it checks the value of i. I change the scope of i and doc just
fired right up. Will "fix" similar referencs in doc.

	Cheers,
	Amancio

>From The Desk Of J Wunsch :
> As Amancio Hasty wrote:
> 
> > Will 2.8 execute properly ACE and InterViews. Can you make sure that
> > at least we give 2.8 a test run on ACE and Interviews?
> > 
> > Last I check Interviews' doc is core dumping:
> > gdb) bt
> >  #0  0x833d521 in kill () at /usr/src/lib/libc/stdio/fwalk.c:64
> >  #1  0x80a0a47 in ListImpl_range_error ()
> 
> This pretty much looks like an uncaught exception to me.  The source
> file and lineno in frame #0 is bogus, but i'd instantly assume that's
> an abort() being called.
> 
> -- 
> cheers, J"org
> 
> joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705092251.PAA05670>