ggandda / simd-cxx

Automatically exported from code.google.com/p/simd-cxx
0 stars 0 forks source link

iShapes interoperability demo event handler exception on publish #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download and build from simd-cxx-src-v0.10.tar.gz
2. Modify ./demo/ishapes/config.cpp as recommended for interoperability
        #define ISHAPES_B2_DEMO 0
3. Build and execute ishapes demo
4. Try to publish or subscribe.

What is the expected output? What do you see instead?
The demo works as expected when configured for B2, but the interoperability 
version will not publish or subscribe. As soon as the publish button is pressed 
on the iShapes demo dialog box, there is an exception;
# ./ishapes &
[1] 22695
# Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'dds::PostconditionViolation'
  what():  Unable to create DataWriter
[1]+  Aborted                 ./ishapes
Also when the subscribe button is pressed, the dialog box disappears and shows 
a segmentation fault.

What version of the product are you using? On what operating system?
simd-cxx-src-v0.10
opensplice v5.5
CentOS v6.2
Windows7 using Xming v6.9 and Putty v0.62

Please provide any additional information below.
I have also tried the latest svn source, but ishapes demo configured for B2 did 
not build.

Any suggestions for getting a interoperable demo working would be appreciated.

Original issue reported on code.google.com by marianne...@adelaide.edu.au on 21 Jun 2012 at 2:33