|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
38 + 9 = ?
Subscribe to this entry?

 [2007-04-17 16:15 UTC] bjzarbon at rockwellcollins dot com
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


Add a Patch

Pull Requests

Add a Pull Request


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]
-Status: Open +Status: Suspended
 [2017-10-24 09:09 UTC]
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-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 17 09:03:34 2021 UTC