According to Joe R. Jah:
> On Wed, 28 Jul 1999, Geoff Hutchison wrote:
> > > #2 0x180dcf29 in Regex::Regex ()
> > > #3 0x180dd138 in global constructors keyed to Regex::Regex ()
>
> > This still confuses me. There isn't a 'Regex' class in 3.1.2. There's a
> > Regex class (a fuzzy) in the 3.2 development source. But that shouldn't
> > be in 3.1.2, so 'Regex::Regex()' shouldn't be called.
>
> Yes, I grepped all the files in the source directory for "Regex"; it's
> only in htdoc/TODO.html and htlib/regex.c as a comment. I found many
> instances of it, though, in /usr/lib/libg++.so. Does that mean anything
> at all?
Yes, I suspect that the Regex class might be right in libg++ on your
system. The first stack backtrace you sent seemed to suggest that all
the chain of function calls was for some internal initialization sequence
(none of the symbols seemed to be within ht://Dig's code).
I suspect the problem is somehow related to the switch in 3.1.2 from the
old, slow regex code bundled in with ht://Dig, to the faster C library
regex code.
One of the differences I could see is that in the old code in
htfuzzy/Endings.cc, it did this to include the bundled regex header file:
extern "C"
{
# include <rxposix.h>
}
but now it does this:
#include <regex.h>
Just a wild guess, but maybe surrounding that line with an extern "C"
construct would help - it might allow inclusion of C library stuff,
but avoid unwanted C++ library stuff, which appears to be the source of
grief here. The other possibility (more wild speculation here) is that
on BSDI systems, the regex code in the C library somehow conflicts with
the regex code in the C library, so it would need to be avoided on BSDI
(or you'd need a different C++ library).
It's odd, though, that the problem arises in htsearch but not htfuzzy (or
does it?). Does htfuzzy do anything differently in its initialization to
avoid this problem? (retorical question, but hey, if anyone has the answer
I'd like to hear it)
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word unsubscribe in
the SUBJECT of the message.