Hello, when option -z (total instances) is given only in config (snort["-z"]=true),
then it equals to 1 (default ?) for some of inspectors/plugins/modules, because they inited between parse_cmd_line and parse_config (where -z lies).
Due to this bug/feature for many instances we have access to uninted array p->pp_class.init[slot] in function InspectorManager::thread_init (), when slot > 1 but this array for some inspectors (appid ,telnet ,etc) has length 1 (see PHClass costructor).
So we must duplicate "-z" in command line or do not use snort["-z"]=true at all.