[Xapian-tickets] [Xapian] #781: Sockets not closed on RemoteDatabase error during initialisation

Xapian nobody at xapian.org
Mon May 8 01:23:43 BST 2023


#781: Sockets not closed on RemoteDatabase error during initialisation
-----------------------------+-------------------------------
 Reporter:  German M. Bravo  |             Owner:  Olly Betts
     Type:  defect           |            Status:  assigned
 Priority:  normal           |         Milestone:  1.5.0
Component:  Backend-Remote   |           Version:  1.4.11
 Severity:  normal           |        Resolution:
 Keywords:                   |        Blocked By:
 Blocking:                   |  Operating System:  All
-----------------------------+-------------------------------
Comment (by Olly Betts):

 A recent change has made the testcase above work for remotetcp too:
 2bf8eee128456d0d2076096ab2b56f47b0b65776

 The fix for this no longer cleanly reverts, so instead I tried applying
 this change to the parent of the original fix
 (3dcd784bc105d7dc0db10bba1c9a8be28f52611b^).

 {{{
 Running test './apitest -v remotefdleak1' under eatmydata
 Running tests with backend "honey"...
 Running tests with backend "none"...
 Running tests with backend "inmemory"...
 Running tests with backend "glass"...
 Running tests with backend "singlefile_glass"...
 Running tests with backend "multi_glass"...
 Running tests with backend "remoteprog_glass"...
 Running test: remotefdleak1... POSSIBLE FDLEAK: 5 -> socket:[6132367]
 FDLEAK: 6 -> socket:[6132372]
 ./apitest backend remoteprog_glass: 0 tests passed, 1 failed.
 Running tests with backend "remotetcp_glass"...
 Running test: remotefdleak1...
 }}}

 and it seems to hang there.  A clean failure without the fix would be
 nicer, but this will do.
-- 
Ticket URL: <https://trac.xapian.org/ticket/781#comment:26>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list