Bug 115218 - Konqueror crashes with repeated use of data protocol and text/plain
Summary: Konqueror crashes with repeated use of data protocol and text/plain
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 3.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 129875 142901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-27 20:44 UTC by Luke Plant
Modified: 2009-08-23 11:44 UTC (History)
4 users (show)

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 Luke Plant 2005-10-27 20:44:09 UTC
Version:            (using KDE KDE 3.4.3)
Installed from:    Ubuntu Packages
OS:                Linux

Binary packages: Kubuntu 5.10 (Breezy) kdebase-kio-plugins=4:3.4.3-0ubuntu5

Steps to reproduce:

1) Enter the following URL in Konqueror's location bar and press enter:
data:text/plain,hello

A message box pops up, saying the document contains binary data and saving will result in data loss, or some such). Also, on my machine the 'Progress Dialogue' box appears, with the URL above as one of the items in it.

2) Clear the location bar, and enter the same URL, and press enter.

Result: Konqueror crashes.

BTW, I discovered this while looking at other bugs in the 'data:' protocol - it only seems to support the base64 encoding correctly, I think.  I'll file a separate bug.

Backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1230829888 (LWP 6231)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#4  0xb7c4d7a0 in QValueListPrivate<KIO::DataSlave::QueueStruct>::remove ()
   from /usr/lib/libkio.so.4
#5  0xb7c24091 in KIO::DataSlave::dispatchNext () from /usr/lib/libkio.so.4
#6  0xb7c24144 in KIO::DataSlave::qt_invoke () from /usr/lib/libkio.so.4
#7  0xb737f929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#8  0xb73803c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0xb76e0f9a in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#10 0xb73a4c19 in QTimer::event () from /usr/lib/libqt-mt.so.3
#11 0xb7316f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#12 0xb7317172 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#13 0xb799ae37 in KApplication::notify () from /usr/lib/libkdecore.so.4
#14 0xb72a7db7 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#15 0xb730899b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#16 0xb72bba84 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#17 0xb732ecfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#18 0xb732ec1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#19 0xb7315c13 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#20 0xb688b999 in kdemain () from /usr/lib/libkdeinit_konqueror.so
#21 0xb7fe6730 in kdeinitmain () from /usr/lib/kde3/konqueror.so
#22 0x0804df8d in ?? ()
#23 0x00000001 in ?? ()
#24 0x08132b98 in ?? ()
#25 0x00000001 in ?? ()
#26 0x00000000 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000006 in ?? ()
#30 0xbffff4dc in ?? ()
#31 0xbffff4c8 in ?? ()
#32 0xbffff4d4 in ?? ()
#33 0xbffff4d0 in ?? ()
#34 0xbffff4d8 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x081331fe in ?? ()
#45 0x081331f4 in ?? ()
#46 0x00000001 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x081339c0 in ?? ()
#50 0x00000000 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x00000000 in ?? ()
#56 0xb4000000 in ?? ()
#57 0x00004006 in ?? ()
#58 0x00000000 in ?? ()
#59 0x00000000 in ?? ()
#60 0x80000000 in ?? ()
#61 0xb7812630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#62 0x00000000 in ?? ()
#63 0x00000000 in ?? ()
#64 0x00000000 in ?? ()
#65 0x08051400 in vtable for QCString ()
#66 0x081336a8 in ?? ()
#67 0x08051400 in vtable for QCString ()
#68 0x08133830 in ?? ()
#69 0x08051400 in vtable for QCString ()
#70 0x081335a8 in ?? ()
#71 0x08051400 in vtable for QCString ()
#72 0x081335a8 in ?? ()
#73 0x08051400 in vtable for QCString ()
#74 0x08132920 in ?? ()
#75 0xb7812630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#76 0x08132920 in ?? ()
#77 0xb7812630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#78 0x08133830 in ?? ()
#79 0xb7812630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#80 0x081336a8 in ?? ()
#81 0x0000000c in ?? ()
#82 0xb7f84cd0 in ?? () from /usr/lib/libstdc++.so.6
#83 0x0000000c in ?? ()
#84 0x08133240 in ?? ()
#85 0xb7812630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#86 0x080b7c30 in ?? ()
#87 0x0000000c in ?? ()
#88 0xb77f5460 in ?? () from /usr/lib/libqt-mt.so.3
#89 0xbffff4b8 in ?? ()
#90 0xb7671b26 in QGArray::duplicate () from /usr/lib/libqt-mt.so.3
#91 0x0804e605 in ?? ()
#92 0x00000000 in ?? ()
#93 0x00000001 in ?? ()
#94 0x0813320f in ?? ()
#95 0x00000000 in ?? ()
#96 0x00000000 in ?? ()
#97 0x00000000 in ?? ()
#98 0x08133213 in ?? ()
#99 0x00000000 in ?? ()
#100 0x00000001 in ?? ()
#101 0x00000001 in ?? ()
#102 0x00000001 in ?? ()
#103 0x00000008 in ?? ()
#104 0x081331f0 in ?? ()
#105 0x081331f4 in ?? ()
#106 0x081331fe in ?? ()
#107 0x00000000 in ?? ()
#108 0x00000001 in ?? ()
#109 0x08133202 in ?? ()
#110 0x00000000 in ?? ()
#111 0x00000000 in ?? ()
#112 0x08133213 in ?? ()
#113 0x08133240 in ?? ()
#114 0x08133202 in ?? ()
#115 0x00000000 in ?? ()
#116 0x00000000 in ?? ()
#117 0x08051400 in vtable for QCString ()
#118 0x08133188 in ?? ()
#119 0x08051400 in vtable for QCString ()
#120 0x08132f98 in ?? ()
#121 0x0077b858 in ?? ()
#122 0x80cd0000 in ?? ()
#123 0x0000000a in ?? ()
#124 0x00000050 in ?? ()
#125 0x00000000 in ?? ()
#126 0xbffff6fc in ?? ()
#127 0x00000000 in ?? ()
#128 0x00007808 in ?? ()
#129 0x00007808 in ?? ()
#130 0xbffff808 in ?? ()
#131 0x0804ebec in ?? ()
#132 0x0000000a in ?? ()
#133 0xbffff6fc in ?? ()
#134 0xbffff67c in ?? ()
#135 0xbffff5fc in ?? ()
#136 0x00000000 in ?? ()
#137 0xb7e77900 in __malloc_initialize_hook ()
   from /lib/tls/i686/cmov/libc.so.6
