Issues

ZF-7400: Mystery error: Fatal error: Exception thrown without a stack frame in Unknown on line 0

Issue Type: Bug Created: 2009-07-27T22:08:28.000+0000 Last Updated: 2012-11-20T21:38:08.000+0000 Status: Open Fix version(s): Reporter: Daniel Lo (danlo) Assignee: None Tags: - Zend_Queue

Related issues: Attachments:

Description

When using the ActiveMQ adapter, this error is presented at the end of the test script:

Fatal error: Exception thrown without a stack frame in Unknown on line 0

I suspect it is because the resource $this->_socket has already been closed. However, as to why it throws the error is a mystery to me.

The culprit code is at:

trunk/library/Zend/Queue/Stomp/Client/Connection.php function close()

-daniel

Comments

Posted by Kevin Bowman (kevinbowman) on 2010-01-08T06:22:02.000+0000

The solution to this (to comment-out the "close socket" line in the Stomp/Client/Connection.php file) is causing us some problems, as we're opening and closing a lot of connections in a single process. However, as they're not being closed, the ActiveMQ server is running out of file handles and dying :(

Any chance that a better solution to this can be found, and start actually closing the socket in the "close()" function?

Thanks.

Posted by Daniel Lo (danlo) on 2010-01-11T02:21:12.000+0000

I am aware of this bug, but I don't know what the solution is.

I have also gotten some code together, but not yet tested to reduce the connection count, but I'm putting a lot of work hours.

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