[Openais] RE: Library core dump using evt.

Mark Haverkamp markh at osdl.org
Wed Jan 11 09:39:48 PST 2006


On Wed, 2006-01-11 at 07:27 -0800, Mark Haverkamp wrote:
> On Tue, 2006-01-10 at 17:17 -0700, Steven Dake wrote:
> > OK I think I've got it figured out.
[... ] 
> > 
> > we see alloc_put1 references edi, but in the failure case edi is junk
> > resulting in a put of junk resulting in a segfault!!!  Instead, I think
> > it should be
> > 
> >     saHandleInstancePut (&channel_handle_db, channelHandle);
> > 
> > Mark your thoughts?
> 
> You are correct.  I looked at that code a number of times and only saw
> what it was doing (doing a put on the channel), not how it was doing it.
> That certainly looks wrong.  I can add this fix to my set of patches.

Here is an updated version of my event alloc patch including your fix.

Mark.


-- 
Mark Haverkamp <markh at osdl.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: evt_lib_alloc.patch
Type: text/x-patch
Size: 1071 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/openais/attachments/20060111/ce4c3686/evt_lib_alloc-0001.bin


More information about the Openais mailing list