#138 0x080b7b48 in ?? ()
#139 0xbffff608 in ?? ()
#140 0xb7daf2ca in free () from /lib/tls/i686/cmov/libc.so.6
Comment 1 Thiago Macieira 2005-10-27 22:01:51 UTC
Interestingly, bug 95488 is "kio data crashes application (but not Konqueror)".
Comment 2 Leo Savernik 2005-10-28 17:42:56 UTC
Can reproduce. So this is not related to bug 95488. Can't fix it now, but will keep it in mind.

Here's a more concise backtrace:
[New Thread 1024 (LWP 28029)]
[KCrash handler]
#6  QValueListPrivate<KIO::DataSlave::QueueStruct>::remove (this=0x8387db8, 
    it={node = 0xbfffec9c})
    at /leo/projekte/Fremde/kde-3.5/kde-build/qt-copy/include/qvaluelist.h:305
#7  0x404385bb in KIO::DataSlave::dispatchNext (this=0x838f278)
    at /leo/projekte/Fremde/kde-3.5/kde-build/qt-copy/include/qvaluelist.h:495
#8  0x40438f4e in KIO::DataSlave::qt_invoke (this=0x838f278, _id=6, 
    _o=0xbfffed78) at dataslave.moc:82
#9  0x40e2012a in QObject::activate_signal (this=0x838acd8, clist=0x8388b48, 
    o=0xbfffed78) at kernel/qobject.cpp:2355
#10 0x40e1ff74 in QObject::activate_signal (this=0x838acd8, signal=2)
    at kernel/qobject.cpp:2324
#11 0x41130006 in QTimer::timeout (this=0x838acd8)
    at .moc/debug-shared-mt/moc_qtimer.cpp:82
#12 0x40e3fdbf in QTimer::event (this=0x838acd8, e=0xbfffefc8)
    at kernel/qtimer.cpp:219
#13 0x40dd1385 in QApplication::internalNotify (this=0xbffff414, 
    receiver=0x838acd8, e=0xbfffefc8) at kernel/qapplication.cpp:2635
#14 0x40dd044b in QApplication::notify (this=0xbffff414, receiver=0x838acd8, 
    e=0xbfffefc8) at kernel/qapplication.cpp:2358
#15 0x408faeea in KApplication::notify (this=0xbffff414, receiver=0x838acd8, 
    event=0xbfffefc8)
    at /leo/projekte/Fremde/kde-3.5/src/kdelibs/kdecore/kapplication.cpp:550
#16 0x412207f4 in QApplication::sendEvent (receiver=0x838acd8, 
    event=0xbfffefc8) at .moc/debug-shared-mt/../../kernel/qapplication.h:491
#17 0x40dc2115 in QEventLoop::activateTimers (this=0x80e9f48)
    at kernel/qeventloop_unix.cpp:556
#18 0x40d8118a in QEventLoop::processEvents (this=0x80e9f48, flags=4)
    at kernel/qeventloop_x11.cpp:389
#19 0x40de1960 in QEventLoop::enterLoop (this=0x80e9f48)
    at kernel/qeventloop.cpp:198
#20 0x40de1885 in QEventLoop::exec (this=0x80e9f48)
    at kernel/qeventloop.cpp:145
#21 0x40dd1585 in QApplication::exec (this=0xbffff414)
    at kernel/qapplication.cpp:2758
#22 0x40066f56 in kdemain (argc=1, argv=0xbffff574)
    at /leo/projekte/Fremde/kde-3.5/src/kdebase/konqueror/konq_main.cc:206
#23 0x8048766 in main (argc=1, argv=0xbffff574) at konqueror.la.cc:2
#24 0x415d2baf in __libc_start_main () from /lib/libc.so.6
Comment 3 Tommi Tervo 2006-07-21 11:19:03 UTC
*** Bug 129875 has been marked as a duplicate of this bug. ***
Comment 4 Tommi Tervo 2007-03-13 08:47:20 UTC
*** Bug 142901 has been marked as a duplicate of this bug. ***
Comment 5 Fernando Muñoz 2007-03-19 05:52:13 UTC
data uri tests:
http://www.mozilla.org/quality/networking/testing/datatests.html
Comment 6 FiNeX 2008-05-11 13:56:08 UTC
I can confirm the crash on 3.5.9.

Konqueror 4 (tested from trunk, r806416) doesn't show the error message and doesn't crash :-)

I leave this bug opened for 3.5.
Comment 7 FiNeX 2009-08-23 11:44:07 UTC
It works on KDE 4.3 too.