Bug 450811 - ktorrent crash while downloading a file
Summary: ktorrent crash while downloading a file
Status: REPORTED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
: 474784 476276 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-24 18:19 UTC by Laurent Bonnaud
Modified: 2023-10-29 08:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Bonnaud 2022-02-24 18:19:24 UTC
Application: ktorrent (21.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.16.11-051611-lowlatency x86_64
Windowing System: X11
Distribution: Ubuntu 21.10
DrKonqi: 5.24.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I was waiting for the file to finish downlading.

ktorrent sometimes crashes when the dowload speed is very high and saturates my Internet access (1Gb/s).
I have never seen it crash when the download speed is limited by peers and is below my ISP limit.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140033914699328) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140033914699328) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=140033914699328, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007f5c342ba476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f5c342a07b7 in __GI_abort () at abort.c:79
#9  0x00007f5c3463ba31 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#10 0x00007f5c346474ec in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#11 0x00007f5c346464b9 in __cxa_call_terminate (ue_header=0x557799907a40) at ../../../../src/libstdc++-v3/libsupc++/eh_call.cc:54
#12 0x00007f5c34646c3a in __cxxabiv1::__gxx_personality_v0 (version=<optimized out>, actions=6, exception_class=5138137972254386944, ue_header=0x557799907a40, context=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:685
#13 0x00007f5c344ad484 in _Unwind_RaiseException_Phase2 (exc=0x557799907a40, context=0x7ffc43055ea0, frames_p=0x7ffc43055da8) at ../../../src/libgcc/unwind.inc:64
#14 0x00007f5c344adebe in _Unwind_Resume (exc=exc@entry=0x557799907a40) at ../../../src/libgcc/unwind.inc:241
#15 0x00007f5c36716676 in bt::TorrentControl::stop (this=<optimized out>, wjob=<optimized out>) at ./src/torrent/torrentcontrol.cpp:452
#16 0x00007f5c367971cc in bt::TorrentControl::~TorrentControl (this=0x557798d9ab80, __in_chrg=<optimized out>) at ./src/torrent/torrentcontrol.cpp:104
#17 0x00007f5c3679723d in bt::TorrentControl::~TorrentControl (this=0x557798d9ab80, __in_chrg=<optimized out>) at ./src/torrent/torrentcontrol.cpp:124
#18 0x00007f5c368ca32e in qDeleteAll<QList<bt::TorrentInterface*>::const_iterator> (end=..., begin=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:320
#19 qDeleteAll<kt::QueuePtrList> (c=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:328
#20 kt::QueueManager::~QueueManager (this=<optimized out>, this=<optimized out>) at ./libktcore/torrent/queuemanager.cpp:52
#21 0x00007f5c368ca3ad in kt::QueueManager::~QueueManager (this=<optimized out>, this=<optimized out>) at ./libktcore/torrent/queuemanager.cpp:53
#22 0x00005577989000a4 in kt::Core::~Core (this=<optimized out>, this=<optimized out>) at ./ktorrent/core.cpp:115
#23 0x0000557798909c12 in kt::Core::~Core (this=<optimized out>, this=<optimized out>) at ./ktorrent/core.cpp:113
#24 kt::GUI::~GUI (this=<optimized out>, this=<optimized out>) at ./ktorrent/gui.cpp:115
#25 0x00005577988f2c8b in main (argc=<optimized out>, argv=<optimized out>) at ./ktorrent/main.cpp:236
[Inferior 1 (process 48552) detached]

Possible duplicates by query: bug 447918.

Reported using DrKonqi
Comment 1 Christophe Marin 2023-10-29 08:04:52 UTC
*** Bug 476276 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2023-10-29 08:05:50 UTC
*** Bug 474784 has been marked as a duplicate of this bug. ***