Bug 251509

Summary: Crashing on massive tab reload [QList<khtml::TokenizerString>::detach_helper()]
Product: [Applications] konqueror Reporter: Raúl <rasasi78>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: andrew.crouthamel, rasasi78
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Raúl 2010-09-16 22:35:24 UTC
Application: konqueror (4.4.5 (KDE 4.4.5))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.35.4 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
Hello:

I started a KDE sesssion where I had several(3) konqueror windows opened each one with several tabs(5-10). As it was after a forced reboot, the konqueror automatic sesion saver openen even more duplicated window which I conveniently closed. Since I hadn't internet connectivity on startup I wanted to reload all the tabs, I pressed shift-F5. This usually worked and in fact work for 2 out of 3 of the windows, but konqueror crashed on the 3rd.

HTH, regards,

 -- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f3377fbac53 in QList<khtml::TokenizerString>::detach_helper() () from /usr/lib/libkhtml.so.5
#6  0x00007f3377fb5141 in detach (this=0x64736f0) at /usr/include/qt4/QtCore/qlist.h:122
#7  begin (this=0x64736f0) at /usr/include/qt4/QtCore/qlist.h:248
#8  first (this=0x64736f0) at /usr/include/qt4/QtCore/qlist.h:263
#9  pop (this=0x64736f0) at ../../khtml/misc/stringit.h:192
#10 khtml::HTMLTokenizer::scriptHandler (this=0x64736f0) at ../../khtml/html/htmltokenizer.cpp:472
#11 0x00007f3377fb88b5 in khtml::HTMLTokenizer::parseTag (this=0x64736f0, src=...) at ../../khtml/html/htmltokenizer.cpp:1553
#12 0x00007f3377fb9ae0 in khtml::HTMLTokenizer::write (this=0x64736f0, str=<value optimized out>, appendData=<value optimized out>) at ../../khtml/html/htmltokenizer.cpp:1810
#13 0x00007f3377fb454a in khtml::HTMLTokenizer::notifyFinished (this=0x64736f0) at ../../khtml/html/htmltokenizer.cpp:2135
#14 0x00007f33780d77cf in khtml::CachedScript::checkNotify (this=0x39f67e0) at ../../khtml/misc/loader.cpp:390
#15 0x00007f33780d79c4 in khtml::CachedScript::data (this=0x39f67e0, buffer=<value optimized out>, eof=<value optimized out>) at ../../khtml/misc/loader.cpp:382
#16 0x00007f33780d560f in khtml::Loader::slotFinished (this=0x2d5a560, job=0xac4b2e0) at ../../khtml/misc/loader.cpp:1468
#17 0x00007f33780d5953 in khtml::Loader::qt_metacall (this=0x2d5a560, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd1fcb830) at ./loader.moc:143
#18 0x00007f3385b0c306 in QMetaObject::activate (sender=0xac4b2e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xc4c9100) at kernel/qobject.cpp:3295
#19 0x00007f3385f12802 in KJob::result (this=0x7f3387fa8e40, _t1=0xac4b2e0) at ./kjob.moc:194
#20 0x00007f3385f12aa0 in KJob::emitResult (this=0xac4b2e0) at ../../kdecore/jobs/kjob.cpp:312
#21 0x00007f3386c38263 in KIO::SimpleJob::slotFinished (this=0xac4b2e0) at ../../kio/kio/job.cpp:517
#22 0x00007f3386c38c27 in KIO::TransferJob::slotFinished (this=0xac4b2e0) at ../../kio/kio/job.cpp:1097
#23 0x00007f3386c362d1 in KIO::TransferJob::qt_metacall (this=0xac4b2e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd1fcbc40) at ./jobclasses.moc:367
#24 0x00007f3385b0c306 in QMetaObject::activate (sender=0x8e5cbd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xc4c9100) at kernel/qobject.cpp:3295
#25 0x00007f3386cf9711 in KIO::SlaveInterface::dispatch (this=0x8e5cbd0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#26 0x00007f3386cf6a83 in KIO::SlaveInterface::dispatch (this=0x8e5cbd0) at ../../kio/kio/slaveinterface.cpp:91
#27 0x00007f3386ceaef6 in KIO::Slave::gotInput (this=0x8e5cbd0) at ../../kio/kio/slave.cpp:324
#28 0x00007f3386ceb0dc in KIO::Slave::qt_metacall (this=0x8e5cbd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd1fcc060) at ./slave.moc:82
#29 0x00007f3385b0c306 in QMetaObject::activate (sender=0x8cead90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xc4c9100) at kernel/qobject.cpp:3295
#30 0x00007f3386c06ae7 in KIO::ConnectionPrivate::dequeue (this=0x6c71670) at ../../kio/kio/connection.cpp:82
#31 0x00007f3386c06c0d in KIO::Connection::qt_metacall (this=0x8cead90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xade0360) at ./connection.moc:79
#32 0x00007f3385b08e49 in QObject::event (this=0x8cead90, e=0x58a7e90) at kernel/qobject.cpp:1248
#33 0x00007f3384c1e32c in QApplicationPrivate::notify_helper (this=0x25a8950, receiver=0x8cead90, e=0x58a7e90) at kernel/qapplication.cpp:4302
#34 0x00007f3384c2480b in QApplication::notify (this=0x7fffd1fcccc0, receiver=0x8cead90, e=0x58a7e90) at kernel/qapplication.cpp:4185
#35 0x00007f33864e1836 in KApplication::notify (this=0x7fffd1fcccc0, receiver=0x8cead90, event=0x58a7e90) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x00007f3385af90bc in QCoreApplication::notifyInternal (this=0x7fffd1fcccc0, receiver=0x8cead90, event=0x58a7e90) at kernel/qcoreapplication.cpp:726
#37 0x00007f3385afc764 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x258c470) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x258c470) at kernel/qcoreapplication.cpp:1367
#39 0x00007f3385b22b93 in sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#41 0x00007f3380e466f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007f3380e4a568 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007f3380e4a71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007f3385b226d3 in QEventDispatcherGlib::processEvents (this=0x258bf80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#45 0x00007f3384cce18e in QGuiEventDispatcherGlib::processEvents (this=0x7f3387fa8e40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f3385af79e2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f3385af7dbc in QEventLoop::exec (this=0x7fffd1fccab0, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f3385afca4b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#49 0x00007f338807075b in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../apps/konqueror/src/konqmain.cpp:257
#50 0x00007f3387c6ac4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffd1fcd698) at libc-start.c:228
#51 0x0000000000400679 in _start ()

Reported using DrKonqi
Comment 1 Raúl 2011-02-13 11:46:05 UTC
Created attachment 57204 [details]
New crash information added by DrKonqi

I came across the same crash as the original reporter explained. My bactrace is slightly different we I'd say it's the same problem.
Comment 2 Andrew Crouthamel 2018-10-29 22:26:05 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Raúl 2018-10-30 23:08:07 UTC
Hello:
Thanks for caring for this (way too) old bug. I don't think this report is useful anymore, last update was 7+ years ago and I'm not using konqueror anymore (unfortunately).
Moreover, I went on using konqueror as web browser some years more after latest update therefore I think the bug is not reproducible or solved.
HTH,
Comment 4 Andrew Crouthamel 2018-10-31 03:34:37 UTC
Thanks for the update!