https://bugs.kde.org/show_bug.cgi?id=409332

            Bug ID: 409332
           Summary: Ktorent Crash without motives
           Product: ktorrent
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: romain.dele...@hotmail.fr
  Target Milestone: ---

Application: ktorrent (5.1.0)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-54-generic x86_64
Distribution: Ubuntu 18.04.2 LTS

-- Information about the crash:
This time i was changing the speed limit.
Usualy i'm not in front of the computer (server). I see on somme topic that
sometime with bad connection, ktorent need to have low multiple connection, so
i reduce to 10 conection per torrent and max 50 connection for all torrent.
with limit in download to 100 ko/s and no limit for up, it continu to crash.

I am using ubuntu server with kde by kubuntu added after installation. 
CPU is AMD Ryzen 2600
Kernel 4.15.x (too old for ryzen/segfault thing?)

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7effc1750800 (LWP 3406))]

Thread 9 (Thread 0x7eff8558f700 (LWP 3716)):
#0  0x00007effb71849f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x5632e8fe2b34) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5632e8fe2ae0,
cond=0x5632e8fe2b08) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5632e8fe2b08, mutex=0x5632e8fe2ae0) at
pthread_cond_wait.c:655
#3  0x00007effbc54459b in QWaitConditionPrivate::wait
(time=18446744073709551615, this=0x5632e8fe2ae0) at
thread/qwaitcondition_unix.cpp:143
#4  QWaitCondition::wait (this=this@entry=0x5632e8e25d88,
mutex=mutex@entry=0x5632e8e25d80, time=time@entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:215
#5  0x00007effc0f94413 in net::ReverseResolverThread::run (this=0x5632e8e25d70)
at ./src/net/reverseresolver.cpp:124
#6  0x00007effbc54316d in QThreadPrivate::start (arg=0x5632e8e25d70) at
thread/qthread_unix.cpp:368
#7  0x00007effb717e6db in start_thread (arg=0x7eff8558f700) at
pthread_create.c:463
#8  0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7eff85d90700 (LWP 3715)):
#0  0x00007effbb87bbf9 in __GI___poll (fds=0x5632e8f96cd0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007effc0f948f8 in poll (__timeout=<optimized out>, __nfds=<optimized
out>, __fds=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  net::Poll::poll (this=0x5632e6c48670, timeout=<optimized out>) at
./src/net/poll.cpp:99
#3  0x00007effc0f913c2 in net::UploadThread::waitForSocketsReady
(this=this@entry=0x5632e6c48660) at ./src/net/uploadthread.cpp:129
#4  0x00007effc0f91466 in net::UploadThread::update (this=0x5632e6c48660) at
./src/net/uploadthread.cpp:45
#5  0x00007effc0f91c09 in net::NetworkThread::run (this=0x5632e6c48660) at
./src/net/networkthread.cpp:48
#6  0x00007effbc54316d in QThreadPrivate::start (arg=0x5632e6c48660) at
thread/qthread_unix.cpp:368
#7  0x00007effb717e6db in start_thread (arg=0x7eff85d90700) at
pthread_create.c:463
#8  0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7eff86591700 (LWP 3714)):
#0  0x00007effbb84b9d0 in __GI___nanosleep
(requested_time=requested_time@entry=0x7eff86590d60,
remaining=remaining@entry=0x7eff86590d60) at
../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007effbc77a27d in qt_nanosleep (amount=...) at
kernel/qelapsedtimer_unix.cpp:195
#2  0x00007effc0f91bc8 in net::DownloadThread::update (this=0x5632e6c48330) at
./src/net/downloadthread.cpp:91
#3  0x00007effc0f91c09 in net::NetworkThread::run (this=0x5632e6c48330) at
./src/net/networkthread.cpp:48
#4  0x00007effbc54316d in QThreadPrivate::start (arg=0x5632e6c48330) at
thread/qthread_unix.cpp:368
#5  0x00007effb717e6db in start_thread (arg=0x7eff86591700) at
pthread_create.c:463
#6  0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7eff879d7700 (LWP 3453)):
#0  0x00007effb71849f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x5632e7291c08) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5632e7291bb8,
cond=0x5632e7291be0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5632e7291be0, mutex=0x5632e7291bb8) at
pthread_cond_wait.c:655
#3  0x00007eff91a8de6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007eff91a8db97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007effb717e6db in start_thread (arg=0x7eff879d7700) at
pthread_create.c:463
#6  0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7eff8c9a9700 (LWP 3452)):
#0  0x00007effb71849f3 in futex_wait_cancelable (private=<optimized out>,
expected=0, futex_word=0x5632e8994d8c) at
../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5632e8994d38,
cond=0x5632e8994d60) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x5632e8994d60, mutex=0x5632e8994d38) at
pthread_cond_wait.c:655
#3  0x00007eff91a8de6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#4  0x00007eff91a8db97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#5  0x00007effb717e6db in start_thread (arg=0x7eff8c9a9700) at
pthread_create.c:463
#6  0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7effa2dee700 (LWP 3421)):
#0  0x00007effbb8770b4 in __GI___libc_read (fd=18,
buf=buf@entry=0x7effa2dedb90, nbytes=nbytes@entry=16) at
../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007effb56bf000 in read (__nbytes=16, __buf=0x7effa2dedb90,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7eff9c0039c0) at
../../../../glib/gwakeup.c:210
#3  0x00007effb5679fb7 in g_main_context_check
(context=context@entry=0x7eff94002e20, max_priority=2147483647,
fds=fds@entry=0x7eff94004b20, n_fds=n_fds@entry=1) at
../../../../glib/gmain.c:3680
#4  0x00007effb567a470 in g_main_context_iterate
(context=context@entry=0x7eff94002e20, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3899
#5  0x00007effb567a5dc in g_main_context_iteration (context=0x7eff94002e20,
may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#6  0x00007effbc77a90b in QEventDispatcherGlib::processEvents
(this=0x7eff94004bc0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007effbc71f9ea in QEventLoop::exec (this=this@entry=0x7effa2dedda0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#8  0x00007effbc53e22a in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#9  0x00007effbc54316d in QThreadPrivate::start (arg=0x5632e6d3d4f0) at
thread/qthread_unix.cpp:368
#10 0x00007effb717e6db in start_thread (arg=0x7effa2dee700) at
pthread_create.c:463
#11 0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7effa25ed700 (LWP 3419)):
#0  0x00007effbb87bbf9 in __GI___poll (fds=0x7eff98003ce0, nfds=1,
timeout=2052) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007effb567a4c9 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7eff98003ce0, timeout=<optimized out>, context=0x7eff98000bf0)
at ../../../../glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x7eff98000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3897
#3  0x00007effb567a5dc in g_main_context_iteration (context=0x7eff98000bf0,
may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#4  0x00007effbc77a90b in QEventDispatcherGlib::processEvents
(this=0x7eff98000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007effbc71f9ea in QEventLoop::exec (this=this@entry=0x7effa25ecda0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007effbc53e22a in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#7  0x00007effbc54316d in QThreadPrivate::start (arg=0x5632e6d07c60) at
thread/qthread_unix.cpp:368
#8  0x00007effb717e6db in start_thread (arg=0x7effa25ed700) at
pthread_create.c:463
#9  0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7effa3fff700 (LWP 3415)):
#0  0x00007effbb87bbf9 in __GI___poll (fds=0x7eff9c01a560, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007effb567a4c9 in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7eff9c01a560, timeout=<optimized out>, context=0x7eff9c000bf0)
at ../../../../glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x7eff9c000bf0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3897
#3  0x00007effb567a5dc in g_main_context_iteration (context=0x7eff9c000bf0,
may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#4  0x00007effbc77a90b in QEventDispatcherGlib::processEvents
(this=0x7eff9c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007effbc71f9ea in QEventLoop::exec (this=this@entry=0x7effa3ffed70,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007effbc53e22a in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#7  0x00007effbdba7d45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007effbc54316d in QThreadPrivate::start (arg=0x7effbde1ad60) at
thread/qthread_unix.cpp:368
#9  0x00007effb717e6db in start_thread (arg=0x7effa3fff700) at
pthread_create.c:463
#10 0x00007effbb88888f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7effc1750800 (LWP 3406)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed,
this=0x5232e8b16474) at /usr/include/c++/7/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=...) at
../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=0x5232e8b16474) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:102
#9  QWeakPointer<QObject>::data (this=0x5632e8b167b0) at
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:565
#10 QPointer<QObject>::data (this=0x5632e8b167b0) at
../../include/QtCore/../../src/corelib/kernel/qpointer.h:86
#11 QPointer<QObject>::operator QObject* (this=0x5632e8b167b0) at
../../include/QtCore/../../src/corelib/kernel/qpointer.h:92
#12 QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=0x5632e8b14dc0, event=0x7ffc0fe7ead0) at
kernel/qcoreapplication.cpp:1128
#13 0x00007effbd49f805 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007effbd4a70f4 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007effbc7219a8 in QCoreApplication::notifyInternal2
(receiver=0x5632e8b14dc0, event=0x7ffc0fe7ead0) at
kernel/qcoreapplication.cpp:1024
#16 0x00007effbd4d718a in QWidgetPrivate::sendPaintEvent(QRegion const&) ()
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007effbd4d774a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007effbd4d83b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007effbd4d7356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007effbd4d83b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007effbd4d8539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007effbd4d8539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007effbd4d8539 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007effbd4d7356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007effbd4d83b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007effbd4d7356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007effbd4d83b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007effbd4d7356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007effbd4d83b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007effbd4d7356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007effbd4d83b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007effbd4d7356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007effbd4d83b0 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007effbd4d7356 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007effbd4aee54 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007effbd4af095 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007effbd4c666f in QWidgetPrivate::syncBackingStore() () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007effbd4de1a8 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007effbd5f1c4b in QMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007effc00d7b87 in KMainWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#41 0x00007effc011c9e5 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#42 0x00007effbd49f82c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007effbd4a70f4 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007effbc7219a8 in QCoreApplication::notifyInternal2
(receiver=0x7ffc0fe80d40, event=event@entry=0x5632e9670cc0) at
kernel/qcoreapplication.cpp:1024
#45 0x00007effbc72411d in QCoreApplication::sendEvent (event=0x5632e9670cc0,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x5632e6c43150) at
kernel/qcoreapplication.cpp:1699
#47 0x00007effbc7246a8 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1553
#48 0x00007effbc77b2c3 in postEventSourceDispatch (s=s@entry=0x5632e6cbb000) at
kernel/qeventdispatcher_glib.cpp:276
#49 0x00007effb567a317 in g_main_dispatch (context=0x7effa4004ff0) at
../../../../glib/gmain.c:3176
#50 g_main_context_dispatch (context=context@entry=0x7effa4004ff0) at
../../../../glib/gmain.c:3829
#51 0x00007effb567a550 in g_main_context_iterate
(context=context@entry=0x7effa4004ff0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
../../../../glib/gmain.c:3902
#52 0x00007effb567a5dc in g_main_context_iteration (context=0x7effa4004ff0,
may_block=may_block@entry=1) at ../../../../glib/gmain.c:3963
#53 0x00007effbc77a8ef in QEventDispatcherGlib::processEvents
(this=0x5632e6cb63b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#54 0x00007effbc71f9ea in QEventLoop::exec (this=this@entry=0x7ffc0fe80be0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#55 0x00007effbc728a84 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1297
#56 0x00005632e67fb02a in ?? ()
#57 0x00007effbb788b97 in __libc_start_main (main=0x5632e67f8d60, argc=3,
argv=0x7ffc0fe80f78, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc0fe80f68) at ../csu/libc-start.c:310
#58 0x00005632e67fba0a in _start ()

Possible duplicates by query: bug 409110, bug 393572, bug 384419, bug 383127,
bug 372712.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to