Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Applying settings hangs browser for minutes #1037

Closed
luke-jr opened this issue Sep 21, 2013 · 11 comments
Closed

Applying settings hangs browser for minutes #1037

luke-jr opened this issue Sep 21, 2013 · 11 comments

Comments

@luke-jr
Copy link
Contributor

luke-jr commented Sep 21, 2013

(gdb) bt
#0  __memcpy_ssse3_rep () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:516
#1  0xf4d6d761 in QByteArray::append (this=0xffbaac54, ba=...) at tools/qbytearray.cpp:1614
#2  0xf4d5f7d0 in QByteArray::operator+= (this=0xffbaac54, a=...) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:510
#3  0xf4e2fede in QUrlPrivate::toEncoded (this=0x17640840, options=...) at io/qurl.cpp:4045
#4  0xf4e36033 in QUrl::toEncoded (this=0xffbaae48, options=...) at io/qurl.cpp:5865
#5  0xf687f684 in WebCore::KURL::KURL(QUrl const&) () from /usr/lib/qt4/libQtWebKit.so.4
#6  0xf6267e42 in QWebSettingsPrivate::apply() () from /usr/lib/qt4/libQtWebKit.so.4
#7  0xf6269056 in QWebSettingsPrivate::apply() () from /usr/lib/qt4/libQtWebKit.so.4
#8  0xf6269405 in QWebSettings::setAttribute(QWebSettings::WebAttribute, bool) () from /usr/lib/qt4/libQtWebKit.so.4
#9  0xf743a129 in QupZilla::loadSettings (this=0xa745460) at app/qupzilla.cpp:742
#10 0xf743b687 in QupZilla::receiveMessage (this=0xa745460, mes=Qz::AM_ReloadSettings, state=true) at app/qupzilla.cpp:931
#11 0xf75cff01 in QupZilla::qt_static_metacall (_o=0xa745460, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xffbab3b4)
    at ../../build/moc_qupzilla.cpp:213
#12 0xf4e9bf4d in QMetaObject::activate (sender=0xffbace64, m=0xf76e77d8 <MainApplication::staticMetaObject>, local_signal_index=0, 
    argv=0xffbab3b4) at kernel/qobject.cpp:3539
#13 0xf75d097f in MainApplication::message (this=0xffbace64, _t1=Qz::AM_ReloadSettings, _t2=true) at ../../build/moc_mainapplication.cpp:139
#14 0xf744c188 in MainApplication::reloadSettings (this=0xffbace64) at app/mainapplication.cpp:460
#15 0xf749cba6 in Preferences::saveSettings (this=0xbe4fc50) at preferences/preferences.cpp:1016
#16 0xf749840f in Preferences::buttonClicked (this=0xbe4fc50, button=0x15ae5fd0) at preferences/preferences.cpp:716
#17 0xf75d2fb7 in Preferences::qt_static_metacall (_o=0xbe4fc50, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xffbabca8)
    at ../../build/moc_preferences.cpp:114
#18 0xf4e9bf4d in QMetaObject::activate (sender=0xfe68980, m=0xf5bd2538 <QDialogButtonBox::staticMetaObject>, local_signal_index=0, 
    argv=0xffbabca8) at kernel/qobject.cpp:3539
#19 0xf56070c2 in QDialogButtonBox::clicked (this=0xfe68980, _t1=0x15ae5fd0) at .moc/release-shared/moc_qdialogbuttonbox.cpp:179
#20 0xf560683a in QDialogButtonBoxPrivate::_q_handleButtonClicked (this=0x17347658) at widgets/qdialogbuttonbox.cpp:1139
#21 0xf5606dd4 in QDialogButtonBox::qt_static_metacall (_o=0xfe68980, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xffbabe08)
    at .moc/release-shared/moc_qdialogbuttonbox.cpp:98
#22 0xf4e9bf4d in QMetaObject::activate (sender=0x15ae5fd0, m=0xf5be080c <QAbstractButton::staticMetaObject>, local_signal_index=2, 
    argv=0xffbabe08) at kernel/qobject.cpp:3539
#23 0xf58ec660 in QAbstractButton::clicked (this=0x15ae5fd0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#24 0xf55ce217 in QAbstractButtonPrivate::emitClicked (this=0x14042870) at widgets/qabstractbutton.cpp:548
#25 0xf55ce196 in QAbstractButtonPrivate::click (this=0x14042870) at widgets/qabstractbutton.cpp:541
#26 0xf55cf561 in QAbstractButton::mouseReleaseEvent (this=0x15ae5fd0, e=0xffbac73c) at widgets/qabstractbutton.cpp:1123
#27 0xf51f33dc in QWidget::event (this=0x15ae5fd0, event=0xffbac73c) at kernel/qwidget.cpp:8375
#28 0xf55cf3d2 in QAbstractButton::event (this=0x15ae5fd0, e=0xffbac73c) at widgets/qabstractbutton.cpp:1082
#29 0xf5682279 in QPushButton::event (this=0x15ae5fd0, e=0xffbac73c) at widgets/qpushbutton.cpp:683
#30 0xf5197d64 in QApplicationPrivate::notify_helper (this=0x8051aa0, receiver=0x15ae5fd0, e=0xffbac73c) at kernel/qapplication.cpp:4562
#31 0xf5195ee2 in QApplication::notify (this=0xffbace64, receiver=0x15ae5fd0, e=0xffbac73c) at kernel/qapplication.cpp:4105
#32 0xf4e81954 in QCoreApplication::notifyInternal (this=0xffbace64, receiver=0x15ae5fd0, event=0xffbac73c) at kernel/qcoreapplication.cpp:946
#33 0xf519a63d in QCoreApplication::sendSpontaneousEvent (receiver=0x15ae5fd0, event=0xffbac73c)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#34 0xf51946a5 in QApplicationPrivate::sendMouseEvent (receiver=0x15ae5fd0, event=0xffbac73c, alienWidget=0x15ae5fd0, nativeWidget=0xbe4fc50, 
    buttonDown=0xf5beb3c0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3171
