#755 RexxPullFromQueue Not Returning Valid Queue Entry

v4.0beta
closed
APIs (66)
5
2012-08-14
2009-07-13
No

On Linux, the RexxPullFromQueue API works the first time to return a queue entry from the SESSION queue but on subsequent calls it always return NULL for the queue strptr struct entry even though the RexxQueryQueue API claims there are more entries in the queue.

Discussion

  • Rick McGuire

    Rick McGuire - 2009-07-13

    David, you're going to have to provide a test case to recreate this. This API is certainly working for the Rexx pull instruction in its many incarnations in the test bucket, so there must be something special you are doing with your usage.

     
  • David Ashley

    David Ashley - 2009-07-13

    Queue test files

     
  • David Ashley

    David Ashley - 2009-07-13

    Added a complete zip file. This one return an invalid value from RexxQueryQueue and then segfaults on the RexxPullFromQueue API.

     
  • Rick McGuire

    Rick McGuire - 2009-07-13

    David, your program is working fine on a fresh Linux build for me. I suspect you have a mismatch between the rxapi client and the rxapi daemon. There were some tweaks to the queuing api communications protocol to fix a memory leak, so if you're running with an older rxapi and a newer client build, then you're going to have problems.

     
  • David Ashley

    David Ashley - 2009-07-14

    This problem turned out to be a mismatch between rxapi and the libraries.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks