[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    [Bug 249537] New: KWrite crash when replacing text with use of
From:       "=?UTF-8?Q?Micha=C5=82=20D?=.(Emdek)" <emdeck () gmail ! com>
Date:       2010-08-30 19:27:21
Message-ID: bug-249537-4792 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=249537

           Summary: KWrite crash when replacing text with use of escape
                    sequences
           Product: kate
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: kwrite
        AssignedTo: kwrite-devel@kde.org
        ReportedBy: emdeck@gmail.com


Application: kwrite (4.5.00 (KDE 4.5.0))
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.4-desktop-1mnb i686
Distribution: "Mandriva Linux 2010.0"

-- Information about the crash:
I've tried to improve formatting of some CSS files and wanted to replace " {"
with "
{" (using escape sequence \n) but application crashes when trying to do that.

The crash can be reproduced every time.

-- Backtrace:
Application: KWrite (kdeinit4), signal: Aborted
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb5f8aa81 in raise () from /lib/i686/libc.so.6
#9  0xb5f8c3d2 in abort () from /lib/i686/libc.so.6
#10 0xb6cb174a in qt_message_output (msgType=QtFatalMsg, buf=
    0xa0c6f88 "ASSERT: \"position.column() <= text.size()\" in file
/home/mandrake/rpm/BUILD/kdelibs-4.5.0/kate/buffer/katetextblock.cpp, line 87")
at global/qglobal.cpp:2259
#11 0xb6cb194f in qt_message (msgType=QtFatalMsg, msg=0xb6e1e47c "ASSERT:
\"%s\" in file %s, line %d", ap=0xbf88c6f4 "\330\"\200\260T!\200\260W") at
global/qglobal.cpp:2305
#12 0xb6cb1a68 in qFatal (msg=0xb6e1e47c "ASSERT: \"%s\" in file %s, line %d")
at global/qglobal.cpp:2488
#13 0xb6cb1af5 in qt_assert (assertion=0xb08022d8 "position.column() <=
text.size()", file=0xb0802154
"/home/mandrake/rpm/BUILD/kdelibs-4.5.0/kate/buffer/katetextblock.cpp",
line=87)
    at global/qglobal.cpp:2004
