Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3671A200BB1 for ; Thu, 3 Nov 2016 10:55:21 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 323C4160AFF; Thu, 3 Nov 2016 09:55:21 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 784CD160AFE for ; Thu, 3 Nov 2016 10:55:20 +0100 (CET) Received: (qmail 19231 invoked by uid 500); 3 Nov 2016 09:55:19 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 19220 invoked by uid 99); 3 Nov 2016 09:55:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 09:55:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 857F2CD17F for ; Thu, 3 Nov 2016 09:55:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.998 X-Spam-Level: * X-Spam-Status: No, score=1.998 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mE0HzNcSrvWS for ; Thu, 3 Nov 2016 09:55:17 +0000 (UTC) Received: from COL004-OMC1S17.hotmail.com (col004-omc1s17.hotmail.com [65.55.34.27]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id DAC2C5FB12 for ; Thu, 3 Nov 2016 09:55:16 +0000 (UTC) Received: from EUR02-AM5-obe.outbound.protection.outlook.com ([65.55.34.9]) by COL004-OMC1S17.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 3 Nov 2016 02:55:09 -0700 Received: from HE1EUR02FT026.eop-EUR02.prod.protection.outlook.com (10.152.10.51) by HE1EUR02HT149.eop-EUR02.prod.protection.outlook.com (10.152.11.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.6; Thu, 3 Nov 2016 09:55:08 +0000 Received: from VI1PR0901MB0893.eurprd09.prod.outlook.com (10.152.10.60) by HE1EUR02FT026.mail.protection.outlook.com (10.152.10.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.693.6 via Frontend Transport; Thu, 3 Nov 2016 09:55:08 +0000 Received: from VI1PR0901MB0893.eurprd09.prod.outlook.com ([10.167.199.9]) by VI1PR0901MB0893.eurprd09.prod.outlook.com ([10.167.199.9]) with mapi id 15.01.0693.016; Thu, 3 Nov 2016 09:55:07 +0000 From: Adel Boutros 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 Thread-Topic: [Proton-c] [0.14.0] [Visual Studio 2013] Exception when destroying the container_impl after using the event_loop Thread-Index: AQHSNbe5Cqo071KdFkSSuRo84gNaxw== Date: Thu, 3 Nov 2016 09:55:07 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: qpid.apache.org; dkim=none (message not signed) header.d=none;qpid.apache.org; dmarc=none action=none header.from=live.com; x-incomingtopheadermarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:7320;Count:37 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [of/1Z2BjizP6+leiDYwyuIw63QXwtx0pYytv2qKncBk=] x-incomingheadercount: 37 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1;HE1EUR02HT149;7:a/pxUG9olL3E62T/a6I/3oFboPXgzfo8uPx/aU8NPDPefm6LGBRaKjUD1URTZe9CNZtZ14raRFgOmWFDZRBTNhxhlY/N6JL6In1oAzwf8t7ZiPHykthYpMDvC7avODMZQrKxcX2de8PlE77KHVrJF1X7tYT9EcoMBbyBhEl8rWfRvwgA0/T0kPSFKgUUmMwxVowZ0KWb8rp68PUg63JO5dHOMRl2t4KZaOZrDKpjW8K4IYOdYCj0+dKeBbTnX2JKV62bpP9hras62GdD6bTrzh9JO/K3xGedJaWblYnHL51kACZyMOk9hw6FRmX6TB5befB8wl4pe5j8urhsttv3xz8d7H8Oebnb0CrXK2BkpGY= x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(10019020)(98900003);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1EUR02HT149;H:VI1PR0901MB0893.eurprd09.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 3adc2716-6a21-434c-d9ab-08d403cf7e50 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(1601124038)(1603103103)(1601125047);SRVR:HE1EUR02HT149; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015012)(82015046);SRVR:HE1EUR02HT149;BCL:0;PCL:0;RULEID:;SRVR:HE1EUR02HT149; x-forefront-prvs: 011579F31F spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_VI1PR0901MB0893AFDFFFEBADC522AD7B9DCDA30VI1PR0901MB0893_" MIME-Version: 1.0 X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2016 09:55:07.7082 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR02HT149 X-OriginalArrivalTime: 03 Nov 2016 09:55:09.0927 (UTC) FILETIME=[5D17EF70:01D235B8] archived-at: Thu, 03 Nov 2016 09:55:21 -0000 --_000_VI1PR0901MB0893AFDFFFEBADC522AD7B9DCDA30VI1PR0901MB0893_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 me= ssaging_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_fi= nalize works on Windows (https://issues.apache.org/jira/browse/PROTON-1336) Error: - error 0x000000000041af70 {text=3D0xbaadf00dbaadf00d root=3D0xbaadf00dbaadf00d {...} ...} - text 0xbaadf00dbaadf00d 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 --_000_VI1PR0901MB0893AFDFFFEBADC522AD7B9DCDA30VI1PR0901MB0893_--