By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2871 - Segfault in TQTextParagraph::setFormat
Summary: Segfault in TQTextParagraph::setFormat
Status: NEEDINFO
Alias: None
Product: TDE
Classification: Unclassified
Component: qt3 (show other bugs)
Version: R14.1.x [Trinity]
Hardware: amd64 Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2018-02-03 16:17 CST by luke-jr+trinitybugs
Modified: 2018-08-05 05:44 CDT (History)
2 users (show)

See Also:
Compiler Version: GCC 7.3.0
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luke-jr+trinitybugs 2018-02-03 16:17:43 CST
#0  operator== (s1=..., s2=...) at tools/qstring.cpp:6779
#1  0x00007f07fb29a1e8 in operator!= (s1=..., s2=...) at tools/qstring.cpp:6787
#2  0x00007f07fb031b94 in TQTextParagraph::setFormat (this=0x558aa86e64e0, index=<optimized out>, 
    index@entry=0, len=<optimized out>, len@entry=644, f=f@entry=0x558aaf4401f0, 
    useCollection=useCollection@entry=true, flags=flags@entry=-1) at kernel/qrichtext.cpp:4520
#3  0x00007f07fb10fc86 in TQSyntaxHighlighter::setFormat (this=this@entry=0x558aad68f250, 
    start=start@entry=0, count=644, color=...) at widgets/qsyntaxhighlighter.cpp:170
#4  0x00007f07f5435e27 in KSyntaxHighlighter::highlightParagraph (this=this@entry=0x558aad68f250, 
    text=...)
    at /var/tmp/portage/trinity-base/tdelibs-9999/work/tdelibs-9999/tdeui/ksyntaxhighlighter.cpp:155
#5  0x00007f07f5436b6c in KSpellingHighlighter::highlightParagraph (this=0x558aad68f250, text=..., 
    paraNo=7)
    at /var/tmp/portage/trinity-base/tdelibs-9999/work/tdelibs-9999/tdeui/ksyntaxhighlighter.cpp:197
#6  0x00007f07fb110062 in TQSyntaxHighlighterInternal::process (this=0x558aabf44870, 
    doc=<optimized out>, p=0x558aa86e64e0, invalidate=<optimized out>)
    at ../include/private/qsyntaxhighlighter_p.h:71
#7  0x00007f07fb03b442 in TQTextParagraph::format (this=0x558aa86e64e0, start=start@entry=-1, 
    doMove=doMove@entry=true) at kernel/qrichtext.cpp:4298
#8  0x00007f07fb03fc9c in TQTextCursor::insert (this=0x558aa3c85830, str=..., 
    checkNewLine=checkNewLine@entry=false, formatting=formatting@entry=0x0) at kernel/qrichtext.cpp:591
#9  0x00007f07fb1506aa in TQTextEdit::insert (this=0x558aa5419d00, text=..., 
    insertionFlags=<optimized out>) at widgets/qtextedit.cpp:3111
#10 0x00007f07fb151493 in TQTextEdit::insert (removeSelected=true, checkNewLine=false, indent=true, 
    text=..., this=0x558aa5419d00) at widgets/qtextedit.cpp:3046
#11 TQTextEdit::keyPressEvent (this=this@entry=0x558aa5419d00, e=e@entry=0x7ffeba588750)
    at widgets/qtextedit.cpp:1471
#12 0x00007f07f5346313 in KEdit::keyPressEvent (this=0x558aa5419d00, e=0x7ffeba588750)
    at /var/tmp/portage/trinity-base/tdelibs-9999/work/tdelibs-9999/tdeui/keditcl1.cpp:560
#13 0x00007f07fc47c7e5 in KMEdit::keyPressEvent (this=0x558aa5419d00, e=0x7ffeba588750)
    at /var/tmp/portage/trinity-base/kmail-9999/work/kmail-9999/kmail/kmedit.cpp:139
#14 0x00007f07fb01bd85 in TQWidget::event (this=0x558aa5419d00, e=0x7ffeba588750)
    at kernel/qwidget.cpp:4792
#15 0x00007f07faf8000f in TQApplication::internalNotify (this=<optimized out>, 
    receiver=0x558aa5419d00, e=0x7ffeba588750) at kernel/qapplication.cpp:2883
#16 0x00007f07faf8039e in TQApplication::notify (this=this@entry=0x7ffeba588fd0, 
    receiver=receiver@entry=0x558aa5419d00, e=e@entry=0x7ffeba588750) at kernel/qapplication.cpp:2595
#17 0x00007f07fbab091e in TDEApplication::notify (this=0x7ffeba588fd0, receiver=0x558aa5419d00, 
    event=0x7ffeba588750)
    at /var/tmp/portage/trinity-base/tdelibs-9999/work/tdelibs-9999/tdecore/tdeapplication.cpp:660
#18 0x00007f07faf17d88 in TQETWidget::translateKeyEvent (this=this@entry=0x558aa5419d00, 
    event=event@entry=0x7ffeba588c20, grab=grab@entry=false) at kernel/qapplication_x11.cpp:5747
#19 0x00007f07faf21b33 in TQApplication::x11ProcessEvent (this=0x7ffeba588fd0, 
    event=event@entry=0x7ffeba588c20) at kernel/qapplication_x11.cpp:3599
#20 0x00007f07faf5f06e in TQEventLoop::processEvents (this=0x558a923b5fb0, flags=4)
    at kernel/qeventloop_x11.cpp:196
#21 0x00007f07faf96e99 in TQEventLoop::enterLoop (this=0x558a923b5fb0) at kernel/qeventloop.cpp:227
#22 0x00007f07faf96d75 in TQEventLoop::exec (this=0x558a923b5fb0) at kernel/qeventloop.cpp:174
#23 0x0000558a9211ce3e in main (argc=<optimized out>, argv=<optimized out>)
    at /var/tmp/portage/trinity-base/kmail-9999/work/kmail-9999/kmail/main.cpp:110

#1  0x00007f07fb29a1e8 in operator!= (s1=..., s2=...) at tools/qstring.cpp:6787
6787    { return !(s1==s2); }
(gdb) print &s2
$12 = (const TQString *) 0x331
Comment 1 Michele Calgaro 2018-08-05 05:44:42 CDT
Can you add some info on how to reproduce this problem?