Bug 230270

Summary: drag an drop a *.flac file in the window
Product: [Unmaintained] rekonq Reporter: Fabian B. <apfelmausmail>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fabian B. 2010-03-10 23:41:37 UTC
Application: rekonq (0.3.98)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-16-generic i686
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
open amarok or dolphin and select a *.flac (maybe too with other media types, but i cant test) now open rekonq and drag the *.flac from dolphin/amarok to the rekonq window. now drop it and it result in a crash. when you restart rekonq, it popup 2 (or more) windows and crash again. after another restart rekonq spawn in more and more windows but crash after all again. (maybe this is a other bug?) 

The crash can be reproduced every time.

 -- Backtrace:
Application: rekonq (rekonq), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7735760 (LWP 2484))]

Thread 4 (Thread 0xb607ab70 (LWP 2485)):
#0  0x00707422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00c9eff7 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x1a47da0) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#3  0x00c9f041 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x1a47da0) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#4  0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x091b892e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb54e5b70 (LWP 2487)):
#0  0x00707422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x02794287 in QWaitConditionPrivate::wait (this=0x9a3aa08, mutex=0x9aad830, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9a3aa08, mutex=0x9aad830, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00ca4c80 in WTF::ThreadCondition::wait (this=0xb57b9dd4, mutex=...) at ../JavaScriptCore/wtf/qt/ThreadingQt.cpp:238
#5  0x011d91d4 in WebCore::IconDatabase::syncThreadMainLoop (this=0xb57b9d80) at loader/icon/IconDatabase.cpp:1412
#6  0x011d9370 in WebCore::IconDatabase::iconDatabaseSyncThread (this=0xb57b9d80) at loader/icon/IconDatabase.cpp:1038
#7  0x00ca474f in threadEntryPoint (contextData=0xb5777170) at ../JavaScriptCore/wtf/Threading.cpp:64
#8  0x00ca4b53 in WTF::ThreadPrivate::run (this=0x9fa6568) at ../JavaScriptCore/wtf/qt/ThreadingQt.cpp:64
#9  0x0279332e in QThreadPrivate::start (arg=0x9fa6568) at thread/qthread_unix.cpp:248
#10 0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x091b892e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb4ce4b70 (LWP 2489)):
#0  0x008e2e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x028be5bb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x028c36e5 in QTimerInfoList::updateCurrentTime (this=0xb3400a34) at kernel/qeventdispatcher_unix.cpp:340
#3  0x028c372a in QTimerInfoList::timerWait (this=0xb3400a34, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x028c16d8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4ce407c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x028c1765 in timerSourcePrepare (source=0x0, timeout=0x8e6ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x03c918aa in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x03c91cc9 in ?? () from /lib/libglib-2.0.so.0
#8  0x03c92288 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x028c14cf in QEventDispatcherGlib::processEvents (this=0x9f89478, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x02893ef9 in QEventLoop::processEvents (this=0xb4ce4240, flags=) at kernel/qeventloop.cpp:149
#11 0x0289434a in QEventLoop::exec (this=0xb4ce4240, flags=...) at kernel/qeventloop.cpp:201
#12 0x027905a8 in QThread::exec (this=0xa020b70) at thread/qthread.cpp:487
#13 0x02873b1b in QInotifyFileSystemWatcherEngine::run (this=0xa020b70) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x0279332e in QThreadPrivate::start (arg=0xa020b70) at thread/qthread_unix.cpp:248
#15 0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x091b892e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7735760 (LWP 2484)):
[KCrash Handler]
#6  0x016aaa47 in typeinfo name for WebCore::QtPluginWidget () from /usr/lib/libQtWebKit.so.4
#7  0x0a2e8528 in ?? ()
#8  0x00f64be7 in WebCore::FrameLoader::committedLoad (this=0xb578e6a8, loader=0x9f96f77, data=0xa2e8528 "fLaC", length=32768) at loader/FrameLoader.cpp:3207
#9  0x00f5c0db in WebCore::DocumentLoader::commitLoad (this=0xb27c0000, data=0xa2e8528 "fLaC", length=32768) at loader/DocumentLoader.cpp:342
#10 0x00f6580b in WebCore::FrameLoader::receivedData (this=0xb578e6a8, data=0xa2e8528 "fLaC", length=32768) at loader/FrameLoader.cpp:2059
#11 0x00f8b619 in WebCore::MainResourceLoader::addData (this=0xb27e7340, data=0xa2e8528 "fLaC", length=32768, allAtOnce=<value optimized out>) at loader/MainResourceLoader.cpp:143
#12 0x00f9a3e8 in WebCore::ResourceLoader::didReceiveData (this=0xb27e7340, data=0xa2e8528 "fLaC", length=32768, lengthReceived=<value optimized out>, allAtOnce=<value optimized out>)
    at loader/ResourceLoader.cpp:248
#13 0x00f8bcc7 in WebCore::MainResourceLoader::didReceiveData (this=0xb27e7340, data=0xa2e8528 "fLaC", length=32768, lengthReceived=2990827784, allAtOnce=false) at loader/MainResourceLoader.cpp:374
#14 0x00f99cd8 in WebCore::ResourceLoader::didReceiveData (this=0xb27e7340, data=0xa2e8528 "fLaC", length=32768, lengthReceived=32768) at loader/ResourceLoader.cpp:398
#15 0x01141ef7 in WebCore::QNetworkReplyHandler::forwardData (this=0xa2b9270) at platform/network/qt/QNetworkReplyHandler.cpp:364
#16 0x01143783 in WebCore::QNetworkReplyHandler::qt_metacall (this=0xa2b9270, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xa192fa0) at .moc/release-shared/moc_QNetworkReplyHandler.cpp:84
#17 0x0289ab3a in QMetaObject::metacall (object=0xa2b9270, cl=2994471560, idx=7, argv=0xa192fa0) at kernel/qmetaobject.cpp:237
#18 0x028a51e6 in QMetaCallEvent::placeMetaCall (this=0xa2e5d18, object=0xa2b9270) at kernel/qobject.cpp:561
#19 0x028a62ae in QObject::event (this=0xa2b9270, e=0xa2e5d18) at kernel/qobject.cpp:1248
#20 0x01de64dc in QApplicationPrivate::notify_helper (this=0x9a3f5d0, receiver=0xa2b9270, e=0xa2e5d18) at kernel/qapplication.cpp:4300
#21 0x01ded03e in QApplication::notify (this=0xbfd08548, receiver=0xa2b9270, e=0xa2e5d18) at kernel/qapplication.cpp:3704
#22 0x06574d4a in KApplication::notify (this=0xbfd08548, receiver=0xa2b9270, event=0xa2e5d18) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x028958db in QCoreApplication::notifyInternal (this=0xbfd08548, receiver=0xa2b9270, event=0xa2e5d18) at kernel/qcoreapplication.cpp:704
#24 0x02898313 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9a21300) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a21300) at kernel/qcoreapplication.cpp:1345
#26 0x0289847d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#27 0x028c199f in QCoreApplication::sendPostedEvents (s=0x9a46810) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x9a46810) at kernel/qeventdispatcher_glib.cpp:276
#29 0x03c8e3c5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x03c920f0 in ?? () from /lib/libglib-2.0.so.0
#31 0x03c92288 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x028c1495 in QEventDispatcherGlib::processEvents (this=0x9a20e90, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#33 0x01ea5eb5 in QGuiEventDispatcherGlib::processEvents (this=0x9a20e90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x02893ef9 in QEventLoop::processEvents (this=0xbfd08494, flags=) at kernel/qeventloop.cpp:149
#35 0x0289434a in QEventLoop::exec (this=0xbfd08494, flags=...) at kernel/qeventloop.cpp:201
#36 0x0289853f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x01de6577 in QApplication::exec () at kernel/qapplication.cpp:3579
#38 0x00838653 in kdemain (argc=1, argv=0xbfd08784) at /build/buildd/rekonq-0.3.98/src/main.cpp:157
#39 0x0804870b in main (argc=1, argv=0xbfd08784) at /build/buildd/rekonq-0.3.98/obj-i486-linux-gnu/src/rekonq_dummy.cpp:3

Reported using DrKonqi
Comment 1 Andrea Diamantini 2010-04-13 12:22:32 UTC
It works here with rekonq from git (0.4.60). I guess your crash depends on the phonon backend trying to load your audio file.
Try loading rekonq from konsole as a music player:

$ rekonq audiofile.flac (.mp3, .wav and so on)

You'll see infos about the plugin and/or the backend trying to load your file.
It works here with GStreamer backend.

Btw, problems on crash reloading were fixed as last commit before 0.4 release :)