Bug 268929

Summary: ktorrent crashed while searching in tpb
Product: [Applications] konqueror Reporter: Filipe <piovisqui>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Filipe 2011-03-20 04:14:15 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic x86_64
Distribution: Ubuntu 10.10

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

I was just searching for torrents in thepiratebay inside ktorrent.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f18bc741760 (LWP 6064))]

Thread 8 (Thread 0x7f18a7119700 (LWP 6097)):
#0  0x00007f18b81bd2c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f18bc2af212 in ?? () from /usr/lib/libktorrent.so.2
#2  0x00007f18b9b7a27e in QThreadPrivate::start (arg=0x196cf40) at thread/qthread_unix.cpp:266
#3  0x00007f18b98ef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f18b81c492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f1895292700 (LWP 6283)):
#0  0x00007f18b98f1665 in __pthread_mutex_lock (mutex=0x25cbe18) at pthread_mutex_lock.c:61
#1  0x00007f18b3995a61 in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0x00007f18b399aefc in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f18b399b45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f18b9c9a1e6 in QEventDispatcherGlib::processEvents (this=0x29f0750, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f18b9c6ca02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f18b9c6cdec in QEventLoop::exec (this=0x7f1895291db0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f18b9b772fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f18b9c4c5f8 in QInotifyFileSystemWatcherEngine::run (this=0x25cb2d0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f18b9b7a27e in QThreadPrivate::start (arg=0x25cb2d0) at thread/qthread_unix.cpp:266
#10 0x00007f18b98ef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f18b81c492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1894a91700 (LWP 6676)):
#0  0x00007f18b81b8203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f18bc25079c in net::Poll::poll(int) () from /usr/lib/libktorrent.so.2
#2  0x00007f18bc24c700 in ?? () from /usr/lib/libktorrent.so.2
#3  0x00007f18bc24c7e6 in ?? () from /usr/lib/libktorrent.so.2
#4  0x00007f18bc24d2c9 in ?? () from /usr/lib/libktorrent.so.2
#5  0x00007f18b9b7a27e in QThreadPrivate::start (arg=0x188d300) at thread/qthread_unix.cpp:266
#6  0x00007f18b98ef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f18b81c492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1894290700 (LWP 6677)):
#0  0x00007f18b81b8203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f18bc25079c in net::Poll::poll(int) () from /usr/lib/libktorrent.so.2
#2  0x00007f18bc24bd96 in ?? () from /usr/lib/libktorrent.so.2
#3  0x00007f18bc24be86 in ?? () from /usr/lib/libktorrent.so.2
#4  0x00007f18bc24d2c9 in ?? () from /usr/lib/libktorrent.so.2
#5  0x00007f18b9b7a27e in QThreadPrivate::start (arg=0x188d860) at thread/qthread_unix.cpp:266
#6  0x00007f18b98ef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f18b81c492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1893a8f700 (LWP 6678)):
#0  0x00007f18b81b672d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f18b8151278 in _IO_new_file_underflow (fp=0x7f18a000e440) at fileops.c:606
#2  0x00007f18b8152dfe in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f18b814732e in _IO_getline_info (fp=0x7f18a000e440, buf=0x7f18bc76d000 "RESOLVE-ADDRESS 187.28.173.122\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f18b8146209 in _IO_fgets (buf=0x7f1893a8e0d0 "-15 Timeout reached\n", n=<value optimized out>, fp=0x7f18a000e440) at iofgets.c:58
#5  0x00007f189308cfcb in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f189308d435 in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f18b81df578 in __gethostbyaddr_r (addr=0x21e1184, len=4, type=<value optimized out>, resbuf=0x7f1893a8eb50, buffer=<value optimized out>, buflen=<value optimized out>, result=0x7f1893a8eb80, h_errnop=0x7f1893a8eb8c) at ../nss/getXXbyYY_r.c:253
#8  0x00007f18b81e5b6b in getnameinfo (sa=0x21e1180, addrlen=<value optimized out>, host=0x7f1893a8ecb0 "", hostlen=199, serv=0x7f1893a8ebe0 "", servlen=199, flags=<value optimized out>) at getnameinfo.c:223
#9  0x00007f18bc24ff4f in ?? () from /usr/lib/libktorrent.so.2
#10 0x00007f18bc24fff0 in ?? () from /usr/lib/libktorrent.so.2
#11 0x00007f18bc2501dd in ?? () from /usr/lib/libktorrent.so.2
#12 0x00007f18b9b7a27e in QThreadPrivate::start (arg=0x2b635e0) at thread/qthread_unix.cpp:266
#13 0x00007f18b98ef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f18b81c492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f189308b700 (LWP 7447)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f18b9b7ada2 in wait (this=<value optimized out>, mutex=0x2c00a80, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2c00a80, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f18b9b6fda2 in QThreadPoolThread::run (this=0x2cd0720) at concurrent/qthreadpool.cpp:140
#4  0x00007f18b9b7a27e in QThreadPrivate::start (arg=0x2cd0720) at thread/qthread_unix.cpp:266
#5  0x00007f18b98ef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f18b81c492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f189288a700 (LWP 7637)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f18b9b7ada2 in wait (this=<value optimized out>, mutex=0x2c00a80, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2c00a80, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f18b9b6fda2 in QThreadPoolThread::run (this=0x23f2890) at concurrent/qthreadpool.cpp:140
#4  0x00007f18b9b7a27e in QThreadPrivate::start (arg=0x23f2890) at thread/qthread_unix.cpp:266
#5  0x00007f18b98ef971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f18b81c492d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f18bc741760 (LWP 6064)):
[KCrash Handler]
#6  isNull (this=<value optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:547
#7  KHTMLView::resizeEvent (this=<value optimized out>) at ../../khtml/khtmlview.cpp:861
#8  0x00007f18b8e0dc60 in QWidget::event (this=0x2c0a7b0, event=0x7fffe6f59e80) at kernel/qwidget.cpp:8341
#9  0x00007f18b91d95e6 in QFrame::event (this=0x2c0a7b0, e=0x7fffe6f59e80) at widgets/qframe.cpp:557
#10 0x00007f18b9c6d507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2c0a690, event=0x7fffe6f59e80) at kernel/qcoreapplication.cpp:847
#11 0x00007f18b8db7fac in QApplicationPrivate::notify_helper (this=0x18e5390, receiver=0x2c0a690, e=0x7fffe6f59e80) at kernel/qapplication.cpp:4392
#12 0x00007f18b8dbdaed in QApplication::notify (this=0x7fffe6f5d4b0, receiver=0x2c0a690, e=0x7fffe6f59e80) at kernel/qapplication.cpp:4277
#13 0x0000000000437d1a in _start ()

Reported using DrKonqi
Comment 1 Joris Guisson 2011-03-20 12:03:51 UTC
KHTML bug
Comment 2 Tommi Tervo 2011-03-22 18:44:13 UTC

*** This bug has been marked as a duplicate of bug 249453 ***