From: Ralf H. <ra...@bo...> - 2015-03-02 21:19:37
|
Hi, On 2015-03-02 10:20, Artem Pylypchuk wrote: > Hi! I've been using avfs for a while, but recently I built a new Gentoo, and when extracting from rar it doesn't work: > > [341006.628386] rar[16227]: segfault at 28 ip b74e8cc0 sp bf9642e0 error 4 in libc-2.18.so[b7486000+196000] > [341006.645071] unrar[16262]: segfault at 7b ip b74c3f51 sp bfd0ac00 error 4 in libc-2.18.so[b7455000+196000] > > I have no idea why - is it because of "shared library hack" nature of avfs? Rar/unrar work perfectly on their own. That seems indeed weird. Do you use avfs via fuse or as a regular library? Both methods don't use any hacks. Maybe you mean the preload method by transparently redirecting the file system calls to AVFS, but I'm not sure if this actually still works. Problem could also be the specific options used to extract a single file from a rar archive. You can see them in the file "modules/urar.c" in function "get_rar_file". Basically rar is called like this: rar p -c- -ierr <archive> <file to extract> You can check if this also works when running rar separately. Best Regards, Ralf -- Ralf Hoffmann <ra...@bo...> Homepage: http://www.boomerangsworld.de |