Bug 366214 - Kate crashes on SOME text files
Summary: Kate crashes on SOME text files
Status: RESOLVED DUPLICATE of bug 265188
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.14.2
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-07-28 18:51 UTC by Eduard Voicu
Modified: 2016-09-05 11:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduard Voicu 2016-07-28 18:51:42 UTC
Application: kate (3.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.16.0-4-amd64 x86_64
Distribution: Debian GNU/Linux 8.5 (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
Trying to open README file from tarballs. Kate crashes. File opens in non-kde dependant progrms, like libreoffice for instance.

- Unusual behavior I noticed:
Dolphin also crashes when right click-> properties on the file

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f659f2d7780 (LWP 17154))]

Thread 2 (Thread 0x7f658a317700 (LWP 17155)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f658b97edea in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f658b97ee19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f659c1880a4 in start_thread (arg=0x7f658a317700) at pthread_create.c:309
#4  0x00007f659ec4887d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f659f2d7780 (LWP 17154)):
[KCrash Handler]
#6  d_func (this=0x0) at ../../kdecore/sycoca/ksycocaentry.h:154
#7  KSycocaEntry::name (this=0x0) at ../../kdecore/sycoca/ksycocaentry.cpp:159
#8  0x00007f658bf9a7d2 in TextLoader (proberType=<optimized out>, filename=..., this=0x7ffc36694b80) at ../../part/buffer/katetextloader.h:72
#9  Kate::TextBuffer::load (this=0x19f5590, filename=..., encodingErrors=@0x19f5658: false, tooLongLinesWrapped=@0x19f5659: false, enforceTextCodec=false) at ../../part/buffer/katetextbuffer.cpp:529
#10 0x00007f658c01349e in KateBuffer::openFile (this=0x19f5590, m_file=..., enforceTextCodec=enforceTextCodec@entry=false) at ../../part/document/katebuffer.cpp:214
#11 0x00007f658c008b3f in KateDocument::openFile (this=0x19f4d00) at ../../part/document/katedocument.cpp:1970
#12 0x00007f6598fd673a in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x19f4f80) at ../../kparts/part.cpp:591
#13 0x00007f6598fd8b76 in KParts::ReadOnlyPart::openUrl (this=this@entry=0x19f4d00, url=...) at ../../kparts/part.cpp:555
#14 0x00007f658bff3dde in KateDocument::openUrl (this=0x19f4d00, url=...) at ../../part/document/katedocument.cpp:2332
#15 0x00007f659d72f047 in KateDocManager::openUrl (this=this@entry=0x1878790, url=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/katedocmanager.cpp:253
#16 0x00007f659d72f4ec in KateDocManager::openUrls (this=0x1878790, urls=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/katedocmanager.cpp:228
#17 0x00007f659d73e971 in KateViewManager::openUrls (this=0x1aa4060, urls=..., encoding=..., isTempFile=isTempFile@entry=false, docInfo=...) at ../../../kate/app/kateviewmanager.cpp:337
#18 0x00007f659d726f29 in KateApp::startupKate (this=0x7ffc36695660) at ../../../kate/app/kateapp.cpp:225
#19 0x00007f659d727e35 in KateApp::initKate (this=this@entry=0x7ffc36695660) at ../../../kate/app/kateapp.cpp:135
#20 0x00007f659d728230 in KateApp::KateApp (this=0x7ffc36695660, args=<optimized out>) at ../../../kate/app/kateapp.cpp:72
#21 0x00007f659ef157fc in kdemain (argc=912870240, argv=0x0) at ../../../kate/app/katemain.cpp:377
#22 0x00007f659eb81b45 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, argv=0x7ffc366957e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc366957d8) at libc-start.c:287
#23 0x00000000004006fe in _start ()

Possible duplicates by query: bug 348406, bug 344826, bug 342286, bug 341680.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2016-09-05 11:45:33 UTC
Dupe, fixed

*** This bug has been marked as a duplicate of bug 265188 ***