Summary: | python cut docsstring with last quotes """ that ending docsstring | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Tomasz Narloch <tomas.h> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | tomas.h |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.2 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
Attachment to the previous comment Attachment to previous comment katelogs2.txt |
Description
Tomasz Narloch
2012-02-23 09:43:04 UTC
$ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate ==1977== Memcheck, a memory error detector ==1977== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==1977== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==1977== Command: kde/run.sh kate ==1977== kbuildsycoca4 running... QDBusObjectPath: invalid path "" ASSERT: "asize <= aalloc" in file /usr/include/qt4/QtCore/qvector.h, line 446 KCrash: Application 'kate' crashing... Created attachment 69031 [details]
New crash information added by DrKonqi
kate (3.6.5) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2
- What I was doing when the application crashed:
The same as similar bug reported by me before.
$ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate
==2458== Memcheck, a memory error detector
==2458== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2458== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==2458== Command: kde/run.sh kate
==2458==
kbuildsycoca4 running...
ASSERT: "asize <= aalloc" in file /usr/include/qt4/QtCore/qvector.h, line 446
KCrash: Application 'kate' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/tomek2/.kde/socket-x/kdeinit4__0
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
-- Backtrace (Reduced):
#11 0x00007f5458ce925b in QVector<KateCodeFoldingNode*>::realloc (this=0x2861698, asize=44434592, aalloc=0) at /usr/include/qt4/QtCore/qvector.h:446
[...]
#14 0x00007f5458ce9014 in QVector<KateCodeFoldingNode*>::data (this=0x2861698) at /usr/include/qt4/QtCore/qvector.h:139
#15 0x00007f5458ce7f48 in QVector<KateCodeFoldingNode*>::operator[] (this=0x2861698, i=0) at /usr/include/qt4/QtCore/qvector.h:348
#16 0x00007f5458ce1766 in KateCodeFoldingNode::removeEndDescending (this=0x2861660, deletedNode=0x27cb410) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:257
#17 0x00007f5458ce18db in KateCodeFoldingNode::removeChild (this=0x2861660, deletedNode=0x27cb410) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:303
Tomas, can you please quickly build Kate by following http://kate-editor.org/get-it/ and check, whether it still crashes then? W dniu 23.02.2012 18:45, Dominik Haumann pisze: > https://bugs.kde.org/show_bug.cgi?id=294666 > > > Dominik Haumann<dhaumann@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEEDSINFO > Resolution| |WAITINGFORINFO > > > > > --- Comment #3 from Dominik Haumann<dhaumann kde org> 2012-02-23 17:45:15 --- > Tomas, can you please quickly build Kate by following > http://kate-editor.org/get-it/ and check, whether it still crashes then? > I tried, but: /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32) /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32) /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32) /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h: In function ‘T qobject_cast(QObject*) [with T = KTextEditor::CodeCompletionModelControllerInterface4*]’: /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32) /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h: At global scope: /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32) /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32) /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h: In function ‘T qobject_cast(const QObject*) [with T = KTextEditor::CodeCompletionModelControllerInterface4*]’: /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:46:1: warning: ‘CodeCompletionModelControllerInterface4’ is deprecated (declared at /home/tomek2/kde/kate/part/completion/codecompletionmodelcontrollerinterfacev4.h:32) [ 28%] Building CXX object part/CMakeFiles/katepartinterfaces.dir/view/kateviewinternal.o /home/tomek2/kde/kate/part/view/kateviewinternal.cpp: In member function ‘KTextEditor::Cursor KateViewInternal::viewLineOffset(const KTextEditor::Cursor&, int, bool)’: /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1315:7: warning: comparison between signed and unsigned integer expressions /home/tomek2/kde/kate/part/view/kateviewinternal.cpp: In member function ‘void KateViewInternal::updateSelection(const KTextEditor::Cursor&, bool)’: /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1796:45: error: ‘TextSelectionChanged’ is not a member of ‘QAccessible’ /home/tomek2/kde/kate/part/view/kateviewinternal.cpp: In member function ‘void KateViewInternal::cursorMoved()’: /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:3390:45: error: ‘TextCaretMoved’ is not a member of ‘QAccessible’ make[2]: *** [part/CMakeFiles/katepartinterfaces.dir/view/kateviewinternal.o] Błąd 1 make[1]: *** [part/CMakeFiles/katepartinterfaces.dir/all] Błąd 2 make: *** [all] Błąd 2 tomek2 build $ Best Regards, Tomasz Narloch Ok, then please type: git checkout 7f71b032be9aee12a3666565984f01fa671e7098 after the initial clone, and then continue with the cmake calls. Does it compile now? If so, can you reproduce the initial report? After above I run kate like: valgrind --track-origins=yes --num-callers=25 kde/run.sh kate I tried again create a crash but kate hung up and not response. kate use 50% my cpu, but I have intel core duo, so It will be 100% of first cpu. Next I killed it by xkill. $ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate ==14990== Memcheck, a memory error detector ==14990== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==14990== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==14990== Command: kde/run.sh kate ==14990== kbuildsycoca4 running... kbuildsycoca4(14993) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/MySQLWorkbench.desktop" is not compliant with XDG standard (missing trailing semicolon). kbuildsycoca4(14993) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/im-switch.desktop" is not compliant with XDG standard (missing trailing semicolon). ==14990== Conditional jump or move depends on uninitialised value(s) ==14990== at 0x52FD0CB: __GI___strcasecmp_l (strcmp.S:243) ==14990== by 0x5296F60: __gconv_open (gconv_open.c:70) ==14990== by 0x52A5106: _nl_find_msg (dcigettext.c:990) ==14990== by 0x52A5818: __dcigettext (dcigettext.c:654) ==14990== by 0x43E077: ??? (in /bin/bash) ==14990== by 0x43E5B9: ??? (in /bin/bash) ==14990== by 0x43F3D9: ??? (in /bin/bash) ==14990== by 0x440C16: notify_and_cleanup (in /bin/bash) ==14990== by 0x4414C4: wait_for (in /bin/bash) ==14990== by 0x43171C: execute_command_internal (in /bin/bash) ==14990== by 0x4341FD: execute_command (in /bin/bash) ==14990== by 0x41E0F1: reader_loop (in /bin/bash) ==14990== by 0x41D500: main (in /bin/bash) ==14990== Uninitialised value was created by a stack allocation ==14990== at 0x5296ECE: __gconv_open (gconv_open.c:65) ==14990== ==14990== Use of uninitialised value of size 8 ==14990== at 0x52FF204: __GI___strcasecmp_l (strcmp.S:2257) ==14990== by 0x5296F60: __gconv_open (gconv_open.c:70) ==14990== by 0x52A5106: _nl_find_msg (dcigettext.c:990) ==14990== by 0x52A5818: __dcigettext (dcigettext.c:654) ==14990== by 0x43E077: ??? (in /bin/bash) ==14990== by 0x43E5B9: ??? (in /bin/bash) ==14990== by 0x43F3D9: ??? (in /bin/bash) ==14990== by 0x440C16: notify_and_cleanup (in /bin/bash) ==14990== by 0x4414C4: wait_for (in /bin/bash) ==14990== by 0x43171C: execute_command_internal (in /bin/bash) ==14990== by 0x4341FD: execute_command (in /bin/bash) ==14990== by 0x41E0F1: reader_loop (in /bin/bash) ==14990== by 0x41D500: main (in /bin/bash) ==14990== Uninitialised value was created by a stack allocation ==14990== at 0x5296ECE: __gconv_open (gconv_open.c:65) ==14990== ==14990== Use of uninitialised value of size 8 ==14990== at 0x52FF208: __GI___strcasecmp_l (strcmp.S:2258) ==14990== by 0x5296F60: __gconv_open (gconv_open.c:70) ==14990== by 0x52A5106: _nl_find_msg (dcigettext.c:990) ==14990== by 0x52A5818: __dcigettext (dcigettext.c:654) ==14990== by 0x43E077: ??? (in /bin/bash) ==14990== by 0x43E5B9: ??? (in /bin/bash) ==14990== by 0x43F3D9: ??? (in /bin/bash) ==14990== by 0x440C16: notify_and_cleanup (in /bin/bash) ==14990== by 0x4414C4: wait_for (in /bin/bash) ==14990== by 0x43171C: execute_command_internal (in /bin/bash) ==14990== by 0x4341FD: execute_command (in /bin/bash) ==14990== by 0x41E0F1: reader_loop (in /bin/bash) ==14990== by 0x41D500: main (in /bin/bash) ==14990== Uninitialised value was created by a stack allocation ==14990== at 0x5296ECE: __gconv_open (gconv_open.c:65) ==14990== kde/run.sh: line 11: 14994 Zakończony $@ ==14990== ==14990== HEAP SUMMARY: ==14990== in use at exit: 0 bytes in 0 blocks ==14990== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==14990== ==14990== All heap blocks were freed -- no leaks are possible ==14990== ==14990== For counts of detected and suppressed errors, rerun with: -v ==14990== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 4 from 4) Above message does not apply to this error. Probably to: https://bugs.kde.org/show_bug.cgi?id=294668 Next I tried again and this is result. Application: Kate (kate), signal: Aborted [Current thread is 1 (Thread 0x7f2e87248780 (LWP 15044))] Thread 4 (Thread 0x7f2e73c76700 (LWP 15045)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007f2e751862a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f2e7549f180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359 #2 0x00007f2e751862d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f2e754ad254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464 #3 0x00007f2e80d68d8c in start_thread (arg=0x7f2e73c76700) at pthread_create.c:304 #4 0x00007f2e82bd604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #5 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f2e70b9d700 (LWP 15046)): #0 0x00007f2e7f6bc106 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f2e7f6bc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f2e837ab446 in QEventDispatcherGlib::processEvents (this=0x247d030, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #3 0x00007f2e8377f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #4 0x00007f2e8377fabc in QEventLoop::exec (this=0x7f2e70b9cdd0, flags=...) at kernel/qeventloop.cpp:201 #5 0x00007f2e83696924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492 #6 0x00007f2e83761c2f in QInotifyFileSystemWatcherEngine::run (this=0x2303f10) at io/qfilesystemwatcher_inotify.cpp:248 #7 0x00007f2e83699175 in QThreadPrivate::start (arg=0x2303f10) at thread/qthread_unix.cpp:320 #8 0x00007f2e80d68d8c in start_thread (arg=0x7f2e70b9d700) at pthread_create.c:304 #9 0x00007f2e82bd604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #10 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f2e70198700 (LWP 15048)): #0 0x00007f2e82bc8f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f2e7f6bc104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f2e7f6bc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f2e837ab446 in QEventDispatcherGlib::processEvents (this=0x1f19bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424 #4 0x00007f2e8377f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f2e8377fabc in QEventLoop::exec (this=0x7f2e70197dd0, flags=...) at kernel/qeventloop.cpp:201 #6 0x00007f2e83696924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492 #7 0x00007f2e83761c2f in QInotifyFileSystemWatcherEngine::run (this=0x25624d0) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f2e83699175 in QThreadPrivate::start (arg=0x25624d0) at thread/qthread_unix.cpp:320 #9 0x00007f2e80d68d8c in start_thread (arg=0x7f2e70198700) at pthread_create.c:304 #10 0x00007f2e82bd604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f2e87248780 (LWP 15044)): [KCrash Handler] #6 0x00007f2e82b23d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #7 0x00007f2e82b27ab6 in abort () at abort.c:92 #8 0x00007f2e8368fad4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2282 #9 0x00007f2e8368fc8f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f2e837df0a8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff9f0d4900) at global/qglobal.cpp:2328 #10 0x00007f2e8368fe31 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2511 #11 0x00007f2e74c728e1 in QVector<KateCodeFoldingNode*>::realloc (this=0x2895328, asize=42394656, aalloc=0) at /usr/include/qt4/QtCore/qvector.h:446 #12 0x00007f2e74c72cb8 in QVector<KateCodeFoldingNode*>::detach_helper (this=0x2895328) at /usr/include/qt4/QtCore/qvector.h:325 #13 0x00007f2e74c7382c in QVector<KateCodeFoldingNode*>::detach (this=0x2895328) at /usr/include/qt4/QtCore/qvector.h:134 #14 0x00007f2e74c7269a in QVector<KateCodeFoldingNode*>::data (this=0x2895328) at /usr/include/qt4/QtCore/qvector.h:139 #15 0x00007f2e74c7132c in QVector<KateCodeFoldingNode*>::operator[] (this=0x2895328, i=0) at /usr/include/qt4/QtCore/qvector.h:348 #16 0x00007f2e74c6ab26 in KateCodeFoldingNode::removeEndDescending (this=0x28952f0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:260 #17 0x00007f2e74c6ac9b in KateCodeFoldingNode::removeChild (this=0x28952f0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:306 #18 0x00007f2e74c6beda in KateCodeFoldingTree::deleteEndNode (this=0x1ebb2b0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:611 #19 0x00007f2e74c710db in KateCodeFoldingTree::deleteNode (this=0x1ebb2b0, deletedNode=0x25a9680) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353 #20 0x00007f2e74c6f7c1 in KateCodeFoldingTree::updateMapping (this=0x1ebb2b0, line=489, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1578 #21 0x00007f2e74c6f40a in KateCodeFoldingTree::updateLine (this=0x1ebb2b0, line=489, regionChanges=..., updated=0x7fff9f0d4d34, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1504 #22 0x00007f2e74bfc114 in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=458, endLine=522, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706 #23 0x00007f2e74bfaf70 in KateBuffer::ensureHighlighted (this=0x1ebb1e0, line=458) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250 #24 0x00007f2e74beb217 in KateDocument::kateTextLine (this=0x1ec17a0, i=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4786 #25 0x00007f2e74c353b7 in KateLineLayout::textLine (this=0x287a130, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67 #26 0x00007f2e74c2b902 in KateRenderer::layoutLine (this=0x215c170, lineLayout=..., maxwidth=1360, cacheLayout=true) at /home/tomek2/kde/kate/part/render/katerenderer.cpp:839 #27 0x00007f2e74c310b5 in KateLayoutCache::line (this=0x2160c40, realLine=458, virtualLine=109) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:318 #28 0x00007f2e74c8f7a0 in KateViewInternal::viewLineOffset (this=0x215dc60, virtualCursor=..., offset=35, keepX=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1327 #29 0x00007f2e74c8c4e1 in KateViewInternal::makeVisible (this=0x215dc60, c=..., endCol=0, force=false, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:619 #30 0x00007f2e74c926f9 in KateViewInternal::updateCursor (this=0x215dc60, newCursor=..., force=true, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1844 #31 0x00007f2e74c8cb85 in KateViewInternal::slotRegionVisibilityChanged (this=0x215dc60) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:674 #32 0x00007f2e74c8983d in KateViewInternal::qt_metacall (this=0x215dc60, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff9f0d5660) at /home/tomek2/kde/build/part/kateviewinternal.moc:130 #33 0x00007f2e837955f8 in QMetaObject::activate (sender=0x1ebb2b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287 #34 0x00007f2e74b66cbf in KateCodeFoldingTree::regionVisibilityChanged (this=0x1ebb2b0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121 #35 0x00007f2e74c6ef8b in KateCodeFoldingTree::unfoldNode (this=0x1ebb2b0, node=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1408 #36 0x00007f2e74c6be9d in KateCodeFoldingTree::deleteNodeFromMap (this=0x1ebb2b0, node=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:600 #37 0x00007f2e74c6bf3e in KateCodeFoldingTree::deleteStartNode (this=0x1ebb2b0, deletedNode=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:626 #38 0x00007f2e74c710c6 in KateCodeFoldingTree::deleteNode (this=0x1ebb2b0, deletedNode=0x289af10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353 #39 0x00007f2e74c6f7c1 in KateCodeFoldingTree::updateMapping (this=0x1ebb2b0, line=479, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1578 #40 0x00007f2e74c6f40a in KateCodeFoldingTree::updateLine (this=0x1ebb2b0, line=479, regionChanges=..., updated=0x7fff9f0d5a44, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1504 #41 0x00007f2e74bfc114 in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=458, endLine=522, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706 #42 0x00007f2e74bfaf70 in KateBuffer::ensureHighlighted (this=0x1ebb1e0, line=458) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250 #43 0x00007f2e74beb217 in KateDocument::kateTextLine (this=0x1ec17a0, i=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4786 #44 0x00007f2e74c353b7 in KateLineLayout::textLine (this=0x25dc1d0, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67 #45 0x00007f2e74c2b902 in KateRenderer::layoutLine (this=0x215c170, lineLayout=..., maxwidth=1360, cacheLayout=true) at /home/tomek2/kde/kate/part/render/katerenderer.cpp:839 #46 0x00007f2e74c310b5 in KateLayoutCache::line (this=0x2160c40, realLine=458, virtualLine=109) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:318 #47 0x00007f2e74c8f7a0 in KateViewInternal::viewLineOffset (this=0x215dc60, virtualCursor=..., offset=35, keepX=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1327 #48 0x00007f2e74c8c4e1 in KateViewInternal::makeVisible (this=0x215dc60, c=..., endCol=0, force=false, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:619 #49 0x00007f2e74c926f9 in KateViewInternal::updateCursor (this=0x215dc60, newCursor=..., force=true, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1844 #50 0x00007f2e74c8cb85 in KateViewInternal::slotRegionVisibilityChanged (this=0x215dc60) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:674 #51 0x00007f2e74c8983d in KateViewInternal::qt_metacall (this=0x215dc60, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff9f0d6370) at /home/tomek2/kde/build/part/kateviewinternal.moc:130 #52 0x00007f2e837955f8 in QMetaObject::activate (sender=0x1ebb2b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287 #53 0x00007f2e74b66cbf in KateCodeFoldingTree::regionVisibilityChanged (this=0x1ebb2b0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121 #54 0x00007f2e74c6ef8b in KateCodeFoldingTree::unfoldNode (this=0x1ebb2b0, node=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1408 #55 0x00007f2e74c6be9d in KateCodeFoldingTree::deleteNodeFromMap (this=0x1ebb2b0, node=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:600 #56 0x00007f2e74c6bf3e in KateCodeFoldingTree::deleteStartNode (this=0x1ebb2b0, deletedNode=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:626 #57 0x00007f2e74c710c6 in KateCodeFoldingTree::deleteNode (this=0x1ebb2b0, deletedNode=0x2876d20) at /home/tomek2/kde/kate/part/syntax/katecodefolding.h:353 #58 0x00007f2e74c6f7c1 in KateCodeFoldingTree::updateMapping (this=0x1ebb2b0, line=466, newColumns=..., virtualNodeIndex=-1, virtualColumn=0) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1578 #59 0x00007f2e74c6f40a in KateCodeFoldingTree::updateLine (this=0x1ebb2b0, line=466, regionChanges=..., updated=0x7fff9f0d6754, changed=true, colsChanged=false) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1504 #60 0x00007f2e74bfc114 in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=458, endLine=522, invalidate=false) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:706 #61 0x00007f2e74bfaf70 in KateBuffer::ensureHighlighted (this=0x1ebb1e0, line=458) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:250 #62 0x00007f2e74beb217 in KateDocument::kateTextLine (this=0x1ec17a0, i=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:4786 #63 0x00007f2e74c353b7 in KateLineLayout::textLine (this=0x248cfb0, reloadForce=false) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:67 #64 0x00007f2e74c355a9 in KateLineLayout::isValid (this=0x248cfb0) at /home/tomek2/kde/kate/part/render/katelinelayout.cpp:121 #65 0x00007f2e74c30d69 in KateLayoutCache::line (this=0x2160c40, realLine=458, virtualLine=109) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:288 #66 0x00007f2e74c30c6b in KateLayoutCache::updateViewCache (this=0x2160c40, startPos=..., newViewLineCount=37, viewLinesScrolled=0) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:270 #67 0x00007f2e74c93562 in KateViewInternal::tagLines (this=0x215dc60, start=..., end=..., realCursors=true) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1975 #68 0x00007f2e74c932e2 in KateViewInternal::tagLines (this=0x215dc60, start=456, end=458, realLines=true) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1945 #69 0x00007f2e74c82a5c in KateView::tagLines (this=0x215c870, start=456, end=458, realLines=true) at /home/tomek2/kde/kate/part/view/kateview.cpp:1682 #70 0x00007f2e74be3c3c in KateDocument::tagLines (this=0x1ec17a0, start=456, end=458) at /home/tomek2/kde/kate/part/document/katedocument.cpp:3615 #71 0x00007f2e74bcfe00 in KateDocument::qt_metacall (this=0x1ec17a0, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0x7fff9f0d6de0) at /home/tomek2/kde/build/part/katedocument.moc:350 #72 0x00007f2e837955f8 in QMetaObject::activate (sender=0x1ebb1e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9f0d6de0) at kernel/qobject.cpp:3287 #73 0x00007f2e74bfa3d1 in KateBuffer::tagLines (this=0x1ebb1e0, _t1=456, _t2=458) at /home/tomek2/kde/build/part/katebuffer.moc:98 #74 0x00007f2e74bfc26c in KateBuffer::doHighlight (this=0x1ebb1e0, startLine=456, endLine=458, invalidate=true) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:736 #75 0x00007f2e74bfa697 in KateBuffer::editEnd (this=0x1ebb1e0) at /home/tomek2/kde/kate/part/document/katebuffer.cpp:122 #76 0x00007f2e74bd5ccd in KateDocument::editEnd (this=0x1ec17a0) at /home/tomek2/kde/kate/part/document/katedocument.cpp:854 #77 0x00007f2e74c83402 in KateView::removeSelectedText (this=0x215c870) at /home/tomek2/kde/kate/part/view/kateview.cpp:1862 #78 0x00007f2e74bdf301 in KateDocument::backspace (this=0x1ec17a0, view=0x215c870, c=...) at /home/tomek2/kde/kate/part/document/katedocument.cpp:2760 #79 0x00007f2e74c8d86b in KateViewInternal::doBackspace (this=0x215dc60) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:799 #80 0x00007f2e74c859e9 in KateView::backspace (this=0x215c870) at /home/tomek2/kde/kate/part/view/kateview.cpp:2304 #81 0x00007f2e74c749ff in KateView::qt_metacall (this=0x215c870, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7fff9f0d73c0) at /home/tomek2/kde/build/part/kateview.moc:377 #82 0x00007f2e837955f8 in QMetaObject::activate (sender=0x222a7d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff9f0d73c0) at kernel/qobject.cpp:3287 #83 0x00007f2e848f9122 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #84 0x00007f2e848f930f in QAction::activate (this=0x222a7d0, event=<value optimized out>) at kernel/qaction.cpp:1257 #85 0x00007f2e848f947f in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1183 #86 0x00007f2e8554474a in KAction::event (this=<value optimized out>, event=0x7fff9f0d7a00) at ../../kdeui/actions/kaction.cpp:131 #87 0x00007f2e848ff9f4 in QApplicationPrivate::notify_helper (this=0x1c375c0, receiver=0x222a7d0, e=0x7fff9f0d7a00) at kernel/qapplication.cpp:4462 #88 0x00007f2e849043ba in QApplication::notify (this=<value optimized out>, receiver=0x222a7d0, e=0x7fff9f0d7a00) at kernel/qapplication.cpp:4341 #89 0x00007f2e856236c6 in KApplication::notify (this=0x7fff9f0d8f00, receiver=0x222a7d0, event=0x7fff9f0d7a00) at ../../kdeui/kernel/kapplication.cpp:311 #90 0x00007f2e8378049c in QCoreApplication::notifyInternal (this=0x7fff9f0d8f00, receiver=0x222a7d0, event=0x7fff9f0d7a00) at kernel/qcoreapplication.cpp:731 #91 0x00007f2e84931bf0 in sendEvent (this=<value optimized out>, e=0x7fff9f0d7fd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #92 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff9f0d7fd0) at kernel/qshortcutmap.cpp:879 #93 0x00007f2e84933098 in QShortcutMap::tryShortcutEvent (this=0x1c376e8, o=<value optimized out>, e=0x7fff9f0d7fd0) at kernel/qshortcutmap.cpp:364 #94 0x00007f2e84905d25 in QApplication::notify (this=0x7fff9f0d8f00, receiver=0x215dc60, e=0x7fff9f0d7fd0) at kernel/qapplication.cpp:3904 #95 0x00007f2e856236c6 in KApplication::notify (this=0x7fff9f0d8f00, receiver=0x215dc60, event=0x7fff9f0d7fd0) at ../../kdeui/kernel/kapplication.cpp:311 #96 0x00007f2e8378049c in QCoreApplication::notifyInternal (this=0x7fff9f0d8f00, receiver=0x215dc60, event=0x7fff9f0d7fd0) at kernel/qcoreapplication.cpp:731 #97 0x00007f2e849a53d9 in QKeyMapper::sendKeyEvent (keyWidget=0x215dc60, grab=<value optimized out>, type=QEvent::KeyPress, code=16777219, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=22, nativeVirtualKey=65288, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1866 #98 0x00007f2e849a5856 in QKeyMapperPrivate::translateKeyEvent (this=0x1c7aa60, keyWidget=0x215dc60, event=0x7fff9f0d8b60, grab=false) at kernel/qkeymapper_x11.cpp:1836 #99 0x00007f2e8498072f in QApplication::x11ProcessEvent (this=0x7fff9f0d8f00, event=0x7fff9f0d8b60) at kernel/qapplication_x11.cpp:3573 #100 0x00007f2e849a9842 in x11EventSourceDispatch (s=0x1c3caf0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #101 0x00007f2e7f6bbbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #102 0x00007f2e7f6bc3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #103 0x00007f2e7f6bc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #104 0x00007f2e837ab3ef in QEventDispatcherGlib::processEvents (this=0x1be04f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422 #105 0x00007f2e849a94de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #106 0x00007f2e8377f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #107 0x00007f2e8377fabc in QEventLoop::exec (this=0x7fff9f0d8e60, flags=...) at kernel/qeventloop.cpp:201 #108 0x00007f2e83783ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008 #109 0x00007f2e86e682ab in kdemain (argc=1, argv=0x7fff9f0da448) at /home/tomek2/kde/kate/kate/app/katemain.cpp:377 #110 0x0000000000400846 in main (argc=1, argv=0x7fff9f0da448) at /home/tomek2/kde/build/kate/app/kate_dummy.cpp:3 $ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate ==15040== Memcheck, a memory error detector ==15040== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==15040== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==15040== Command: kde/run.sh kate ==15040== kbuildsycoca4 running... ASSERT: "asize <= aalloc" in file /usr/include/qt4/QtCore/qvector.h, line 446 KCrash: Application 'kate' crashing... KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit sock_file=/home/tomek2/.kde/socket-cleversite/kdeinit4__0 QSocketNotifier: Invalid socket 12 and type 'Read', disabling... QSocketNotifier: Invalid socket 16 and type 'Read', disabling... Correct is: ./run.sh valgrind --track-origins=yes --num-callers=25 kate Can you run this again? W dniu 24.02.2012 15:32, Dominik Haumann pisze: > https://bugs.kde.org/show_bug.cgi?id=294666 > > > > > > --- Comment #8 from Dominik Haumann<dhaumann kde org> 2012-02-24 14:32:09 --- > Correct is: > ./run.sh valgrind --track-origins=yes --num-callers=25 kate > > Can you run this again? > OK. Kate run really slow. I attached 2 files. I edited python file (more that 1000 lines), one class with lots of method and docstrings: Example: class API: def x(self): """my description Input: { "dfdf": "dfgfdg", { "sfd": "dfgdg", } } """ some_function() return True To generate errors I collapsed methods below, next I cut selected string (CTRL+X) area: ---------------------------------------------- fd": "dfgdg", } } """ ---------------------------------------------- and press CTRL+Z. Do this repeatable.(collapse/uncollapse this method/docstring and methods bellow) katelogs.txt => without hung up, but I can not scrollbar to the bottom of text. The scrollbar was too short:( katelogs2.txt => with hung up, before I see only (blank page) background without any chars. After pressed "page down" kate hung up. Best Regards, Tomasz Narloch Created attachment 69167 [details]
Attachment to the previous comment
Created attachment 69168 [details]
Attachment to previous comment katelogs2.txt
*** This bug has been marked as a duplicate of bug 294750 *** |