segmentation fault

Comments, questions, bug reports, etc.
Post Reply
deployer
Posts: 11
Joined: Fri Nov 20, 2015 1:57 am

segmentation fault

Post 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
synchronicity
Site Admin
Posts: 474
Joined: Sun Aug 02, 2015 10:31 pm

Re: segmentation fault

Post 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.
deployer
Posts: 11
Joined: Fri Nov 20, 2015 1:57 am

Re: segmentation fault

Post 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.
deployer
Posts: 11
Joined: Fri Nov 20, 2015 1:57 am

Re: segmentation fault

Post by deployer »

This ended up being a corrupted gconv folder. It is working fine now. Thanks.
Post Reply