Bug 299706 - Kate freezes when trying to open any file using the File->Open menu command.
Summary: Kate freezes when trying to open any file using the File->Open menu command.
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 20:18 UTC by Ekkehard Blanz
Modified: 2014-04-14 18:18 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 Ekkehard Blanz 2012-05-09 20:18:53 UTC
Kate 3.8.2 freezes every time I try to open a file from within kate using the File->Open menu command (opening the file through clicking on dolphin icon gets me over this step though).  This started to happen after I upgraded to 64-bit Kubuntu 12.04 (KDE 4.8.2) - not sure it is related though.  If I open the file through dolphin, I can edit and save it normally, but kate freezes when I open another file via the File->Open menu command.  However, drag-and-drop works also for opening multiple files.  At any rate, no matter what I do, kate freezes when I try to close it.  This behavior is 100% reproducible on this machine.

valgrind output is attached below.  Please let me know if there is anything else I can do to help.

Reproducible: Always

Steps to Reproduce:
1. Start kate (e.g. from the command line)
2. open file view via the File->Open menu command
3. click on file icon to open the file
Actual Results:  
Kate freezes

Expected Results:  
Kate does not freeze

I cannot reproduce this behavior on other machines. However, all other machines at my disposal are 32-bit machines, the one that shows the problem is a 64-bit machine.  No other applications on this machine show suspicious behavior and the memory checks OK.  dmesg and syslog show no kate-related entries.

Configuration:
ASUS motherboard M4A88TD-V EVO/USB3 featuring
    an AMD 880G / SB850 chipset 
    an integrated ATI Radeon HD 4250 GPU
    a Realtek 8111E Gigabit LAN controller
    an ALC892 8 channel High Definition Audio

8 GB  ADATA DDR3 1600G memory

AMD Phenom II X6 1055T processor

NeoPower 430W Power Supply

250 GB Hard drive (85 GB for / , 8 GB for swap, rest for /home)

SATA CD/DVD read/write drive

Here is the output from running kate through valgrind

