Bug 153851 - konqueror crashes if tabbed window is closed via top.close()
Summary: konqueror crashes if tabbed window is closed via top.close()
Status: RESOLVED DUPLICATE of bug 153533
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-11 17:16 UTC by Oliver Putz
Modified: 2007-12-11 17:30 UTC (History)
0 users

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 Oliver Putz 2007-12-11 17:16:39 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

Konqueror seems to crash when a tabbed window is closed via javascript(?) [top.close()]

Steps to reproduce:

1) Log into GMX account
2) Select an email with an attachment
3 [details]) Open "store attachment" in extra tab
4) The new window has a possiblity to close the window via javascript(?). Using this link crashes konqueror.

The problematic command should be:

<a href="#" onclick="top.close(); return false;">Fenster schließen</a>

I use kde4daily ver 747104

Backtrace:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1237657904 (LWP 4513)]
[New Thread -1292956784 (LWP 5397)]
[KCrash handler]
#6  0xffffe402 in __kernel_vsyscall ()
#7  0xb66bcdf0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb66be641 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb66b643b in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb7e82b80 in KonqView::url (this=0x8bee040)
    at /storage/tmp/kde4dev/kdebase/apps/konqueror/src/konqview.cpp:873
#11 0xb7ebb763 in KonqMainWindow::slotAddClosedUrl (this=0x810a270, 
    tab=0x974eb1c)
    at /storage/tmp/kde4dev/kdebase/apps/konqueror/src/konqmainwindow.cpp:5340
#12 0xb7eddd1f in KonqMainWindow::qt_metacall (this=0x810a270, 
    _c=QMetaObject::InvokeMetaMethod, _id=45, _a=0xbfa22a2c)
    at /storage/tmp/kde4dev/kdebase-build/apps/konqueror/src/konqmainwindow.moc:365
#13 0xb72b5bc0 in QMetaObject::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#14 0xb72b6035 in QMetaObject::activate ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#15 0xb7e8b99c in KonqViewManager::aboutToRemoveTab (this=0x8110f20, 
    _t1=0x974eb1c)
    at /storage/tmp/kde4dev/kdebase-build/apps/konqueror/src/konqviewmanager.moc:100
#16 0xb7e9161b in KonqViewManager::removeTab (this=0x8110f20, 
    currentFrame=0x974eb1c)
    at /storage/tmp/kde4dev/kdebase/apps/konqueror/src/konqviewmanager.cpp:366
#17 0xb7e91d79 in KonqViewManager::removeView (this=0x8110f20, view=0x8bee040)
    at /storage/tmp/kde4dev/kdebase/apps/konqueror/src/konqviewmanager.cpp:563
#18 0xb7e92499 in KonqViewManager::removePart (this=0x8110f20, part=0x8bbccc0)
    at /storage/tmp/kde4dev/kdebase/apps/konqueror/src/konqviewmanager.cpp:603
#19 0xb7dddc0d in ~Part (this=0x8bbccc0, __vtt_parm=0xb48bb488)
    at /storage/tmp/kde4dev/kdelibs/kparts/part.cpp:204
#20 0xb7dddf99 in ~ReadOnlyPart (this=0x8bbccc0, __vtt_parm=0xb48bb484)
    at /storage/tmp/kde4dev/kdelibs/kparts/part.cpp:455
#21 0xb4507433 in ~KHTMLPart (this=0x8bbccc0)
    at /storage/tmp/kde4dev/kdelibs/khtml/khtml_part.cpp:520
#22 0xb72b6869 in QObject::event ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#23 0xb6a7dce1 in QApplicationPrivate::notify_helper ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#24 0xb6a7dfe2 in QApplication::notify ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtGui.so.4
#25 0xb783792b in KApplication::notify (this=0xbfa235fc, receiver=0x8bbccc0, 
    event=0x970c160)
    at /storage/tmp/kde4dev/kdelibs/kdeui/kernel/kapplication.cpp:319
#26 0xb72a441e in QCoreApplication::notifyInternal ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#27 0xb72a77ed in QCoreApplication::sendEvent ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#28 0xb72a48f5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#29 0xb72a4a4b in QCoreApplication::sendPostedEvents ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#30 0xb72cde61 in postEventSourceDispatch ()
   from /storage/tmp/kde4dev/qt-unstable/lib/libQtCore.so.4
#31 0xb6551df2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb6554dcf in ?? () from /usr/lib/libglib-2.0.so.0
#33 0x08060698 in ?? ()
#34 0x00000000 in ?? ()
#0  0xffffe402 in __kernel_vsyscall ()
Comment 1 Pino Toscano 2007-12-11 17:30:43 UTC

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