AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080724053638.22d1fc03@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C974C@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 24 Jul 2008 05:37:06 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: wget works when I build with dmalloc
Message-ID: <20080724053706.65524c8e@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C974C@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E056C974B@onstor-exch02.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C974C@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 23 Jul 2008 20:21:52 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Building wget with -ldl on the link line doesn't work I still get a
> seg fault.

Build wget without dmalloc, and link it to OPT libraries.  That's what
I do with exim and must be why it works.  It has been working all
along, I can assure you of that, because I get 50 emails a day from my
filer.  As long as someone hasn't taken it away.

> I've done enough farting around for today. I'm heading home.
> 
> Later,
> 
> Larry
> 
> -----Original Message-----
> From: Larry Scheer 
> Sent: Wednesday, July 23, 2008 8:16 PM
> To: Andy Sharp
> Subject: RE: wget works when I build with dmalloc
> 
> I am hot on the trail of this thing.
> I think I have identified the check in that broke wget and I wonder if
> it broke exim, too.
> 
> It was change 30078. This is a fix for 24786 which Max thought he
> fixed with change 29284. Max didn't get the Makefile logic correct so
> his malloc wrappers weren't being implemented until he hacked the
> Makefile a second time which took affect after submittal 31.
> 
> In change 29284 he modified Tools/defs.mk to add -ldl to the link
> command for the SSC binaries. It may be applied to more than just
> binary linking it may have an affect on the libraries, too. I need to
> take a closer look.
> 
> When I build the nfx-tree with the dmalloc libraries wget works and
> system upgrade is happy. Without dmalloc wget seg faults.
> 
> I just built wget again using the nfx-tree libs from dev TOT and added
> -ldl to the link. I am getting ready to test wget.
> 
> I need to check exim to see if it seg faults, too.
> 
> I will let you know what happens next.
> 
> Cheers,
> 
> Larry
> 
> P.S. You need to return that case of beer ;-)
> 
> 
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Wednesday, July 23, 2008 7:59 PM
> To: Larry Scheer
> Subject: Re: wget works when I build with dmalloc
> 
> On Wed, 23 Jul 2008 18:00:23 -0700 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
> 
> > 
> 
> details?  build what with dmalloc?  does that mean that it all works
> on the opt build?  i link exim against the opt libraries, which
> caused a problem at first for exim, but you solved that.
