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

List:       koffice
Subject:    Re: Export - Kword Crash
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-08-25 12:36:20
[Download RAW message or body]

I was just thinking: are you working with bitmap fonts for your scripts? 
(Bitmap font files ends in pcf or bdf, with or without a compression 
extension like .gz)

If they do, then you should not develop with KWord, as KOffice cannot handle 
correctly bitmap fonts anymore. (As they are only made for display and cannot 
print, they have not enough data for WYSIWYG.)

In any case, if I were you I would first develop my new QTextCodec on a small 
Qt-only program (perhaps modify one of the Qt examples.) Then I would try 
Kate (KDE's editor; KEdit being more or less obsolete.) Then only I would try 
complex applications like those of KOffice. The problem is that otherwise you 
do not know if the problem comes from your code or not.

I hope that I could help you a little. I am sorry to come so late in this 
discussion.

Have a nice day!

On Monday 25 August 2003 11:13, Bharathi S wrote:
> On Tue, 19 Aug 2003, David Faure wrote:
> > > When I try to export a file to our encoding (Which uses our new
> > > codec) the kword application is crashed (Not always, But often).
> > > Any tips to solve it ?
> >
> > Not without a backtrace from gdb.
>
> BrackTrace From Kde Crash Handler :
>
> [New Thread 1102031424 (LWP 9066)]
> 0xffffe002 in ?? ()
> #0  0xffffe002 in ?? ()
> #1  0x406bbced in KCrash::defaultCrashHandler(int) ()
>    from /usr/local/kde/lib/libkdecore.so.4
> #2  <signal handler called>
> #3  0x40b5549f in QWidget::~QWidget() () from
>    /usr/local/qt/lib/libqt.so.3
> #4  0x40c2c6f7 in QScrollBar::~QScrollBar() ()
>    from /usr/local/qt/lib/libqt.so.3
> #5  0x40c2f269 in QScrollView::~QScrollView() ()
>    from /usr/local/qt/lib/libqt.so.3
> #6  0x40beeff4 in QListBox::~QListBox() () from
>    /usr/local/qt/lib/libqt.so.3
> #7  0x4054f462 in KCompletionBox::~KCompletionBox() ()
>    from /usr/local/kde/lib/libkdeui.so.4
> #8  0x4048fc0d in KLineEdit::~KLineEdit() ()
>    from /usr/local/kde/lib/libkdeui.so.4
> #9  0x40b555d0 in QWidget::~QWidget() () from
>    /usr/local/qt/lib/libqt.so.3
> #10 0x40bb8fbc in QComboBox::~QComboBox() () from
>    /usr/local/qt/lib/libqt.so.3
> #11 0x405137c5 in KComboBox::~KComboBox() ()
>    from /usr/local/kde/lib/libkdeui.so.4
> #12 0x402e9293 in KURLComboBox::~KURLComboBox() ()
>    from /usr/local/kde/lib/libkio.so.4
> #13 0x40b55b01 in QWidget::~QWidget() () from
>    /usr/local/qt/lib/libqt.so.3
> #14 0x40b555d0 in QWidget::~QWidget() () from
>    /usr/local/qt/lib/libqt.so.3
> #15 0x40ca0a8f in QDialog::~QDialog() () from
>    /usr/local/qt/lib/libqt.so.3
> #16 0x404e55eb in KDialogBase::~KDialogBase() ()
>    from /usr/local/kde/lib/libkdeui.so.4
> #17 0x402cee8c in KFileDialog::~KFileDialog() ()
>    from /usr/local/kde/lib/libkio.so.4
> #18 0x4007db2c in ~KoFileDialog (this=0x832a4f0) at
>    koMainWindow.cc:600
> #19 0x40078c9a in KoMainWindow::saveDocument(bool) (this=0x80e5cd0,
>     saveas=true) at koMainWindow.cc:600
> #20 0x40079c53 in KoMainWindow::slotFileSaveAs() (this=0x80e5cd0)
>     at koMainWindow.cc:774
> #21 0x4007c74c in KoMainWindow::qt_invoke(int, QUObject*)
>    (this=0x80e5cd0, _id=77, _o=0xbfffde10) at koMainWindow.moc:156
> #22 0x40b26849 in QObject::activate_signal(QConnectionList*,
>    QUObject*) () from /usr/local/qt/lib/libqt.so.3
> #23 0x40b26649 in QObject::activate_signal(int) ()
>    from /usr/local/qt/lib/libqt.so.3
> #24 0x40476c0c in KAction::activated() () from
>    /usr/local/kde/lib/libkdeui.so.4
> #25 0x404678af in KAction::slotActivated() ()
>    from /usr/local/kde/lib/libkdeui.so.4
> #26 0x40476dac in KAction::qt_invoke(int, QUObject*) ()
>    from /usr/local/kde/lib/libkdeui.so.4
> #27 0x40b26849 in QObject::activate_signal(QConnectionList*,
>    QUObject*) () from /usr/local/qt/lib/libqt.so.3
> #28 0x40e4f382 in QSignal::signal(QVariant const&) ()
>    from /usr/local/qt/lib/libqt.so.3
> #29 0x40b3f60d in QSignal::activate() () from
>    /usr/local/qt/lib/libqt.so.3
> #30 0x40c24281 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
>    from /usr/local/qt/lib/libqt.so.3
> #31 0x40b5abef in QWidget::event(QEvent*) () from
>    /usr/local/qt/lib/libqt.so.3
> #32 0x40ace209 in QApplication::internalNotify(QObject*, QEvent*) ()
>    from /usr/local/qt/lib/libqt.so.3
> #33 0x40acd99e in QApplication::notify(QObject*, QEvent*) ()
>    from /usr/local/qt/lib/libqt.so.3
> #34 0x4063cc00 in KApplication::notify(QObject*, QEvent*) ()
>    from /usr/local/kde/lib/libkdecore.so.4
> #35 0x40a6b84f in QETWidget::translateMouseEvent(_XEvent const*) ()
>    from /usr/local/qt/lib/libqt.so.3
> #36 0x40a69521 in QApplication::x11ProcessEvent(_XEvent*) ()
>    from /usr/local/qt/lib/libqt.so.3
> #37 0x40a7e0f6 in QEventLoop::processEvents(unsigned) ()
>    from /usr/local/qt/lib/libqt.so.3
> #38 0x40adf6c7 in QEventLoop::enterLoop() () from
>    /usr/local/qt/lib/libqt.so.3
> #39 0x40adf584 in QEventLoop::exec() () from
>    /usr/local/qt/lib/libqt.so.3
> #40 0x40ace45c in QApplication::exec() () from
>    /usr/local/qt/lib/libqt.so.3
> #41 0x40018117 in main (argc=1, argv=0xbfffe8e4) at main.cc:43
> #42 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
>
> > Debug Message from Kword ( Compiled with Debug option )
>
> <snip>
>
> kio (KDirWatch):  Setup Stat (freq 500) for /home/sbharathi
> kio_file: ========= LIST file:/home/sbharathi =========
> kio_file: ============= COMPLETED LIST ============
> kio_file: =============== BYE ===========
> kio (KDirListerCache): [void KDirListerCache::slotEntries(KIO::Job*,
> const KIO::UDSEntryList&)] new entries for file:/home/sbharathikword:
> ERROR: filesharelist not found in
> /usr/local/qt/bin:/usr/sbin:/sbin:/usr/local/qt/bin:/usr/sbin:/sbin:
> /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/sbharathi/bin:/usr/sbin
> kio (KDirListerCache): [void KDirListerCache::slotResult(KIO::Job*)]
> finished listing file:/home/sbharathi
> kio (KIOJob): stat file:/home/sbharathi/pattutst2.txt
> kio (KIOJob): error 11 /home/sbharathi/pattutst2.txt
> kio (KDirLister): [virtual void KDirLister::stop()]
> kio (KDirListerCache): [void KDirListerCache::stop(KDirLister*)]
> lister: 0x82939c8
> kio (KDirLister): [virtual void KDirLister::stop()]
> kio (KDirListerCache): [void KDirListerCache::stop(KDirLister*)]
> lister: 0x82939c8
> kio (KDirLister): -KDirLister
> kio (KDirLister): [virtual void KDirLister::stop()]
> kio (KDirListerCache): [void KDirListerCache::stop(KDirLister*)]
> lister: 0x82939c8
> kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*)]
> 0x82939c8
> kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*,
> const KURL&, bool)] 0x82939c8 url: file:/home/sbharathi
> kio (KDirListerCache): [void KDirListerCache::forgetDirs(KDirLister*,
> const KURL&, bool)] 0x82939c8 item moved into cache:
> file:/home/sbharathi
> kio (KDirWatch):  Stopped Polling Timer
> kio (KDirWatch): Removed Dir /home/sbharathi [KDirWatch-1]
> DCOP: unregister 'kword-9772'
> DCOPServer : slotTerminate() -> sending terminateKDE signal.
> klauncher: KLauncher::process ---> terminateKDE
> kdeinit: terminate KDE.
> kio (KDirWatch): Removed Dir /home/sbharathi/.kde/share/applnk
> [KDirWatch-1]
>
> </snip>
>
>
> Thanks,

____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice

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

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