This is a read-only archive of the Mumble forums.

This website archives and makes accessible historical state. It receives no updates or corrections. It is provided only to keep the information accessible as-is, under their old address.

For up-to-date information please refer to the Mumble website and its linked documentation and other resources. For support please refer to one of our other community/support channels.

Jump to content

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

 Share

×
×
  • Create New...