You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2007/10/10 20:00:50 UTC

[jira] Created: (QPID-634) c++ broler hangs/dies during MessageListenerMultiConsumerTest

c++ broler hangs/dies during MessageListenerMultiConsumerTest
-------------------------------------------------------------

                 Key: QPID-634
                 URL: https://issues.apache.org/jira/browse/QPID-634
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: M3
            Reporter: Rajith Attapattu
             Fix For: M3


When running org.apache.qpid.client.MessageListenerMultiConsumerTest the c++ broker hangs and then crashes.
Below is the log from the broker. I will try to reproduce this again, get a stack dump and attach it to the JIRA.

Looks like the broker had a lock issue while trying to add credit to a
destination. Below is the log from the broker.

2007-Oct-09 21:56:46 debug SENT: Frame[channel=2; ExecutionCompleteBody:
cumulative-execution-mark=3; ranged-execution-set={}]
2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
4294967295 msgCredit: 0
2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
4294967295 msgCredit: 1
2007-Oct-09 21:56:46 debug Message delivered for destination 1
2007-Oct-09 21:56:46 debug RECV: Frame[channel=1; MessageFlowBody:
destination=1; unit=0; value=1]
2007-Oct-09 21:56:46 debug Message Credit Requested for 1: 1
2007-Oct-09 21:56:46 trace Exception: Error [50016] Device or resource
busy (./qpid/sys/posix/Mutex.h:155)
terminate called after throwing an instance of 'qpid::sys::PosixError'
  what():  Error [50016] Device or resource busy
(./qpid/sys/posix/Mutex.h:155)
Aborted


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


[jira] Closed: (QPID-634) c++ broler hangs/dies during MessageListenerMultiConsumerTest

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajith Attapattu closed QPID-634.
---------------------------------


> c++ broler hangs/dies during MessageListenerMultiConsumerTest
> -------------------------------------------------------------
>
>                 Key: QPID-634
>                 URL: https://issues.apache.org/jira/browse/QPID-634
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Gordon Sim
>             Fix For: M3
>
>
> When running org.apache.qpid.client.MessageListenerMultiConsumerTest the c++ broker hangs and then crashes.
> Below is the log from the broker. I will try to reproduce this again, get a stack dump and attach it to the JIRA.
> Looks like the broker had a lock issue while trying to add credit to a
> destination. Below is the log from the broker.
> 2007-Oct-09 21:56:46 debug SENT: Frame[channel=2; ExecutionCompleteBody:
> cumulative-execution-mark=3; ranged-execution-set={}]
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 0
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 1
> 2007-Oct-09 21:56:46 debug Message delivered for destination 1
> 2007-Oct-09 21:56:46 debug RECV: Frame[channel=1; MessageFlowBody:
> destination=1; unit=0; value=1]
> 2007-Oct-09 21:56:46 debug Message Credit Requested for 1: 1
> 2007-Oct-09 21:56:46 trace Exception: Error [50016] Device or resource
> busy (./qpid/sys/posix/Mutex.h:155)
> terminate called after throwing an instance of 'qpid::sys::PosixError'
>   what():  Error [50016] Device or resource busy
> (./qpid/sys/posix/Mutex.h:155)
> Aborted

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


[jira] Commented: (QPID-634) c++ broler hangs/dies during MessageListenerMultiConsumerTest

Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533823 ] 

Rafael H. Schloming commented on QPID-634:
------------------------------------------

This is probably related to QPID-633.

