[desktop] Browser crashes when downloading a file

Bug #1531804 reported by Olivier Tilloy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-download-manager (Ubuntu)
Fix Released
Critical
Michael Sheldon

Bug Description

Steps to reproduce:

 - on a desktop setup (xenial from the repositories, or wily from https://launchpad.net/~osomon/+archive/ubuntu/webbrowser-app), with qtdeclarative5-ubuntu-content1 and qtdeclarative5-ubuntu-download-manager0.1 installed, run webbrowser-app, point it to a page that has a link to e.g. a PDF document (e.g. https://help.ubuntu.com/), and click that link

Expected result: the file is downloaded

Current result: crash with the following stacktrace:

#0 QDBusAbstractInterface::asyncCallWithArgumentList (this=0x0, method=..., args=...)
    at qdbusabstractinterface.cpp:501
#1 0x00007fffc448a70a in ?? () from /usr/lib/x86_64-linux-gnu/libubuntu-download-manager-client.so.1
#2 0x00007fffb2b28717 in Ubuntu::DownloadManager::SingleDownload::setAllowMobileDownload(bool) ()
   from /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/DownloadManager/libUbuntuDownloadManager.so
#3 0x00007fffb2b2ad64 in Ubuntu::DownloadManager::SingleDownload::bindDownload(Ubuntu::DownloadManager::Download*) ()
   from /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/DownloadManager/libUbuntuDownloadManager.so
#4 0x00007ffff682f617 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd370, r=0x2fc02d0, this=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#5 QMetaObject::activate (sender=0x30d4010, signalOffset=<optimized out>, local_signal_index=<optimized out>,
    argv=<optimized out>) at kernel/qobject.cpp:3702
#6 0x00007fffc44b3def in Ubuntu::DownloadManager::Manager::downloadCreated(Ubuntu::DownloadManager::Download*) ()
   from /usr/lib/x86_64-linux-gnu/libubuntu-download-manager-client.so.1
#7 0x00007fffc44af328 in ?? () from /usr/lib/x86_64-linux-gnu/libubuntu-download-manager-client.so.1
#8 0x00007ffff682f617 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffd630, r=0x30ccef0, this=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#9 QMetaObject::activate (sender=0x30ccef0, signalOffset=<optimized out>,
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd630) at kernel/qobject.cpp:3702
#10 0x00007ffff682ff87 in QMetaObject::activate (sender=<optimized out>,
    m=m@entry=0x7fffec80d680 <QDBusPendingCallWatcher::staticMetaObject>,
    local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffffffd630) at kernel/qobject.cpp:3582
#11 0x00007fffec7f110f in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=0x30ccef0)
    at .moc/moc_qdbuspendingcall.cpp:147
#12 0x00007fffec7f2815 in QDBusPendingCallWatcherPrivate::_q_finished (this=<optimized out>)
    at qdbuspendingcall.cpp:487
#13 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
    _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:79
#14 0x00007ffff6830651 in QObject::event (this=0x30ccef0, e=<optimized out>) at kernel/qobject.cpp:1245
#15 0x00007ffff78b1b8c in QApplicationPrivate::notify_helper (this=this@entry=0x6eece0,
    receiver=receiver@entry=0x30ccef0, e=e@entry=0x2cfcd40) at kernel/qapplication.cpp:3720
#16 0x00007ffff78b7230 in QApplication::notify (this=0x7fffffffdc60, receiver=0x30ccef0, e=0x2cfcd40)
    at kernel/qapplication.cpp:3503
#17 0x00007ffff67fef1b in QCoreApplication::notifyInternal (this=0x7fffffffdc60, receiver=0x30ccef0,
    event=event@entry=0x2cfcd40) at kernel/qcoreapplication.cpp:935
#18 0x00007ffff6801057 in QCoreApplication::sendEvent (event=0x2cfcd40, receiver=<optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x6eee50)
    at kernel/qcoreapplication.cpp:1552
#20 0x00007ffff6801588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0)
    at kernel/qcoreapplication.cpp:1410
#21 0x00007ffff6855e73 in postEventSourceDispatch (s=0x7e95c0) at kernel/qeventdispatcher_glib.cpp:271
#22 0x00007ffff51dbff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff51dc250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff51dc2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff685627f in QEventDispatcherGlib::processEvents (this=0x802be0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#26 0x00007ffff67fc75a in QEventLoop::exec (this=this@entry=0x7fffffffdbb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#27 0x00007ffff68042cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#28 0x0000000000466908 in BrowserApplication::run() ()
#29 0x000000000045b8dd in main ()

Related branches

Olivier Tilloy (osomon)
affects: webbrowser-app (Ubuntu) → ubuntu-download-manager (Ubuntu)
Changed in ubuntu-download-manager (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-download-manager - 1.2+16.04.20160112.2-0ubuntu1

---------------
ubuntu-download-manager (1.2+16.04.20160112.2-0ubuntu1) xenial; urgency=medium

  * Add dependency on ubuntu-download-manager to qtdeclarative5-ubuntu-
    download-manager0.1 (LP: #1531888, #1531804)
  * Fix queue handling for finished downloads when transitioning from
    uncollected state (LP: #1531118)

 -- Michael Sheldon <email address hidden> Tue, 12 Jan 2016 10:05:45 +0000

Changed in ubuntu-download-manager (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.