On 2014-03-07 06:00, Caio Yuri da Silva Costa wrote: > There is an old e-mail (May 2012), viewable on > sourceforge.net/p/cygwin-ports/mailman/message/29275412, about a problem > running lrzip on Cygwin. The only response says “will look into it > further”, and I could not find anything on the net. As I really want to > run lrzip on Cygwin, I decided to try my luck on this issue. Got the > latest version from lrzip’s git and built it, fired up GDB and started > looking for the error. > > This is my progress on the issue, so if anybody is interested and wants > to help, too: > > As it seems, in rzip.c, function hash_search, there is a mutex that is > locked on one thread and then unlocked in another. This is undefined > behavior. So what I found is that the error occurs because thread A > locks the mutex, thread B tries to unlock it and fails because it > belongs to A. In Linux this may be working but not in Windows. > > Out of time now, but I will try rewriting these locks soon.
Thanks for looking into this! Please keep us posted on your progress. Yaakov Cygwin Ports ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Cygwin-ports-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
