misc/73506: arts-1.3.1/mcopidl dies with msg "free(): error: chunk
is already free"
Kyryll A Mirnenko
mirya at ukrpost.net
Wed Nov 3 15:00:47 PST 2004
>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 at 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<char>::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<char, std::char_traits<char>, std::allocator<char> >::~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:
More information about the freebsd-bugs
mailing list