Bug 119095 - Konqueror crashes on reopening after visiting website
Summary: Konqueror crashes on reopening after visiting website
Status: RESOLVED DUPLICATE of bug 101602
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-28 03:38 UTC by Paul Eggleton
Modified: 2005-12-28 15:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2005-12-28 03:38:31 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.5-20050130 Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1
OS:                Linux

1. Open http://robin.sf.net in Konqueror
2. Wait for the page to load, then click on the "Launch" button, select "Logout" and confirm the prompt dialog.
3. Open a new Konqueror window, and you get a segfault:

--------- snip ---------
Using host libthread_db library "/lib/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8322)]
[KCrash handler]
#5  0x00000000 in ?? ()
#6  0xb79cad6e in KToolBar::applyAppearanceSettings (this=0xb236120, 
    config=0x8151910, _configGroup=@0xbfc74110, forceGlobal=false)
    at ktoolbar.cpp:1523
#7  0xb79cb3f6 in KToolBar::applySettings (this=0xb236120, config=0x8151910, 
    _configGroup=@0xbfc741c0, force=false) at ktoolbar.cpp:1661
#8  0xb7a3fbe2 in KMainWindow::applyMainWindowSettings (this=0x82958a0, 
    config=0x8151910, configGroup=@0xbfc74240, force=false)
    at kmainwindow.cpp:877
#9  0xb7a3f76b in KMainWindow::applyMainWindowSettings (this=0x82958a0, 
    config=0x8151910, configGroup=@0xbfc74240) at kmainwindow.cpp:831
#10 0xb7f45349 in KParts::MainWindow::createGUI (this=0x82958a0, 
    part=0xb157f68) at mainwindow.cpp:137
#11 0xb654ae2e in KonqMainWindow::slotPartActivated (this=0x82958a0, 
    part=0xb157f68) at konq_mainwindow.cc:2161
#12 0xb651cdad in KonqViewManager::emitActivePartChanged (this=0x829ab48)
    at konq_viewmgr.cc:1394
#13 0xb651cbe0 in KonqViewManager::setActivePart (this=0x829ab48, 
    part=0xb157f68, immediate=true) at konq_viewmgr.cc:1369
#14 0xb651c5f8 in KonqViewManager::loadViewProfile (this=0x829ab48, 
    cfg=@0xbfc74640, filename=@0xbfc748e0, forcedURL=@0xbfc747e0, 
    req=@0xbfc74720, resetWindow=true, openURL=true) at konq_viewmgr.cc:1248
#15 0xb651b9a1 in KonqViewManager::loadViewProfile (this=0x829ab48, 
    path=@0xbfc748d0, filename=@0xbfc748e0, forcedURL=@0xbfc747e0, 
    req=@0xbfc74720, resetWindow=true, openURL=true) at konq_viewmgr.cc:1130
#16 0xb6523e2b in KonqMisc::createBrowserWindowFromProfile (path=@0xbfc748d0, 
    filename=@0xbfc748e0, url=@0xbfc747e0, args=@0xbfc74810, 
    forbidUseHTML=false, filesToSelect=@0xbfc74850, tempFile=false, 
    openURL=true) at konq_misc.cc:143
#17 0xb6501a90 in KonquerorIface::createBrowserWindowFromProfile (
    this=0x8280e88, path=@0xbfc748d0, filename=@0xbfc748e0)
    at KonquerorIface.cc:136
#18 0xb6501b7b in KonquerorIface::createBrowserWindowFromProfileASN (
    this=0x8280e88, path=@0xbfc748d0, filename=@0xbfc748e0, 
    startup_id=@0xbfc74900) at KonquerorIface.cc:146
#19 0xb656e47e in KonquerorIface::process (this=0x8280e88, fun=@0xbfc74b30, 
    data=@0xbfc74b40, replyType=@0xbfc74af0, replyData=@0xbfc74ae0)
    at KonquerorIface_skel.cc:233
#20 0xb75ba1ea in DCOPClient::receive (this=0x824c108, objId=@0xbfc74b20, 
    fun=@0xbfc74b30, data=@0xbfc74b40, replyType=@0xbfc74af0, 
    replyData=@0xbfc74ae0) at dcopclient.cpp:1640
