[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Fix for Kword 1.1.1 in KDE 2.9.3 & a problem
From: J Drews <j.e.drews () worldnet ! att ! net>
Date: 2002-02-26 5:58:07
[Download RAW message or body]
System Info:
Qt version: qt-x11-free-3.0.2-snapshot-20020222
(from ftp.trolltech.com/snapshots)
Kde 2.9.3 (using cvs >= 20020213) CVS update of 25 Feb 2002
Distro: SuSE 7.3; All development libraries installed
Xfree86-4.1.0
gv-3.5.8
ps-2001.9.19-2
compiled using gcc-2.95.3
Kword 1.1.1 for KDE 2.9.3 (Cvs of 25 Feb)
Hi:
I tried this solution but Kword still crashes.
Problem: Koffice won't compile. It exits make -f Makefile.cvs with the
following error:
*** Creating Makefile templates
*** Postprocessing Makefile templates
Error: Multiple c++ files that include serialletter.moc
serialletter.cc mailmerge.cc
Solution:
At lines 36 and 37 of koffice/kword/mailmerge.cc
REMOVE:
< #include "serialletter.h"
< #include "serialletter.moc"
ADD:
> #include "mailmerge.h"
> #include "mailmerge.moc"
Koffice will then compile
However even after doing this Kword crashes. Output from the command
line:
sommer@linux:~> kword
kio (KTrader): KServiceTypeProfile::offers( KOfficePart, )
kio (KTrader): No profile, using KServiceType::offers, result: 9 offers
kword: desktopEntryPath=Office/kword.desktop library=libkwordpart
kword (formatting): KoZoomHandler::setZoomAndResolution 100 78,81
m_resolutionX=1.083333 m_zoomedResolutionX=1.083333
m_resolutionY=1.125000 m_zoomedResolutionY=1.125000
kword: KActionCollection::KActionCollection( [Null pointer], (nil),
KXMLGUILClient-KActionCollection ): this = 0x80d8868
ASSERT: "i <= nodes" in
/home/sommer/qt-x11-free-3.0.2/include/qvaluelist.h (318)
KCrash: crashing.... crashRecursionCounter = 2
KCrash: Application Name = kword path = <unknown> pid = 18701
The backtrace is:
[New Thread 1024 (LWP 18487)]
0x4142f079 in wait4 () from /lib/libc.so.6
#0 0x4142f079 in wait4 () from /lib/libc.so.6
#1 0x414a78c4 in __DTOR_END__ () from /lib/libc.so.6
#2 0x412e6177 in waitpid () from /lib/libpthread.so.0
#3 0x4065c36c in KCrash::defaultCrashHandler (sig=11) at kcrash.cpp:224
#4 0x412e3bc4 in pthread_sighandler () from /lib/libpthread.so.0
#5 <signal handler called>
#6 0x40a64722 in QObject::inherits (this=0x0, clname=0x404f4289
"QPopupMenu")
at kernel/qobject.cpp:515
#7 0x403f00b7 in KToggleAction::updateChecked (this=0x80ed4d0,
id=135189505)
at kaction.cpp:1121
#8 0x41a4375c in KFormula::KFormulaDocument::KFormulaDocument (
this=0x80e0c30, collection=0x80ebc90, his=0x80eb810)
at kformuladocument.cc:168
#9 0x417fc27f in KWDocument::KWDocument (this=0x80e3570, __in_chrg=1,
parentWidget=0x0, widgetName=0x41604e78 "", parent=0x0,
name=0x41604deb "Document", singleViewMode=false) at kwdoc.cc:185
#10 0x417fb1b6 in KWFactory::createPartObject (this=0x80da450,
parentWidget=0x0, widgetName=0x41604e78 "", parent=0x0,
name=0x41604deb "Document", classname=0x41604e6d "KoDocument")
at kwfactory.cc:66
#11 0x400799ff in KParts::Factory::createPart (this=0x80da450,
parentWidget=0x0, widgetName=0x41604e78 "", parent=0x0,
name=0x41604deb "Document", classname=0x41604e6d "KoDocument",
args=@0xbfffefb4) at factory.cpp:44
#12 0x415d4972 in KoDocumentEntry::createDoc (this=0xbffff054,
parent=0x0,
name=0x41604deb "Document") at koQueryTrader.cc:64
#13 0x415d41ee in KoApplication::start (this=0xbffff0b8) at
koApplication.cc:88
#14 0x406fbe36 in main (argc=1, argv=0x80573b0) at main.cc:42
#15 0x0804ce96 in launch (argc=1, _name=0x80562dc "kword",
args=0x80562e2 "\001", cwd=0x0, envc=1, envs=0x80562f3 "",
reset_env=false, tty=0x0, avoid_loops=false,
startup_id_str=0x80562f7 "linux;1014701365;255821;18447") at
kinit.cpp:537
#16 0x0804dc28 in handle_launcher_request (sock=-1) at kinit.cpp:1005
#17 0x0804e10b in handle_requests (waitForPid=0) at kinit.cpp:1171
#18 0x0804f225 in main (argc=3, argv=0xbffff634, envp=0xbffff644)
at kinit.cpp:1513
#19 0x413a47ee in __libc_start_main () from /lib/libc.so.6
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic