linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00111
[Bug 473173] Re: Crash when hashing files
Maybe something like that. It isn't pretty, but don't complain unless
you have a better idea.
Now I'd be happy if someone with a broken enough system could test this.
It prevented the crash when the file was truncated during mmaped reads,
but don't know if it will fix the other read errors (and are those
errors reported during fallback slowhash or is that slowhash even
used?).
--RZ
** Attachment added: "Fast Hash error handling"
http://launchpadlibrarian.net/35109451/fastHash-errors.patch
--
Crash when hashing files
https://bugs.launchpad.net/bugs/473173
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
Status in Linux DC++: Confirmed
Bug description:
My linuxdcpp 1.0.3 crashes when hashing files from an external usb drive in a reiserfs partition.
I attach the bugreport. The error is this:
linuxdcpp: xcb_io.c:176: process_responses: La declaración `!(req && current_request && !(((long) (req->sequence) - (long) (current_request)) <= 0))' no se cumple.
Multiple segmentation faults occurred; can't display error dialog
I don't know why but sometimes restarting the program solves the error, but with some concrete files it always crashes!
So I think it depens on the file.
Thanks
References