The problem arises, when I load Spotless into Spotless (self-debugging). Upon Start (IExec->RestartTask()) the child will crash on this line :
Code: Select all
fd[1] = IDOS->Open ("PIPE:/UNIQUE/NOBLOCK", MODE_NEWFILE);
Code: Select all
process = IDOS->CreateNewProcTags(
NP_Seglist, seglist,
// NP_Entry, foo,
NP_FreeSeglist, false, //important
NP_Name, strdup(command.c_str()),
// NP_CurrentDir, lock,
// NP_ProgramDir, homelock,
// NP_StackSize, 2000000,
NP_Cli, true,
NP_Child, false, //important
NP_Arguments, arguments.c_str(),
NP_Input, IDOS->Input(),
NP_CloseInput, false,
NP_Output, IDOS->Output(), //pipe.getWrite(),
NP_CloseOutput, false,
NP_Error, IDOS->ErrorOutput(),
NP_CloseError, false,
NP_NotifyOnDeathSigTask, IExec->FindTask(0),
TAG_DONE
);