#21 0xb75b4562 in DCOPProcessInternal (d=0x824c138, opcode=2, key=268, 
    dataReceived=@0xbfc74c40, canPost=true) at dcopclient.cpp:518
#22 0xb75b3ec6 in DCOPProcessMessage (iceConn=0x824cb70, 
    clientObject=0x824c138, opcode=2, length=324, replyWait=0x0, 
    replyWaitRet=0xbfc74cbc) at dcopclient.cpp:430
#23 0xb75c7241 in KDE_IceProcessMessages (iceConn=0x824cb70, replyWait=0x0, 
    replyReadyRet=0x0) at process.c:326
#24 0xb75bb5e0 in DCOPClient::processSocketData (this=0x824c108, fd=9)
    at dcopclient.cpp:2009
#25 0xb75bcca3 in DCOPClient::qt_invoke (this=0x824c108, _id=2, _o=0xbfc74e50)
    at dcopclient.moc:176
#26 0xb6eb7fe0 in QObject::activate_signal (this=0x824c9f0, clist=0x824cb00, 
    o=0xbfc74e50) at qobject.cpp:2355
#27 0xb6eb839a in QObject::activate_signal (this=0x824c9f0, signal=2, param=9)
    at qobject.cpp:2448
#28 0xb729c949 in QSocketNotifier::activated (this=0x824c9f0, t0=9)
    at moc_qsocketnotifier.cpp:85
#29 0xb6edcf2d in QSocketNotifier::event (this=0x824c9f0, e=0xbfc75110)
    at qsocketnotifier.cpp:258
#30 0xb6e47bf5 in QApplication::internalNotify (this=0xbfc754e0, 
    receiver=0x824c9f0, e=0xbfc75110) at qapplication.cpp:2635
#31 0xb6e46e38 in QApplication::notify (this=0xbfc754e0, receiver=0x824c9f0, 
    e=0xbfc75110) at qapplication.cpp:2358
#32 0xb76c776c in KApplication::notify (this=0xbfc754e0, receiver=0x824c9f0, 
    event=0xbfc75110) at kapplication.cpp:550
#33 0xb7f43fb9 in QApplication::sendEvent (receiver=0x824c9f0, 
    event=0xbfc75110) at qapplication.h:491
#34 0xb6e3327b in QEventLoop::activateSocketNotifiers (this=0x8150ad0)
    at qeventloop_unix.cpp:578
#35 0xb6de3701 in QEventLoop::processEvents (this=0x8150ad0, flags=4)
    at qeventloop_x11.cpp:383
#36 0xb6e5f10d in QEventLoop::enterLoop (this=0x8150ad0) at qeventloop.cpp:198
#37 0xb6e5f026 in QEventLoop::exec (this=0x8150ad0) at qeventloop.cpp:145
#38 0xb6e47d97 in QApplication::exec (this=0xbfc754e0) at qapplication.cpp:2758
#39 0xb64ff542 in kdemain (argc=2, argv=0x8124980) at konq_main.cc:206
#40 0xb65977f5 in kdeinitmain (argc=2, argv=0x8124980) at konqueror_dummy.cc:3
#41 0x0804e66b in launch (argc=2, _name=0x81256dc "konqueror", 
    args=0x81256ef "\001", cwd=0x0, envc=1, envs=0x8125700 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8125704 "daedalus;1135736311;484665;3806_TIME12958514")
    at kinit.cpp:637
#42 0x0804f98f in handle_launcher_request (sock=8) at kinit.cpp:1201
#43 0x08050058 in handle_requests (waitForPid=0) at kinit.cpp:1404
#44 0x080514a8 in main (argc=2, argv=0xbfc75b14, envp=0xbfc75b20)
    at kinit.cpp:1848
--------- snip ---------

Perhaps this has something to do with the Javascript close() combined with Konqueror's instance caching? If you just close the window manually instead of using robin's logout function you don't get the crash.
Comment 1 Thiago Macieira 2005-12-28 05:48:46 UTC
I cannot reproduce this crash. But it does close the window when I click Logout and, for all I know, it shouldn't be able to:

khtml (jscript): Window::scheduleClose window.close() 0x8450798
Comment 2 Tommi Tervo 2005-12-28 15:01:41 UTC

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