Bug 162498 - Konqueror crashed on session restoration
Summary: Konqueror crashed on session restoration
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Eduardo Robles Elvira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 04:17 UTC by Elias Probst
Modified: 2011-11-22 18:29 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.4


Attachments
Autosave file (92.47 KB, text/plain)
2008-09-11 01:30 UTC, Rosetzky Cedric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2008-05-23 04:17:36 UTC
Version:           (SVN rev. 811436) (using Devel)
Installed from:    Compiled sources
Compiler:          gcc-Version 4.1.2 (Gentoo 4.1.2 p1.0.2) CFLAGS="-O2 -march=nocona -msse3 -pipe -fomit-frame-pointer"
OS:                Linux

While submitting bugs to bugs.kde.org suddenly Konqueror started hanging and didn't respond anymore - I had to kill it.

When starting Konqueror next time it asked me whether I want to restore the session. The Konqueror window popped up and crashed afterwards instantly.

The backtrace of this crash looks like this:

Application: Konqueror (konqueror), signal SIGABRT
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb621a6d0 (LWP 8240)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb64ba101 in raise () from /lib/libc.so.6
#8  0xb64bb8e8 in abort () from /lib/libc.so.6
#9  0xb71460c7 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfc7b8ec "ASSERT: \"m_pSecondChild\" in file /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqframecontainer.cpp, line 202") at global/qglobal.cpp:2058
#10 0xb714617f in qFatal (msg=0xb729a754 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2260
#11 0xb7146613 in qt_assert (assertion=0xb7f462d9 "m_pSecondChild", 
    file=0xb7f46370 "/var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqframecontainer.cpp", line=202) at global/qglobal.cpp:1828
#12 0xb7eda774 in KonqFrameContainer::accept (this=0x8819758, 
    visitor=0xbfc7d9a4)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqframecontainer.cpp:202
#13 0xb7edc10b in KonqFrameTabs::accept (this=0x8806240, visitor=0xbfc7d9a4)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqtabs.cpp:599
#14 0xb7ed88ea in KonqViewCollector::collect (topLevel=0x8806258)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqframevisitor.cpp:33
#15 0xb7ecf0f7 in KonqViewManager::updatePixmaps (this=0x80f0728)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqviewmanager.cpp:494
#16 0xb7f0c2a9 in KonqMainWindow::slotIconsChanged (this=0x8154f90)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqmainwindow.cpp:1556
#17 0xb7f16763 in KonqMainWindow::qt_metacall (this=0x8154f90, 
    _c=QMetaObject::InvokeMetaMethod, _id=112, _a=0xbfc7db78)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror_build/apps/konqueror/src/konqmainwindow.moc:432
#18 0xb725a2df in QMetaObject::activate (sender=0x8385580, 
    from_signal_index=<value optimized out>, to_signal_index=10, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#19 0xb725aa52 in QMetaObject::activate (sender=0x8385580, m=0xb7e8eba0, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3071
#20 0xb7e8359d in KonqPixmapProvider::changed (this=0x8385580)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror_build/apps/konqueror/src/konqpixmapprovider.moc:85
#21 0xb7e8399c in KonqPixmapProvider::notifyChange (this=0x8385580, 
    isHost=false, hostOrURL=@0x8eb7690, iconName=@0x8eb76f0)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqpixmapprovider.cpp:152
#22 0xb7e83a2b in KonqPixmapProvider::qt_metacall (this=0x8385580, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfc7dd38)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror_build/apps/konqueror/src/konqpixmapprovider.moc:75
#23 0xb725a2df in QMetaObject::activate (sender=0x8385580, 
    from_signal_index=<value optimized out>, to_signal_index=5, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#24 0xb725aa52 in QMetaObject::activate (sender=0x8385580, m=0xb7e8ecd8, 
    local_signal_index=0, argv=0xbfc7dd38) at kernel/qobject.cpp:3071
#25 0xb7e8b131 in OrgKdeFavIconInterface::iconChanged (this=0x8385580, 
    _t1=false, _t2=@0x8eb7690, _t3=@0x8eb76f0)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror_build/apps/konqueror/src/favicon_interface.moc:95
#26 0xb7e8b1b6 in OrgKdeFavIconInterface::qt_metacall (this=0x8385580, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfc7de78)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror_build/apps/konqueror/src/favicon_interface.moc:77
#27 0xb7e839e4 in KonqPixmapProvider::qt_metacall (this=0x8385580, 
    _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfc7de78)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror_build/apps/konqueror/src/konqpixmapprovider.moc:69
#28 0xb70a0487 in QDBusConnectionPrivate::deliverCall (this=0x8087d70, 
    object=0x8385580, msg=@0x8eb7784, metaTypes=@0x8eb7788, slotIdx=5)
    at qdbusintegrator.cpp:865
#29 0xb70a97c9 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8eb7758, 
    object=0x8385580) at qdbusintegrator_p.h:136
#30 0xb7256089 in QObject::event (this=0x8385580, e=0x8eb7758)
    at kernel/qobject.cpp:1131
#31 0xb684a8ec in QApplicationPrivate::notify_helper (this=0x805a2a0, 
    receiver=0x8385580, e=0x8eb7758) at kernel/qapplication.cpp:3772
#32 0xb684eace in QApplication::notify (this=0xbfc7e774, receiver=0x8385580, 
    e=0x8eb7758) at kernel/qapplication.cpp:3366
#33 0xb78e6176 in KApplication::notify (this=0xbfc7e774, receiver=0x8385580, 
    event=0x8eb7758)
    at /var/tmp/paludis/kde-base-kdelibs-scm/work/kdelibs-scm/kdeui/kernel/kapplication.cpp:311
#34 0xb7244b51 in QCoreApplication::notifyInternal (this=0xbfc7e774, 
    receiver=0x8385580, event=0x8eb7758) at kernel/qcoreapplication.cpp:587
#35 0xb7245e11 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804c310) at kernel/qcoreapplication.h:215
#36 0xb724612f in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#37 0xb68dbd6a in QEventDispatcherX11::processEvents (this=0x8057870, 
    flags=@0xbfc7e548)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 0xb7243eb1 in QEventLoop::processEvents (this=0xbfc7e5c0, 
    flags=@0xbfc7e588) at kernel/qeventloop.cpp:149
#39 0xb7244029 in QEventLoop::exec (this=0xbfc7e5c0, flags=@0xbfc7e5c8)
    at kernel/qeventloop.cpp:200
#40 0xb72461d3 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#41 0xb684a26f in QApplication::exec () at kernel/qapplication.cpp:3304
#42 0xb7f414ed in kdemain (argc=2, argv=0xbfc7eb04)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror/apps/konqueror/src/konqmain.cpp:236
#43 0x080487df in main (argc=)
    at /var/tmp/paludis/kde-base-konqueror-scm/work/konqueror_build/apps/konqueror/src/konqueror_dummy.cpp:3
#44 0xb64a6fdc in __libc_start_main () from /lib/libc.so.6
#45 0x08048741 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Eduardo Robles Elvira 2008-05-23 11:31:36 UTC
I'm the one who implemented the restore session thing =)
My guess is that some of the pages you had opened was crashing/freezing konqueror, and it was autosaved to disk. So when you restore session, the crashy webpage is restored... and it crashes konqueror.

What could we do ?
 * Detect when an autosaved session has been restored more than once, which means that it's crashy, and in that case warn the user and let him easily email us the crashy session and the backtrace so that we can try to find the problem. Which might be in the session restore code or not (I suspect that it's not in this case but I'm not sure).

 * Try to detect which view is making konqueror crash (i any), but I don't really know if there's an easy way to do that.

 * Ask the user which pages does he want to restore, similar to what google broswer sync does: http://www.google.com/tools/firefox/browsersync/
Comment 2 Elias Probst 2008-05-23 13:10:07 UTC
The problem here was: Konqueror crashed after deleting the restored session, but before the new session was saved again. So I couldn't reproduce this crash.

The strategy when to write a session to disk should always make sure, a previously crashy session isn't deleted from disk.

Also the session writer should only write to disk, if there has been a change between the current state and the previous one. If it doesn't, a HDD will never enter the powersave mode, even if there's no disk activity needed at all.
This means, there are always two variables needed: 
- one containing the previous session state
- another one the current.
- Every n seconds, current is compared with previous.
- If there's a difference, assign the value of current to previous and trigger a write-to-disk of this session
- If there's no difference, just do nothing
This is especially important for mobile devices like notebooks.
Comment 3 Eduardo Robles Elvira 2008-05-23 14:02:41 UTC
I agree with not deleting the crashy session and I will fix it soon =)

I have my doubts about how to implement the "only write when there are changes" problem. It's a good idea that I had not taken into account, but I need to study the problem and ask to KConfig gurus.
Comment 4 Eduardo Robles Elvira 2008-05-24 15:11:10 UTC
Elias: fixed in svn the crashed session getting lost problem in trunk in rev 812037.

Oh and the session writer only writing to disk when needed.. that's on the works too ;-) It has chances of entering in 4.1 as a bug fix, KDE wide for all KConfig files.
Comment 5 Marc Collin 2008-05-25 08:39:09 UTC
i get the same problem

here the stack trace

[?1034hUsing host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2b47979447f0 (LWP 4335)]
[KCrash handler]
#5  0x00002b478f48b9bb in KonqMainWindow::slotInternalViewModeChanged ()
   from /usr/lib64/libkdeinit4_konqueror.so
#6  0x00002b478f4ac8fd in KonqMainWindow::qt_metacall ()
   from /usr/lib64/libkdeinit4_konqueror.so
#7  0x00002b479167d3eb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#8  0x00002b47a2f4d55a in DolphinPart::qt_metacall ()
   from /usr/lib64/kde4/dolphinpart.so
#9  0x00002b479167d3eb in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#10 0x00002b47a31bcb63 in DolphinView::applyViewProperties ()
   from /usr/lib64/libdolphinprivate.so.4
#11 0x00002b47a31bf0b2 in DolphinView::updateView ()
   from /usr/lib64/libdolphinprivate.so.4
#12 0x00002b47a31bf14f in DolphinView::setUrl ()
   from /usr/lib64/libdolphinprivate.so.4
#13 0x00002b47a2f4cf63 in DolphinPart::openUrl ()
   from /usr/lib64/kde4/dolphinpart.so
#14 0x00002b478fb6b0c5 in KParts::BrowserExtension::restoreState ()
   from /usr/lib64/libkparts.so.4
#15 0x00002b478f462da8 in KonqView::restoreHistory ()
   from /usr/lib64/libkdeinit4_konqueror.so
#16 0x00002b478f463407 in KonqView::loadHistoryConfig ()
   from /usr/lib64/libkdeinit4_konqueror.so
#17 0x00002b478f469315 in KonqViewManager::loadItem ()
   from /usr/lib64/libkdeinit4_konqueror.so
#18 0x00002b478f46893e in KonqViewManager::loadItem ()
   from /usr/lib64/libkdeinit4_konqueror.so
#19 0x00002b478f46a5b4 in KonqViewManager::loadRootItem ()
   from /usr/lib64/libkdeinit4_konqueror.so
#20 0x00002b478f46a84b in KonqViewManager::loadViewProfileFromGroup ()
   from /usr/lib64/libkdeinit4_konqueror.so
#21 0x00002b478f496804 in KonqMainWindow::readProperties ()
   from /usr/lib64/libkdeinit4_konqueror.so
#22 0x00002b4790472032 in KMainWindow::readPropertiesInternal ()
   from /usr/lib64/libkdeui.so.5
#23 0x00002b47904721ca in KMainWindow::restore () from /usr/lib64/libkdeui.so.5
#24 0x00002b478f4c926f in kdemain () from /usr/lib64/libkdeinit4_konqueror.so
#25 0x00002b4795950b54 in __libc_start_main () from /lib64/libc.so.6
#26 0x00000000004008b9 in _start ()
#0  0x00002b47959c9670 in nanosleep () from /lib64/libc.so.6
Comment 6 Eduardo Robles Elvira 2008-05-25 12:11:35 UTC
Marc: So your konqueror crashed, then you restored it, and then it crashed again right? I think I'm going to add an option to the restore session to email us the saved session which makes konqueror crash so that we can reproduce it :D.
Comment 7 Elias Probst 2008-05-25 13:43:16 UTC
Eduardo: Thank you for your work, I really like this feature.

