qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adel Boutros <adelbout...@live.com>
Subject Re: [Proton-c] [0.14.0] [Visual Studio 2013] Exception when destroying the container_impl after using the event_loop
Date Tue, 08 Nov 2016 17:11:33 GMT
Hello guys,

Is anyone checking this issue?

Regards,
Adel



On Thu, Nov 3, 2016 at 2:57 PM +0100, "Adel Boutros" <Adelboutros@live.com<mailto:Adelboutros@live.com>>
wrote:

Jira issue created: https://issues.apache.org/jira/browse/PROTON-1340


Adel

________________________________
From: Adel Boutros <Adelboutros@live.com>
Sent: Thursday, November 3, 2016 10:55:07 AM
To: users@qpid.apache.org
Subject: [Proton-c] [0.14.0] [Visual Studio 2013] Exception when destroying the container_impl
after using the event_loop

Hello,


On Windows using Visual Studio 2013, I am trying to use the proton::thread_safe::event_loop()
to inject some user events and trigger actions on the messaging_handler.

It seems that when the proton::container_impl is being destroyed, I have an error in the pn_error_free
method.


PS: I am using the patch provided by Cliff which changed a bit how pn_io_finalize works on
Windows (https://issues.apache.org/jira/browse/PROTON-1336)


Error:

- error 0x000000000041af70 {text=0xbaadf00dbaadf00d <Error reading characters of string.>
root=0xbaadf00dbaadf00d {...} ...}
- text 0xbaadf00dbaadf00d <Error reading characters of string.>
<Unable to read memory>


Stack trace:

  ntdll.dll!0000000076efba81() Unknown
  ntdll.dll!0000000076eaa249() Unknown
  ntdll.dll!0000000076f165e9() Unknown
  ntdll.dll!0000000076ee0a3b() Unknown
  kernel32.dll!0000000076d51a7a() Unknown
  msvcr120.dll!000007fef73569d8() Unknown
> qpid-proton.dll!pn_error_free(pn_error_t * error) Line 52 C++
  qpid-proton.dll!pn_io_finalize(void * obj) Line 99 C++
  qpid-proton.dll!pn_class_decref(const pn_class_t * clazz, void * object) Line 98 C++
  qpid-proton.dll!pn_class_decref(const pn_class_t * clazz, void * object) Line 98 C++
  qpid-proton-cpp.dll!proton::container_impl::~container_impl() Line 160 C++

Regards,

Adel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message