perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heiko Jansen <>
Subject Re: offtopic: Embedding Perl in C++: Help needed
Date Fri, 11 May 2007 14:10:16 GMT
Hi all,

Am Freitag, den 20.04.2007, 19:24 +0200 schrieb Heiko Jansen:
> Am Freitag, den 20.04.2007, 09:25 -0700 schrieb Philip M. Gollucci:
> >  > I have to maintain a multithreaded (150+) C++ application (running as
> >  > 64Bit App on Solaris 10, SPARC, SunCC) which uses embedded perl to allow
> >  > for easy data modification (utf-8 encoded strings) in certain places.
> >  > This does work in general, but every now and then the application
> >  > crashes although the same perl code has been run for a few days.
> > 
> > I only briefly read this, but you're not hitting a system limit of some 
> > kind are you ?  Max open files, sockets, processes ?

just to let you know:

Some minor tweaks in the CPP-Code may have helped but it looks like the
most successful action I could take was switching to the latest code in
the 5.8.x maintenance tree

Especially the recent thread safety fix for "tr///" seems to have helped
a lot.

I still see senseless error messages like 
-- snip --
(in cleanup) Can't find string terminator '"' anywhere before EOF
at /digibib/tools/lib/perl5/5.8.8/unicore/To/ line 108
-- / snip --
although the respective files are perfectly fine, but at least the
processes don´t die anymore.
I can´t see a reason why perl should be unable to read and parse the
entire file but maybe I can fix that by preloading these files/modules
in an interpreter instance which is then cloned for every new instance.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message