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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
