Boost logo

Boost Users :

From: tweety (mitea_at_[hidden])
Date: 2004-10-28 20:33:53


My guess is your giving it the wrong iterators and it's overflowing in the
rest of the memory.

----------------------------------
Peace and love,
Tweety
mitea_at_[hidden] - tweety_04_01_at_[hidden]
YahooID: tweety_04_01

> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Michael Starling
> Sent: Thursday, October 28, 2004 7:37 PM
> To: boost-users_at_[hidden]
> Subject: [Boost-users] Boost::Regex - bug work-around...?
>
> Hi there...
>
> I've been trying to implement some routines using the Boost library,
> primarily with the excellent RegEx library. Everything was
> working well
> enough in small tests, but when I tried running the routines on many
> patterns, my program would crash (it performs various pattern
> matching and
> search-and-replaces in multiple text files). I was able to
> determine that
> the crashes came on the calls to regex-related functions
> (though it tended
> to be a little unpredictable as to when, depending on the set
> of files I
> gave it).
>
> I tried changing my project settings (I use VC6, btw) to link
> with "debug"
> libraries instead of the standard ones (eg. "Debug
> Multithreaded"), and ran
> the program again, and everything worked perfectly.
>
> Unfortunately... I don't want to have my program running with
> all-debug
> libraries for performance and size reasons. However, is it
> possible to have
> my link-settings set to use standard libraries as before, but
> for the stuff
> that uses the regex library, to use a debug ".lib" file?
> Or... in the
> 'bjam' process, is it possible to say something to the effect
> of "when
> compiling the regex libraries, turn off compiler
> optimizations", so I can
> get a standard library that should work...?
>
> Hopefully that'll make sense... :P
> Thanks for your time,
>
> Mike.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net