#35 0xf5227aa4 in QETWidget::translateMouseEvent (this=0xbe4fc50, event=0xffbaccbc) at kernel/qapplication_x11.cpp:4516
#36 0xf522485e in QApplication::x11ProcessEvent (this=0xffbace64, event=0xffbaccbc) at kernel/qapplication_x11.cpp:3517
#37 0xf5259275 in QEventDispatcherX11::processEvents (this=0x8052588, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#38 0xf4e7f7f1 in QEventLoop::processEvents (this=0xffbacdfc, flags=...) at kernel/qeventloop.cpp:149
#39 0xf4e7f95f in QEventLoop::exec (this=0xffbacdfc, flags=...) at kernel/qeventloop.cpp:204
#40 0xf4e81fbe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#41 0xf51952d6 in QApplication::exec () at kernel/qapplication.cpp:3823
#42 0x0804ba44 in main (argc=2, argv=0xffbad034) at main.cpp:193
(gdb) fin
Run till exit from #0  __memcpy_ssse3_rep () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:516
QByteArray::append (this=0xffbaac54, ba=...) at tools/qbytearray.cpp:1615
1615    tools/qbytearray.cpp: No such file or directory.
(gdb) 
Run till exit from #0  QByteArray::append (this=0xffbaac54, ba=...) at tools/qbytearray.cpp:1615
0xf4d5f7d0 in QByteArray::operator+= (this=0xffbaac54, a=...) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:510
510 ../../include/QtCore/../../src/corelib/tools/qbytearray.h: No such file or directory.
Value returned is $1 = 
  (QByteArray &) @0xffbaac54: {static shared_null = {ref = {_q_value = 16026}, alloc = 0, size = 0, data = 0xf501c384 <QByteArray::shared_null+16> "", array = ""}, static shared_empty = {ref = {_q_value = 903}, alloc = 0, size = 0, data = 0xf501c398 <QByteArray::shared_empty+16> "", array = ""}, d = 0x175ee7a0}
(gdb) 
Run till exit from #0  0xf4d5f7d0 in QByteArray::operator+= (this=0xffbaac54, a=...)
    at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:510
QUrlPrivate::toEncoded (this=0x17640840, options=...) at io/qurl.cpp:4048
4048    io/qurl.cpp: No such file or directory.
Value returned is $2 = 
  (QByteArray &) @0xffbaac54: {static shared_null = {ref = {_q_value = 16026}, alloc = 0, size = 0, data = 0xf501c384 <QByteArray::shared_null+16> "", array = ""}, static shared_empty = {ref = {_q_value = 903}, alloc = 0, size = 0, data = 0xf501c398 <QByteArray::shared_empty+16> "", array = ""}, d = 0x175ee7a0}
(gdb) 
Run till exit from #0  QUrlPrivate::toEncoded (this=0x17640840, options=...) at io/qurl.cpp:4048
0xf4e36033 in QUrl::toEncoded (this=0xffbaae48, options=...) at io/qurl.cpp:5865
5865    in io/qurl.cpp
Value returned is $3 = 
  {static shared_null = {ref = {_q_value = 16026}, alloc = 0, size = 0, data = 0xf501c384 <QByteArray::shared_null+16> "", array = ""}, static shared_empty = {ref = {_q_value = 903}, alloc = 0, size = 0, data = 0xf501c398 <QByteArray::shared_empty+16> "", array = ""}, d = 0x175ee7a0}
(gdb) 
Run till exit from #0  0xf4e36033 in QUrl::toEncoded (this=0xffbaae48, options=...) at io/qurl.cpp:5865
...
@pejakm
Copy link
Member

pejakm commented Sep 22, 2013

@luke-jr In future please do not post a stacktrace like this. Enclose it in code or paste it on pastebin or somwhere and just paste the link here.

@JHooverman
Copy link
Member

@luke-jr: Your issue refers to Qt-5.1, whereas your backtrace shows that Qt-4 is somehow involved (/usr/lib/qt4/libQtWebkit). Do you have a mix of two different Qt versions?

@luke-jr
Copy link
Contributor Author

luke-jr commented Sep 22, 2013

Correction: I have Qt 5.1 installed, but for some reason QupZilla built against 4.8.4. :(

@nowrep
Copy link
Member

nowrep commented Sep 22, 2013

You must use qmake from Qt 5.

@luke-jr
Copy link
Contributor Author

luke-jr commented Sep 22, 2013

I don't see any way to do that.

@pejakm
Copy link
Member

pejakm commented Sep 22, 2013

qmake-qt5?

@nowrep
Copy link
Member

nowrep commented Sep 22, 2013

Or invoke it by full path to binary. (something like /opt/qt5/bin/qmake ?)

@luke-jr
Copy link
Contributor Author

luke-jr commented Sep 22, 2013

No such link. Apparently I have to use some non-standard PATH. :/

@nowrep
Copy link
Member

nowrep commented Oct 10, 2013

Btw, are you using somehow big userstyle file?

@luke-jr
Copy link
Contributor Author

luke-jr commented Oct 10, 2013

No, none at all.

@nowrep
Copy link
Member

nowrep commented Oct 16, 2013

I would say this is the same as #1044
So let's continue discussion there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants