Bug 271466

Summary: Ktorrent crash
Product: [Applications] konqueror Reporter: grigoreagape <grigoreagape>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: grigoreagape
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.3
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description grigoreagape 2011-04-22 07:13:38 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Searching The Pirates Bay for a torrent using the search plug-in.

- Unusual behavior I noticed:
Not a usual behavoiur, but it's the first time i use it

- Custom settings of the application:
The default setings.

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

Thread 5 (Thread 0xb5746b70 (LWP 1725)):
#0  0x002757d4 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x021434fb in g_main_context_release () from /lib/libglib-2.0.so.0
#2  0x02145473 in ?? () from /lib/libglib-2.0.so.0
#3  0x02145848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x0153559f in QEventDispatcherGlib::processEvents (this=0x9d03fc0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x01505609 in QEventLoop::processEvents (this=0xb5746290, flags=) at kernel/qeventloop.cpp:149
#6  0x01505a8a in QEventLoop::exec (this=0xb5746290, flags=...) at kernel/qeventloop.cpp:201
#7  0x01401b7e in QThread::exec (this=0x9bdfca0) at thread/qthread.cpp:490
#8  0x014e435b in QInotifyFileSystemWatcherEngine::run (this=0x9bdfca0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x01404df9 in QThreadPrivate::start (arg=0x9bdfca0) at thread/qthread_unix.cpp:266
#10 0x00271cc9 in start_thread () from /lib/libpthread.so.0
#11 0x0064769e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb194cb70 (LWP 1748)):
#0  0x00d1b416 in __kernel_vsyscall ()
#1  0x00601a06 in gettimeofday () from /lib/libc.so.6
#2  0x00734356 in bt::Now() () from /usr/lib/libktorrent.so.2
#3  0x0074c5ca in ?? () from /usr/lib/libktorrent.so.2
#4  0x0074d178 in ?? () from /usr/lib/libktorrent.so.2
#5  0x01404df9 in QThreadPrivate::start (arg=0x9a54978) at thread/qthread_unix.cpp:266
#6  0x00271cc9 in start_thread () from /lib/libpthread.so.0
#7  0x0064769e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xad18ab70 (LWP 1749)):
#0  0x00d1b416 in __kernel_vsyscall ()
#1  0x002764dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x01403ef2 in QMutexPrivate::wait (this=0x9a54910, timeout=-1) at thread/qmutex_unix.cpp:84
#3  0x013ff5ca in QMutex::lock (this=0x8116894) at thread/qmutex.cpp:167
#4  0x0074a890 in net::SocketMonitor::lock() () from /usr/lib/libktorrent.so.2
#5  0x0074bb15 in ?? () from /usr/lib/libktorrent.so.2
#6  0x0074d178 in ?? () from /usr/lib/libktorrent.so.2
#7  0x01404df9 in QThreadPrivate::start (arg=0x9a54d80) at thread/qthread_unix.cpp:266
#8  0x00271cc9 in start_thread () from /lib/libpthread.so.0
#9  0x0064769e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac989b70 (LWP 1750)):
#0  0x00d1b416 in __kernel_vsyscall ()
#1  0x002764dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x014059c7 in wait (this=0xa641f7c, mutex=0xa641f78, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xa641f7c, mutex=0xa641f78, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x007508f2 in ?? () from /usr/lib/libktorrent.so.2
#5  0x01404df9 in QThreadPrivate::start (arg=0xa641f70) at thread/qthread_unix.cpp:266
#6  0x00271cc9 in start_thread () from /lib/libpthread.so.0
#7  0x0064769e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7770710 (LWP 1721)):
[KCrash Handler]
#7  KHTMLView::resizeEvent (this=0xabde628) at ../../khtml/khtmlview.cpp:874
#8  0x017c4c53 in QWidget::event (this=0xabde628, event=0xbfcb1988) at kernel/qwidget.cpp:8341
#9  0x01be6763 in QFrame::event (this=0xabde628, e=0xbfcb1988) at widgets/qframe.cpp:557
#10 0x01c83a82 in QAbstractScrollArea::viewportEvent (this=0x0, e=0x9fc6abc) at widgets/qabstractscrollarea.cpp:1043
#11 0x0401e9a7 in KHTMLView::viewportEvent (this=0xabde628, e=0x0) at ../../khtml/khtmlview.cpp:2151
#12 0x01c864d5 in viewportEvent (this=0xa03ed88, o=0x9fdbf98, e=0xbfcb1988) at widgets/qabstractscrollarea_p.h:100
#13 QAbstractScrollAreaFilter::eventFilter (this=0xa03ed88, o=0x9fdbf98, e=0xbfcb1988) at widgets/qabstractscrollarea_p.h:116
#14 0x0150629a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9a7e058, receiver=0x9fdbf98, event=0xbfcb1988) at kernel/qcoreapplication.cpp:847
#15 0x01766fb9 in QApplicationPrivate::notify_helper (this=0x9a7e058, receiver=0x9fdbf98, e=0xbfcb1988) at kernel/qapplication.cpp:4392
#16 0x0176d0e9 in QApplication::notify (this=0xbfcb4630, receiver=0x9fdbf98, e=0xbfcb1988) at kernel/qapplication.cpp:4361
#17 0x080783dc in _start ()

Reported using DrKonqi
Comment 1 grigoreagape 2011-04-22 07:26:17 UTC
Created attachment 59200 [details]
New crash information added by DrKonqi

ktorrent (4.0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
This happened when i presed enter to star the search in the search torrent plug-in

- Unusual behavior I noticed:

- Custom settings of the application:

-- Backtrace (Reduced):
#7  KHTMLView::resizeEvent (this=0x9295400) at ../../khtml/khtmlview.cpp:874
#8  0x06848c53 in QWidget::event (this=0x9295400, event=0xbf89f1b8) at kernel/qwidget.cpp:8341
#9  0x06c6a763 in QFrame::event (this=0x9295400, e=0xbf89f1b8) at widgets/qframe.cpp:557
#10 0x06d07a82 in QAbstractScrollArea::viewportEvent (this=0x0, e=0x922545c) at widgets/qabstractscrollarea.cpp:1043
#11 0xb22379a7 in KHTMLView::viewportEvent (this=0x9295400, e=0x0) at ../../khtml/khtmlview.cpp:2151
Comment 2 Joris Guisson 2011-04-22 22:01:58 UTC
KHTML problem, reassigning
Comment 3 Andrea Iacovitti 2012-04-13 10:35:23 UTC
Git commit 6f8d94f5c2ff8078cfcfcc1f9ce6d23d815cd86c by Andrea Iacovitti.
Committed on 13/04/2012 at 12:24.
Pushed by aiacovitti into branch 'KDE/4.8'.

Check for null pointer.
Fix crash that could occur when oxygen animations are enabled.
Related: bug 249453, bug 297967, bug 297901, bug 285158
FIXED-IN: 4.8.3

M  +1    -1    khtml/khtmlview.cpp

http://commits.kde.org/kdelibs/6f8d94f5c2ff8078cfcfcc1f9ce6d23d815cd86c