#14 0xb0663b5c in Kate::TextBlock::wrapLine (this=0x9f4e9e0, position=...) at
/usr/src/debug/kdelibs-4.5.0/kate/buffer/katetextblock.cpp:87
#15 0xb065c6d4 in Kate::TextBuffer::wrapLine (this=0x9cd4290, position=...) at
/usr/src/debug/kdelibs-4.5.0/kate/buffer/katetextbuffer.cpp:212
#16 0xb06e2f72 in KateBuffer::wrapLine (this=0x9cd4290, position=...) at
/usr/src/debug/kdelibs-4.5.0/kate/document/katebuffer.cpp:258
#17 0xb06c7aae in KateDocument::editWrapLine (this=0x9cd38e8, line=712,
col=125, newLine=true, newLineAdded=0x0) at
/usr/src/debug/kdelibs-4.5.0/kate/document/katedocument.cpp:1160
#18 0xb06cab91 in KateDocument::insertText (this=0x9cd38e8, position=...,
text=..., block=false) at
/usr/src/debug/kdelibs-4.5.0/kate/document/katedocument.cpp:612
#19 0xb06c5123 in KateDocument::replaceText (this=0x9cd38e8, range=..., s=...,
block=false) at
/usr/src/debug/kdelibs-4.5.0/kate/document/katedocument.cpp:4761
#20 0xb0718d23 in KateMatch::replace (this=0xbf88cb94, replacement=...,
blockMode=true, replacementCounter=1) at
/usr/src/debug/kdelibs-4.5.0/kate/search/katematch.cpp:55
#21 0xb071c5b0 in KateSearchBar::findAll (this=0x9ef7968, inputRange=...,
replacement=0xbf88cc4c) at
/usr/src/debug/kdelibs-4.5.0/kate/search/katesearchbar.cpp:777
#22 0xb071cc95 in KateSearchBar::replaceAll (this=0x9ef7968) at
/usr/src/debug/kdelibs-4.5.0/kate/search/katesearchbar.cpp:849
#23 0xb07209ba in KateSearchBar::qt_metacall (this=0x9ef7968,
_c=QMetaObject::InvokeMetaMethod, _id=37, _a=0xbf88cd88) at
/usr/src/debug/kdelibs-4.5.0/build/kate/katesearchbar.moc:121
#24 0xb6dbc93d in QMetaObject::metacall (object=0x9ef7968,
cl=QMetaObject::InvokeMetaMethod, idx=37, argv=0xbf88cd88) at
kernel/qmetaobject.cpp:237
#25 0xb6dcc14c in QMetaObject::activate (sender=0xa043740, m=0xb6c368c4,
local_signal_index=2, argv=0xbf88cd88) at kernel/qobject.cpp:3272
#26 0xb69ea61d in QAbstractButton::clicked (this=0xa043740, _t1=false) at
.moc/release-shared/moc_qabstractbutton.cpp:206
#27 0xb66e67ed in QAbstractButtonPrivate::emitClicked (this=0xa043758) at
widgets/qabstractbutton.cpp:546
#28 0xb66e80db in QAbstractButtonPrivate::click (this=0xa043758) at
widgets/qabstractbutton.cpp:539
#29 0xb66e8396 in QAbstractButton::mouseReleaseEvent (this=0xa043740,
e=0xbf88d494) at widgets/qabstractbutton.cpp:1121
#30 0xb6324c70 in QWidget::event (this=0xa043740, event=0xbf88d494) at
kernel/qwidget.cpp:8158
#31 0xb66e73a0 in QAbstractButton::event (this=0xa043740, e=0xbf88d494) at
widgets/qabstractbutton.cpp:1080
#32 0xb6789688 in QPushButton::event (this=0xa043740, e=0xbf88d494) at
widgets/qpushbutton.cpp:683
#33 0xb62c9a54 in QApplicationPrivate::notify_helper (this=0x9b5ffd8,
receiver=0xa043740, e=0xbf88d494) at kernel/qapplication.cpp:4396
#34 0xb62cf3e0 in QApplication::notify (this=0xbf88d1ac, receiver=0xa043740,
e=0xbf88d494) at kernel/qapplication.cpp:3959
#35 0xb74c44f8 in KApplication::notify (this=0xbf88dd10, receiver=0xa043740,
event=0xbf88d494) at
/usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#36 0xb6db61be in QCoreApplication::notifyInternal (this=0xbf88dd10,
receiver=0xa043740, event=0xbf88d494) at kernel/qcoreapplication.cpp:732
#37 0xb62caafc in sendSpontaneousEvent (receiver=0xa043740, event=0xbf88d494,
alienWidget=0xa043740, nativeWidget=0x9ef7968, buttonDown=0xb6c3f2a0,
lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#38 QApplicationPrivate::sendMouseEvent (receiver=0xa043740, event=0xbf88d494,
alienWidget=0xa043740, nativeWidget=0x9ef7968, buttonDown=0xb6c3f2a0,
lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3056
#39 0xb635565c in QETWidget::translateMouseEvent (this=0x9ef7968,
event=0xbf88d9ac) at kernel/qapplication_x11.cpp:4403
#40 0xb635481e in QApplication::x11ProcessEvent (this=0xbf88dd10,
event=0xbf88d9ac) at kernel/qapplication_x11.cpp:3414
#41 0xb637e8d0 in x11EventSourceDispatch (s=0x9b630a8, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0xb5b5a6ae in g_main_dispatch (context=0x9b620f8) at gmain.c:2119
#43 g_main_context_dispatch (context=0x9b620f8) at gmain.c:2672
#44 0xb5b5e538 in g_main_context_iterate (context=0x9b620f8, block=<value
optimized out>, dispatch=1, self=0x9b60150) at gmain.c:2750
#45 0xb5b5e6de in g_main_context_iteration (context=0x9b620f8, may_block=1) at
gmain.c:2813
#46 0xb6de4bdb in QEventDispatcherGlib::processEvents (this=0x9ae1210,
flags=...) at kernel/qeventdispatcher_glib.cpp:415
#47 0xb637e4ca in QGuiEventDispatcherGlib::processEvents (this=0x9ae1210,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0xb6db53cd in QEventLoop::processEvents (this=0xbf88dc64, flags=...) at
kernel/qeventloop.cpp:149
#49 0xb6db5649 in QEventLoop::exec (this=0xbf88dc64, flags=...) at
kernel/qeventloop.cpp:201
#50 0xb6dba120 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#51 0xb62c77b4 in QApplication::exec () at kernel/qapplication.cpp:3672
#52 0xb53616bf in kdemain (argc=2, argv=0x9b28fa0) at
/usr/src/debug/kdebase-4.5.0/apps/kwrite/kwritemain.cpp:677
#53 0x0804e611 in launch (argc=<value optimized out>, _name=<value optimized
out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x9b1ffcf
"DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=
    false, startup_id_str=0x9b1ffe0
"blackthunder;1283196345;764128;3797_TIME13886283") at
/usr/src/debug/kdelibs-4.5.0/kinit/kinit.cpp:723
#54 0x0804ed4d in handle_launcher_request (sock=8, who=<value optimized out>)
at /usr/src/debug/kdelibs-4.5.0/kinit/kinit.cpp:1215
#55 0x0804fa4c in handle_requests (waitForPid=<value optimized out>) at
/usr/src/debug/kdelibs-4.5.0/kinit/kinit.cpp:1408
#56 0x0805036d in main (argc=4, argv=0xbf88e5a4, envp=0xbf88e5b8) at
/usr/src/debug/kdelibs-4.5.0/kinit/kinit.cpp:1892

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic