[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#406590: kword: Crashes when typing an url



Package: kword
Version: 1:1.6.1-1
Severity: important

When trying to type an url in the reported version of kword (haven't
tested on any other version) it crashes just after typing a blank
space, comma, etc. Because of what it says on the backtrace and
because just before crashing the url is converted to a 'live link'.
I've been able to reproduce this problem either by creating a new
document or by opening any document and typing an url (just like
http://google.com, http://www.debian.org, www.debian.org, etc.). The
console output is:

ASSERT: "placeHolderCmd" in
/tmp/buildd/koffice-1.6.1/./lib/kotext/KoTextObject.cpp (278)
KCrash: Application 'kword' crashing...

Attachment is backtrace.

-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-a64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages kword depends on:
ii  kdelibs4c2a            4:3.5.5a.dfsg.1-5 core libraries and binaries for al
ii  koffice-libs           1:1.6.1-1         common libraries and binaries for
ii  kspread                1:1.6.1-1         a spreadsheet for the KDE Office S
ii  kword-data             1:1.6.1-1         data files for KWord word processo
ii  libc6                  2.3.6.ds1-8       GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-19        GCC support library
ii  libpaper1              1.1.21            Library for handling paper charact
ii  libstdc++6             4.1.1-19          The GNU Standard C++ Library v3
ii  libwpd8c2a             0.8.7-4           Library for handling WordPerfect d
ii  libwv2-1c2             0.2.3-1           a library for accessing Microsoft

Versions of packages kword recommends:
ii  libkscan1                     4:3.5.5-2  scanner library for KDE

-- no debconf information


--
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1501005600 (LWP 28605)]
[KCrash handler]
#9  0xa7536a1d in QGList::append (this=0x8, d=0x8a28d20)
    at tools/qglist.cpp:404
#10 0xa6c50267 in KMacroCommand::addCommand (this=0x0, command=0x8a28d20)
    at /usr/share/qt3/include/qptrlist.h:82
#11 0xa5b5f917 in KoTextObject::UndoRedoInfo::clear (this=0x876ec9c)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoTextObject.cpp:290
#12 0xa5b60310 in KoTextObject::clearUndoRedoInfo (this=0x876ec60)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoTextObject.cpp:204
#13 0xa5ba0730 in KoTextObject::insert (this=0x876ec60, cursor=0x8803fe8, 
    currentFormat=0x876eb20, txt=@0xaf9181c4, commandName=@0xa7713808, 
    selectionId=HighlightSelection, insertFlags=4, customItemsMap=@0xaf918054)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoTextObject.cpp:726
#14 0xa5ba28ee in KoTextObject::replaceSelectionCommand (this=0x876ec60, 
    cursor=0x8803fe8, replacement=@0xaf9181c4, cmdName=@0xaf9181c0, 
    selectionId=HighlightSelection, insertFlags=4, customItemsMap=@0xaf9180f4)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoTextObject.cpp:1618
#15 0xa5ba0624 in KoTextObject::insert (this=0x876ec60, cursor=0x8803fe8, 
    currentFormat=0x876eb20, txt=@0xaf9181c4, commandName=@0xaf9181c0, 
    selectionId=HighlightSelection, insertFlags=0, customItemsMap=@0xaf9181bc)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoTextObject.cpp:610
#16 0xa5ba11d4 in KoAutoFormat::doAutoDetectUrl (this=0x817c680, 
    textEditCursor=0x8803fe8, parag=0x8a69fd8, index=@0xaf9182bc, 
    word=@0xaf918270, txtObj=0x876ec60)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoAutoFormat.cpp:1779
#17 0xa5baaacc in KoAutoFormat::doAutoFormat (this=0x817c680, 
    textEditCursor=0x8803fe8, parag=0x8a69fd8, index=35, ch=@0xaf9182e2, 
    txtObj=0x876ec60)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoAutoFormat.cpp:1295
#18 0xa5dab813 in KWTextFrameSetEdit::doAutoFormat (this=0x8809e70, 
    cursor=0x8803fe8, parag=0x8a69fd8, index=35, ch=@0xaf9183fe)
    at /tmp/buildd/koffice-1.6.1/./kword/KWTextFrameSet.cpp:3237
