Coder Social home page Coder Social logo

Comments (7)

nowrep avatar nowrep commented on June 15, 2024

Hello,
Thank you for your report. I will take a look at it and keep you updated.

from qupzilla.

nowrep avatar nowrep commented on June 15, 2024

I tried on Windows XP, Windows 7, Kubuntu 10.10 and Debian Wheezy. All with 533.3 WebKit version and I cannot reproduce this behaviour.
Nevertheless, I am planning to rewrite whole Web Inspector feature, so it will hopefully gets fixed.

from qupzilla.

jmc-88 avatar jmc-88 commented on June 15, 2024

I am still able to reproduce this, so tell me if you need some more info about that.

from qupzilla.

nowrep avatar nowrep commented on June 15, 2024

Can you test it now and report please?
Thank You.

from qupzilla.

jmc-88 avatar jmc-88 commented on June 15, 2024

Ok, the behaviour is now sane (once shown, it will not be toggled until you manually close it), but it seems to regularily cause a segmentation fault when closing the application:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6a7b893 in ?? () from /usr/lib/libQtWebKit.so.4
(gdb) bt
0 0x00007ffff6a7b893 in ?? () from /usr/lib/libQtWebKit.so.4
1 0x00007ffff69f0fd9 in ?? () from /usr/lib/libQtWebKit.so.4
2 0x00007ffff6d978d2 in WebCore::InspectorPageAgent::frameDetached(WebCore::Frame_) ()
from /usr/lib/libQtWebKit.so.4
3 0x00007ffff6de994a in WebCore::FrameLoader::detachFromParent() ()
from /usr/lib/libQtWebKit.so.4
4 0x00007ffff6a4797b in QWebPage::~QWebPage() () from /usr/lib/libQtWebKit.so.4
5 0x00000000004a75d1 in ~WebPage (this=0xe14ff0, __in_chrg=)
at ../src/webview/webpage.cpp:453
6 0x00000000004a7694 in ~WebPage (this=0xe14ff0, __in_chrg=)
at ../src/webview/webpage.cpp:457
7 0x00000000004a220d in ~WebView (this=0xe14cd0, __in_chrg=)
at ../src/webview/webview.cpp:808
8 0x00000000004a237c in ~WebView (this=0xe14cd0, __in_chrg=)
at ../src/webview/webview.cpp:809
9 0x00000000004d220c in ~WebTab (this=0xe14090, _in_chrg=)
at ../src/webview/webtab.cpp:90
10 0x00000000004d2296 in ~WebTab (this=0xe14090, in_chrg=)
at ../src/webview/webtab.cpp:91
11 0x00007ffff465bdc5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
12 0x00007ffff4eb27ca in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
13 0x00007ffff52972c9 in QStackedWidget::~QStackedWidget() () from /usr/lib/libQtGui.so.4
14 0x00007ffff465bdc5 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
--Type to continue, or q to quit---
15 0x00007ffff4eb27ca in QWidget::~QWidget() () from /usr/lib/libQtGui.so.4
16 0x00000000004aea88 in ~TabWidget (this=0x9ddb70, in_chrg=)
at ../src/webview/tabwidget.cpp:574
17 0x00000000004aeaf6 in ~TabWidget (this=0x9ddb70, in_chrg=)
at ../src/webview/tabwidget.cpp:578
18 0x000000000043daa7 in ~QupZilla (this=0x9c2690, in_chrg=)
at ../src/app/qupzilla.cpp:1075
19 0x000000000043dd72 in ~QupZilla (this=0x9c2690, in_chrg=)
at ../src/app/qupzilla.cpp:1084
20 0x00007ffff4660ad8 in QObject::event(QEvent
) () from /usr/lib/libQtCore.so.4
21 0x00007ffff4eb6ddb in QWidget::event(QEvent
) () from /usr/lib/libQtGui.so.4
22 0x00007ffff525581b in QMainWindow::event(QEvent
) () from /usr/lib/libQtGui.so.4
23 0x00007ffff4e66d94 in QApplicationPrivate::notify_helper(QObject
, QEvent) ()
from /usr/lib/libQtGui.so.4
24 0x00007ffff4e6bc01 in QApplication::notify(QObject, QEvent) () from /usr/lib/libQtGui.so.4
25 0x00007ffff464a2fc in QCoreApplication::notifyInternal(QObject, QEvent) ()
from /usr/lib/libQtCore.so.4
26 0x00007ffff464d66f in QCoreApplicationPrivate::sendPostedEvents(QObject, int, QThreadData)
() from /usr/lib/libQtCore.so.4
27 0x00007ffff464d926 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
28 0x000000000042da14 in main (argc=1, argv=0x7fffffffe448) at ../src/main.cpp:59

from qupzilla.

jmc-88 avatar jmc-88 commented on June 15, 2024

I should probably mention this: I'm not running your exact Git repository clone, I have made a small addition to the sources, which anyway should not interfere with this part of QupZilla. I'll send you a patch soon, so you can see if it's ok and if it could be added to the browser.

from qupzilla.

jmc-88 avatar jmc-88 commented on June 15, 2024

Ok, please disregard the last comments - I was compiling the entire thing from Qt Creator, which seems to have mixed the Release and Debug builds somehow. A complete rebuild fixed the segmentation fault, and the original issue is fixed. Thanks a ton!

from qupzilla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.