Bug 351422 - [memcpy EncryptedAuthenticate::handlePadD] ktorrent crashed
Summary: [memcpy EncryptedAuthenticate::handlePadD] ktorrent crashed
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.3.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-08-18 05:22 UTC by Lastique
Modified: 2018-12-01 03:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lastique 2015-08-18 05:22:23 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.14.8
Qt Version: 4.8.6
Operating System: Linux 3.19.0-25-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:

Ktorrent was running in the background when it crashed. There were no active downloads but about 30 torrents were seeding.

Not sure if it's connected, but I noticed an unusal behavior when it happened. For some reason I was unable to authenticate myself in gksudo when it crashed, for example to install ktorrent-dbg. Instead of the window to enter my password the error window appeared: "This operation cannot continue since proper authorization was not provided". I was able to authenticate in the console though. This never happened before, and I was not doing anything with the system when it did, so I don't know how to reproduce it.

-- 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 0x7f4c00210800 (LWP 1462))]

Thread 9 (Thread 0x7f4bea81d700 (LWP 1615)):
#0  0x00007f4bfc00849d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4bf7db52f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4bf7d7196c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4bf7d71e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4bf7d71fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4bfccbe87e in QEventDispatcherGlib::processEvents (this=0x7f4bdc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f4bfcc8dd21 in QEventLoop::processEvents (this=this@entry=0x7f4bea81cdd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4bfcc8e085 in QEventLoop::exec (this=this@entry=0x7f4bea81cdd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4bfcb81e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#9  0x00007f4bfcb846ff in QThreadPrivate::start (arg=0xc32eb0) at thread/qthread_unix.cpp:349
#10 0x00007f4bf8ce76aa in start_thread (arg=0x7f4bea81d700) at pthread_create.c:333
#11 0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f4beb01e700 (LWP 2326)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4be350e81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4be350e859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f4bf8ce76aa in start_thread (arg=0x7f4beb01e700) at pthread_create.c:333
#4  0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f4b98765700 (LWP 2356)):
#0  0x00007f4bf7db6789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4bf7d71ea2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4bf7d71fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4bfccbe87e in QEventDispatcherGlib::processEvents (this=0x7f4be40013b0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f4bfcc8dd21 in QEventLoop::processEvents (this=this@entry=0x7f4b98764dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4bfcc8e085 in QEventLoop::exec (this=this@entry=0x7f4b98764dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4bfcb81e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007f4bfcb846ff in QThreadPrivate::start (arg=0x2d2a120) at thread/qthread_unix.cpp:349
#8  0x00007f4bf8ce76aa in start_thread (arg=0x7f4b98765700) at pthread_create.c:333
#9  0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f4b978db700 (LWP 2357)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4be324f20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4be353dfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f4bf8ce76aa in start_thread (arg=0x7f4b978db700) at pthread_create.c:333
#4  0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f4b7feff700 (LWP 2372)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f4bfcb83062 in _q_futex (val2=<optimized out>, addr2=<optimized out>, timeout=<optimized out>, val=<optimized out>, op=<optimized out>, addr=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xa6a600, timeout=-1000000) at thread/qmutex_unix.cpp:113
#3  0x00007f4bfcb7f42d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f4bffd07ff9 in net::SocketMonitor::lock (this=<optimized out>) at ../../src/net/socketmonitor.cpp:108
#5  0x00007f4bffd0984c in net::DownloadThread::update (this=0xa6a630) at ../../src/net/downloadthread.cpp:51
#6  0x00007f4bffd09a49 in net::NetworkThread::run (this=0xa6a630) at ../../src/net/networkthread.cpp:48
#7  0x00007f4bfcb846ff in QThreadPrivate::start (arg=0xa6a630) at thread/qthread_unix.cpp:349
#8  0x00007f4bf8ce76aa in start_thread (arg=0x7f4b7feff700) at pthread_create.c:333
#9  0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f4b7f6fe700 (LWP 2373)):
#0  net::Socket::ok (this=0x6045050) at ../../src/net/socket.h:50
#1  0x00007f4bffd0917e in net::UploadThread::update (this=0xa6aa20) at ../../src/net/uploadthread.cpp:57
#2  0x00007f4bffd09a49 in net::NetworkThread::run (this=0xa6aa20) at ../../src/net/networkthread.cpp:48
#3  0x00007f4bfcb846ff in QThreadPrivate::start (arg=0xa6aa20) at thread/qthread_unix.cpp:349
#4  0x00007f4bf8ce76aa in start_thread (arg=0x7f4b7f6fe700) at pthread_create.c:333
#5  0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f4b7eefd700 (LWP 2374)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4bfcb84c56 in wait (time=18446744073709551615, this=0x328f0c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x31df8e8, mutex=mutex@entry=0x31df8e0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4bffd0c32a in net::ReverseResolverThread::run (this=0x31df8d0) at ../../src/net/reverseresolver.cpp:124
#4  0x00007f4bfcb846ff in QThreadPrivate::start (arg=0x31df8d0) at thread/qthread_unix.cpp:349
#5  0x00007f4bf8ce76aa in start_thread (arg=0x7f4b7eefd700) at pthread_create.c:333
#6  0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f4b964d9700 (LWP 6334)):
#0  0x00007f4bf7db6789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4bf7d71641 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4bf7d71e37 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4bf7d71fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4bfccbe87e in QEventDispatcherGlib::processEvents (this=0x7f4b8c001c20, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f4bfcc8dd21 in QEventLoop::processEvents (this=this@entry=0x7f4b964d8d80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4bfcc8e085 in QEventLoop::exec (this=this@entry=0x7f4b964d8d80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4bfcb81e89 in QThread::exec (this=this@entry=0x40297a0) at thread/qthread.cpp:538
#8  0x00007f4bfcc6e493 in QInotifyFileSystemWatcherEngine::run (this=0x40297a0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f4bfcb846ff in QThreadPrivate::start (arg=0x40297a0) at thread/qthread_unix.cpp:349
#10 0x00007f4bf8ce76aa in start_thread (arg=0x7f4b964d9700) at pthread_create.c:333
#11 0x00007f4bfc017eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f4c00210800 (LWP 1462)):
[KCrash Handler]
#6  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:33
#7  0x00007f4bffd10093 in mse::EncryptedAuthenticate::handlePadD (this=0x5a557a0) at ../../src/mse/encryptedauthenticate.cpp:241
#8  0x00007f4bffd13994 in bt::AuthenticationMonitor::handleData (this=0x6d9ee0 <bt::AuthenticationMonitor::self>) at ../../src/peer/authenticationmonitor.cpp:136
#9  0x00007f4bffd13b7e in bt::AuthenticationMonitor::update (this=<optimized out>) at ../../src/peer/authenticationmonitor.cpp:111
#10 0x000000000042badf in kt::Core::update (this=0xcc4580) at ../../ktorrent/core.cpp:1047
#11 0x0000000000433db5 in kt::Core::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./core.moc:142
#12 0x00007f4bfcca41ec in QMetaObject::activate (sender=0xcc45a8, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#13 0x00007f4bfcca87b3 in QObject::event (this=0xcc45a8, e=<optimized out>) at kernel/qobject.cpp:1253
#14 0x00007f4bfd1c19bc in QApplicationPrivate::notify_helper (this=this@entry=0xa9f760, receiver=receiver@entry=0xcc45a8, e=e@entry=0x7ffde801b430) at kernel/qapplication.cpp:4570
#15 0x00007f4bfd1c84d8 in QApplication::notify (this=0x7ffde801c390, receiver=0xcc45a8, e=0x7ffde801b430) at kernel/qapplication.cpp:4356
#16 0x000000000043a5d2 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#17 0x00007f4bfcc8f1cd in QCoreApplication::notifyInternal (this=0x7ffde801c390, receiver=0xcc45a8, event=event@entry=0x7ffde801b430) at kernel/qcoreapplication.cpp:955
#18 0x00007f4bfccc0e9b in sendEvent (event=0x7ffde801b430, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QTimerInfoList::activateTimers (this=0xa9fd00) at kernel/qeventdispatcher_unix.cpp:621
#20 0x00007f4bfccbdec9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#21 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#22 0x00007f4bf7d71c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f4bf7d71f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f4bf7d71fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f4bfccbe85e in QEventDispatcherGlib::processEvents (this=0xa9d130, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#26 0x00007f4bfd269c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f4bfcc8dd21 in QEventLoop::processEvents (this=this@entry=0x7ffde801b6b0, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f4bfcc8e085 in QEventLoop::exec (this=this@entry=0x7ffde801b6b0, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f4bfcc93b09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#30 0x00007f4bfd1bfc1c in QApplication::exec () at kernel/qapplication.cpp:3828
#31 0x0000000000427838 in main (argc=3, argv=<optimized out>) at ../../ktorrent/main.cpp:186

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:39:57 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-16 11:34:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-12-01 03:49:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!