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

Crash when selecting "open speeddial" #49

Closed
JHooverman opened this issue Dec 4, 2011 · 4 comments
Closed

Crash when selecting "open speeddial" #49

JHooverman opened this issue Dec 4, 2011 · 4 comments
Assignees
Labels

Comments

@JHooverman
Copy link
Member

Hello,

I set the option Tools -> Preferences -> General -> Launching -> On new tab to "open speed dial" and applied. I have restarted QupZilla and selected "+" for opening a new tab and QupZilla crashes. This is the terminal output:

Program received signal SIGSEGV, Segmentation fault.
QMetaObject::activate (sender=0x0, m=0x4, local_signal_index=8, argv=0xbfffe408) at kernel/qobject.cpp:3464
3464 kernel/qobject.cpp: No such file or directory.
in kernel/qobject.cpp
(gdb) bt
0 QMetaObject::activate (sender=0x0, m=0x4, local_signal_index=8, argv=0xbfffe408) at kernel/qobject.cpp:3464
1 0xb6ea1f3d in QWebFrame::loadFinished(bool) () from /usr/lib/libQtWebKit.so.4
2 0xb6ee94f5 in WebCore::FrameLoaderClientQt::emitLoadFinished(bool) () from /usr/lib/libQtWebKit.so.4
3 0xb6ee9565 in WebCore::FrameLoaderClientQt::dispatchDidFinishLoad() () from /usr/lib/libQtWebKit.so.4
4 0xb729aade in WebCore::FrameLoader::checkLoadCompleteForThisFrame() () from /usr/lib/libQtWebKit.so.4
5 0xb72995d8 in WebCore::FrameLoader::recursiveCheckLoadComplete() () from /usr/lib/libQtWebKit.so.4
6 0xb728c57d in WebCore::DocumentLoader::removeSubresourceLoader(WebCore::ResourceLoader_) () from /usr/lib/libQtWebKit.so.4
7 0xb72ccefc in WebCore::SubresourceLoader::didFinishLoading(double) () from /usr/lib/libQtWebKit.so.4
8 0xb72c2977 in WebCore::ResourceLoader::didFinishLoading (this=0xaf62e000, finishTime=0)
at ../../../Source/WebCore/loader/ResourceLoader.cpp:436
9 0xb74e4ff5 in WebCore::QNetworkReplyHandler::finish() () from /usr/lib/libQtWebKit.so.4
10 0xb74e4a93 in WebCore::QNetworkReplyHandlerCallQueue::flush() () from /usr/lib/libQtWebKit.so.4
11 0xb74e4bb3 in WebCore::QNetworkReplyHandlerCallQueue::push(void (WebCore::QNetworkReplyHandler::_)()) ()
from /usr/lib/libQtWebKit.so.4
12 0xb74e569f in WebCore::QNetworkReplyWrapper::didReceiveFinished() () from /usr/lib/libQtWebKit.so.4
13 0xb56cbfcf in QMetaObject::activate (sender=0x8884c88, m=0x4, local_signal_index=-1219601040, argv=0x0) at kernel/qobject.cpp:3555
14 0xb5906495 in QNetworkReply::finished (this=0x8884c88) at .moc/release-shared/moc_qnetworkreply.cpp:166
15 0xb588d623 in QNetworkReplyImplPrivate::finished (this=0x88852d0) at access/qnetworkreplyimpl.cpp:780
16 0xb587006e in QNetworkAccessBackend::finished (this=0x8885500) at access/qnetworkaccessbackend.cpp:307
17 0xb58766e1 in QNetworkAccessHttpBackend::replyFinished (this=0x8885500) at access/qnetworkaccesshttpbackend.cpp:738
18 0xb5905bf8 in QNetworkAccessHttpBackend::qt_static_metacall (o=0x8885500, c=QMetaObject::InvokeMetaMethod, id=5, a=0xb3020f10)
at .moc/release-shared/moc_qnetworkaccesshttpbackend_p.cpp:90
19 0xb56c5a71 in QMetaCallEvent::placeMetaCall (this=0xb3069380, object=0x8885500) at kernel/qobject.cpp:524
20 0xb56c9ebb in QObject::event (this=0x8885500, e=0xb3069380) at kernel/qobject.cpp:1203
---Type to continue, or q to quit---
21 0xb5a9e7a4 in QApplicationPrivate::notify_helper(QObject
, QEvent
) () from /usr/lib/libQtGui.so.4
22 0xb5aa762b in QApplication::notify(QObject
, QEvent
) () from /usr/lib/libQtGui.so.4
23 0xb56b3ade in QCoreApplication::notifyInternal (this=0xbffff0f4, receiver=0x8885500, event=0xb3069380)
at kernel/qcoreapplication.cpp:876
24 0xb56b77b0 in sendEvent (receiver=0x0, event_type=0, data=0x8260d18) at kernel/qcoreapplication.h:231
25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8260d18) at kernel/qcoreapplication.cpp:1500
26 0xb56b79dc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
27 0xb56e6814 in sendPostedEvents (s=0x8265378) at kernel/qcoreapplication.h:236
28 postEventSourceDispatch (s=0x8265378) at kernel/qeventdispatcher_glib.cpp:279
29 0xb4f43859 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
30 0xb4f44060 in ?? () from /usr/lib/libglib-2.0.so.0
31 0xb4f4431e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
32 0xb56e699b in QEventDispatcherGlib::processEvents (this=0x82630e8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
33 0xb5b55aca in ?? () from /usr/lib/libQtGui.so.4
34 0xb56b29dd in QEventLoop::processEvents (this=0xbffff094, flags=...) at kernel/qeventloop.cpp:149
35 0xb56b2c71 in QEventLoop::exec (this=0xbffff094, flags=...) at kernel/qeventloop.cpp:204
36 0xb56b7ab0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
37 0xb5a9c474 in QApplication::exec() () from /usr/lib/libQtGui.so.4
38 0x0806fc28 in main (argc=1, argv=0xbffff274) at main.cpp:62

@nowrep
Copy link
Member

nowrep commented Dec 4, 2011

Completely rebuild.
If you run make, it will rebuild only changed files (.cpp files). And if header files (.h), it won't rebuild all files that are including this header, only changed ones.
If you look at backtrace, there is not a single function call from QupZilla. All of them are Qt internal functions + QtWebKit.
This crash should be fixed after rebuilding.

EDIT: Hmmm, it is crashing to me too when using Qt 4.8 & QtWebKit 2.2 ... what's your configuration?

@nowrep nowrep closed this as completed in 5ea0399 Dec 4, 2011
@JHooverman
Copy link
Member Author

Excellent, it works for me with your last commit.

My automatic update service has updated qt4 to version 4.7.90. Thus I did not get, that I supposed to have a 4.8 version. So this has been changed definitely.
Where or how can I check the QtWebkit Version?

Thanks a lot.

@nowrep
Copy link
Member

nowrep commented Dec 4, 2011

QtWebKit version: Menu Help -> About QupZilla or Info about app.
Qt version: Menu Help -> About Qt

But I assume your version is Qt 4.8.0 and QtWebKit 534.34 (thus qtwebkit 2.2)

Last commit 4e79d4c fixes thumbnails reloading when speed dial is opened in more than one tab.

I am sorry for wasting your time today with forcing you to completely recompile for nothing :D

@JHooverman
Copy link
Member Author

Yes, you are right!

Thank you again for your outstanding support!

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

No branches or pull requests

2 participants