Bug 188917 - Crash in QWidget::testAttribute: Changing content in a popup window
Summary: Crash in QWidget::testAttribute: Changing content in a popup window
Status: RESOLVED DUPLICATE of bug 167971
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.2.1
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-05 21:55 UTC by Hermann Schwarting
Modified: 2011-05-21 22:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hermann Schwarting 2009-04-05 21:55:55 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Debian testing/unstable Packages

A website opened a popup window. I switched back to the main page and chose some other link, which would load a different page in the same popup window. I switched to the popup window and Konqueror crashed.

Application: Konqueror (konqueror), signal SIGSEGV
[Current thread is 0 (LWP 8893)]

Thread 2 (Thread 0xb0f82b90 (LWP 9998)):
#0  0xb80c4424 in __kernel_vsyscall ()
#1  0xb7f375b1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb729f670 in QProcessManager::run (this=0x89a0ef0) at io/qprocess_unix.cpp:301
#3  0xb71d052e in QThreadPrivate::start (arg=0x89a0ef0) at thread/qthread_unix.cpp:185
#4  0xb63c54e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb7f3f10e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6098700 (LWP 8893)):
[KCrash Handler]
#6  0xb69c03b7 in QWidget::testAttribute (this=0x9bf78a8, attribute=Qt::WA_WState_Visible) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:986
#7  0xb69bc5fc in QApplication::setActiveWindow (act=0x8fe4f08) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:948
#8  0xb6a25c7a in QApplication::x11ProcessEvent (this=0xbfedfb88, event=0xbfedf6fc) at kernel/qapplication_x11.cpp:3081
#9  0xb6a4f63a in x11EventSourceDispatch (s=0x89a0d00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#10 0xb6411718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0xb6414c7b in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x0899fe98 in ?? ()
#13 0x00000000 in ?? ()
Comment 1 Dario Andres 2009-04-07 15:13:45 UTC
This may be related to bug 181421 or bug 172692. Do you recognize the situations?
Thanks for reporting
Comment 2 Hermann Schwarting 2009-04-16 23:13:56 UTC
No, it's not similar to one of the mentioned situations.

In the mean time I have upgraded to 4.2.2 (from Debian unstable packages).

I can reproduce the crash. Unfortunately it happens in the internal only area of an online banking site, so I can't share the URLs. Maybe I can describe the situation more thoroughly:
* On the main page I choose a link. It opens a popup window (separate window, not tab) with additional information.
* I quickly switch back to the main window using alt-tab while the popup window still loads (it's completely white).
* I select a different link on the main page. It tries to load different content into the same popup window.
* As soon soon as I try to switch back to the popup window using alt-tab, Konqueror crashes.
The website uses Javascript functions window.open() and .focus() to control the popup.

I get a different trace with 4.2.2:

Anwendung: Konqueror (konqueror), Signal SIGSEGV
[Current thread is 0 (LWP 23788)]

Thread 2 (Thread 0xb1942b90 (LWP 23978)):
#0  0xb7f25424 in __kernel_vsyscall ()
#1  0xb7d9a5b1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb70fe670 in QProcessManager::run (this=0x8193098) at io/qprocess_unix.cpp:301
#3  0xb702f52e in QThreadPrivate::start (arg=0x8193098) at thread/qthread_unix.cpp:185
#4  0xb62244e5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb7da210e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5ef6700 (LWP 23788)):
[KCrash Handler]
#6  0xb6817b08 in QApplicationPrivate::focusNextPrevChild_helper (toplevel=0x9390558, next=true) at kernel/qapplication.cpp:2336
#7  0xb681b618 in QApplication::setActiveWindow (act=0x9390558) at kernel/qapplication.cpp:2309
#8  0xb6884c7a in QApplication::x11ProcessEvent (this=0xbfe40b18, event=0xbfe4068c) at kernel/qapplication_x11.cpp:3081
#9  0xb68ae63a in x11EventSourceDispatch (s=0x8192900, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#10 0xb6270718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0xb6273c7b in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x08191a98 in ?? ()
#13 0x00000000 in ?? ()
Comment 3 Dario Andres 2009-04-18 13:50:53 UTC
The last backtrace looks like bug 167971
What Qt version are you using ?
Thanks
Comment 4 Hermann Schwarting 2009-04-21 23:16:42 UTC
I'm using Qt 4.4.3-2 from Debian testing/unstable
Comment 5 Martin Koller 2011-05-21 22:32:09 UTC
Assuming this is the same as #167971.
If you can still reproduce with current KDE >= 4.6.3, please reopen

*** This bug has been marked as a duplicate of bug 167971 ***