Bug 253158

Summary: konqueror/webkit crashes when clicking on a pdf link on a certain page
Product: [Applications] konqueror Reporter: Martin Steigerwald <Martin>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Steigerwald 2010-10-03 21:21:42 UTC
Application: konqueror (4.5.1 (KDE 4.5.1))
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.36-rc4-tp42-suspend-next-vmembase-0-00253-gab9b069-dirty i686
Distribution: Debian GNU/Linux testing (squeeze)

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

* I visited http://www.wasserstaubsauger.com.
* Then I clicked on "Techn. Daten" (http://www.wasserstaubsauger.com/wasserstaubsauger.htm)
* Then I clicked on "Motor" (http://www.wasserstaubsauger.com/Motor.pdf)
* Then Konqueror crashed.

The crash doesn't happen when switching to KHTML.

When its that heavy javascript page bug, you can close it. But I am not sure, since the backtraces do not look exactly the same and I lack the knowledge to judge whether they are similar enough.

- Custom settings of the application:

* Enabled Webkit engine.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[Current thread is 1 (Thread 0xb51af710 (LWP 9079))]

Thread 2 (Thread 0xae519b70 (LWP 9085)):
#0  0xb77bf424 in __kernel_vsyscall ()
#1  0xb572af7f in __pthread_cond_wait (cond=0xafba1c4c, mutex=0xafba1c34) at pthread_cond_wait.c:153
#2  0xb7659e0d in __pthread_cond_wait (cond=0xafba1c4c, mutex=0xafba1c34) at forward.c:139
#3  0xaedf1077 in WTF::TCMalloc_PageHeap::scavengerThread (this=0xafb9cb60) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#4  0xaedf10c1 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xafb9cb60) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#5  0xb5726955 in start_thread (arg=0xae519b70) at pthread_create.c:300
#6  0xb764ce7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb51af710 (LWP 9079)):
[KCrash Handler]
#5  0xb067a5f5 in gdk_pixbuf_new_from_data () from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0xb0681daf in gdk_pixbuf_from_pixdata () from /usr/lib/libgdk_pixbuf-2.0.so.0
#7  0xb0682073 in gdk_pixbuf_new_from_inline () from /usr/lib/libgdk_pixbuf-2.0.so.0
#8  0xb0b88395 in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#9  0xb0b86dee in ?? () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#10 0xb0b8b28e in NP_Initialize () from /usr/lib/flashplugin-nonfree/libflashplayer.so
#11 0xaf2ed520 in WebCore::PluginPackage::load (this=0xacc8aa80) at plugins/qt/PluginPackageQt.cpp:131
#12 0xaf2ee362 in WebCore::PluginPackage::fetchInfo (this=0xacc8aa80) at plugins/qt/PluginPackageQt.cpp:40
#13 0xaf19fc29 in WebCore::PluginPackage::createPackage (path=..., lastModified=@0xbf9e696c) at plugins/PluginPackage.cpp:159
#14 0xaf19ddba in WebCore::PluginDatabase::refresh (this=0x96acc50) at plugins/PluginDatabase.cpp:121
#15 0xaf19e821 in WebCore::PluginDatabase::installedPlugins (populate=true) at plugins/PluginDatabase.cpp:54
#16 0xaf2b75f5 in WebCore::FrameLoaderClientQt::canShowMIMEType (this=0x977cda0, MIMEType=...) at ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:516
#17 0xaf2b6efd in WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType (this=0x977cda0, function=NULL, MIMEType=...) at ../WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:946
#18 0xaf0e68eb in WebCore::PolicyChecker::checkContentPolicy (this=0xadc346b0, MIMEType=..., 
    function=0xaf0deea0 <WebCore::MainResourceLoader::callContinueAfterContentPolicy(void*, WebCore::PolicyAction)>, argument=0xadc63a00) at loader/PolicyChecker.cpp:104
#19 0xaf0df7ca in WebCore::MainResourceLoader::didReceiveResponse (this=0xadc63a00, r=...) at loader/MainResourceLoader.cpp:341
#20 0xaf0ec989 in WebCore::ResourceLoader::didReceiveResponse (this=0xadc63a00, response=...) at loader/ResourceLoader.cpp:393
#21 0xaf294f07 in WebCore::QNetworkReplyHandler::sendResponseIfNeeded (this=0x9d682b0) at platform/network/qt/QNetworkReplyHandler.cpp:338
#22 0xaf295558 in WebCore::QNetworkReplyHandler::forwardData (this=0x9d682b0) at platform/network/qt/QNetworkReplyHandler.cpp:347
#23 0xaf296e63 in WebCore::QNetworkReplyHandler::qt_metacall (this=0x9d682b0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x9b50220) at .moc/release-shared/moc_QNetworkReplyHandler.cpp:84
#24 0xb68c87da in QMetaObject::metacall (object=0x9d682b0, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0x9b50220) at kernel/qmetaobject.cpp:237
#25 0xb68d2d66 in QMetaCallEvent::placeMetaCall (this=0x966c5b0, object=0x9d682b0) at kernel/qobject.cpp:561
#26 0xb68d3e2e in QObject::event (this=0x9d682b0, e=0x966c5b0) at kernel/qobject.cpp:1248
#27 0xb5d915cc in QApplicationPrivate::notify_helper (this=0x8e0d5b8, receiver=0x9d682b0, e=0x966c5b0) at kernel/qapplication.cpp:4302
#28 0xb5d9815e in QApplication::notify (this=0xbf9e785c, receiver=0x9d682b0, e=0x966c5b0) at kernel/qapplication.cpp:3706
#29 0xb6e5d6da in KApplication::notify (this=0xbf9e785c, receiver=0x9d682b0, event=0x966c5b0) at ../../kdeui/kernel/kapplication.cpp:310
#30 0xb68c34fb in QCoreApplication::notifyInternal (this=0xbf9e785c, receiver=0x9d682b0, event=0x966c5b0) at kernel/qcoreapplication.cpp:726
#31 0xb68c6f5c in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8df5f78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8df5f78) at kernel/qcoreapplication.cpp:1367
#33 0xb68c70dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#34 0xb68ef5af in QCoreApplication::sendPostedEvents (s=0x8e102c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=0x8e102c0) at kernel/qeventdispatcher_glib.cpp:276
#36 0xb567e305 in g_main_dispatch (context=0x8e0f890) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:1960
#37 IA__g_main_context_dispatch (context=0x8e0f890) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2513
#38 0xb5681fe8 in g_main_context_iterate (context=0x8e0f890, block=<value optimized out>, dispatch=1, self=0x8e0d828) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2591
#39 0xb56821c8 in IA__g_main_context_iteration (context=0x8e0f890, may_block=1) at /build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/glib/gmain.c:2654
#40 0xb68ef0a5 in QEventDispatcherGlib::processEvents (this=0x8df5c38, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#41 0xb5e4ff25 in QGuiEventDispatcherGlib::processEvents (this=0x8df5c38, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb68c1b19 in QEventLoop::processEvents (this=0xbf9e76a4, flags=) at kernel/qeventloop.cpp:149
#43 0xb68c1f6a in QEventLoop::exec (this=0xbf9e76a4, flags=...) at kernel/qeventloop.cpp:201
#44 0xb68c719f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#45 0xb5d91667 in QApplication::exec () at kernel/qapplication.cpp:3581
#46 0xb77a567b in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_konqueror.so
#47 0x080485fb in _start ()

This bug may be a duplicate of or related to bug 241702.

Possible duplicates by query: bug 251449, bug 250726, bug 246457, bug 246455, bug 246199.

Reported using DrKonqi
Comment 1 Martin Steigerwald 2010-10-03 21:30:32 UTC
Ok, I now read that possibly related bug 241702 is related to Flash Player 10.1.

And according to Iceweasel I have: Shockwave Flash 10.1 r85. And it appears on the webpage. Still I do not get why the page is loaded correctly and the crash only happens when clicking on a link to a PDF file. Thus leaving open for inspection of an expert. Feel free to close, if its a duplicate.
Comment 2 Tommi Tervo 2010-10-03 21:39:41 UTC

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