$ valgrind kate
==14005== Memcheck, a memory error detector
==14005== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==14005== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==14005== Command: kate
==14005== 
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
==14005== Invalid read of size 4
==14005==    at 0x78DB0D3: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78DD464: FcConfigFilename (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6265: FcInitLoadConfigAndFonts (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6484: FcInit (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x563F3D9: qt_init(QApplicationPrivate*, int, _XDisplay*, unsigned long, unsigned long) (qapplication_x11.cpp:1745)
==14005==    by 0x55CC9C3: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (qapplication.cpp:842)
==14005==    by 0x55CD109: QApplication::QApplication(int&, char**, bool, int) (qapplication.cpp:775)
==14005==    by 0x6A53E36: KApplication::KApplication(bool) (kapplication.cpp:346)
==14005==    by 0x65C7D05: KateApp::KateApp(KCmdLineArgs*) (kateapp.cpp:52)
==14005==    by 0x4E37CD5: kdemain (katemain.cpp:373)
==14005==  Address 0xf13f584 is 20 bytes inside a block of size 22 alloc'd
==14005==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14005==    by 0x78DB02C: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78DD464: FcConfigFilename (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6265: FcInitLoadConfigAndFonts (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6484: FcInit (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x563F3D9: qt_init(QApplicationPrivate*, int, _XDisplay*, unsigned long, unsigned long) (qapplication_x11.cpp:1745)
==14005==    by 0x55CC9C3: QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) (qapplication.cpp:842)
==14005==    by 0x55CD109: QApplication::QApplication(int&, char**, bool, int) (qapplication.cpp:775)
==14005==    by 0x6A53E36: KApplication::KApplication(bool) (kapplication.cpp:346)
==14005==    by 0x65C7D05: KateApp::KateApp(KCmdLineArgs*) (kateapp.cpp:52)
==14005== 
==14005== Invalid read of size 4
==14005==    at 0x78DB0E8: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78DD464: FcConfigFilename (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6265: FcInitLoadConfigAndFonts (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==  Address 0xf147740 is 16 bytes inside a block of size 18 alloc'd
==14005==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14005==    by 0x78DB02C: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78DD464: FcConfigFilename (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005== 
==14005== Invalid read of size 4
==14005==    at 0x78DB0E8: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6265: FcInitLoadConfigAndFonts (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==  Address 0xf15dbf8 is 40 bytes inside a block of size 42 alloc'd
==14005==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14005==    by 0x78DB02C: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005== 
==14005== Invalid read of size 4
==14005==    at 0x78DB0D3: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6265: FcInitLoadConfigAndFonts (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==  Address 0xf191404 is 36 bytes inside a block of size 39 alloc'd
==14005==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14005==    by 0x78DB02C: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78E6176: FcInitLoadConfig (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005== 
==14005== Invalid read of size 4
==14005==    at 0x78DB0D3: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==  Address 0xf1b70bc is 28 bytes inside a block of size 30 alloc'd
==14005==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14005==    by 0x78DB02C: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005== 
==14005== Invalid read of size 4
==14005==    at 0x78DB0D3: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78DD464: FcConfigFilename (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==  Address 0xf1bf184 is 20 bytes inside a block of size 22 alloc'd
==14005==    at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==14005==    by 0x78DB02C: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78DD464: FcConfigFilename (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0A15: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F10FD: ??? (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0xC0CF6F3: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D0950: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CD7C6: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0CF17A: ??? (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0xC0D275C: XML_ParseBuffer (in /lib/x86_64-linux-gnu/libexpat.so.1.5.2)
==14005==    by 0x78F0B70: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005==    by 0x78F0E77: FcConfigParseAndLoad (in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4)
==14005== 
==14005== Conditional jump or move depends on uninitialised value(s)
==14005==    at 0x84644E0: inflateReset2 (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==14005==    by 0x84645D8: inflateInit2_ (in /lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==14005==    by 0x82440D3: png_create_read_struct_2 (in /lib/x86_64-linux-gnu/libpng12.so.0.46.0)
==14005==    by 0x8244296: png_create_read_struct (in /lib/x86_64-linux-gnu/libpng12.so.0.46.0)
==14005==    by 0x56C07F4: QPngHandlerPrivate::readPngHeader() (qpnghandler.cpp:427)
==14005==    by 0x56C0DBC: QPngHandlerPrivate::readPngImage(QImage*) (qpnghandler.cpp:470)
==14005==    by 0x56900C7: QImageReader::read(QImage*) (qimagereader.cpp:1205)
==14005==    by 0x56906F6: QImageReader::read() (qimagereader.cpp:1155)
==14005==    by 0x5685661: operator>>(QDataStream&, QImage&) (qimage.cpp:5287)
==14005==    by 0x569ED71: operator>>(QDataStream&, QPixmap&) (qpixmap.cpp:1364)
==14005==    by 0x6A00276: KIconLoaderPrivate::findCachedPixmapWithPath(QString const&, QPixmap&, QString&) (kiconloader.cpp:876)
==14005==    by 0x6A00480: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (kiconloader.cpp:1222)
==14005== 
Enchant dict for "en_US" 0x1854a630 
Enchant dict for "en_US" 0x139a8ac0 
==14005== Invalid read of size 4
==14005==    at 0x59D5D54: QFrame::frameStyle() const (qframe.cpp:254)
==14005==    by 0x123FFCC0: Oxygen::Style::polish(QWidget*) (oxygenstyle.cpp:235)
==14005==    by 0x5616519: QWidget::event(QEvent*) (qwidget.cpp:8448)
==14005==    by 0x55C5893: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4559)
==14005==    by 0x55CA712: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:4420)
==14005==    by 0x6A51B45: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:311)
==14005==    by 0x727BE9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:876)
==14005==    by 0x560DC5B: QWidget::ensurePolished() const (qcoreapplication.h:231)
==14005==    by 0x5618A35: QWidget::setVisible(bool) (qwidget.cpp:7714)
==14005==    by 0x18D54AD7: KateViewInternal::KateViewInternal(KateView*) (qwidget.h:494)
==14005==    by 0x18D4F6D5: KateView::KateView(KateDocument*, QWidget*) (kateview.cpp:116)
==14005==    by 0x18CB37E3: KateDocument::createView(QWidget*) (katedocument.cpp:331)
==14005==  Address 0x1ecb1860 is not stack'd, malloc'd or (recently) free'd
==14005== 
==14005== Conditional jump or move depends on uninitialised value(s)
==14005==    at 0x62F0E73: KLockFile::lock(QFlags<KLockFile::LockFlag>) (klockfile_unix.cpp:146)
==14005==    by 0x617565A: KConfigIniBackend::lock(KComponentData const&) (kconfigini.cpp:577)
==14005==    by 0x61634B9: KConfig::sync() (kconfig.cpp:103)
==14005==    by 0x1D9A1EAD: KFileWidget::~KFileWidget() (kfilewidget.cpp:647)
==14005==    by 0x1D9A1FF8: KFileWidget::~KFileWidget() (kfilewidget.cpp:650)
==14005==    by 0x728E934: QObjectPrivate::deleteChildren() (qobject.cpp:1908)
==14005==    by 0x561073F: QWidget::~QWidget() (qwidget.cpp:1676)
==14005==    by 0xB020E65: KEncodingFileDialog::getOpenUrlsAndEncoding(QString const&, QString const&, QString const&, QWidget*, QString const&) (kencodingfiledialog.cpp:166)
==14005==    by 0x65DE9C8: KateViewManager::slotDocumentOpen() (kateviewmanager.cpp:240)
==14005==    by 0x7290280: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3547)
==14005==    by 0x55BF131: QAction::triggered(bool) (moc_qaction.cpp:277)
==14005==    by 0x55BF31E: QAction::activate(QAction::ActionEvent) (qaction.cpp:1257)
==14005== 
==14005== Conditional jump or move depends on uninitialised value(s)
==14005==    at 0x62F10C9: KLockFile::lock(QFlags<KLockFile::LockFlag>) (klockfile_unix.cpp:146)
==14005==    by 0x617565A: KConfigIniBackend::lock(KComponentData const&) (kconfigini.cpp:577)
==14005==    by 0x61634B9: KConfig::sync() (kconfig.cpp:103)
==14005==    by 0x1D9A1EAD: KFileWidget::~KFileWidget() (kfilewidget.cpp:647)
==14005==    by 0x1D9A1FF8: KFileWidget::~KFileWidget() (kfilewidget.cpp:650)
==14005==    by 0x728E934: QObjectPrivate::deleteChildren() (qobject.cpp:1908)
==14005==    by 0x561073F: QWidget::~QWidget() (qwidget.cpp:1676)
==14005==    by 0xB020E65: KEncodingFileDialog::getOpenUrlsAndEncoding(QString const&, QString const&, QString const&, QWidget*, QString const&) (kencodingfiledialog.cpp:166)
==14005==    by 0x65DE9C8: KateViewManager::slotDocumentOpen() (kateviewmanager.cpp:240)
==14005==    by 0x7290280: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3547)
==14005==    by 0x55BF131: QAction::triggered(bool) (moc_qaction.cpp:277)
==14005==    by 0x55BF31E: QAction::activate(QAction::ActionEvent) (qaction.cpp:1257)
==14005== 
==14005== Conditional jump or move depends on uninitialised value(s)
==14005==    at 0x62F10D6: KLockFile::lock(QFlags<KLockFile::LockFlag>) (klockfile_unix.cpp:146)
==14005==    by 0x617565A: KConfigIniBackend::lock(KComponentData const&) (kconfigini.cpp:577)
==14005==    by 0x61634B9: KConfig::sync() (kconfig.cpp:103)
==14005==    by 0x1D9A1EAD: KFileWidget::~KFileWidget() (kfilewidget.cpp:647)
==14005==    by 0x1D9A1FF8: KFileWidget::~KFileWidget() (kfilewidget.cpp:650)
==14005==    by 0x728E934: QObjectPrivate::deleteChildren() (qobject.cpp:1908)
==14005==    by 0x561073F: QWidget::~QWidget() (qwidget.cpp:1676)
==14005==    by 0xB020E65: KEncodingFileDialog::getOpenUrlsAndEncoding(QString const&, QString const&, QString const&, QWidget*, QString const&) (kencodingfiledialog.cpp:166)
==14005==    by 0x65DE9C8: KateViewManager::slotDocumentOpen() (kateviewmanager.cpp:240)
==14005==    by 0x7290280: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3547)
==14005==    by 0x55BF131: QAction::triggered(bool) (moc_qaction.cpp:277)
==14005==    by 0x55BF31E: QAction::activate(QAction::ActionEvent) (qaction.cpp:1257)
==14005== 
==14005== Conditional jump or move depends on uninitialised value(s)
==14005==    at 0x62F10E3: KLockFile::lock(QFlags<KLockFile::LockFlag>) (klockfile_unix.cpp:146)
==14005==    by 0x617565A: KConfigIniBackend::lock(KComponentData const&) (kconfigini.cpp:577)
==14005==    by 0x61634B9: KConfig::sync() (kconfig.cpp:103)
==14005==    by 0x1D9A1EAD: KFileWidget::~KFileWidget() (kfilewidget.cpp:647)
==14005==    by 0x1D9A1FF8: KFileWidget::~KFileWidget() (kfilewidget.cpp:650)
==14005==    by 0x728E934: QObjectPrivate::deleteChildren() (qobject.cpp:1908)
==14005==    by 0x561073F: QWidget::~QWidget() (qwidget.cpp:1676)
==14005==    by 0xB020E65: KEncodingFileDialog::getOpenUrlsAndEncoding(QString const&, QString const&, QString const&, QWidget*, QString const&) (kencodingfiledialog.cpp:166)
==14005==    by 0x65DE9C8: KateViewManager::slotDocumentOpen() (kateviewmanager.cpp:240)
==14005==    by 0x7290280: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3547)
==14005==    by 0x55BF131: QAction::triggered(bool) (moc_qaction.cpp:277)
==14005==    by 0x55BF31E: QAction::activate(QAction::ActionEvent) (qaction.cpp:1257)
==14005== 
==14005== Conditional jump or move depends on uninitialised value(s)
==14005==    at 0x62F10F2: KLockFile::lock(QFlags<KLockFile::LockFlag>) (klockfile_unix.cpp:146)
==14005==    by 0x617565A: KConfigIniBackend::lock(KComponentData const&) (kconfigini.cpp:577)
==14005==    by 0x61634B9: KConfig::sync() (kconfig.cpp:103)
==14005==    by 0x1D9A1EAD: KFileWidget::~KFileWidget() (kfilewidget.cpp:647)
==14005==    by 0x1D9A1FF8: KFileWidget::~KFileWidget() (kfilewidget.cpp:650)
==14005==    by 0x728E934: QObjectPrivate::deleteChildren() (qobject.cpp:1908)
==14005==    by 0x561073F: QWidget::~QWidget() (qwidget.cpp:1676)
==14005==    by 0xB020E65: KEncodingFileDialog::getOpenUrlsAndEncoding(QString const&, QString const&, QString const&, QWidget*, QString const&) (kencodingfiledialog.cpp:166)
==14005==    by 0x65DE9C8: KateViewManager::slotDocumentOpen() (kateviewmanager.cpp:240)
==14005==    by 0x7290280: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3547)
==14005==    by 0x55BF131: QAction::triggered(bool) (moc_qaction.cpp:277)
==14005==    by 0x55BF31E: QAction::activate(QAction::ActionEvent) (qaction.cpp:1257)
==14005== 
Killed
(it was "Killed" at the end as I repeatedly tried to close it, causing the "Kate is not responding" warning window to appear, in which I selected "terminate application")
Comment 1 Ekkehard Blanz 2012-05-10 01:05:32 UTC
I individually reset all of the "Configure Kate... Settings" and this problem went away.  Still something you might want to look into, albeit with low priority.  I'm still willing to help, however, not sure how much I can do now that the problem doesn't show itself anymore.
Comment 2 Matthieu 2012-07-16 12:52:02 UTC
I confirm this bug on Ubuntu 12.04 64 bits, using KDE 4.8.4. The bug is not only present with Kate 3.8.4, but also with other KDE-based applications such as rkward (I think based/using itself on kate). 

It is difficult ot understand what triggers the bug. It does not happen immediately, but once it happens, it happens each time. The only solution found was to reset settings, with
$mv ./kde ./kde-old

Please let me know if any input can be provided.
Comment 3 Danny Lieberman 2012-08-16 12:11:27 UTC
Confirm the problem - running 64 bit Ubuntu 12.04 and Kate 4.8.4
After a while - with longer editing sessions and just a few files (about 10) it will start getting slow on file open and eventually freeze.

Resetting by removing the .kde directory does not seem to help. Although logging out and back in again does.

This suggests that the problem is a memory leak not a settings issue.
Comment 4 Christoph Cullmann 2012-10-30 12:38:02 UTC
Could you try to look which other processes are running? Does some kded or Co. run around with massive cpu time or memory usage?
Comment 5 Ekkehard Blanz 2012-10-30 14:04:32 UTC
On Tuesday, October 30, 2012 12:38:02 PM you wrote:
> https://bugs.kde.org/show_bug.cgi?id=299706
> 
> Christoph Cullmann <cullmann@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
> CC|                            |cullmann@kde.org
> 
> --- Comment #4 from Christoph Cullmann <cullmann@kde.org> ---
> Could you try to look which other processes are running? Does some kded or
> Co. run around with massive cpu time or memory usage?

Pretty sure that wasn't happening at the time, since there are a few culprits 
as we know in dbus and akonadi land that tend to do that, so I am constantly 
monitoring cpu use in all 6 cores and would have noticed if this was 
happening.

But as for this particular bug, I couldn't reproduce it ever for the last 
couple of months (and I am using the system including kate 10+ hours daily).  
Not sure which update made it disappear.  So since I can't reproduce it (and 
you probably can't either), I guess we should close it.

Cheers

Ekkehard
Comment 6 Christoph Cullmann 2012-10-30 14:26:17 UTC
Ok, if it reoccurs and you can give us any hints, please reopen ;)
Thanks for your investigations.
Comment 7 kukarzev 2014-04-14 18:18:35 UTC
I had this or very similar issue, and in my case the culprit was a nonexistent NFS mount: I had an entry for it in fstab, for an NFS disk at home, and at work it was not available. Once I removed the fstab entry and rebooted, the open file dialog worked as it should, no freezes.