From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32349 invoked by alias); 25 Oct 2002 18:20:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32149 invoked from network); 25 Oct 2002 18:20:37 -0000 Received: from unknown (HELO web13908.mail.yahoo.com) (216.136.175.71) by sources.redhat.com with SMTP; 25 Oct 2002 18:20:37 -0000 Message-ID: <20021025182035.54487.qmail@web13908.mail.yahoo.com> Received: from [212.20.0.102] by web13908.mail.yahoo.com via HTTP; Fri, 25 Oct 2002 19:20:35 BST Date: Fri, 25 Oct 2002 11:56:00 -0000 From: =?iso-8859-1?q?Sergey=20Pypyrev?= Subject: cygwin + STL To: cygwin@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-10/txt/msg01650.txt.bz2 Hi, all! I'm trying now to port aspseek (aspseek.org) to Windows and I have a problem. I have compiled and linked the program, but on the following statement it hangs up (it receives SIGSEGV): CWordCache::CWordCache(ULONG maxSize) : hash_map(maxSize){ ... } So, it even doesn't go to first line of code of constructor. I know that it may happen if the program does something wrong with memory. Developers of aspseek did use non-portable hacks with memory, but I removed them. I also tried to reduce maxSize to 100, so, that should be definitely reasonable for memory. I also checked that there are no other memory bugs/problems in aspseek's code - and it does look correctly. So, what can be the reason of the problem? Are there any ways to solve it? I used the following: Windows 98, cygwin 1.3.13-1, g++ 2.95.3-10, mysql 3.23.43 (thread safe library compiled with cygwin, linked statically). Among other things aspseek uses threads. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/