delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/25/14:20:58

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
Message-ID: <20021025182035.54487.qmail@web13908.mail.yahoo.com>
Date: Fri, 25 Oct 2002 19:20:35 +0100 (BST)
From: =?iso-8859-1?q?Sergey=20Pypyrev?= <pypyrev AT yahoo DOT com>
Subject: cygwin + STL
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

    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<CUWord, CWordInfo>(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/

- Raw text -


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