linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #00113
[Bug 473173] Re: Crash when hashing files
This may be a duplicate of bug #311478.
I didn't realize that mmap could throw a signal instead of just
returning an error like read() does. I would suggest you move the sig
handler & env variable down near the fastHash function instead of in the
includes section. Also, in the case of sigsetjmp the sig handler would
not be unregistered. The latest HashManager.cpp handles this by breaking
out of the loop instead of closing the fd and returning when there's an
error.
I hope the fastHash is significantly faster than the regular hash for
all the headaches that it has been giving us....
--
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