>Oh and the session writer only writing to disk when needed.. that's on the
>works too ;-) It has chances of entering in 4.1 as a bug fix, KDE wide for
>all KConfig files.
This sounds great! Seems you convinced the KConfig guys this is a good thing ;-) Thx!
Comment 8 Rosetzky Cedric 2008-09-11 00:38:37 UTC
I had the exact same problem as the first reporter. But the session isn't erased, I can reproduce it (as long as I don't load an empty session I assume...).

Here is the backtrace :

Application : Konqueror (konqueror), signal SIGABRT
[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
0xb6618b1c in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 27756)]

Thread 2 (Thread 0xb211fb90 (LWP 27789)):
#0  0xb740a502 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb747daf8 in QWaitCondition::wait () from /usr/lib/qt4/libQtCore.so.4
#2  0xb747341f in ?? () from /usr/lib/qt4/libQtCore.so.4
#3  0xb747cb37 in ?? () from /usr/lib/qt4/libQtCore.so.4
#4  0xb7405fe8 in start_thread () from /lib/libpthread.so.0
#5  0xb664aa5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb61a9a30 (LWP 27756)):
[KCrash Handler]
#5  0xb65b87d0 in raise () from /lib/libc.so.6
#6  0xb65b9e07 in abort () from /lib/libc.so.6
#7  0xb65b1f5e in __assert_fail () from /lib/libc.so.6
#8  0xb42864a3 in khtml::HTMLTokenizer::reset (this=0x8a3d378) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/html/htmltokenizer.cpp:164
#9  0xb428665e in ~HTMLTokenizer (this=0x8a3d378) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/html/htmltokenizer.cpp:2056
#10 0xb4226eed in DOM::DocumentImpl::detach (this=0x89bb260) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/xml/dom_docimpl.cpp:1366
#11 0xb41cab8c in KHTMLPart::clear (this=0x83771e0) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/khtml_part.cpp:1451
#12 0xb41da37d in ~KHTMLPart (this=0x83771e0) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/khtml_part.cpp:531
#13 0xb41caeb8 in KHTMLPart::clear (this=0x8589dd0) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/khtml_part.cpp:1490
#14 0xb41cbd91 in KHTMLPart::begin (this=0x8589dd0, url=@0xbfcda44c, xOffset=0, yOffset=0) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/khtml_part.cpp:1887
#15 0xb4462dc7 in KJS::Window::getValueProperty (this=0xb2130040, exec=0xbfcdbad8, token=4) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/ecma/kjs_window.cpp:729
#16 0xb4471174 in KJS::staticValueGetter<KJS::Window> (exec=0xbfcdbad8, slot=@0xbfcda538) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kjs/lookup.h:147
#17 0xb40575f0 in KJS::PropertySlot::getValue (this=0xbfcda538, exec=0xbfcdbad8, originalObject=0xb2130040, propertyName=@0x8ad8f6c)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kjs/property_slot.h:46
#18 0xb4055f26 in KJS::JSObject::get (this=0xb2130040, exec=0xbfcdbad8, propertyName=@0x8ad8f6c) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kjs/object.cpp:166
#19 0xb4074894 in KJS::Machine::runBlock (exec=0xbfcdbad8, codeBlock=@0x8aa93b4, parentExec=0x0) at codes.def:680
#20 0xb4018320 in KJS::FunctionBodyNode::execute (this=0x8aa9360, exec=0xbfcdbad8) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kjs/nodes.cpp:927
#21 0xb40590da in KJS::Interpreter::evaluate (this=0x8a6bbe0, sourceURL=@0xbfcdbca0, startingLineNumber=7, code=0x8ad8f90, codeLength=113, thisV=0xb2130080)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kjs/interpreter.cpp:557
#22 0xb40592b3 in KJS::Interpreter::evaluate (this=0x8a6bbe0, sourceURL=@0xbfcdbca0, startingLineNumber=7, code=@0xbfcdbc9c, thisV=0xb2130080)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kjs/interpreter.cpp:499
#23 0xb44795c9 in KJS::KJSProxyImpl::evaluate (this=0x8ada0d8, filename=@0xbfcdbd30, baseLine=7, str=@0xbfcdbe44, n=@0xbfcdbdc4, completion=0xbfcdbd24)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/ecma/kjs_proxy.cpp:158
#24 0xb41cd32f in KHTMLPart::executeScript (this=0x83771e0, filename=@0xbfcdbda0, baseLine=7, n=@0xbfcdbdc4, script=@0xbfcdbe44)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/khtml_part.cpp:1222
#25 0xb42899d8 in khtml::HTMLTokenizer::scriptExecution (this=0x8a3d378, str=@0xbfcdbe44, scriptURL=@0xbfcdbeb4, baseLine=6)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/html/htmltokenizer.cpp:475
#26 0xb428a3fb in khtml::HTMLTokenizer::scriptHandler (this=0x8a3d378) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/html/htmltokenizer.cpp:428
#27 0xb428b0d1 in khtml::HTMLTokenizer::parseSpecial (this=0x8a3d378, src=@0x8a3d868) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/html/htmltokenizer.cpp:344
#28 0xb428e3fa in khtml::HTMLTokenizer::parseTag (this=0x8a3d378, src=@0x8a3d868) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/html/htmltokenizer.cpp:1537
#29 0xb428eb79 in khtml::HTMLTokenizer::write (this=0x8a3d378, str=@0xbfcdc298, appendData=true) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/html/htmltokenizer.cpp:1791
#30 0xb41c7227 in KHTMLPart::write (this=0x83771e0, 
    data=0x8a3b980 "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <meta http-equiv=\"Content-Type"..., len=3787) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/khtml_part.cpp:1973
