Issues

ZF-2187: Zend_mail unitests crash on i5/OS

Issue Type: Unit Tests: Problem Created: 2007-11-13T10:59:44.000+0000 Last Updated: 2008-06-18T10:40:40.000+0000 Status: Resolved Fix version(s): Reporter: Shany Ron (shany@zend.com) Assignee: Nico Edtinger (nico) Tags: - Zend_Mail

Related issues: - ZF-3073

Attachments:

Description

This error occurs only on i5/OS (both OS version v5R3 and v5R4) and didn't occur on Windows or Linux.

I ran AllTests.php on i5 with ZendCore 2.5.0 and bundled ZendFramework 1.02. When it got to the "Zend_Mail_InterfaceTest" I got segmentation fault crash. I guess it's on the test that wasn't in the report (I ran the tests with --log-tap), which is "testIterationWithSeek". Below you can find the report on the last test suite.

{quote}

<pre class="literal">#TestSuite "Zend_Mail_InterfaceTest" started.
ok 2021 - testCount(Zend_Mail_InterfaceTest)
not ok 2022 - Error: testIsset(Zend_Mail_InterfaceTest)
ok 2023 - testNotIsset(Zend_Mail_InterfaceTest)
not ok 2024 - Error: testArrayGet(Zend_Mail_InterfaceTest)
ok 2025 - testArraySetFail(Zend_Mail_InterfaceTest)
not ok 2026 - Error: testIterationKey(Zend_Mail_InterfaceTest)
not ok 2027 - Error: testIterationIsMessage(Zend_Mail_InterfaceTest)
not ok 2028 - Error: testIterationRounds(Zend_Mail_InterfaceTest)

{quote}

Comments

Posted by Ziv Perry (zivperry) on 2007-11-29T06:18:39.000+0000

Plz check the mail function on the i5 machine. It's probably the mail() function that raise this error (as far as i checked, the mail function doesn't work properly on the i5 machine).

Posted by Nico Edtinger (nico) on 2008-01-21T15:39:47.000+0000

I don't have i5/OS, so I need a little help. The test you mentioned uses the LimitIterator. Does this crash? What's the output?

$v) { var\_dump(\_\_LINE\_\_, $k, $v); } var\_dump(\_\_LINE\_\_); ?>

Posted by Nico Edtinger (nico) on 2008-01-21T15:42:31.000+0000

Note: it should be ```` with two underscores before and after LINE

Posted by Darby Felton (darby) on 2008-04-08T12:19:44.000+0000

Shany, any comment on this?

Posted by Nico Edtinger (nico) on 2008-06-18T10:40:40.000+0000

no feedback

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts