perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarrod Stenberg <>
Subject Re: Embperl-2.0b8 httpd Segmentation Faults. Unclosed tags? Ignore previous.
Date Wed, 21 Aug 2002 21:47:45 GMT

More info.

I discovered that the segfaults are related to DBI. 

# DBI is already loaded.
$dbh = ...
$sth = $dbh->prepare(...);

And the above is a successful query leaving me a
handle with stuff to do.  If I do this:

    while ($h = $sth->fetchrow_hashref()) {
        #do stuff

within the same block, it works fine.

But, if I do this:

    [$ while ($h = $sth->fetchrow_hashref()) $]
       [# do stuff #]
    [$ endwhile $]

It segfaults the httpd instance.  I'm using namespaces
as prescribed, I think.  What gives?  Any ideas?

P.S.  Sorry about the double post.  My laptop went
whacky for a moment.

Do You Yahoo!?
HotJobs - Search Thousands of New Jobs

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

View raw message