#31 0xb41ca868 in KHTMLPart::slotData (this=0x83771e0, kio_job=0x86929e8, data=@0xbfcdc764) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/khtml/khtml_part.cpp:1663
#32 0xb41d3af7 in KHTMLPart::qt_metacall (this=0x83771e0, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfcdc4e8) at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdelibs/khtml/khtml_part.moc:264
#33 0xb758278c in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#34 0xb7582e65 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#35 0xb7d00f7f in KIO::TransferJob::data (this=0x86929e8, _t1=0x86929e8, _t2=@0xbfcdc764) at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdelibs/kio/jobclasses.moc:356
#36 0xb7d01ad7 in KIO::TransferJob::slotData (this=0x86929e8, _data=@0xbfcdc764) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kio/kio/job.cpp:918
#37 0xb7d0cb08 in KIO::TransferJob::qt_metacall (this=0x86929e8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfcdc60c)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdelibs/kio/jobclasses.moc:337
#38 0xb758278c in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#39 0xb7582e65 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#40 0xb7db7429 in KIO::SlaveInterface::data (this=0x8874018, _t1=@0xbfcdc764) at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdelibs/kio/slaveinterface.moc:138
#41 0xb7db9013 in KIO::SlaveInterface::dispatch (this=0x8874018, _cmd=100, rawdata=@0xbfcdc764) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kio/kio/slaveinterface.cpp:163
#42 0xb7db9ca5 in KIO::SlaveInterface::dispatch (this=0x8874018) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kio/kio/slaveinterface.cpp:91
#43 0xb7dab2c8 in KIO::Slave::gotInput (this=0x8874018) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kio/kio/slave.cpp:319
#44 0xb7dac786 in KIO::Slave::qt_metacall (this=0x8874018, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfcdc848) at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdelibs/kio/slave.moc:75
#45 0xb758278c in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#46 0xb7582e65 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#47 0xb7cd308b in KIO::Connection::readyRead (this=0x88281e0) at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdelibs/kio/connection.moc:84
#48 0xb7cd40bf in KIO::ConnectionPrivate::dequeue (this=0x8585de8) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kio/kio/connection.cpp:82
#49 0xb7cd4dab in KIO::Connection::qt_metacall (this=0x88281e0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8ab7208)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdelibs/kio/connection.moc:72
#50 0xb757bdcb in QMetaCallEvent::placeMetaCall () from /usr/lib/qt4/libQtCore.so.4
#51 0xb757dd90 in QObject::event () from /usr/lib/qt4/libQtCore.so.4
#52 0xb6ab631d in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
#53 0xb6abaf85 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
#54 0xb7aa7cb5 in KApplication::notify (this=0xbfcdd024, receiver=0x88281e0, event=0x86f5860) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#55 0xb756d2e8 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
#56 0xb756e586 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/qt4/libQtCore.so.4
#57 0xb759aa48 in QEventDispatcherUNIX::processEvents () from /usr/lib/qt4/libQtCore.so.4
#58 0xb6b427c3 in ?? () from /usr/lib/qt4/libQtGui.so.4
#59 0xb756c4e4 in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
#60 0xb756c68b in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
#61 0xb756e8bd in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
#62 0xb6ab5b59 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4
#63 0xb7faaa88 in kdemain (argc=2, argv=0xbfcdd3b4) at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdebase/apps/konqueror/src/konqmain.cpp:227
#64 0x08048766 in main (argc=) at /home/loacoon/Documents/Downloads/SVN/KDE4/build/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3
Comment 9 Eduardo Robles Elvira 2008-09-11 01:05:04 UTC
(In reply to comment #8)
> I had the exact same problem as the first reporter. But the session isn't
> erased, I can reproduce it (as long as I don't load an empty session I
> assume...).

Uhm maybe you can attach the crashy session here? It's in ~/.kde4/share/apps/konqueror/autosave/

Comment 10 Rosetzky Cedric 2008-09-11 01:30:47 UTC
Created attachment 27360 [details]
Autosave file
Comment 11 Rosetzky Cedric 2008-09-11 01:31:06 UTC
Here it is.
Comment 12 Daniel Richard G. 2008-09-29 07:58:49 UTC
Better handling of crashy sessions would be greatly appreciated. Right now, it's either finding/closing the tab before the site loads, or neutralizing the problematic Web site by editing /etc/hosts....

Anyway, just a note that the khtml::HTMLTokenizer::reset assertion failure is covered in bugs 145666 and 170185.
Comment 13 pedro 2009-03-15 10:09:24 UTC
please please please show up a checkable list of what is about to be opened if i choose restore the session.. (like in a "Detail >>>" button).  konqi is crashing alot lately. That way i could unckeck the last entry to see if that was the problem. If it still crashes i would check that entry and try to uncheck a older one, ad æternum...

One other thing to be able to work on this, is to add the autosave sessions to the sessions manager. Then, i would go to the session manager, and a tree like list would show the links, and if they were editable (as in being able to add/remove/edit) i could figure out what happened

... oh man, i should just report another wish for this :)

