You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <qp...@incubator.apache.org> on 2007/04/10 19:11:32 UTC
[jira] Created: (QPID-449) C++ client race in socket code
C++ client race in socket code
------------------------------
Key: QPID-449
URL: https://issues.apache.org/jira/browse/QPID-449
Project: Qpid
Issue Type: Bug
Components: C++ Client
Reporter: Alan Conway
quick_topictest fails intermittently on a multi-processor. Fairly easy to reproduce. Does not occur on my single CPU laptop so it looks like a thread sync problem.
Here's an example: (red-hatters I ran this on qpid-test.lab.boston.redhat.com)
[aconway@qpid-test tests]$ while ./quick_topictest ; do echo -n . ; done
........../quick_topictest FAILED:
Start subscriber 1
Start subscriber 0
Completed 1 of 1 in 81ms
Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
[aconway@qpid-test tests]$ while ./quick_topictest ; do echo -n . ; done
................./quick_topictest FAILED:
Start subscriber 1
Start subscriber 0
Completed 1 of 1 in 79ms
Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
terminate called after throwing an instance of 'qpid::QpidError'
what(): Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
./topictest: line 30: 10569 Aborted ./topic_publisher -messages\
$MESSAGES -batches $BATCHES -subscribers $SUBSCRIBERS
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (QPID-449) C++ client race in socket code
Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim reassigned QPID-449:
-------------------------------
Assignee: Gordon Sim
> C++ client race in socket code
> ------------------------------
>
> Key: QPID-449
> URL: https://issues.apache.org/jira/browse/QPID-449
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Reporter: Alan Conway
> Assigned To: Gordon Sim
>
> quick_topictest fails intermittently on a multi-processor. Fairly easy to reproduce. Does not occur on my single CPU laptop so it looks like a thread sync problem.
> Here's an example: (red-hatters I ran this on qpid-test.lab.boston.redhat.com)
> [aconway@qpid-test tests]$ while ./quick_topictest ; do echo -n . ; done
> ........../quick_topictest FAILED:
> Start subscriber 1
> Start subscriber 0
> Completed 1 of 1 in 81ms
> Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
> [aconway@qpid-test tests]$ while ./quick_topictest ; do echo -n . ; done
> ................./quick_topictest FAILED:
> Start subscriber 1
> Start subscriber 0
> Completed 1 of 1 in 79ms
> Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
> terminate called after throwing an instance of 'qpid::QpidError'
> what(): Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
> ./topictest: line 30: 10569 Aborted ./topic_publisher -messages\
> $MESSAGES -batches $BATCHES -subscribers $SUBSCRIBERS
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (QPID-449) C++ client race in socket code
Posted by "Gordon Sim (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim closed QPID-449.
---------------------------
Resolution: Fixed
Fixed in rev 529209.
> C++ client race in socket code
> ------------------------------
>
> Key: QPID-449
> URL: https://issues.apache.org/jira/browse/QPID-449
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Reporter: Alan Conway
> Assigned To: Gordon Sim
>
> quick_topictest fails intermittently on a multi-processor. Fairly easy to reproduce. Does not occur on my single CPU laptop so it looks like a thread sync problem.
> Here's an example: (red-hatters I ran this on qpid-test.lab.boston.redhat.com)
> [aconway@qpid-test tests]$ while ./quick_topictest ; do echo -n . ; done
> ........../quick_topictest FAILED:
> Start subscriber 1
> Start subscriber 0
> Completed 1 of 1 in 81ms
> Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
> [aconway@qpid-test tests]$ while ./quick_topictest ; do echo -n . ; done
> ................./quick_topictest FAILED:
> Start subscriber 1
> Start subscriber 0
> Completed 1 of 1 in 79ms
> Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
> terminate called after throwing an instance of 'qpid::QpidError'
> what(): Error [20009] Bad file descriptor (sys/apr/Socket.cpp:58)
> ./topictest: line 30: 10569 Aborted ./topic_publisher -messages\
> $MESSAGES -batches $BATCHES -subscribers $SUBSCRIBERS
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.