-Current build problems with audio/arts: "lt-mcopidl in free(): error: chunk is already free" and core dumped

P.D. Seniura pdseniura at techie.com
Fri Aug 6 12:37:19 PDT 2004


Our mail gateway at work is being rejected by the
gmx.net box yonder.  Our gateway may show in its logs
as isdmon2.okladot.state.ok.us .
Mail.com can send this to you ok, so forgive the
ugliness, I hate this editor.
My msgs have been CC'd to the -ports@ maillist
but their listserver seems to be down and
not distributing msgs since late yesterday.

So let me briefly clarify what I've been saying. 
I have been running with the malloc.conf -> aj trick
since yesterday, even now, even with MALLOC_OPTIONS=aj
set in the env'm't and whilst building new kernel &
world in case it is picked up that way. 
I'm as -current as CTM will let us be at this time. 
Nothing helps. 
The mcopidl pgm still aborts & dumps, and this is the
sole reason arts can't finish building here.

Let me clarify what I said just in the last msg to you:
I _did_ use those prebuilt binary package as shown in
the URL you mentioned.
_THAT_ build of mcopidl is crashing _here_, too. (yes!)
I tried running part of the gmake cmds by hand, and
rabarber's binary is crashing here.

Ok.  So maybe -current kernel & world have a bug that
does not obey 'aj'.  I can take it to the -current@
maillist.  But that will not fix mcopidl.

rabarber's build logs for audio/arts is showing
the very same error msg "chunk is already free". 
Please when you have a chance go look at its own logs
and you'll see it, I have, yes on _that_ site!  ;)

"chunk is already free" means "double-free" to me.

Difference is: rabarber's build isn't crashing,
but mine is,
on the _very same_ error
running the _very same_ binary.
I gotta use this puny pentium2 box, tho, and I need
to turn on those knobs inside arts' build.

The crux of the whole matter, therefore, is in the
mcopidl pgm itself, and its srcs are distributed
inside the arts project, and it was obviously written
that way (double-free).

I see this as a KDE problem, but it would seem to be
out of our hands for a quick fix.

The workarounds -- 'aj' -- don't seem to work in my
case.   :(

I hate losing this-coming weekend because portupgrade
will skip every KDE component due to arts failing
caused by the mcopidl double-free bug.

I'm trying to get everything monolithically compiled
with the -current system compiler gcc342.  Hopefully will stop the missing symbols etc.  arts was compiling
(and running mcopidl without a crash) before the
-current stuff got so, um, current.  ;)  But mcopidl
_always_ had the double-free bug (as far back as my
logs show; oh yes I keep 'em for several months).  It's
just now it is 'severe' enough to stop gmake no matter
what we try.

Really I would appreciate any further help on this. 
I can't give up,
it'd mean going back to wynderz[tm].  (ptTOOeee!! ;)

  --  thx, Paul Seniura.

----- Original Message -----
From: Michael Nottebrock <michaelnottebrock at gmx.net>
Date: Fri, 6 Aug 2004 18:55:41 +0200
To: "P.D. Seniura" <pdseniura at techie.com>
Subject: Re: -Current build problems with audio/arts: "lt-mcopidl in free(): error: chunk is already free" and core dumped

> On Friday 06 August 2004 18:41, P.D. Seniura wrote:
> > Still got Abort/dump from mcopidl.
> > RM'd the /etc/malloc.conf and changed/unset
> > the MALLOC_OPTIONS string.
> That won't work, -CURRENT _defaults_ to warnings==errors.
> Do: ln -sf aj /etc/malloc.conf to set it to RELEASE defaults.
> > The _real_ fix would be to figure out where
> > the double-free() is occurring inside the
> > mcopidl pgm. It isn't pure C++ it has to
> > go thru some mortifications (looks like a
> > mix of yacc / bison). So the bug could be
> > just about anywhere.
> As I've said before, I'm not seeing that double-free at all. Perhaps you have 
> libraries which mcopidl links to and which are left over from the gcc-3.3 
> era? Hot candidates are glib-2.0 and libiconv.
> Also, as said before: If everything fails, use the package.
> -- 
>    ,_,   | Michael Nottebrock               | lofi at freebsd.org
>  (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
>    \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

Sign-up for Ads Free at Mail.com

More information about the freebsd-ports mailing list