#19 0xa5babe68 in KoTextView::handleKeyPressEvent (this=0x8809e70, 
    e=0xaf918cb0, widget=0x88117b0, pos=@0xaf918470)
    at /tmp/buildd/koffice-1.6.1/./lib/kotext/KoTextView.cpp:241
#20 0xa5e82010 in KWTextFrameSetEdit::keyPressEvent (this=0x8809e70, 
    e=0xaf918cb0) at /tmp/buildd/koffice-1.6.1/./kword/KWTextFrameSet.cpp:3456
#21 0xa5e7658c in KWCanvas::eventFilter (this=0x88117b0, o=0x88117b0, 
    e=0xaf918cb0) at /tmp/buildd/koffice-1.6.1/./kword/KWCanvas.cpp:1862
#22 0xa723c302 in QObject::activate_filters (this=0x88117b0, e=0xaf918cb0)
    at kernel/qobject.cpp:903
#23 0xa723c380 in QObject::event (this=0x88117b0, e=0xaf918cb0)
    at kernel/qobject.cpp:735
#24 0xa7273612 in QWidget::event (this=0x88117b0, e=0xaf918cb0)
    at kernel/qwidget.cpp:4678
#25 0xa71d4c26 in QApplication::internalNotify (this=0xaf91916c, 
    receiver=0x88117b0, e=0xaf918cb0) at kernel/qapplication.cpp:2635
#26 0xa71d6bda in QApplication::notify (this=0xaf91916c, receiver=0x88117b0, 
    e=0xaf918cb0) at kernel/qapplication.cpp:2392
#27 0xa78cae0e in KApplication::notify (this=0xaf91916c, receiver=0x88117b0, 
    event=0xaf918cb0)
    at /home/ana/Debian/kdelibs/kdelibs-3.5.5a.dfsg.1/./kdecore/kapplication.cpp:550
#28 0xa7168495 in QApplication::sendSpontaneousEvent (receiver=0x88117b0, 
    event=0xaf918cb0) at kernel/qapplication.h:523
#29 0xa71596f9 in QETWidget::translateKeyEvent (this=0x88117b0, 
    event=0xaf918fe8, grab=false) at kernel/qapplication_x11.cpp:5636
#30 0xa7165723 in QApplication::x11ProcessEvent (this=0xaf91916c, 
    event=0xaf918fe8) at kernel/qapplication_x11.cpp:3493
#31 0xa717bd02 in QEventLoop::processEvents (this=0x80c5848, flags=4)
    at kernel/qeventloop_x11.cpp:192
#32 0xa71ef179 in QEventLoop::enterLoop (this=0x80c5848)
    at kernel/qeventloop.cpp:198
#33 0xa71eef9a in QEventLoop::exec (this=0x80c5848)
    at kernel/qeventloop.cpp:145
#34 0xa71d67bf in QApplication::exec (this=0xaf91916c)
    at kernel/qapplication.cpp:2758
#35 0xa7f36fd7 in kdemain (argc=1, argv=0x8078b10)
    at /tmp/buildd/koffice-1.6.1/./kword/main.cpp:40
#36 0xa7f39524 in kdeinitmain (argc=1, argv=0x8078b10) at kword_dummy.cpp:3
#37 0x0804e457 in launch (argc=1, _name=0x808798c "kword", 
    args=0x8087992 "\001", cwd=0x0, envc=1, envs=0x80879a2 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80879a7 "nova;1168564650;207181;19636_TIME333545552")
    at /home/ana/Debian/kdelibs/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:673
#38 0x0804ecf9 in handle_launcher_request (sock=9)
    at /home/ana/Debian/kdelibs/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:1240
#39 0x0804f092 in handle_requests (waitForPid=0)
    at /home/ana/Debian/kdelibs/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:1443
#40 0x080502b1 in main (argc=5, argv=0xaf919914, envp=0xaf91992c)
    at /home/ana/Debian/kdelibs/kdelibs-3.5.5a.dfsg.1/./kinit/kinit.cpp:1909
#41 0xa7c9eea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#42 0x0804b911 in _start () at ../sysdeps/i386/elf/start.S:119

Reply to: