Page 1 of 1

segmentation fault

Posted: Fri Nov 20, 2015 2:22 am
by deployer
Hello,

Is there a minimum amount of free space / ram required to apply a captured wim. Here is my situation. I am using embedded linux with a small filesystem running entirely from a ramdisk. There is only about 10 mb of free space. I can mount a partition and create a wim to an smb mount without any issue, but when I try to apply that wim back it results in a segmentation fault immediately. If I try to use that same wim with a full Linux distro it applies without any problems.

Any thoughts?

Thanks

Re: segmentation fault

Posted: Fri Nov 20, 2015 2:45 am
by synchronicity
wimlib doesn't usually use temporary files, but it does use roughly 500-1000 bytes of memory per file processed. So, WIM images with huge numbers of files can't be captured or applied in limited memory situations.

Do you know where the program is segfaulting, exactly? Maybe you could check with a debugger.

Re: segmentation fault

Posted: Fri Nov 20, 2015 2:53 am
by deployer
The system has very limited capabilities. I will need to see if I can somehow get a debugger included in it. Right now it doesn't have that built in.

Re: segmentation fault

Posted: Fri Nov 20, 2015 4:34 pm
by deployer
This ended up being a corrupted gconv folder. It is working fine now. Thanks.