Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66541 - KWord crashes applying autocorrection to an existing document.
Summary: KWord crashes applying autocorrection to an existing document.
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-06 09:29 UTC by Brian O'Reilly
Modified: 2005-01-16 06:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian O'Reilly 2004-10-06 09:29:01 UTC
When autocorrection has been defined, and you attempt to apply it to an existing document, KWord crashes with the following traceback:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 6676)]
[New Thread 32769 (LWP 7429)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 6676)]
[New Thread 32769 (LWP 7429)]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 6676)]
[New Thread 32769 (LWP 7429)]
[KCrash handler]
#4  0x0000003c0b88c34b in QGList::append(void*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#5  0x0000003c0cd9b1ed in KMacroCommand::addCommand(KCommand*) ()
   from /usr/kde/3.3/lib/libkdeui.so.4
#6  0x0000002a96ba8712 in KoAutoFormat::scanParag(KoTextParag*, KoTextObject*)
    () from /usr/lib/libkotext.so.2
#7  0x0000002a96ba8082 in KoAutoFormat::applyAutoFormat(KoTextObject*) ()
   from /usr/lib/libkotext.so.2
#8  0x0000002a968a5400 in KWView::applyAutoFormat() ()
   from /usr/lib/kde3/libkwordpart.so
#9  0x0000002a968afb6f in KWView::qt_invoke(int, QUObject*) ()
   from /usr/lib/kde3/libkwordpart.so
#10 0x0000003c0b641003 in QObject::activate_signal(QConnectionList*, QUObject*)
    () from /usr/qt/3/lib/libqt-mt.so.3
#11 0x0000003c0b640e5c in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#12 0x0000003c0ccb5ba4 in KAction::activated() ()
   from /usr/kde/3.3/lib/libkdeui.so.4
#13 0x0000003c0ccb5659 in KAction::slotActivated() ()
   from /usr/kde/3.3/lib/libkdeui.so.4
#14 0x0000003c0ccb5d51 in KAction::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.3/lib/libkdeui.so.4
#15 0x0000003c0b641003 in QObject::activate_signal(QConnectionList*, QUObject*)
    () from /usr/qt/3/lib/libqt-mt.so.3
#16 0x0000003c0b8fd752 in QSignal::signal(QVariant const&) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0x0000003c0b656a9a in QSignal::activate() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0x0000003c0b722447 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#19 0x0000003c0b66ee95 in QWidget::event(QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#20 0x0000003c0b5f08e2 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#21 0x0000003c0b5f0098 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#22 0x0000003c0c5e9995 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.3/lib/libkdecore.so.4
#23 0x0000003c0b593c0f in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#24 0x0000003c0b59219e in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#25 0x0000003c0b5a6545 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#26 0x0000003c0b5fffe4 in QEventLoop::enterLoop() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#27 0x0000003c0b5ffeb2 in QEventLoop::exec() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#28 0x0000003c0b5f0a85 in QApplication::exec() ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0x0000003c07e01615 in main () from /usr/lib/kword.so
#30 0x0000000000405d39 in ?? ()
#31 0x0000000000406f7a in ?? ()
#32 0x0000000000407510 in ?? ()
#33 0x00000000004083a1 in ?? ()
#34 0x0000002a95f0f828 in __libc_start_main () from /lib/libc.so.6
#35 0x000000000040486a in ?? ()

the document was small, but came into kword as an import of an openoffice doc.
System information follows:

infiltrator ~ # emerge info
Portage 2.0.51_rc7 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo ftp://chod.cwru.edu/gentoo ftp://mirrors.tds.net/gentoo http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dvd encode foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jabber jack java jpeg kde ldap libg++ libwww maildir mikmod motif mozilla mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype xine xml2 xmms xprint xv zlib"



Reproducible: Always
Steps to Reproduce:
1.Define autocorrection criteria in kword
2.Apply autocorrection to preexisting text in kword
3.<crash>

Actual Results:  
The kword frame disappeared, and the crash handler was triggered. 

Expected Results:  
the software should have gone over the text replacing double-quotes with 
typographical quotes. 

when this happened, the system was emerging kdemultimedia.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-11 09:51:49 UTC
which kword version, ispell or aspell, did you emerge <X>spell-<lang> again after upgrading <X>spell?
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-16 06:16:42 UTC
No reply from reporter.