[ 
https://issues.apache.org/activemq/browse/AMQCPP-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47220#action_47220
 ] 

Timothy Bish commented on AMQCPP-203:
-------------------------------------

This is an odd one.  If I were to guess I'd say that what might be happening is 
the the threads aren't shutting down and freeing up their child pools from the 
global apr pool before the application terminates and we free the APR global 
APR pool.  This is odd since all the threads I've found so far are joined as we 
are shutting down, at least all the one's I've found so far are.  The join 
methods on CentOS did seem to return and allow the main thread to become 
runnable slightly faster than on my Fedora system which played a part in many 
of the errors we initially saw and fixed.  The pools mechanism in APR is a bit 
frustrating at times.  

> Segmentation Fault in Integration tests occurs occasionally.
> ------------------------------------------------------------
>
>                 Key: AMQCPP-203
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-203
>             Project: ActiveMQ C++ Client
>          Issue Type: Sub-task
>          Components: Integration Tests
>    Affects Versions: 2.2.1
>         Environment: CentOS 5.2 / REHL / Fedora 9
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 2.2.2
>
>         Attachments: BufferedInputStream.cpp.patch, segfault.6517.tar.gz, 
> segfault.bufferedinputstream.log.gz, segfaults.barak.tar.gz, 
> segfaults.tar.gz, weekend.puzzle.tar.gz
>
>
> While running the integration tests in a long loop an occasional Segmentation 
> fault has been seen. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to