[Qt-interest] Closing the "Web Inspector" programmatically?!

R. Reucher rene.reucher at batcom-it.net
Sun May 31 03:09:24 CEST 2009


On Sun May 31 2009 01:33:19 Alessandro Portale wrote:
> do you ge a stack trace?
It's attached!

> And if so, does it look similar to the one described in this open task ?:
> http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id
>=245683
As far as I can see, yes, it looks similar (though I'm on Linux).

> It may be that you are hitting the same issue. It is supposed to be
> fixed for 4.6.
Thanks!
-- 
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/

There's no real need to do housework -- after four years it doesn't get
any worse.
-------------- next part --------------
rene at thunder:~/src/qmc2> gdb ./qmc2-sdlmame
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...
(gdb) run
Starting program: /home/rene/src/qmc2/qmc2-sdlmame
[Thread debugging using libthread_db enabled]
[New Thread 0x7f00f34d8740 (LWP 18512)]
[New Thread 0x40b40950 (LWP 18519)]
[New Thread 0x421e2950 (LWP 18523)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f00f34d8740 (LWP 18512)]
0x00007f00f24e5482 in QWebView::~QWebView () from /usr/local/lib/qt-4.5.1/lib/libQtWebKit.so.4
(gdb) bt
#0  0x00007f00f24e5482 in QWebView::~QWebView () from /usr/local/lib/qt-4.5.1/lib/libQtWebKit.so.4
#1  0x00007f00f24d3e4e in ?? () from /usr/local/lib/qt-4.5.1/lib/libQtWebKit.so.4
#2  0x00007f00eebc5c35 in QObject::event (this=0x95a0660, e=0x908c870) at kernel/qobject.cpp:1092
#3  0x00007f00f089b9bd in QWidget::event (this=0x95a0660, event=0x908c870) at kernel/qwidget.cpp:7918
#4  0x00007f00f24e4b31 in QWebView::event () from /usr/local/lib/qt-4.5.1/lib/libQtWebKit.so.4
#5  0x00007f00f084ae0d in QApplicationPrivate::notify_helper (this=0x9ddf30, receiver=0x95a0660, e=0x908c870)
    at kernel/qapplication.cpp:4057
#6  0x00007f00f08530aa in QApplication::notify (this=0x7ffffb625f80, receiver=0x95a0660, e=0x908c870) at kernel/qapplication.cpp:4022
#7  0x00007f00eebb5b1c in QCoreApplication::notifyInternal (this=0x7ffffb625f80, receiver=0x95a0660, event=0x908c870)
    at kernel/qcoreapplication.cpp:610
#8  0x00007f00eebb67aa in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9dbf10)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#9  0x00007f00eebdf5e3 in postEventSourceDispatch (s=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#10 0x00007f00ee1b293a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f00ee1b6040 in ?? () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f00ee1b61dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#13 0x00007f00eebdf26f in QEventDispatcherGlib::processEvents (this=0x9e2f80, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:324
#14 0x00007f00f08e246f in QGuiEventDispatcherGlib::processEvents (this=0x95a0660, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
#15 0x00007f00eebb43a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -77439408}) at kernel/qeventloop.cpp:149
#16 0x00007f00eebb476d in QEventLoop::exec (this=0x7ffffb625e90, flags={i = -77439328}) at kernel/qeventloop.cpp:200
#17 0x00007f00eebb6a74 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#18 0x00000000004566a5 in main ()


More information about the Qt-interest-old mailing list