From owner-freebsd-hackers Fri May 9 15:51:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA03683 for hackers-outgoing; Fri, 9 May 1997 15:51:57 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA03673 for ; Fri, 9 May 1997 15:51:53 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id PAA05670; Fri, 9 May 1997 15:51:51 -0700 (PDT) Message-Id: <199705092251.PAA05670@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: freebsd-hackers@FreeBSD.ORG (FreeBSD hackers) Subject: Re: g++ shared library segfaults In-reply-to: Your message of "Fri, 09 May 1997 21:43:57 +0200." <19970509214357.SQ03572@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 09 May 1997 15:51:51 -0700 From: Amancio Hasty Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)