You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Bradley Mitchell <mi...@auburn.edu> on 2008/04/15 15:24:33 UTC

Openwire C library problem

I'm trying to get the hello world example to run using the C library for
Openwire.

So far, I've had no luck... I get an error message saying "Could not
connect: Cannot allocate memory (12).
Digging into the code, it looks like the problem happens in
ow_create_object() - the passed object is of type 99 which drops out of the
function's switch statement.

Anyone have any ideas on why this function is being sent a type 99?

Since I can't step through the code with my debugger without crashing
activemq, I went through the call stack manually and have written it below:

main
  amqcs_connect
    ow_read_command
      ow_unmarshal_object
        ow_unmarshal_WireFormatInfo
          ow_unmarshal_nested_object
            ow_create_object	\\type 99 is not valid
          ow_unmarshal_nested_object
        ow_unmarshal_WireFormatInfo
      ow_unmarshal_object
    ow_read_command  \\fail

Again, any help or advice would be greatly appreciated!
-- 
View this message in context: http://www.nabble.com/Openwire-C-library-problem-tp16700406s2354p16700406.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.