Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.12.0, 5.13.0 Beta3
-
None
-
-
e02bcb0855ebee0612cab0f3cd3f9fd494497336
Description
In case of item->setPath("./"); webengine asserts:
[2443:2443:0503/125521.508914:FATAL:download_item_impl.cc(1601)] Check failed: intermediate_path.DirName() == target_path.DirName().
#0 0x7f9fe3483218 base::debug::StackTrace::StackTrace()
#1 0x7f9fe3290f8b base::debug::StackTrace::StackTrace()
#2 0x7f9fe32c894c logging::LogMessage::~LogMessage()
#3 0x7f9fe1bb880d download::DownloadItemImpl::OnDownloadTargetDetermined()
#4 0x7f9fe1bcd337 _ZN4base8internal13FunctorTraitsIMN8download16DownloadItemImplEFvRKNS_8FilePathENS2_12DownloadItem17TargetDispositionENS2_18DownloadDangerTypeES6_NS2_23DownloadInterruptReasonEEvE6InvokeISC_RKNS_7WeakPtrIS3_EEJS6_S8_S9_S6_SA_EEEvT_OT0_DpOT1_
#5 0x7f9fe1bcbe0d _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN8download16DownloadItemImplEFvRKNS_8FilePathENS4_12DownloadItem17TargetDispositionENS4_18DownloadDangerTypeES8_NS4_23DownloadInterruptReasonEERKNS_7WeakPtrIS5_EEJS8_SA_SB_S8_SC_EEEvOT_OT0_DpOT1_
#6 0x7f9fe1bc9f95 _ZN4base8internal7InvokerINS0_9BindStateIMN8download16DownloadItemImplEFvRKNS_8FilePathENS3_12DownloadItem17TargetDispositionENS3_18DownloadDangerTypeES7_NS3_23DownloadInterruptReasonEEJNS_7WeakPtrIS4_EEEEEFvS7_S9_SA_S7_SB_EE7RunImplIRKSD_RKSt5tupleIJSF_EEJLm0EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEES7_OS9_OSA_S7_OSB_
#7 0x7f9fe1bc6d2c _ZN4base8internal7InvokerINS0_9BindStateIMN8download16DownloadItemImplEFvRKNS_8FilePathENS3_12DownloadItem17TargetDispositionENS3_18DownloadDangerTypeES7_NS3_23DownloadInterruptReasonEEJNS_7WeakPtrIS4_EEEEEFvS7_S9_SA_S7_SB_EE3RunEPNS0_13BindStateBaseES7_S9_SA_S7_SB_
#8 0x7f9fde81e3da QtWebEngineCore::DownloadManagerDelegateQt::DetermineDownloadTarget()
#9 0x7f9fe2235ce0 content::DownloadManagerImpl::DetermineDownloadTarget()
#10 0x7f9fe1bb822b download::DownloadItemImpl::DetermineDownloadTarget()
#11 0x7f9fe1bb7fa4 download::DownloadItemImpl::OnDownloadFileInitialized()
#12 0x7f9fe1bcd1f5 _ZN4base8internal13FunctorTraitsIMN8download16DownloadItemImplEFvNS2_23DownloadInterruptReasonElEvE6InvokeIS6_RKNS_7WeakPtrIS3_EEJS4_lEEEvT_OT0_DpOT1_
#13 0x7f9fe1bcbc80 _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN8download16DownloadItemImplEFvNS4_23DownloadInterruptReasonElERKNS_7WeakPtrIS5_EEJS6_lEEEvOT_OT0_DpOT1_
#14 0x7f9fe1bc9d70 _ZN4base8internal7InvokerINS0_9BindStateIMN8download16DownloadItemImplEFvNS3_23DownloadInterruptReasonElEJNS_7WeakPtrIS4_EEEEEFvS5_lEE7RunImplIRKS7_RKSt5tupleIJS9_EEJLm0EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEEOS5_Ol
#15 0x7f9fe1bc6b88 _ZN4base8internal7InvokerINS0_9BindStateIMN8download16DownloadItemImplEFvNS3_23DownloadInterruptReasonElEJNS_7WeakPtrIS4_EEEEEFvS5_lEE3RunEPNS0_13BindStateBaseES5_l
#16 0x7f9fe1bac958 _ZNO4base17RepeatingCallbackIFvN8download23DownloadInterruptReasonElEE3RunES2_l
#17 0x7f9fe1bcefa3 download::DownloadJob::OnDownloadFileInitialized()
#18 0x7f9fe1bd176c _ZN4base8internal13FunctorTraitsIMN8download11DownloadJobEFvNS_17RepeatingCallbackIFvNS2_23DownloadInterruptReasonElEEES5_lEvE6InvokeIS9_RKNS_7WeakPtrIS3_EEJRKS7_S5_lEEEvT_OT0_DpOT1_
#19 0x7f9fe1bd10af _ZN4base8internal12InvokeHelperILb1EvE8MakeItSoIRKMN8download11DownloadJobEFvNS_17RepeatingCallbackIFvNS4_23DownloadInterruptReasonElEEES7_lERKNS_7WeakPtrIS5_EEJRKS9_S7_lEEEvOT_OT0_DpOT1_
#20 0x7f9fe1bd026f _ZN4base8internal7InvokerINS0_9BindStateIMN8download11DownloadJobEFvNS_17RepeatingCallbackIFvNS3_23DownloadInterruptReasonElEEES6_lEJNS_7WeakPtrIS4_EES8_EEES7_E7RunImplIRKSA_RKSt5tupleIJSC_S8_EEJLm0ELm1EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEEOS6_Ol
#21 0x7f9fe1bcf86b _ZN4base8internal7InvokerINS0_9BindStateIMN8download11DownloadJobEFvNS_17RepeatingCallbackIFvNS3_23DownloadInterruptReasonElEEES6_lEJNS_7WeakPtrIS4_EES8_EEES7_E3RunEPNS0_13BindStateBaseES6_l
#22 0x7f9fe1bac958 _ZNO4base17RepeatingCallbackIFvN8download23DownloadInterruptReasonElEE3RunES2_l
#23 0x7f9fe1baaedb _ZN4base8internal13FunctorTraitsINS_17RepeatingCallbackIFvN8download23DownloadInterruptReasonElEEEvE6InvokeIS6_JS4_lEEEvOT_DpOT0_
#24 0x7f9fe1ba95b1 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoINS_17RepeatingCallbackIFvN8download23DownloadInterruptReasonElEEEJS6_lEEEvOT_DpOT0_
#25 0x7f9fe1ba6d8c _ZN4base8internal7InvokerINS0_9BindStateINS_17RepeatingCallbackIFvN8download23DownloadInterruptReasonElEEEJS5_lEEEFvvEE7RunImplIS7_St5tupleIJS5_lEEJLm0ELm1EEEEvOT_OT0_St16integer_sequenceImJXspT1_EEE
#26 0x7f9fe1ba526e _ZN4base8internal7InvokerINS0_9BindStateINS_17RepeatingCallbackIFvN8download23DownloadInterruptReasonElEEEJS5_lEEEFvvEE7RunOnceEPNS0_13BindStateBaseE
#27 0x7f9fde8beaca _ZNO4base12OnceCallbackIFvvEE3RunEv
#28 0x7f9fe3291943 base::debug::TaskAnnotator::RunTask()
#29 0x7f9fe32e657b base::MessageLoop::RunTask()
#30 0x7f9fe32e66ee base::MessageLoop::DeferOrRunPendingTask()
#31 0x7f9fe32e6a6b base::MessageLoop::DoWork()
#32 0x7f9fde7eaa80 _ZNSt17_Function_handlerIFvvEZN15QtWebEngineCore12_GLOBAL__N_118MessagePumpForUIQtC4EvEUlvE_E9_M_invokeERKSt9_Any_data
#33 0x7f9fdecbb734 std::function<>::operator()()
#34 0x7f9fe8c09005 QWebEngineMessagePumpScheduler::timerEvent()
#35 0x7f9fef0e46d6 QObject::event()
#36 0x7f9fef574493 QApplicationPrivate::notify_helper()
#37 0x7f9fef57bb10 QApplication::notify()
#38 0x7f9fef0b0b25 QCoreApplication::notifyInternal2()
#39 0x7f9fef0b0d88 QCoreApplication::sendEvent()
#40 0x7f9fef0b6d3c QCoreApplicationPrivate::sendPostedEvents()
#41 0x7f9fef0b73b2 QCoreApplication::sendPostedEvents()
#42 0x7f9fef11218c postEventSourceDispatch()
#43 0x7f9fdb31f387 g_main_context_dispatch
#44 0x7f9fdb31f5c0 <unknown>
#45 0x7f9fdb31f64c g_main_context_iteration
#46 0x7f9fef111ab0 QEventDispatcherGlib::processEvents()
#47 0x7f9fd36263c2 QXcbGlibEventDispatcher::processEvents()
#48 0x7f9fef0aea03 QEventLoop::processEvents()
#49 0x7f9fef0aee51 QEventLoop::exec()
#50 0x7f9fef0b8d64 QCoreApplication::exec()
#51 0x7f9fdcd3109c QGuiApplication::exec()
#52 0x7f9fef574373 QApplication::exec()
#53 0x55a514dffc8e main
#54 0x7f9fee4c9b97 __libc_start_main
#55 0x55a514dff93a _start
Release doesn't crash.