ClosestStorm / rar2fs

Automatically exported from code.google.com/p/rar2fs
GNU General Public License v3.0
0 stars 0 forks source link

rar2fs crash #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I got a crash in rar2fs when scanning my media directory with plex, 

I have tried this version 1.16 and trunk with unrar 4.0.7 and 4.2.4 both dies 
on the same file:

#sudo -u plex rar2fs -o allow_other /mnt/data1 /mnt/data1_rar2fs

LOOKUP /movies/english/In.The.House.2012.720p.BluRay.x264-MELiTE/m-ith-720p.sfv
getattr /movies/english/In.The.House.2012.720p.BluRay.x264-MELiTE/m-ith-720p.sfv
   NODEID: 409
   unique: 876, success, outsize: 144
unique: 877, opcode: READDIR (28), nodeid: 402, insize: 80, pid: 6829
   unique: 877, success, outsize: 16
unique: 878, opcode: RELEASEDIR (29), nodeid: 402, insize: 64, pid: 0
   unique: 878, success, outsize: 16
unique: 879, opcode: LOOKUP (1), nodeid: 3, insize: 103, pid: 6829
LOOKUP 
/movies/english/Iron.Man.Rise.Of.Technovore.2013.720p.BluRay.x264-UNTOUCHABLES
getattr 
/movies/english/Iron.Man.Rise.Of.Technovore.2013.720p.BluRay.x264-UNTOUCHABLES
   NODEID: 410
   unique: 879, success, outsize: 144
unique: 880, opcode: OPENDIR (27), nodeid: 410, insize: 48, pid: 6829
   unique: 880, success, outsize: 32
unique: 881, opcode: READDIR (28), nodeid: 410, insize: 80, pid: 6829
readdir[0] from 0
Got signal 11, faulty address is 0x0x8, from 0x0x407bd9
rar2fs() [0x407bd9]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7effd611bcb0]
/lib/x86_64-linux-gnu/libc.so.6(+0x89101) [0x7effd5dd6101]
/lib/x86_64-linux-gnu/libc.so.6(__strdup+0x16) [0x7effd5dd5d66]
rar2fs() [0x40dad9]
rar2fs() [0x40ea6b]
rar2fs() [0x40edc8]
/lib/x86_64-linux-gnu/libfuse.so.2(fuse_fs_readdir+0x96) [0x7effd6a95986]
/lib/x86_64-linux-gnu/libfuse.so.2(+0xcbd8) [0x7effd6a95bd8]
/lib/x86_64-linux-gnu/libfuse.so.2(+0x14666) [0x7effd6a9d666]
/lib/x86_64-linux-gnu/libfuse.so.2(+0x15947) [0x7effd6a9e947]
/lib/x86_64-linux-gnu/libfuse.so.2(fuse_session_loop+0x9f) [0x7effd6a9b1af]
/lib/x86_64-linux-gnu/libfuse.so.2(fuse_loop+0x1b8) [0x7effd6a931d8]
rar2fs() [0x4088c3]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7effd6113e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7effd5e40cbd]

Original issue reported on code.google.com by andr...@weightpoint.se on 15 Apr 2013 at 5:54

GoogleCodeExporter commented 9 years ago
I just noticed that the file header is corrupt in those files when trying to 
unpack manually. Is there anything I can do to make rar2fs skip this files?

Original comment by andr...@weightpoint.se on 15 Apr 2013 at 6:03

GoogleCodeExporter commented 9 years ago
--seek-length=1 solved it, sorry for not reading the manual better. =)

Regards Andreas

Original comment by andr...@weightpoint.se on 15 Apr 2013 at 7:12

GoogleCodeExporter commented 9 years ago
Thanks for the issue report.
Even though --seek-length=1 solves the problem for you does not mean rar2fs 
should crash simply because some header is corrupt. So your report is very much 
valid.
I will start by sending you a private e-mail with some additional questions 
before digging deeper into this issue.

Original comment by hans.bec...@gmail.com on 15 Apr 2013 at 7:43

GoogleCodeExporter commented 9 years ago
A possible fix has been sent to submitter and verified to resolve the issue 
(also attached). An official version will be committed to trunk after a few 
more tests.

Case closed.

Original comment by hans.bec...@gmail.com on 16 Apr 2013 at 9:41

Attachments: