Bug #69115 [Opn]: crash in mail

From: Date: Thu, 26 Feb 2015 20:10:39 +0000
Subject: Bug #69115 [Opn]: crash in mail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190965@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69115&edit=1

 ID:                 69115
 Updated by:         aharvey@php.net
 Reported by:        mberchtold at gmail dot com
 Summary:            crash in mail
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Windows Server 2012 R2
 PHP Version:        master-Git-2015-02-24 (snap)
 Block user comment: N
 Private report:     N

 New Comment:

Looks Windows-only; I can't reproduce this on OS X or Linux. (Not a huge shock, given how much
code is platform specific in mail()).

Also, we don't ask for backtraces for the hell of it: they genuinely are useful for crash bugs,
because behaviour often varies significantly between different systems. You don't have to
provide one, but not doing so diminishes the chances that someone will investigate your bug.


Previous Comments:
------------------------------------------------------------------------
[2015-02-24 18:21:04] mberchtold at gmail dot com

You can reproduce the problem with the provided sample script. A backtrace is not necessary to fix
the problem.

------------------------------------------------------------------------
[2015-02-24 18:14:30] requinix@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------
[2015-02-24 16:08:26] mberchtold at gmail dot com

Description:
------------
crash in mail()

The mail is sent but then process crashes

Faulting application name: php-cgi.exe, version: 7.0.0.0, time stamp: 0x54e4c52a
Faulting module name: php7.dll, version: 7.0.0.0, time stamp: 0x54e4c592
Exception code: 0xc0000005
Fault offset: 0x000776fe
Faulting process id: 0x2030
Faulting application start time: 0x01d0504a957ac408
Faulting application path: C:\php\php-cgi.exe
Faulting module path: C:\php\php7.dll

Test script:
---------------
$message = "Line 1\r\nLine 2\r\nLine 3";
mail('caffeinated@example.com', 'My Subject', $message);


Expected result:
----------------
no crash

Actual result:
--------------
crash


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



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


Thread (8 messages)

« previous php.bugs (#190965) next »