Summary: | kwrite crashes when typing data url in file open dialog | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Wilbert Berendsen <wbsoft> |
Component: | kfile | Assignee: | Carsten Pfeiffer <pfeiffer> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 3.3.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Wilbert Berendsen
2004-10-30 20:21:20 UTC
looks more like problem in the filedialog When I run KWrite with this data URL in KDE 3.4.0, it complains that the file is a binary file and loads it readonly. KWrite crashes when closing it. This is the backtrace that then appears in gdb: wilbert@obelix wilbert $ gdb kwrite GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run 'data:/,some text' Starting program: /usr/kde/3.4/bin/kwrite 'data:/,some text' [Thread debugging using libthread_db enabled] [New Thread -1235031392 (LWP 20988)] Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. ASSERT: "it.node != node" in /usr/qt/3/include/qvaluelist.h (301) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1235031392 (LWP 20988)] 0xb7fe5224 in QShared::deref() (this=0x43746c75) at qshared.h:50 50 bool deref() { return !--count; } (gdb) bt #0 0xb7fe5224 in QShared::deref() (this=0x43746c75) at qshared.h:50 #1 0xb715c957 in ~QGArray (this=0x83c0448) at tools/qgarray.cpp:172 #2 0xb7fad259 in ~QMemArray (this=0xb742cda0) at qmemarray.h:61 #3 0xb7cfd8c8 in ~QueueStruct (this=0x83c043c) at dataslave.cpp:94 #4 0xb7cfec71 in ~QValueListNode (this=0x83c0430) at qvaluelist.h:280 #5 0xb7cf1f3a in ~QValueListPrivate (this=0x82ffa70) at qvaluelist.h:280 #6 0xb7ceea02 in QValueListPrivate<KIO::DataSlave::QueueStruct>::derefAndDelete() (this=0x82ffa70) at qvaluelist.h:235 #7 0xb7ce9210 in ~QValueList (this=0x43746c75) at qvaluelist.h:441 #8 0xb7cd93a1 in ~DataSlave (this=0x83cc7c0) at dataslave.cpp:68 #9 0xb7cdac02 in ~DataProtocol (this=0x83cc7c0) at dataprotocol.cpp:255 #10 0xb7c7776d in QPtrList<KIO::Slave>::deleteItem(void*) (this=0x43746c75, d=0xb742cda0) at qptrlist.h:150 #11 0xb7165625 in QGList::clear() (this=0x8395120) at tools/qglist.cpp:701 #12 0xb7c7749e in QPtrList<KIO::Slave>::clear() (this=0x43746c75) at qptrlist.h:93 #13 0xb7c76ebd in ~QPtrList (this=0x8395120) at qptrlist.h:70 #14 0xb7c76ded in ~SlaveList (this=0x8395120) at scheduler.cpp:91 #15 0xb7c0e898 in ~Scheduler (this=0x82c3050) at scheduler.cpp:159 #16 0xb6e165c1 in ~QObject (this=0xbfffef40) at kernel/qobject.cpp:497 #17 0xb6da5249 in ~QApplication (this=0xbfffef40) at kernel/qapplication.cpp:1134 #18 0xb7613637 in ~KApplication (this=0xbfffef40) at kapplication.cpp:1655 #19 0xb7fe36c0 in kdemain (argc=1131703413, argv=0x43746c75) at kwritemain.cpp:695 #20 0x0804877b in main (argc=1131703413, argv=0x43746c75) at kwrite.la.cpp:2 (gdb) |