ID:               33152
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andrea dot busia at axis-sv dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         Mailparse related
 Operating System: Linux Redhat ES
 PHP Version:      5CVS-2005-05-26 (dev)
 New Comment:

This is wrong place to report bugs in extensions found only in PECL.
Report at http://pecl.php.net/bugs/



Previous Comments:
------------------------------------------------------------------------

[2005-05-26 16:23:15] andrea dot busia at axis-sv dot it

Description:
------------
I have installed mailparse 2.1.1 modified as suggested in bug #32999.

I have again segmentation fault problems as described.

"mail_bug.txt" content:
----------------------
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 11056 invoked from network); 26 May 2005 13:51:01
-0000
Received: from ppp-217-133-35-137.cust-adsl.tiscali.it (HELO axis20)
(217.133.35.137)
  by 212.100.249.98 with SMTP; 26 May 2005 13:51:01 -0000
Message-ID: <[EMAIL PROTECTED]>
From: "Andrea Busia - Axis" <[EMAIL PROTECTED]>
To: "Andrea Busia - Axis" <[EMAIL PROTECTED]>
Subject: bye bye
Date: Thu, 26 May 2005 15:50:41 +0200
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
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

YnllIGJ5ZQ0K




----------------------




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

a

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:
---------------
<?
$email_in=file_get_contents("mail_bug.txt");
$msg = new MimeMessage("var", $email_in);
echo $msg->extract_body(MAILPARSE_EXTRACT_RETURN);
$email_headers=$msg->extract_headers(MAILPARSE_EXTRACT_RETURN);

echo "\na\n";
?>

Expected result:
----------------
bye bye

a


Actual result:
--------------
bye bye

a
Segmentation fault



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33152&edit=1

Reply via email to