From owner-freebsd-bugs@FreeBSD.ORG Wed Nov 3 23:00:47 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 831C916A4CE for ; Wed, 3 Nov 2004 23:00:47 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F79A43D5C for ; Wed, 3 Nov 2004 23:00:47 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA3N0lPd063039 for ; Wed, 3 Nov 2004 23:00:47 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA3N0lZV063034; Wed, 3 Nov 2004 23:00:47 GMT (envelope-from gnats) Resent-Date: Wed, 3 Nov 2004 23:00:47 GMT Resent-Message-Id: <200411032300.iA3N0lZV063034@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kyryll A Mirnenko Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A23F16A4CE for ; Wed, 3 Nov 2004 23:00:07 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CE2A43D67 for ; Wed, 3 Nov 2004 23:00:07 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iA3N07qw070522 for ; Wed, 3 Nov 2004 23:00:07 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id iA3N07ht070521; Wed, 3 Nov 2004 23:00:07 GMT (envelope-from nobody) Message-Id: <200411032300.iA3N07ht070521@www.freebsd.org> Date: Wed, 3 Nov 2004 23:00:07 GMT From: Kyryll A Mirnenko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: misc/73506: arts-1.3.1/mcopidl dies with msg "free(): error: chunk is already free" X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 23:00:47 -0000 >Number: 73506 >Category: misc >Synopsis: arts-1.3.1/mcopidl dies with msg "free(): error: chunk is already free" >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 03 23:00:46 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Kyryll A Mirnenko >Release: 5.3-RC1 >Organization: >Environment: FreeBSD localhost 5.3-RC1 FreeBSD 5.3-RC1 #4: Tue Oct 26 23:44:01 EEST 2004 root@localhost:/usr/src/sys/i386/compile/MY-O1 i386 >Description: building KDE3.3.1/artsd/libpthread/gcc3.4, one of tools dies: simple debug shows the problem is somewhere in post-main() descructors, as far it works fine for 5.2.1/libc_r/gcc3.3 the problem may come from 3.4 standart library gmake[3]: Entering directory `/root/compile/arts-1.3.1/flow' ./mcopidl/mcopidl -t ../flow/artsflow.idl ./flow/artsflow.idl: warning: Arts::WaveDataHandle::load (method) collides with Arts::WaveDataHandle::load (method) lt-mcopidl in free(): error: chunk is already free gmake[3]: *** [artsflow.cc] Abort trap gmake[3]: Leaving directory `/root/compile/arts-1.3.1/flow' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/root/compile/arts-1.3.1/flow' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/compile/arts-1.3.1' gmake: *** [all] Error 2 here's backtrace just before that sudden death (not much useful though): Breakpoint 2, 0x484be624 in free () from /lib/libc.so.5 #0 0x484be624 in free () from /lib/libc.so.5 #1 0x483f2e77 in operator delete () from /usr/lib/libstdc++.so.4 #2 0x08082a51 in __gnu_cxx::new_allocator::deallocate (this=0xbfbfcc90, __p=0x80aa180 "\024") at ne w_allocator.h:86 #3 0x483a9adf in std::string::_Rep::_M_destroy () from /usr/lib/libstdc++.so.4 #4 0x483a7291 in std::basic_string, std::allocator >::~basic_string () from /usr/lib/libstdc++.so.4 #5 0x08077ac2 in __tcf_1 () at yacc.yy:34 #6 0x4851aba3 in __cxa_finalize () from /lib/libc.so.5 #7 0x4851a8d2 in exit () from /lib/libc.so.5 #8 0x08062cde in _start () #9 0x00000003 in ?? () lt-mcopidl in free(): error: chunk is already free Program terminated with signal SIGABRT, Aborted. >How-To-Repeat: arts-1.3.1: $ ./configure --with-qt-dir=/usr/X11R6 \ --with-qt-libraries=/usr/X11R6/lib \ --with-qt-includes=/usr/X11R6/include \ --prefix=/usr/local \ --enable-debug=full \ --enable-final $ gmake >Fix: _exit(0) before return in mcopidl/mcopidl.cc :) >Release-Note: >Audit-Trail: >Unformatted: