| Summary: | crash when trying to view rss entry [QInputContext::setFocusWidget, QXIMInputContext::setFocusWidget, QWidget::setAttribute] | ||
|---|---|---|---|
| Product: | [Applications] kontact | Reporter: | simon |
| Component: | akregator | Assignee: | aKregator haxx0rz <akregator-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | abnerf, afiestas, agrimes, alex.merry, amantia, apaku, chanika, jtamate, konqueror-bugs-null, lindsay.mathieson, m1k0, mg, michael.seiwert, rrh |
| Priority: | NOR | ||
| Version First Reported In: | 4.4 pre | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Workaround
New crash information added by DrKonqi New crash information added by DrKonqi: --- morten's "Take it with a grain of salt" post is causing this crash. I'm using trunk from yesterday, and just updated kde-qt too. |
||
|
Description
simon
2009-12-01 00:56:05 UTC
I see the same crash, 100% reproducible for this page (when clicking on the planetkde.org feed, but doesn't crash in Konqueror itself): http://labs.trolltech.com/blogs/2009/12/01/qt-for-maemo-5-next-iteration/ Attached patch workarounds the bug, although it is not the real fix. I have a feeling the crash happens in KHTML when plugins are disabled and a page with a flash content is loaded. Created attachment 38764 [details]
Workaround
What do you mean by "plugins are disabled"? I get it every time I load a feed entry in Akregator that has flash content (eg: http://vizzzion.org/blog/2009/12/konstipation/ on the PlanetKDE feed), but I have "plugins enabled globally" checked in Konqueror's settings. The patch does indeed fix it for me. My build from a few days ago (including, I believe, a version of Qt from slightly before 4.6.0) didn't have this problem. Created attachment 38865 [details]
New crash information added by DrKonqi
I mean this might happen when plugins are disabled for the specific KHTMLPart ,like it is in this case:
m_part->setPluginsEnabled(false);
This is not related to your configuration settings. But this is just a guess, I didn't have time to test with a simple testcase, that's why I did not commit the workaround.
Your patch also works for me. *** Bug 217517 has been marked as a duplicate of this bug. *** I can confirm that attached patch works. *** Bug 218642 has been marked as a duplicate of this bug. *** Created attachment 39124 [details]
New crash information added by DrKonqi:
---
morten's "Take it with a grain of salt" post is causing this crash. I'm using trunk from yesterday, and just updated kde-qt too.
Getting this too. The pages work fine in konqueror itself though, even if I disable plugins globally there. Last time I used akregator from trunk is probably about 2 weeks ago. *** Bug 219788 has been marked as a duplicate of this bug. *** Could anybody please explain why the plugins are disabled for this part ? Are this security reasons ? I have experimentally set m_part->setPluginsEnabled(true) and flash content is showing up nicely. *** Bug 220972 has been marked as a duplicate of this bug. *** *** Bug 221900 has been marked as a duplicate of this bug. *** Qt commit 70496884450d3989829a63baac8db48d36190a25 available in Qt 4.6.1 should fix this, if I understand the backtrace correctly. *** Bug 223129 has been marked as a duplicate of this bug. *** New bt akregator compiled with qt 4.6.1 (kde-qt master branch from gitorious)
Patch: m_part->view()->setAttribute(Qt::WA_InputMethodEnabled, true); in articleviewer.cpp was commented out, but if enabled fixes the crash for me.
Application: Akregator (akregator), signal: Aborted
[Current thread is 1 (Thread 0xb2d6c980 (LWP 20359))]
Thread 2 (Thread 0xafc2bb70 (LWP 20360)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb5be80c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2 0xb5cb6159 in QWaitConditionPrivate::wait (this=0x8dc2b70, time=30000) at thread/qwaitcondition_unix.cpp:85
#3 0xb5cb5f77 in QWaitCondition::wait (this=0x83b1434, mutex=0x83b1430, time=30000) at thread/qwaitcondition_unix.cpp:159
#4 0xb5ca654b in QThreadPoolThread::run (this=0x8398c48) at concurrent/qthreadpool.cpp:140
#5 0xb5cb4d34 in QThreadPrivate::start (arg=0x8398c48) at thread/qthread_unix.cpp:248
#6 0xb5be36e5 in start_thread () from /lib/libpthread.so.0
#7 0xb5be3600 in ?? () from /lib/libpthread.so.0
Thread 1 (Thread 0xb2d6c980 (LWP 20359)):
[KCrash Handler]
#6 0xffffe424 in __kernel_vsyscall ()
#7 0xb4acc0cf in raise () from /lib/libc.so.6
#8 0xb4acd9e7 in abort () from /lib/libc.so.6
#9 0xb5ca9b07 in qt_message_output (msgType=QtFatalMsg, buf=0x9085568 "ASSERT: \"!widget || widget->testAttribute(Qt::WA_InputMethodEnabled)\" in file inputmethod/qinputcontext.cpp, line 188")
at global/qglobal.cpp:2250
#10 0xb5ca9cc9 in qt_message (msgType=QtFatalMsg, msg=0xb5e49724 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfc89e24 "0\305\216\265\020\305\216\265\274") at global/qglobal.cpp:2296
#11 0xb5caa0e7 in qFatal (msg=0xb5e49724 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479
#12 0xb5ca96a0 in qt_assert (assertion=0xb58ec530 "!widget || widget->testAttribute(Qt::WA_InputMethodEnabled)", file=0xb58ec510 "inputmethod/qinputcontext.cpp", line=188) at global/qglobal.cpp:2013
#13 0xb5778138 in QInputContext::setFocusWidget (this=0x83a48a0, widget=0x81317c8) at inputmethod/qinputcontext.cpp:188
#14 0xb577a3b9 in QXIMInputContext::setFocusWidget (this=0x83a48a0, w=0x81317c8) at inputmethod/qximinputcontext_x11.cpp:613
#15 0xb50cd9db in QWidget::setAttribute (this=0x818f500, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10370
#16 0xb50d285a in QWidgetPrivate::enforceNativeChildren (this=0x81c7c08) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:560
#17 0xb50cd94a in QWidget::setAttribute (this=0x81b5b78, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10366
#18 0xb50bb206 in QWidgetPrivate::createWinId (this=0x821dad0, winid=0) at kernel/qwidget.cpp:2281
#19 0xb50cd999 in QWidget::setAttribute (this=0x821cc70, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10368
#20 0xb50bb206 in QWidgetPrivate::createWinId (this=0x821cfc8, winid=0) at kernel/qwidget.cpp:2281
#21 0xb50cd999 in QWidget::setAttribute (this=0x821dc00, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10368
#22 0xb50d285a in QWidgetPrivate::enforceNativeChildren (this=0x821dad0) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:560
#23 0xb50cd94a in QWidget::setAttribute (this=0x81317c8, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10366
#24 0xb50bb206 in QWidgetPrivate::createWinId (this=0x8131ab0, winid=0) at kernel/qwidget.cpp:2281
#25 0xb50cd999 in QWidget::setAttribute (this=0x8131a98, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10368
#26 0xb50bb206 in QWidgetPrivate::createWinId (this=0x8219e50, winid=0) at kernel/qwidget.cpp:2281
#27 0xb50cd999 in QWidget::setAttribute (this=0x812ffc8, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10368
#28 0xb50bb206 in QWidgetPrivate::createWinId (this=0x9030820, winid=0) at kernel/qwidget.cpp:2281
#29 0xb50cd999 in QWidget::setAttribute (this=0x902e118, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10368
#30 0xb50bb206 in QWidgetPrivate::createWinId (this=0x906e9f0, winid=0) at kernel/qwidget.cpp:2281
#31 0xb50cd999 in QWidget::setAttribute (this=0x906e9d8, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10368
#32 0xb50bb206 in QWidgetPrivate::createWinId (this=0x908eb70, winid=0) at kernel/qwidget.cpp:2281
#33 0xb50cd999 in QWidget::setAttribute (this=0x907ca70, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10368
#34 0xb50d285a in QWidgetPrivate::enforceNativeChildren (this=0x906e9f0) at ../../include/QtGui/private/../../../src/gui/kernel/qwidget_p.h:560
#35 0xb50cd94a in QWidget::setAttribute (this=0x90466c0, attribute=WA_NativeWindow, on=true) at kernel/qwidget.cpp:10366
#36 0xb50bb206 in QWidgetPrivate::createWinId (this=0x9100b20, winid=0) at kernel/qwidget.cpp:2281
#37 0xb50b6eb2 in QWidget::create (this=0x9051db0, window=0, initializeWindow=true, destroyOldWindow=true) at kernel/qwidget.cpp:1270
#38 0xb50bb2ee in QWidgetPrivate::createWinId (this=0x9080e08, winid=0) at kernel/qwidget.cpp:2291
#39 0xb50bb3a1 in QWidget::createWinId (this=0x9080d10) at kernel/qwidget.cpp:2318
#40 0xb5129a97 in QX11EmbedContainer::QX11EmbedContainer (this=0x9080d10, parent=0x90466c0) at kernel/qx11embed_x11.cpp:1060
#41 0xada89750 in KMPlayer::VideoOutput::VideoOutput(QWidget*, KMPlayer::View*) () from /home/mseiwert/kde/lib/libkmplayercommon.so
#42 0xada88d34 in KMPlayer::ViewArea::createVideoWidget() () from /home/mseiwert/kde/lib/libkmplayercommon.so
#43 0xada6fa00 in KMPlayer::MediaManager::createAVMedia(KMPlayer::Node*, QByteArray const&) () from /home/mseiwert/kde/lib/libkmplayercommon.so
#44 0xada731a2 in KMPlayer::MediaInfo::create() () from /home/mseiwert/kde/lib/libkmplayercommon.so
#45 0xada7344a in KMPlayer::MediaInfo::ready() () from /home/mseiwert/kde/lib/libkmplayercommon.so
#46 0xada712b2 in KMPlayer::MediaInfo::wget(QString const&) () from /home/mseiwert/kde/lib/libkmplayercommon.so
#47 0xada3a24e in KMPlayer::Mrl::activate() () from /home/mseiwert/kde/lib/libkmplayercommon.so
#48 0xada3b3de in KMPlayer::Document::activate() () from /home/mseiwert/kde/lib/libkmplayercommon.so
#49 0xada31c52 in KMPlayer::Source::play(KMPlayer::Mrl*) () from /home/mseiwert/kde/lib/libkmplayercommon.so
#50 0xada3342a in KMPlayer::URLSource::play(KMPlayer::Mrl*) () from /home/mseiwert/kde/lib/libkmplayercommon.so
#51 0xada33390 in KMPlayer::URLSource::activate() () from /home/mseiwert/kde/lib/libkmplayercommon.so
#52 0xada33f5c in KMPlayer::URLSource::qt_metacall(QMetaObject::Call, int, void**) () from /home/mseiwert/kde/lib/libkmplayercommon.so
#53 0xb5dd2c38 in QMetaObject::metacall (object=0x9034b60, cl=InvokeMetaMethod, idx=17, argv=0xbfc8af80) at kernel/qmetaobject.cpp:237
#54 0xb5de6caa in QMetaObject::activate (sender=0x8f4d3d0, m=0xb5f2e164, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3275
#55 0xb5defac9 in QSingleShotTimer::timeout (this=0x8f4d3d0) at .moc/debug-shared/qtimer.moc:82
#56 0xb5def97e in QSingleShotTimer::timerEvent (this=0x8f4d3d0) at kernel/qtimer.cpp:308
#57 0xb5de2d82 in QObject::event (this=0x8f4d3d0, e=0xbfc8b5e4) at kernel/qobject.cpp:1212
#58 0xb505da96 in QApplicationPrivate::notify_helper (this=0x8084708, receiver=0x8f4d3d0, e=0xbfc8b5e4) at kernel/qapplication.cpp:4298
#59 0xb505b1d8 in QApplication::notify (this=0xbfc8b8f0, receiver=0x8f4d3d0, e=0xbfc8b5e4) at kernel/qapplication.cpp:3702
#60 0xb63ca060 in KApplication::notify(QObject*, QEvent*) () from /home/mseiwert/kde/lib/libkdeui.so.5
#61 0xb5dcb685 in QCoreApplication::notifyInternal (this=0xbfc8b8f0, receiver=0x8f4d3d0, event=0xbfc8b5e4) at kernel/qcoreapplication.cpp:704
#62 0xb5dcf15d in QCoreApplication::sendEvent (receiver=0x8f4d3d0, event=0xbfc8b5e4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#63 0xb5e05f8e in QTimerInfoList::activateTimers (this=0x8087bb4) at kernel/qeventdispatcher_unix.cpp:603
#64 0xb5e01e74 in timerSourceDispatch (source=0x8087b80) at kernel/qeventdispatcher_glib.cpp:184
#65 0xb36144c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0xb3617d98 in ?? () from /usr/lib/libglib-2.0.so.0
#67 0xb3617ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0xb5e03020 in QEventDispatcherGlib::processEvents (this=0x805f708, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#69 0xb5132d06 in QGuiEventDispatcherGlib::processEvents (this=0x805f708, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0xb5dc8a5f in QEventLoop::processEvents (this=0xbfc8b87c, flags=...) at kernel/qeventloop.cpp:149
#71 0xb5dc8ba4 in QEventLoop::exec (this=0xbfc8b87c, flags=...) at kernel/qeventloop.cpp:201
#72 0xb5dcbd61 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#73 0xb505ade6 in QApplication::exec () at kernel/qapplication.cpp:3577
#74 0x0805007b in main ()
SVN commit 1077931 by amantia: dd workaround for bug 216878: crash when previewing an article with NS plugins. BUG: 216878 M +1 -0 articleviewer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1077931 *** Bug 224532 has been marked as a duplicate of this bug. *** *** Bug 223417 has been marked as a duplicate of this bug. *** *** Bug 224640 has been marked as a duplicate of this bug. *** Akregator 1.6.5 / KDE 4.5.5. Today I've started using WebKit as an engine for Akregator. Crashes still occur on pages with Flash content. |