[interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Tue, 26 Aug 2003 23:59:17 +0200
On 2003-08-26 at 18:38:04 [+0200], Erik Jaesler wrote:
> Yeah, that sounds like exactly the thing. I monkeyed about some last
> night with my messaging test to have the second looper reply to the
> first and it just sat there. Clearly I have some debugging to do. ;)
I tried a bit more to get the RosterShell running again and fixed a few
warnings (I think, I'll enable warnings in the build by default), one or two
revealing actual bugs -- I hope you don't mind. The RosterShell still isn't
working, but I rather stopped here, before getting in your way.
The problem I ran into is that in BMessage::Unflatten() the dataLen read from
the flattened message seems to be invalid, which causes the memory allocation
to fail and a B_NO_MEMORY to be thrown (it probably shouldn't be thrown but
just returned (the same in two other places in Unflatten()) -- I left it that
way, since it is excellent for debugging :-).
If you want to reproduce it, you can run the RosterShell (in
test/servers/registrar; after the registrar) and type `l[ist]'. It will choke
on Unflatten()ing the reply message from the registrar, when a
BRoster::GetRunningAppInfo() is invoked (size is > 255).
Have fun debugging. :-P
CU, Ingo
- Follow-Ups:
- [interfacekit] Re: I'm baaaaaack!
- From: Erik Jaesler
- References:
- [interfacekit] I'm baaaaaack!
- From: Erik Jaesler
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- [interfacekit] Re: I'm baaaaaack!
- From: Erik Jaesler
Other related posts:
- » [interfacekit] I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- » [interfacekit] Re: I'm baaaaaack!
- [interfacekit] Re: I'm baaaaaack!
- From: Erik Jaesler
- [interfacekit] I'm baaaaaack!
- From: Erik Jaesler
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- [interfacekit] Re: I'm baaaaaack!
- From: Ingo Weinhold
- [interfacekit] Re: I'm baaaaaack!
- From: Erik Jaesler