|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56403 Segmentation Fault
Submitted: 2005-05-26 16:40 UTC Modified: 2005-10-31 08:22 UTC
From: andrea dot busia at axis-sv dot it Assigned:
Status: Closed Package: mailparse (PECL)
PHP Version: 5_0 CVS-2005-05-26 (dev) OS: Linux Redhat ES
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:
Bug Type:
From: andrea dot busia at axis-sv dot it
New email:
PHP Version: OS:


 [2005-05-26 16:40 UTC] andrea dot busia at axis-sv dot it
I have installed mailparse 2.1.1 modified as suggested in PHP bug #32999.

I have again segmentation fault problems as described.

"mail_bug.txt" content:
Return-Path: <>
Received: (qmail 11056 invoked from network); 26 May 2005 13:51:01 -0000
Received: from (HELO axis20)
  by with SMTP; 26 May 2005 13:51:01 -0000
Message-ID: <009c01c561f9$e7e3e3b0$1401a8c0@axis20>
From: "Andrea Busia - Axis" <>
To: "Andrea Busia - Axis" <>
Subject: bye bye
Date: Thu, 26 May 2005 15:50:41 +0200
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: base64
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527



gdb backtrace:
(gdb) run tracking_mail_prova.php
Starting program: /usr/bin/php tracking_mail_prova.php [Thread debugging using libthread_db enabled] [New Thread 8192 (LWP 14106)]
Content-type: text/html
X-Powered-By: PHP/5.0.5-dev

bye bye


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 14106)]
0x0819784d in shutdown_memory_manager (silent=0, full_shutdown=0)
    at /home/archivi/php5-STABLE-200505261236/Zend/zend_alloc.c:489
489                                     REMOVE_POINTER_FROM_LIST(ptr);
(gdb) bt
#0  0x0819784d in shutdown_memory_manager (silent=0, full_shutdown=0)
    at /home/archivi/php5-STABLE-200505261236/Zend/zend_alloc.c:489
#1  0x0817a20f in php_request_shutdown (dummy=0x0)
    at /home/archivi/php5-STABLE-200505261236/main/main.c:1239
#2  0x081e7b48 in main (argc=2, argv=0xbffecdf4)
    at /home/archivi/php5-STABLE-200505261236/sapi/cgi/cgi_main.c:1640

Reproduce code:
$msg = new MimeMessage("var", $email_in); echo $msg->extract_body(MAILPARSE_EXTRACT_RETURN);

echo "\na\n";

Expected result:
bye bye


Actual result:
bye bye

Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-23 10:25 UTC]
Please try a newer PHP version and report back if you're still experiencing this issue.
 [2005-10-31 08:22 UTC] andrea dot busia at axis-sv dot it
I have changed the php script to change the operations sequence and upgraded php. II'm not experiencing any more the bug.

Andrea Busia
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 19:01:29 2024 UTC