Jump to content
Mumble forums

MumbleKit crashes when accessing groups


Marce666
 Share

Recommended Posts

Hi,

I defined a group to a sub-channel and suitable permissions. (see attachments)

From MumbleKit, after being connected to the server, I ask for MKAccessControl by calling

[self.serverModel requestAccessControlForChannel:c];

 

When receiving response, app crashes in this point (see (*) )

 

   
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len
{
// TODO: We only support enumeration of object values.  In the future, we
// can extend this code to return a new list of NSNumber* objects wrapping
// our primitive values.
PBArrayValueTypeAssert(PBArrayValueTypeObject);  <----- (*)

if (state->state >= _count)
{
	return 0; // terminate iteration
}

 

How should I set groups and permission on murmur to avoid this crash?


If I comment the assert, the following crash is when accessing the PBArray named add in here:

 

        for (NSNumber *value in chanGroup.add) {
           [channelGroup.members addObject:value];
       }

1730572360_ScreenShot2015-01-28at5_19_00PM.png.8fc68049c5b97795c9871d3e80c34c3f.png

1168893000_ScreenShot2015-01-28at5_19_18PM.png.dc67bfd141b391da77b7830716eba8c4.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...