Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 69614 invoked from network); 20 Sep 2007 23:00:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 23:00:16 -0000 Received: (qmail 54799 invoked by uid 500); 20 Sep 2007 23:00:07 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 54783 invoked by uid 500); 20 Sep 2007 23:00:07 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 54772 invoked by uid 99); 20 Sep 2007 23:00:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 16:00:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Plamen.Neykov@real-to-real.com designates 213.239.204.194 as permitted sender) Received: from [213.239.204.194] (HELO mail.aliens-inc.de) (213.239.204.194) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 23:02:06 +0000 Received: by mail.aliens-inc.de (Postfix, from userid 102) id 23F1F2A665; Fri, 21 Sep 2007 00:59:28 +0200 (CEST) Received: from ocean.home.net (client-82-3-73-207.manc.adsl.virgin.net [82.3.73.207]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.aliens-inc.de (Postfix) with ESMTP id A009B15101 for ; Fri, 21 Sep 2007 00:59:27 +0200 (CEST) From: Plamen Neykov Organization: Real to Real Software GmbH To: "Apache AXIS C Developers List" Subject: Re: adb binding broken for lists Date: Thu, 20 Sep 2007 23:59:13 +0100 User-Agent: KMail/1.9.6 (enterprise 20070831.706792) References: <200709130036.55293.Plamen.Neykov@real-to-real.com> <200709161439.33286.Plamen.Neykov@real-to-real.com> <46EE1779.2060109@wso2.com> In-Reply-To: <46EE1779.2060109@wso2.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709202359.13942.Plamen.Neykov@real-to-real.com> X-Copyrighted-Material: Please visit http://www.Real-2-Real.com/privacy.htm X-Virus-Checked: Checked by ClamAV on apache.org Hi Samisa, I've checked and it is working - thank you very much! Regards, Plamen On Monday 17 September 2007 06:58:17 Samisa Abeysinghe wrote: > I fixed the bug. Please check now. > > Thanks, > Samisa... > > Plamen Neykov wrote: > > Hi Samisa, > > > > this bug is gone - thank you very much! > > Unfortunately there is one more bug which causes the server to crash > > after processing the request. The crash occurs in adb_calculate_free (my > > service is called calculate). The reason for the crash is in the way how > > adb_calculate_deserialize is implemented - I have two lists as parameters > > for the ws call. In adb_calculate_deserialize the first parameter is > > initialised with: > > > > > > /** > > * building param0 array > > */ > > > > arr_list = axutil_array_list_create( env, 10); > > > > > > > > But when it comes to the second parameter no initialization is performed: > > > > /** > > * building param1 array > > */ > > > > > > /** > > * building param1 element > > */ > > > > and then uses the same arr_list to populate the content of the second > > parameter - which clearly overrides the content of the previous list! > > When the second free is performed the list was freed already and it > > crashes (well it looses some memory in the process too, but this is > > secondary ...) > > > > I'm attaching the wsdl here so that you can take look by yourself. > > > > Thanks, > > Plamen _______________________________________________________________________________ Real to Real Software GmbH Registergericht Aschaffenburg, HRB 9364 Geschäftsführer: Antoaneta Kostadinova This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Real to Real Software GmbH, Alzenauer Str. 15, D-63796 Kahl, Germany, www.Real-2-Real.com --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org