> > > Ubuntu 9.04 Alpha 4, installed and compiled Openchange from the SVN.
> > > No binaries or libraries copied from anywhere. Still the same problem,
> > > the last talloc_free in MAPIUninitialize fails.
> > >  > > Furthermore, I'm unable to reproduce your issue on any of 
> > my development
> > > > workstations here. Without additional information I think the issue may
> > > > come from your setup.
> > >  > What can I do to debug this and provide you with more info?
> >
> > Looks like I have been able to reproduce similar problem under FreeBSD.
> > The problems seems to come from calling MAPIUninitialize/talloc_free
> > after a failed MAPI call. Since the call fails, mapi_response data is
> > not allocated and causes talloc_free trying to release some random
> > memory.
> 
> Should be fixed in r1241. (Tested under FreeBSD only)
> 
> The problem came from emsmdb_transaction and our method for adjusting
> mapi_repl length depending on Exchange server version.
> 
> emsmdb_transaction was looping over, trying to guess the length but when
> looping we didn't talloc_free mapi_response. Since mapi_response has a
> destructor set on it, it only got free'd when releasing the session
> (Logoff or MAPIUninitialize). We now free it upon failure and this
> should prevent from segfaulting again.
> 
> Could someone test this fix and give me feedback whether or not it works
> properly for him?
> 
> Cheers,
> Julien.
> 


Thanks Julien, it works on my Ubuntu 9.04 Alpha 4. The ugly "abort" message 
disappeared.

However, "make all" now produces syntax errors in dcesrv_mapiproxy_module.c, 
one of the structures has no member "private_data". This must have been 
introduced within the last 24 hours, because after yesterday's "svn up" 
everything compiled fine. I am at rev 1242 now.



-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to