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

            Bug ID: 393601
           Summary: KTorrent crashes when port changes
           Product: ktorrent
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: mayeul.can...@live.fr
  Target Milestone: ---

Application: ktorrent (5.1.0)

Qt Version: 5.10.1
Frameworks Version: 5.45.0
Operating System: Linux 4.16.3-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
* I opened KTorrent (a few torrents were there, downloading)
* I opened the settings window
* I changed the port KTorrent was listening on
* I hit "Apply"
* KTorrent crashed.

I can always reproduce this bug. The settings seem to be remembered when I
restart KTorrent. DHT is enabled, if that matters at all.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Thread 0x7fc7a635a700 (LWP 14105) exited]
[Current thread is 1 (Thread 0x7fc81e469380 (LWP 14070))]

Thread 7 (Thread 0x7fc7a5b59700 (LWP 14106)):
#0  0x00007fc818553dd6 in ppoll () at /usr/lib/libc.so.6
#1  0x00007fc7a7bd84b0 in  () at /usr/lib/libnss_resolve.so.2
#2  0x00007fc7a7bdaba9 in  () at /usr/lib/libnss_resolve.so.2
#3  0x00007fc7a7bc8c0d in _nss_resolve_gethostbyaddr2_r () at
/usr/lib/libnss_resolve.so.2
#4  0x00007fc7a7bc9064 in _nss_resolve_gethostbyaddr_r () at
/usr/lib/libnss_resolve.so.2
#5  0x00007fc818570071 in gethostbyaddr_r@@GLIBC_2.2.5 () at /usr/lib/libc.so.6
#6  0x00007fc818578550 in gni_host_inet_name.isra () at /usr/lib/libc.so.6
#7  0x00007fc818578c83 in getnameinfo () at /usr/lib/libc.so.6
#8  0x00007fc81dc95308 in  () at /usr/lib/libKF5Torrent.so.6
#9  0x00007fc81dc95a41 in  () at /usr/lib/libKF5Torrent.so.6
#10 0x00007fc819203acd in  () at /usr/lib/libQt5Core.so.5
#11 0x00007fc813e250bc in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007fc81855e2ff in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fc7a6b5b700 (LWP 14104)):
#0  0x00007fc818553cd9 in poll () at /usr/lib/libc.so.6
#1  0x00007fc81dc95fc5 in net::Poll::poll(int) () at
/usr/lib/libKF5Torrent.so.6
#2  0x00007fc81dc9217c in  () at /usr/lib/libKF5Torrent.so.6
#3  0x00007fc81dc92216 in  () at /usr/lib/libKF5Torrent.so.6
#4  0x00007fc81dc92449 in  () at /usr/lib/libKF5Torrent.so.6
#5  0x00007fc819203acd in  () at /usr/lib/libQt5Core.so.5
#6  0x00007fc813e250bc in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fc81855e2ff in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fc7fe5ed700 (LWP 14075)):
[KCrash Handler]
#6  0x00007fc81942e0b4 in QSocketNotifier::type() const () at
/usr/lib/libQt5Core.so.5
#7  0x00007fc81944d0bd in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fc811719f22 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#9  0x00007fc81171a4c6 in  () at /usr/lib/libglib-2.0.so.0
#10 0x00007fc81171a63e in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#11 0x00007fc81944d264 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#12 0x00007fc8193ef32b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#13 0x00007fc8191fe72e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#14 0x00007fc819203acd in  () at /usr/lib/libQt5Core.so.5
#15 0x00007fc813e250bc in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007fc81855e2ff in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fc7fedee700 (LWP 14074)):
#0  0x00007fc818553cd9 in poll () at /usr/lib/libc.so.6
#1  0x00007fc81171a523 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc81171a63e in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x00007fc81944d264 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#4  0x00007fc8193ef32b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#5  0x00007fc8191fe72e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fc819203acd in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fc813e250bc in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fc81855e2ff in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc807795700 (LWP 14071)):
#0  0x00007fc818553cd9 in poll () at /usr/lib/libc.so.6
#1  0x00007fc814465180 in  () at /usr/lib/libxcb.so.1
#2  0x00007fc814466e4b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fc80a32f82a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fc819203acd in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fc813e250bc in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fc81855e2ff in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc81e469380 (LWP 14070)):
#0  0x00007fc813e2b07c in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007fc819204fac in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib/libQt5Core.so.5
#2  0x00007fc819203697 in QThread::wait(unsigned long) () at
/usr/lib/libQt5Core.so.5
#3  0x00007fc81dc90a4c in net::SocketMonitor::Private::shutdown() () at
/usr/lib/libKF5Torrent.so.6
#4  0x00007fc81dc90ac9 in net::SocketMonitor::~SocketMonitor() () at
/usr/lib/libKF5Torrent.so.6
#5  0x00007fc81849ede5 in __cxa_finalize () at /usr/lib/libc.so.6
#6  0x00007fc81dc70193 in  () at /usr/lib/libKF5Torrent.so.6
#7  0x00007ffc25a3b810 in  ()
#8  0x00007fc81e2c7363 in _dl_fini () at /lib64/ld-linux-x86-64.so.2

Reported using DrKonqi

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

Reply via email to