Project

General

Profile

Bug #1776

QFutureWatcher::connect: connecting after calling setFuture() is likely to produce race

Added by Mellon almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Plugins: HistoryHolder
Target version:
Start date:
10/29/2014
Due date:
% Done:

100%

Estimated time:
2.00 h
Reported in:
master

Description

Ты вроде хотел немного дебага по этому вот поводу?

STR:
0. Open http://dump.bitcheese.net/files/iwudyzi/empty.doc/preview
1. Click on "empty.doc"
2. Proceed to the Download Confirmation

Expected result:

Actual result:

==> .leechcraft/debug.log <==
[29.10.2014 03:18:24.921] [0x7ff9cf168880] [1234] void LeechCraft::Poshuku::WebPageSslWatcher::resetStats() 
[29.10.2014 03:19:18.893] [0x7ff9cf168880] [1235] void LeechCraft::CSTP::Task::HandleMetadataFilename() "" 
[29.10.2014 03:19:19.029] [0x7ff9cf168880] [1236] LeechCraft::AdvancedNotifications::VisualNotificationsView::VisualNotificationsView() created 
[29.10.2014 03:19:19.083] [0x7ff9cf168880] [1237] LeechCraft::AdvancedNotifications::VisualNotificationsView::VisualNotificationsView() created 
[29.10.2014 03:19:19.452] [0x7ff9cf168880] [1238] "Error: May not be a PDF file (continuing anyway)" 
[29.10.2014 03:19:19.453] [0x7ff9cf168880] [1239] "Error: Couldn't find trailer dictionary" 
[29.10.2014 03:19:19.453] [0x7ff9cf168880] [1240] "Error: Couldn't read xref table" 

==> .leechcraft/warning.log <==
[29.10.2014 03:19:21.442] [0x7ff9cf168880] [1241] QFutureWatcher::connect: connecting after calling setFuture() is likely to produce race
Backtrace of 28 frames:
0    leechcraft(+0x7304f) [0x7ff9ceb1804f]
1    /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x39) [0x7ff9cba09409]
2    /usr/lib64/qt4/libQtCore.so.4(+0x7962c) [0x7ff9cba0962c]
3    /usr/lib64/qt4/libQtCore.so.4(_Z8qWarningPKcz+0xb1) [0x7ff9cba098c1]
4    /usr/lib64/qt4/libQtCore.so.4(_ZN7QObject7connectEPKS_PKcS1_S3_N2Qt14ConnectionTypeE+0x749) [0x7ff9cbb6f1d9]
5    /usr/lib64/libleechcraft-util-sll.so.0.6.75(_ZN10LeechCraft4Util15SlotClosureBaseC2ERKSt8functionIFvvEEP7QObjectPKcS8_+0x84) [0x7ff9b428f5f4]
6    /usr/lib64/leechcraft/plugins/libleechcraft_historyholder.so(+0xe72a) [0x7ff996f5b72a]
7    /usr/lib64/leechcraft/plugins/libleechcraft_historyholder.so(+0x14b70) [0x7ff996f61b70]
8    /usr/lib64/qt4/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x32d) [0x7ff9cbb6dafd]
9    /usr/lib64/qt4/libQtCore.so.4(+0x1e94f0) [0x7ff9cbb794f0]
10    /usr/lib64/qt4/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0xa1) [0x7ff9cbb72d21]
11    /usr/lib64/qt4/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xd3) [0x7ff9cc0abee3]
12    /usr/lib64/qt4/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2bd) [0x7ff9cc0b3c9d]
13    leechcraft(+0x75f85) [0x7ff9ceb1af85]
14    /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x9d) [0x7ff9cbb535ad]
15    /usr/lib64/qt4/libQtCore.so.4(+0x201202) [0x7ff9cbb91202]
16    /usr/lib64/qt4/libQtCore.so.4(+0x1fca63) [0x7ff9cbb8ca63]
17    /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x289) [0x7ff9c6c66629]
18    /usr/lib64/libglib-2.0.so.0(+0x568b8) [0x7ff9c6c668b8]
19    /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x51) [0x7ff9c6c669c1]
20    /usr/lib64/qt4/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xa4) [0x7ff9cbb8ccd4]
21    /usr/lib64/qt4/libQtGui.so.4(+0x2a16ab) [0x7ff9cc17a6ab]
22    /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x53) [0x7ff9cbb51183]
23    /usr/lib64/qt4/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x145) [0x7ff9cbb51595]
24    /usr/lib64/qt4/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xac) [0x7ff9cbb58aec]
25    leechcraft(+0x3d46f) [0x7ff9ceae246f]
26    /lib64/libc.so.6(__libc_start_main+0x11b) [0x7ff9ca23cf1b]
27    leechcraft(+0x3eddd) [0x7ff9ceae3ddd]

System information:
LeechCraft 0.6.70-1331-gd17bcbd
Built with Qt 4.8.5, running with Qt 4.8.5
Running on: Gentoo/Linux x86_64 3.16.3-gentoo #1 SMP PREEMPT Sun Oct 5 05:12:41 MSK 2014

#1

Updated by Mellon almost 6 years ago

  • Description updated (diff)
#2

Updated by 0xd34df00d almost 6 years ago

  • Estimated time set to 2.00 h
  • Target version set to 0.6.75
  • Status changed from New to Assigned
  • Category changed from Core to Plugins: HistoryHolder
#3

Updated by 0xd34df00d almost 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Resolved
#4

Updated by Mellon almost 6 years ago

  • Status changed from Resolved to Closed

Вроде норм.

#5

Updated by 0xd34df00d almost 6 years ago

Спасибо за поимку и логи
!

Also available in: Atom PDF