Bug 71682 - When I save a file as non-root in a directory KSpread will crash
Summary: When I save a file as non-root in a directory KSpread will crash
Status: RESOLVED DUPLICATE of bug 66142
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 3.1.4
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-02 16:52 UTC by Lucas Heuman
Modified: 2004-12-31 16:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Heuman 2004-01-02 16:52:15 UTC
Version:           1.2.1 (using KDE KDE 3.1.4)
Installed from:    Slackware Packages
Compiler:          pre-compiled 
OS:          Linux

As a non-root user, I open KSpread and attempt to safe the document. The program will crash. Fresh Install from Slackware 9.1,


Here is the backtrace

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 1787)]

0x40f535c9 in waitpid () from /lib/libpthread.so.0
#0  0x40f535c9 in waitpid () from /lib/libpthread.so.0
#1  0x4063f9ed in KCrash::defaultCrashHandler(int) ()
   from /opt/kde/lib/libkdecore.so.4
#2  0x40f51c45 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40a08d4e in QWidget::~QWidget() () from /usr/lib/qt/lib/libqt-mt.so.3
#5  0x40ae1324 in QScrollBar::~QScrollBar() ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#6  0x40ae456c in QScrollView::~QScrollView() ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#7  0x40aa2a12 in QListBox::~QListBox() () from /usr/lib/qt/lib/libqt-mt.so.3
#8  0x404e6dc6 in KCompletionBox::~KCompletionBox() ()
   from /opt/kde/lib/libkdeui.so.4
#9  0x4040bbbc in KLineEdit::~KLineEdit() () from /opt/kde/lib/libkdeui.so.4
#10 0x40a08e88 in QWidget::~QWidget() () from /usr/lib/qt/lib/libqt-mt.so.3
#11 0x40a6a5a6 in QComboBox::~QComboBox() () from /usr/lib/qt/lib/libqt-mt.so.3
#12 0x404a399e in KComboBox::~KComboBox() () from /opt/kde/lib/libkdeui.so.4
#13 0x40263043 in KURLComboBox::~KURLComboBox() ()
   from /opt/kde/lib/libkio.so.4
#14 0x40a09378 in QWidget::~QWidget() () from /usr/lib/qt/lib/libqt-mt.so.3
#15 0x40a08e88 in QWidget::~QWidget() () from /usr/lib/qt/lib/libqt-mt.so.3
#16 0x40b56d1e in QDialog::~QDialog() () from /usr/lib/qt/lib/libqt-mt.so.3
#17 0x4046f319 in KDialogBase::~KDialogBase() ()
   from /opt/kde/lib/libkdeui.so.4
#18 0x4024567e in KFileDialog::~KFileDialog() () from /opt/kde/lib/libkio.so.4
#19 0x41964c7b in KoFileDialog::~KoFileDialog() ()
   from /opt/kde/lib/libkofficecore.so.2
#20 0x4195fdc5 in KoMainWindow::saveDocument(bool) ()
   from /opt/kde/lib/libkofficecore.so.2
#21 0x419611fd in KoMainWindow::slotFileSaveAs() ()
   from /opt/kde/lib/libkofficecore.so.2
#22 0x4196449b in KoMainWindow::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkofficecore.so.2
#23 0x409d9e50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#24 0x409d9c84 in QObject::activate_signal(int) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#25 0x403ee96b in KAction::activated() () from /opt/kde/lib/libkdeui.so.4
#26 0x403dfddf in KAction::slotActivated() () from /opt/kde/lib/libkdeui.so.4
#27 0x403eeb71 in KAction::qt_invoke(int, QUObject*) ()
   from /opt/kde/lib/libkdeui.so.4
#28 0x409d9e50 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#29 0x40cf16d2 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#30 0x409f3e38 in QSignal::activate() () from /usr/lib/qt/lib/libqt-mt.so.3
#31 0x40ad88ed in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#32 0x40a0e68c in QWidget::event(QEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3
#33 0x4097f035 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#34 0x4097e7d2 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#35 0x405c2c89 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde/lib/libkdecore.so.4
#36 0x40918ca6 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#37 0x409168e4 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#38 0x4092ced7 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#39 0x40992276 in QEventLoop::enterLoop() () from /usr/lib/qt/lib/libqt-mt.so.3
#40 0x40992118 in QEventLoop::exec() () from /usr/lib/qt/lib/libqt-mt.so.3
#41 0x4097f281 in QApplication::exec() () from /usr/lib/qt/lib/libqt-mt.so.3
#42 0x4070819e in main () from /opt/kde/lib/kspread.so
#43 0x0804cbe1 in strcpy ()
#44 0x0804da09 in strcpy ()
#45 0x0804de8c in strcpy ()
#46 0x0804ec3a in strcpy ()
#47 0x410a1d06 in __libc_start_main () from /lib/libc.so.6
Comment 1 Lucas Heuman 2004-01-04 02:38:45 UTC
I also am having the same problem with KWrite.. and saving dialog with other programs in KDE as non-root.

-Luke
Comment 2 Lucas Heuman 2004-01-08 11:45:36 UTC
Alright, I been using root and now get the same problem.. Here is how you recreate the problem. While working in another Saved Document.. open a new Document. Type the document then click save. The program will crash and you will lose your new document. You can avoid this by exiting the program and opening the program again with a fresh document then saving the file. After the file is saved it's harder to recreate the crash.
Comment 3 Waldo Bastian 2004-02-18 22:01:50 UTC
Which Qt version are you using?
Comment 4 Nicolas Goutte 2004-12-31 16:55:24 UTC
This is probably bug #66142. In KOffice 1.3.x there is a work-around for KDE 3.1.x on Qt 3.2.x and in KDE 3.2 the problem does not happen at all.

Have a nice day!

*** This bug has been marked as a duplicate of 66142 ***