Hi,
The fileconnection class did not process the proc/self/* file
If a program try to process the content of /proc/self/*,
It will fail to restart.
Thanks.
Nausca.
//-----following code cause abort
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int main(int argc,char** argv){
int mfd=open("/proc/self/maps",O_RDONLY);
for(int i=0;;i++) {
printf("%dth sleep 10 seconds\n",i);
sleep(10);
}
------------------------------------------------------------------------------
_______________________________________________
Dmtcp-forum mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum