Bug 187488

Summary: kate crashes when open this file
Product: [Applications] kate Reporter: Denis <denis.kot>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: file

Description Denis 2009-03-18 10:08:39 UTC
Version:           3.2.1 (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

when I try to open this file kate crashes
here is the file:
http://torrents.by/forum/includes/init_bb.php.orig
Comment 1 Denis 2009-03-18 10:09:22 UTC
Created attachment 32230 [details]
file
Comment 2 Dario Andres 2009-03-18 13:37:54 UTC
Here using:

Qt: 4.5.0 + qt-copy-patches-936035
KDE: 4.2.66 (KDE 4.2.66 (KDE 4.3 >= 20090310))
kdelibs svn rev. 939600 / kdebase svn rev. 939602
on ArchLinux i686 - Kernel 2.6.28.7

I can't reproduce the crash when opening that testcase file.

If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 3 Denis 2009-03-18 14:07:04 UTC
is that enough?
Application: Kate (kate), signal SIGSEGV

Thread 1 (Thread 0xb5c256c0 (LWP 28029)):
[KCrash Handler]
#6  0xb433c2e3 in KateFileLoader::open (this=0xbfc7ea54) at /build/buildd/kde4libs-4.2.1a/kate/document/katebuffer.cpp:180
#7  0xb4337d0d in KateBuffer::openFile (this=0x994aaa0, m_file=@0xbfc7ed74) at /build/buildd/kde4libs-4.2.1a/kate/document/katebuffer.cpp:529
#8  0xb431e385 in KateDocument::openFile (this=0x98f85c0) at /build/buildd/kde4libs-4.2.1a/kate/document/katedocument.cpp:3376
#9  0xb7fa496a in KParts::ReadOnlyPart::openUrl (this=0x98f85c0, url=@0xbfc7eec8) at /build/buildd/kde4libs-4.2.1a/kparts/part.cpp:558
#10 0xb7ff8d0f in ?? () from /usr/lib/libkateinterfaces.so.4
#11 0xb8011a8c in ?? () from /usr/lib/libkateinterfaces.so.4
#12 0xb8011ecf in ?? () from /usr/lib/libkateinterfaces.so.4
#13 0xb8012320 in ?? () from /usr/lib/libkateinterfaces.so.4
#14 0xb6bb8a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb6bb8e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb70505f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#17 0xb7050f5f in QAction::activate () from /usr/lib/libQtGui.so.4
#18 0xb7476612 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#19 0xb7399d53 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb739a026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#21 0xb7476b0c in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#22 0xb70ae962 in QWidget::event () from /usr/lib/libQtGui.so.4
#23 0xb739803e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#24 0xb74765d4 in QToolButton::event () from /usr/lib/libQtGui.so.4
#25 0xb70568ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0xb705f0e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb7b7010d in KApplication::notify (this=0xbfc80108, receiver=0x9c6c780, event=0xbfc7f728) at /build/buildd/kde4libs-4.2.1a/kdeui/kernel/kapplication.cpp:307
#28 0xb6ba3e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0xb705e36e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#30 0xb70c8656 in ?? () from /usr/lib/libQtGui.so.4
#31 0xb70c79e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#32 0xb70f17aa in ?? () from /usr/lib/libQtGui.so.4
#33 0xb601f718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb6022dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0xb6022f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0xb6bce478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb70f0ea5 in ?? () from /usr/lib/libQtGui.so.4
#38 0xb6ba252a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#39 0xb6ba26ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#40 0xb6ba4da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#41 0xb7056767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#42 0xb804b73d in kdemain () from /usr/lib/libkdeinit4_kate.so
#43 0x08048672 in _start ()
Comment 4 Dario Andres 2009-03-18 14:09:26 UTC
Yes. it's enought. What encoding are you using/selecting ? This looks like a duplicate of bug 178789 (cyrilic related)
Thanks
Comment 5 Denis 2009-03-18 14:18:45 UTC
yes. looks like this is duplicate of bug 178789

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