Anyway, i know i can go to autosave dir, and get the job done, but i only found it out becouse i was getting really annoyed 'bout this. Most of the times i just went "oh ffs, nevermind" and pressed forget session :S
Comment 14 Dawit Alemayehu 2011-11-22 18:26:52 UTC
People please open your own specific bug reports for the issues you have with better session recovery management. Though that issue might be related to the original bug report, it has nothing to do with the bug that was causing this crash. (In reply to comment #13)
> please please please show up a checkable list of what is about to be opened if
> i choose restore the session.. (like in a "Detail >>>" button).  konqi is
> crashing alot lately. That way i could unckeck the last entry to see if that
> was the problem. If it still crashes i would check that entry and try to
> uncheck a older one, ad æternum...
> 
> One other thing to be able to work on this, is to add the autosave sessions to
> the sessions manager. Then, i would go to the session manager, and a tree like
> list would show the links, and if they were editable (as in being able to
> add/remove/edit) i could figure out what happened
> 
> ... oh man, i should just report another wish for this :)

Exactly. Otherwise, it gets lost when this bug report is closed. The same would have happened to comment #8 were it not for the fact that there are other bug reports that are realted to this crash.
Comment 15 Dawit Alemayehu 2011-11-22 18:29:53 UTC
The cause of the original crash report, the assert, was fixed before the KDE 4.4.4 release. See https://bugs.kde.org/show_bug.cgi?id=116714#c5.