Bug 294668 - [kde4.7] python docstring (deleting docstring) another bugs
Summary: [kde4.7] python docstring (deleting docstring) another bugs
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-02-23 09:57 UTC by Tomasz Narloch
Modified: 2018-10-27 03:57 UTC (History)
1 user (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 Tomasz Narloch 2012-02-23 09:57:38 UTC
Application: kate (3.6.5)
KDE Platform Version: 4.6.5 (4.6.5) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-13-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

python file, the same as before. (bug 294666).

1) Collapse a few bottom methods.
2) Get one above and delete/paste docstring text with last quotes """ that ending the docstring.
3) After that I collapse again below methods.
4) After repeated above, editor display all below text color is sillver as comments. Editor not recognize structure below this docsting, but structure is correct and docstring is closed.
5) Last step: Collapse that docstring generate crash.



$ valgrind --track-origins=yes --num-callers=25 kde/run.sh kate
==2310== Memcheck, a memory error detector
==2310== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2310== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==2310== Command: kde/run.sh kate
==2310== 
kbuildsycoca4 running...
ASSERT: "l" in file /home/tomek2/kde/kate/part/render/katelayoutcache.cpp, line 460
KCrash: Application 'kate' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kate), signal: Aborted
[Current thread is 1 (Thread 0x7f38bca08780 (LWP 2314))]

Thread 4 (Thread 0x7f38a9437700 (LWP 2315)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f38aa9462a2 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f38aac5f180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f38aa9462d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f38aac6d254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f38b6528d8c in start_thread (arg=0x7f38a9437700) at pthread_create.c:304
#4  0x00007f38b839604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f38a635d700 (LWP 2316)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f38a635cae0 in ?? ()
#2  0x00007fff0cbff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f38a5958700 (LWP 2317)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f38a5957ae0 in ?? ()
#2  0x00007fff0cbff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f38bca08780 (LWP 2314)):
[KCrash Handler]
#6  0x00007f38b82e3d05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f38b82e7ab6 in abort () at abort.c:92
#8  0x00007f38b8e4fad4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2282
#9  0x00007f38b8e4fc8f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f38b8f9f0a8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff0caf30c0) at global/qglobal.cpp:2328
#10 0x00007f38b8e4fe31 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2511
#11 0x00007f38aa3f268b in KateLayoutCache::lastViewLine (this=0x22dc9b0, realLine=-1) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:460
#12 0x00007f38aa3f26de in KateLayoutCache::viewLineCount (this=0x22dc9b0, realLine=-1) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:466
#13 0x00007f38aa3f24b0 in KateLayoutCache::displayViewLine (this=0x22dc9b0, virtualCursor=..., limitToVisible=true) at /home/tomek2/kde/kate/part/render/katelayoutcache.cpp:437
#14 0x00007f38aa453c4d in KateViewInternal::tagLine (this=0x22d99e0, virtualCursor=...) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1934
#15 0x00007f38aa4531ae in KateViewInternal::updateCursor (this=0x22d99e0, newCursor=..., force=true, center=false, calledExternally=false) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:1851
#16 0x00007f38aa44d615 in KateViewInternal::slotRegionVisibilityChanged (this=0x22d99e0) at /home/tomek2/kde/kate/part/view/kateviewinternal.cpp:674
#17 0x00007f38aa44a2cd in KateViewInternal::qt_metacall (this=0x22d99e0, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fff0caf3620) at /home/tomek2/kde/build/part/kateviewinternal.moc:130
#18 0x00007f38b8f555f8 in QMetaObject::activate (sender=0x20365b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#19 0x00007f38aa327ad7 in KateCodeFoldingTree::regionVisibilityChanged (this=0x20365b0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:121
#20 0x00007f38aa42f909 in KateCodeFoldingTree::foldNode (this=0x20365b0, node=0x2b1fb10) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1330
#21 0x00007f38aa42ff2c in KateCodeFoldingTree::toggleRegionVisibility (this=0x20365b0, l=803) at /home/tomek2/kde/kate/part/syntax/katecodefolding.cpp:1450
#22 0x00007f38aa327975 in KateCodeFoldingTree::qt_metacall (this=0x20365b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff0caf38e0) at /home/tomek2/kde/build/part/moc_katecodefolding.cpp:98
#23 0x00007f38b8f555f8 in QMetaObject::activate (sender=0x22ead60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff0caf38e0) at kernel/qobject.cpp:3287
#24 0x00007f38aa469518 in KateIconBorder::toggleRegionVisibility (this=0x22ead60, _t1=803) at /home/tomek2/kde/build/part/kateviewhelpers.moc:172
#25 0x00007f38aa466756 in KateIconBorder::mouseReleaseEvent (this=0x22ead60, e=0x7fff0caf4290) at /home/tomek2/kde/kate/part/view/kateviewhelpers.cpp:1491
#26 0x00007f38ba110cc8 in QWidget::event (this=0x22ead60, event=0x7fff0caf4290) at kernel/qwidget.cpp:8259
#27 0x00007f38ba0bf9f4 in QApplicationPrivate::notify_helper (this=0x1d58e40, receiver=0x22ead60, e=0x7fff0caf4290) at kernel/qapplication.cpp:4462
#28 0x00007f38ba0c4dc3 in QApplication::notify (this=<value optimized out>, receiver=0x22ead60, e=0x7fff0caf4290) at kernel/qapplication.cpp:4023
#29 0x00007f38bade36c6 in KApplication::notify (this=0x7fff0caf4f80, receiver=0x22ead60, event=0x7fff0caf4290) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f38b8f4049c in QCoreApplication::notifyInternal (this=0x7fff0caf4f80, receiver=0x22ead60, event=0x7fff0caf4290) at kernel/qcoreapplication.cpp:731
#31 0x00007f38ba0c0a1d in sendEvent (receiver=0x22ead60, event=0x7fff0caf4290, alienWidget=0x22ead60, nativeWidget=0x22fccf0, buttonDown=0x7f38baba3218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0x22ead60, event=0x7fff0caf4290, alienWidget=0x22ead60, nativeWidget=0x22fccf0, buttonDown=0x7f38baba3218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#33 0x00007f38ba142190 in QETWidget::translateMouseEvent (this=0x22fccf0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4558
#34 0x00007f38ba140ab7 in QApplication::x11ProcessEvent (this=0x7fff0caf4f80, event=0x7fff0caf4be0) at kernel/qapplication_x11.cpp:3680
#35 0x00007f38ba169842 in x11EventSourceDispatch (s=0x1d5da10, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x00007f38b4e7bbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f38b4e7c3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f38b4e7c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f38b8f6b3ef in QEventDispatcherGlib::processEvents (this=0x1d014f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007f38ba1694de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f38b8f3f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f38b8f3fabc in QEventLoop::exec (this=0x7fff0caf4ee0, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007f38b8f43ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#44 0x00007f38bc6282ab in kdemain (argc=1, argv=0x7fff0caf64c8) at /home/tomek2/kde/kate/kate/app/katemain.cpp:377
#45 0x0000000000400846 in main (argc=1, argv=0x7fff0caf64c8) at /home/tomek2/kde/build/kate/app/kate_dummy.cpp:3

This bug may be a duplicate of or related to bug 281181.

Possible duplicates by query: bug 276930, bug 268779.

Reported using DrKonqi
Comment 1 Dominik Haumann 2012-03-22 22:23:53 UTC
Tomasz, can you please attach the python file, so we have a test case?
Comment 2 Christoph Cullmann 2012-10-27 11:23:08 UTC
Without a testcase and steps to reproduce with it, we can't fix this :(
Comment 3 Andrew Crouthamel 2018-09-23 02:43:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 03:57:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!