> c++ broler hangs/dies during MessageListenerMultiConsumerTest
> -------------------------------------------------------------
>
>                 Key: QPID-634
>                 URL: https://issues.apache.org/jira/browse/QPID-634
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Alan Conway
>             Fix For: M3
>
>
> When running org.apache.qpid.client.MessageListenerMultiConsumerTest the c++ broker hangs and then crashes.
> Below is the log from the broker. I will try to reproduce this again, get a stack dump and attach it to the JIRA.
> Looks like the broker had a lock issue while trying to add credit to a
> destination. Below is the log from the broker.
> 2007-Oct-09 21:56:46 debug SENT: Frame[channel=2; ExecutionCompleteBody:
> cumulative-execution-mark=3; ranged-execution-set={}]
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 0
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 1
> 2007-Oct-09 21:56:46 debug Message delivered for destination 1
> 2007-Oct-09 21:56:46 debug RECV: Frame[channel=1; MessageFlowBody:
> destination=1; unit=0; value=1]
> 2007-Oct-09 21:56:46 debug Message Credit Requested for 1: 1
> 2007-Oct-09 21:56:46 trace Exception: Error [50016] Device or resource
> busy (./qpid/sys/posix/Mutex.h:155)
> terminate called after throwing an instance of 'qpid::sys::PosixError'
>   what():  Error [50016] Device or resource busy
> (./qpid/sys/posix/Mutex.h:155)
> Aborted

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


[jira] Resolved: (QPID-634) c++ broler hangs/dies during MessageListenerMultiConsumerTest

Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim resolved QPID-634.
-----------------------------

    Resolution: Fixed

I'm going to assume this is indeed a duplicate of QPID-633. We can re-open if not.

> c++ broler hangs/dies during MessageListenerMultiConsumerTest
> -------------------------------------------------------------
>
>                 Key: QPID-634
>                 URL: https://issues.apache.org/jira/browse/QPID-634
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Gordon Sim
>             Fix For: M3
>
>
> When running org.apache.qpid.client.MessageListenerMultiConsumerTest the c++ broker hangs and then crashes.
> Below is the log from the broker. I will try to reproduce this again, get a stack dump and attach it to the JIRA.
> Looks like the broker had a lock issue while trying to add credit to a
> destination. Below is the log from the broker.
> 2007-Oct-09 21:56:46 debug SENT: Frame[channel=2; ExecutionCompleteBody:
> cumulative-execution-mark=3; ranged-execution-set={}]
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 0
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 1
> 2007-Oct-09 21:56:46 debug Message delivered for destination 1
> 2007-Oct-09 21:56:46 debug RECV: Frame[channel=1; MessageFlowBody:
> destination=1; unit=0; value=1]
> 2007-Oct-09 21:56:46 debug Message Credit Requested for 1: 1
> 2007-Oct-09 21:56:46 trace Exception: Error [50016] Device or resource
> busy (./qpid/sys/posix/Mutex.h:155)
> terminate called after throwing an instance of 'qpid::sys::PosixError'
>   what():  Error [50016] Device or resource busy
> (./qpid/sys/posix/Mutex.h:155)
> Aborted

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


[jira] Updated: (QPID-634) c++ broler hangs/dies during MessageListenerMultiConsumerTest

Posted by "Alan Conway (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway updated QPID-634:
-----------------------------

    Assignee: Gordon Sim  (was: Alan Conway)

> c++ broler hangs/dies during MessageListenerMultiConsumerTest
> -------------------------------------------------------------
>
>                 Key: QPID-634
>                 URL: https://issues.apache.org/jira/browse/QPID-634
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Gordon Sim
>             Fix For: M3
>
>
> When running org.apache.qpid.client.MessageListenerMultiConsumerTest the c++ broker hangs and then crashes.
> Below is the log from the broker. I will try to reproduce this again, get a stack dump and attach it to the JIRA.
> Looks like the broker had a lock issue while trying to add credit to a
> destination. Below is the log from the broker.
> 2007-Oct-09 21:56:46 debug SENT: Frame[channel=2; ExecutionCompleteBody:
> cumulative-execution-mark=3; ranged-execution-set={}]
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 0
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 1
> 2007-Oct-09 21:56:46 debug Message delivered for destination 1
> 2007-Oct-09 21:56:46 debug RECV: Frame[channel=1; MessageFlowBody:
> destination=1; unit=0; value=1]
> 2007-Oct-09 21:56:46 debug Message Credit Requested for 1: 1
> 2007-Oct-09 21:56:46 trace Exception: Error [50016] Device or resource
> busy (./qpid/sys/posix/Mutex.h:155)
> terminate called after throwing an instance of 'qpid::sys::PosixError'
>   what():  Error [50016] Device or resource busy
> (./qpid/sys/posix/Mutex.h:155)
> Aborted

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


[jira] Assigned: (QPID-634) c++ broler hangs/dies during MessageListenerMultiConsumerTest

Posted by "Alan Conway (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway reassigned QPID-634:
--------------------------------

    Assignee: Alan Conway

> c++ broler hangs/dies during MessageListenerMultiConsumerTest
> -------------------------------------------------------------
>
>                 Key: QPID-634
>                 URL: https://issues.apache.org/jira/browse/QPID-634
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Alan Conway
>             Fix For: M3
>
>
> When running org.apache.qpid.client.MessageListenerMultiConsumerTest the c++ broker hangs and then crashes.
> Below is the log from the broker. I will try to reproduce this again, get a stack dump and attach it to the JIRA.
> Looks like the broker had a lock issue while trying to add credit to a
> destination. Below is the log from the broker.
> 2007-Oct-09 21:56:46 debug SENT: Frame[channel=2; ExecutionCompleteBody:
> cumulative-execution-mark=3; ranged-execution-set={}]
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 0
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 1
> 2007-Oct-09 21:56:46 debug Message delivered for destination 1
> 2007-Oct-09 21:56:46 debug RECV: Frame[channel=1; MessageFlowBody:
> destination=1; unit=0; value=1]
> 2007-Oct-09 21:56:46 debug Message Credit Requested for 1: 1
> 2007-Oct-09 21:56:46 trace Exception: Error [50016] Device or resource
> busy (./qpid/sys/posix/Mutex.h:155)
> terminate called after throwing an instance of 'qpid::sys::PosixError'
>   what():  Error [50016] Device or resource busy
> (./qpid/sys/posix/Mutex.h:155)
> Aborted

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


[jira] Commented: (QPID-634) c++ broler hangs/dies during MessageListenerMultiConsumerTest

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533914 ] 

Rajith Attapattu commented on QPID-634:
---------------------------------------

I am unable to reproduce this issue - I will keep trying.

However on a side note, this test was failing due to broker and client using different flow modes as default.
The broker was using window and the client using credit.

I fixed the client by explicitly stating the flow mode as credit for sync consume.

Rajith

> c++ broler hangs/dies during MessageListenerMultiConsumerTest
> -------------------------------------------------------------
>
>                 Key: QPID-634
>                 URL: https://issues.apache.org/jira/browse/QPID-634
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Alan Conway
>             Fix For: M3
>
>
> When running org.apache.qpid.client.MessageListenerMultiConsumerTest the c++ broker hangs and then crashes.
> Below is the log from the broker. I will try to reproduce this again, get a stack dump and attach it to the JIRA.
> Looks like the broker had a lock issue while trying to add credit to a
> destination. Below is the log from the broker.
> 2007-Oct-09 21:56:46 debug SENT: Frame[channel=2; ExecutionCompleteBody:
> cumulative-execution-mark=3; ranged-execution-set={}]
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 0
> 2007-Oct-09 21:56:46 debug Credit check for destination 1 byteCredit:
> 4294967295 msgCredit: 1
> 2007-Oct-09 21:56:46 debug Message delivered for destination 1
> 2007-Oct-09 21:56:46 debug RECV: Frame[channel=1; MessageFlowBody:
> destination=1; unit=0; value=1]
> 2007-Oct-09 21:56:46 debug Message Credit Requested for 1: 1
> 2007-Oct-09 21:56:46 trace Exception: Error [50016] Device or resource
> busy (./qpid/sys/posix/Mutex.h:155)
> terminate called after throwing an instance of 'qpid::sys::PosixError'
>   what():  Error [50016] Device or resource busy
> (./qpid/sys/posix/Mutex.h:155)
> Aborted

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