Bug 1038560 - Crashing kate when type "/" in .txt file
Summary: Crashing kate when type "/" in .txt file
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kate
Version: 19
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 10:51 UTC by Igor Gnatenko
Modified: 2017-01-16 14:08 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-17 19:32:26 UTC
Type: Bug


Attachments (Terms of Use)

Description Igor Gnatenko 2013-12-05 10:51:03 UTC
Description of problem:
Crashing kate when type "/" in .txt file

Version-Release number of selected component (if applicable):
kate-4.11.3-2.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1. Open .txt doc
2. Try to write slash-symbol

Actual results:
SIGSEGV

Expected results:
works oK

Additional info:
(gdb) thread apply all bt full
 
Thread 2 (Thread 0x7fffe7d78700 (LWP 7581)):
#0  0x00000036a920b575 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007fffea4230bb in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
No symbol table info available.
#2  0x00007fffea4230f9 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
No symbol table info available.
#3  0x00000036a9207c53 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#4  0x00000036a8ef5e1d in clone () from /lib64/libc.so.6
No symbol table info available.
 
Thread 1 (Thread 0x7ffff51c18c0 (LWP 7577)):
#0  0x00007fffe9ed9e20 in contextNum (n=<optimized out>, this=<optimized out>) at /usr/src/debug/kate-4.11.3/part/syntax/katehighlight.h:267
        n = <optimized out>
        this = <optimized out>
#1  KateDocument::defStyleNum (this=0xa67b70, line=<optimized out>, column=<optimized out>) at /usr/src/debug/kate-4.11.3/part/document/katedocument.cpp:5376
        context = 0x20
        attributes = {{p = {static shared_null = {ref = {_q_value = 13491}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xea90f0}, d = 0xea90f0}}
        tl = {<QtSharedPointer::ExternalRefCount<Kate::TextLineData>> = {<QtSharedPointer::Basic<Kate::TextLineData>> = {value = 0x131c280}, d = 0xb81ca0}, <No data fields>}
        attribute = <error reading variable attribute (Cannot access memory at address 0x38)>
        a = <optimized out>
#2  0x00007fffe9f014a9 in KateScriptDocument::defStyleNum (this=<optimized out>, line=<optimized out>, column=<optimized out>) at /usr/src/debug/kate-4.11.3/part/script/katescriptdocument.cpp:51
No locals.
#3  0x00007fffe9f01529 in KateScriptDocument::isString (this=<optimized out>, line=<optimized out>, column=<optimized out>) at /usr/src/debug/kate-4.11.3/part/script/katescriptdocument.cpp:83
        defaultStyle = <optimized out>
#4  0x00007fffe9e7ff8d in KateScriptDocument::qt_static_metacall (_o=0x12da0e0, _id=-1364330192, _id@entry=90, _a=0x7fffffffc600, _c=<optimized out>)
    at /usr/src/debug/kate-4.11.3/x86_64-redhat-linux-gnu/part/moc_katescriptdocument.cpp:405
        _r = 32
#5  0x00007fffe9e81003 in qt_static_metacall (_a=0x7fffffffc600, _id=90, _c=QMetaObject::InvokeMetaMethod, _o=0x12da0e0)
    at /usr/src/debug/kate-4.11.3/x86_64-redhat-linux-gnu/part/moc_katescriptdocument.cpp:466
No locals.
#6  KateScriptDocument::qt_metacall (this=0x12da0e0, _c=QMetaObject::InvokeMetaMethod, _id=90, _a=0x7fffffffc600)
    at /usr/src/debug/kate-4.11.3/x86_64-redhat-linux-gnu/part/moc_katescriptdocument.cpp:467
No locals.
#7  0x00007fffea48ed16 in QScript::callQtMethod(QTJSC::ExecState*, QMetaMethod::MethodType, QObject*, QTJSC::ArgList const&, QMetaObject const*, int, bool) () from /lib64/libQtScript.so.4
No symbol table info available.
#8  0x00007fffea48fe59 in QScript::QtFunction::execute(QTJSC::ExecState*, QTJSC::JSValue, QTJSC::ArgList const&) () from /lib64/libQtScript.so.4
No symbol table info available.
#9  0x00007fffea4900e9 in QScript::QtFunction::call(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) () from /lib64/libQtScript.so.4
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#10 0x00007fffea395258 in QTJSC::NativeFuncWrapper::operator()(QTJSC::ExecState*, QTJSC::JSObject*, QTJSC::JSValue, QTJSC::ArgList const&) const () from /lib64/libQtScript.so.4
No symbol table info available.
#11 0x00007fffea3730f0 in cti_op_call_NotJSFunction () from /lib64/libQtScript.so.4
No symbol table info available.
#12 0x00007fff6750114a in ?? ()
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.

Comment 1 T.C. Hollingsworth 2013-12-14 18:45:56 UTC
Could you maybe post the file this happens with?  (Preferably to https://bugs.kde.org if you can.)

It's the syntax highlighting that's causing the crash, which means we need to know which highlighter is having a problem, and more importantly what highlighting context triggers the crash. (i.e. where you stick the "/" probably matters ;-)

Comment 2 Fedora End Of Life 2015-01-09 20:47:22 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2015-02-17 19:32:26 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.