* cygwin + STL
@ 2002-10-25 11:56 Sergey Pypyrev
0 siblings, 0 replies; only message in thread
From: Sergey Pypyrev @ 2002-10-25 11:56 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-25 18:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-25 11:56 cygwin + STL Sergey Pypyrev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).