[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#747672: Dropping patch



Hi Sean,

On Wed, 2016-06-22 at 14:32 +0900, Sean Whitton wrote:
> control: found -1 burp/1.4.40-1
> 
> Dear Svante,
> 
> Although the burp 1.4.40 test suite passes with this patch applied,
> upstream reports that the 2.0.x series test suite finds a problem.  The
> patch causes this problem when applied to burp 1.4.40, even though the
> older test suite passes.
> 
> Since this is an old bug, I am preparing a QA upload to drop the patch
> for now.
...
> > As you can see, get_lock() has three different return codes that mean
> > different things.
> > If you check 'man 2 flock', you will see that flock() will never set errno
> > to EACCES or EAGAIN. This means that get_lock() will never detect the
> > difference between a lock existing, or some error.
> Thanks to Graham for letting me reproduce this explanation.

Explanation understood and appreciated!

You did the right thing to remove that patch, and reopen the bug. GNU/Hurd will
soon have lockf support too. However, the testsuite fails, sometimes also with
the lock.patch applied, ending with:
Test 3
Third backup/restore comparison, with changes
Killing test server

Since the testsuite is run by scripts it is difficult to find out the cause
using gdb. Is there some simple way to set a breakpoint to debug this issue?

Thanks!


Reply to: