Bug 396088

Summary: Assertion 'close_nointr(fd) != -EBADF' failed
Product: [Applications] ktorrent Reporter: Laurent Bonnaud <L.Bonnaud>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Laurent Bonnaud 2018-07-02 11:42:29 UTC
Hi,

after several days of uptime, ktorrent often stops with the following assertion failure:

Assertion 'close_nointr(fd) != -EBADF' failed at ../src/basic/fd-util.c:81, function safe_close(). Aborting.

Steps to reproduce:
1. download the ubuntu-18.04-desktop-amd64.iso torrent
2. leave ktorrent running to seed this torrent
3. wait for several days

Version info:
Ubuntu 18.04
ktorrent 5.1.0
KF5 5.47
Qt 5.9.5
Comment 1 Laurent Bonnaud 2019-05-13 18:35:26 UTC
Closing since I have not seen this bug again.