Bug 273084

Summary: kwrite crashs on open file containing very long line
Product: [Applications] kate Reporter: Alexandr <sss123next>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: cullmann
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexandr 2011-05-11 23:50:30 UTC
Application: kwrite (4.6.3 (4.6.3))
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.4-zen x86_64
Distribution: "Gentoo Base System release 2.0.2"

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

kdesu kwrite /root/.paludis-everything-resume-file
crash window just appear after a few seconds

-- Backtrace:
Application: KWrite (kwrite), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff21e00d760 (LWP 29632))]

Thread 2 (Thread 0x7ff20a573700 (LWP 29770)):
#0  0x00007ff218fc761c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff20a705cf4 in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007ff20a705d29 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007ff218fc2d4c in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff21d984bdd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff21e00d760 (LWP 29632)):
[KCrash Handler]
#6  0x00007ff21c0915b1 in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib64/qt4/libQtGui.so.4
#7  0x00007ff20ad83786 in KateRenderer::cursorToX(KateTextLayout const&, KTextEditor::Cursor const&) const () from /usr/lib64/libkatepartinterfaces.so.4
#8  0x00007ff20ad8383e in KateRenderer::cursorToX(KateTextLayout const&, KTextEditor::Cursor const&, bool) const () from /usr/lib64/libkatepartinterfaces.so.4
#9  0x00007ff20add9fd9 in KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) () from /usr/lib64/libkatepartinterfaces.so.4
#10 0x00007ff20adda894 in KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) () from /usr/lib64/libkatepartinterfaces.so.4
#11 0x00007ff20adc4317 in KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) () from /usr/lib64/libkatepartinterfaces.so.4
#12 0x00007ff20ad61427 in KateDocument::openFile() () from /usr/lib64/libkatepartinterfaces.so.4
#13 0x00007ff21cf87730 in KParts::ReadOnlyPartPrivate::openLocalFile() () from /usr/lib64/libkparts.so.4
#14 0x00007ff21cf87d76 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib64/libkparts.so.4
#15 0x00007ff21dc4b59e in KWriteApp::init() () from /usr/lib64/libkdeinit4_kwrite.so
#16 0x00007ff21dc4be0f in KWriteApp::KWriteApp(KCmdLineArgs*) () from /usr/lib64/libkdeinit4_kwrite.so
#17 0x00007ff21dc48899 in kdemain () from /usr/lib64/libkdeinit4_kwrite.so
#18 0x00007ff21d8cce3d in __libc_start_main () from /lib64/libc.so.6
#19 0x0000000000400789 in _start ()

Possible duplicates by query: bug 272993, bug 263686, bug 253962, bug 247331.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2011-06-25 16:21:35 UTC

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