php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57624 PECL::Perl segmentation fault
Submitted: 2007-04-17 16:15 UTC Modified: 2017-10-24 09:09 UTC
From: bjzarbon at rockwellcollins dot com Assigned:
Status: Suspended Package: perl (PECL)
PHP Version: 5.2.1 OS: Fedora Core 5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bjzarbon at rockwellcollins dot com
New email:
PHP Version: OS:

 

 [2007-04-17 16:15 UTC] bjzarbon at rockwellcollins dot com
Description:
------------
Using PECL::Perl code to call Perl subroutines from within PHP scripts causes segmentation fault in php_perl.c at line 1535.

Using: Perl 5.8.8, php 5.2.1, Apache 2.2.4

Reproduce code:
---------------
$perl = new Perl();

Expected result:
----------------
Perl object

Actual result:
--------------
segmentation fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-05 01:06 UTC] aphplix at gmail dot com
on ubuntu 8.04, with perl 5.8.8 & php 5.2.4

new Perl(); works
new Perl("Point"); segfaults

problem is the same with cvs & stable versions.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb782f6d0 (LWP 13889)]
0xb776fd3f in php_perl_get_class_name (object=0x86f9fec, class_name=0xbfa0db48, class_name_len=0xbfa0db40, parent=0)
    at /tmp/pear/download/perl-1.0.0/php_perl.c:1535
1535	    if ((stash = SvSTASH(sv)) != NULL) {
 [2017-10-24 09:09 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 09:09 UTC] kalle@php.net
The perl package has had no activity for at least 4 years, so I'm gonna consider it dead. If a new maintainer decides to pick this back up, he/she can re-open the report
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 18 01:01:22 2020 UTC