delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/30/06:44:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: Re: Having problems with a program after upgrading to Cygwin 1.5.5
From: Nuno Ferreira <nuno DOT ferreira AT graycell DOT biz>
To: Jarrod Hermer <jarrod AT mybeat DOT net>
Cc: Cygwin mailing list <cygwin AT cygwin DOT com>
In-Reply-To: <001001c3cebe$62b282c0$3d01a8c0@lonewolf>
References: <001001c3cebe$62b282c0$3d01a8c0 AT lonewolf>
Organization: Graycell
Message-Id: <1072784587.806.44.camel@taz.graycell.biz>
Mime-Version: 1.0
Date: Tue, 30 Dec 2003 11:43:08 +0000
X-OriginalArrivalTime: 30 Dec 2003 11:43:08.0429 (UTC) FILETIME=[1861E3D0:01C3CECA]
X-IsSubscribed: yes

On Ter, 2003-12-30 at 10:19, Jarrod Hermer wrote:
> I have been successfully using Kannel, latest cvs release from
> www.kannel.org under cygwin 1.3.4 for quite some time. As soon as I
> upgraded to 1.5.5 the program stopped functioning correctly. I think it
> may be because of the way it (kannel and/or cygwin) handles threads
> because the issue only arises after making multiple connections using
> Kannel.

Well, I've been debugging some problems with kannel under cygwin and got
it (sort of ) to work.
First, it doesn't run with release 1.5.5, you need the latest snapshot.
Then it runs, but has some major memory leaks. I found out that for
every message processed smsbox leaks 4 handles and bearerbox leaks 4KB
for every 3 or 4 messages processed. I tried running it under purify but
I couldn't get it to run. Any help with this will be appreciated.
The same program runs flawlessly under linux with no leaks reported by
valgrind so I'm assuming that the leaks are on cygwin code.
Any hints on how to find the memory leaks?

--
Nuno


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019