KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
122239
:
KSpread crashes when closing the aplication
P
roduct
:
kspread
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
crash
V
otes
:
0
Description
:
Opened:
2006-02-18 19:26
Last Changed:
2006-02-27 01:34:05
Version: 1.5beta1 (using KDE KDE 3.5.0) Installed from: Ubuntu Packages OS: Linux Procedure: - Open attached document - Close KSpread it crashes KCrash output: --------------------------- (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) --- (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1231370560 (LWP 9484)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #7 0xb60758a8 in KSpread::Cluster::lookup () from /usr/lib/libkspreadcommon.so.0 #8 0xb60789c2 in KSpread::Sheet::cellAt () from /usr/lib/libkspreadcommon.so.0 #9 0xb60806d6 in KSpread::Point::cell () from /usr/lib/libkspreadcommon.so.0 #10 0xb618b37e in KSpread::DependencyList::updateCell () from /usr/lib/libkspreadcommon.so.0 #11 0xb618bf60 in KSpread::DependencyList::processDependencies () from /usr/lib/libkspreadcommon.so.0 #12 0xb618c1c4 in KSpread::DependencyManager::cellChanged () from /usr/lib/libkspreadcommon.so.0 #13 0xb618c272 in KSpread::Sheet::valueChanged () from /usr/lib/libkspreadcommon.so.0 #14 0xb618c2e1 in KSpread::Cell::valueChanged () from /usr/lib/libkspreadcommon.so.0 #15 0xb618c5f4 in KSpread::Cell::~Cell () from /usr/lib/libkspreadcommon.so.0 #16 0xb61ac2fe in KSpread::Cluster::clear () from /usr/lib/libkspreadcommon.so.0 #17 0xb61ac49c in KSpread::Sheet::~Sheet () from /usr/lib/libkspreadcommon.so.0 #18 0xb62085ef in QPtrList<KSpread::Sheet>::deleteItem () from /usr/lib/libkspreadcommon.so.0 #19 0xb75f512a in QGList::clear () from /usr/lib/libqt-mt.so.3 #20 0xb6089521 in KSpread::Map::~Map () from /usr/lib/libkspreadcommon.so.0 #21 0xb6169c92 in KSpread::Doc::~Doc () from /usr/lib/libkspreadcommon.so.0 #22 0xb67395bc in KoMainWindow::setRootDocument () from /usr/lib/libkofficecore.so.3 #23 0xb674c2fd in KoMainWindow::closeEvent () from /usr/lib/libkofficecore.so.3 #24 0xb73357d5 in QWidget::event () from /usr/lib/libqt-mt.so.3 #25 0xb740527a in QMainWindow::event () from /usr/lib/libqt-mt.so.3 #26 0xb7291f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #27 0xb7292cf6 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #28 0xb7915e37 in KApplication::notify () from /usr/lib/libkdecore.so.4 #29 0xb7222db7 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3 #30 0xb733475f in QWidget::close () from /usr/lib/libqt-mt.so.3 #31 0xb6733ba4 in KoMainWindow::slotFileQuit () from /usr/lib/libkofficecore.so.3 #32 0xb678ca6f in KoMainWindow::qt_invoke () from /usr/lib/libkofficecore.so.3 #33 0xb72fa929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #34 0xb72fb3c4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #35 0xb6d68d19 in KAction::activated () from /usr/lib/libkdeui.so.4 #36 0xb6d9d742 in KAction::slotActivated () from /usr/lib/libkdeui.so.4 #37 0xb6db83b6 in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4 #38 0xb6db8646 in KAction::qt_invoke () from /usr/lib/libkdeui.so.4 #39 0xb72fa929 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #40 0xb7659e92 in QSignal::signal () from /usr/lib/libqt-mt.so.3 #41 0xb7318344 in QSignal::activate () from /usr/lib/libqt-mt.so.3 #42 0xb741d963 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3 #43 0xb6d754ed in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4 #44 0xb7335356 in QWidget::event () from /usr/lib/libqt-mt.so.3 #45 0xb7291f80 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #46 0xb7292500 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #47 0xb7915e37 in KApplication::notify () from /usr/lib/libkdecore.so.4 #48 0xb7222e25 in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3 #49 0xb721e072 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #50 0xb721c66f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #51 0xb7235fff in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #52 0xb72a9cfb in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #53 0xb72a9c1e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #54 0xb7290c13 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #55 0xb67d2ec9 in kdemain () from /usr/lib/libkdeinit_kspread.so #56 0xb7f5e540 in kdeinitmain () from /usr/lib/kde3/kspread.so #57 0x0804df8d in ?? () #58 0x00000002 in ?? () #59 0x08140f18 in ?? () #60 0x00000001 in ?? () #61 0x00000000 in ?? () #62 0x00000000 in ?? () #63 0x00000000 in ?? () #64 0x00000006 in ?? () #65 0xbf97725c in ?? () #66 0xbf977248 in ?? () #67 0xbf977254 in ?? () #68 0xbf977250 in ?? () #69 0xbf977258 in ?? () #70 0x00000000 in ?? () #71 0x00000000 in ?? () #72 0x00000000 in ?? () #73 0x00000000 in ?? () #74 0x00000000 in ?? () #75 0x00000000 in ?? () #76 0x00000000 in ?? () #77 0x00000000 in ?? () #78 0x00000000 in ?? () #79 0x08140e9b in ?? () #80 0x08140e54 in ?? () #81 0x00000002 in ?? () #82 0x00000000 in ?? () #83 0x00000000 in ?? () #84 0x08141710 in ?? () #85 0x00000000 in ?? () #86 0x00000000 in ?? () #87 0x00000000 in ?? () #88 0x00000000 in ?? () #89 0x00000000 in ?? () #90 0x00000000 in ?? () #91 0xb4000000 in ?? () #92 0x00004006 in ?? () #93 0x00000000 in ?? () #94 0x00000000 in ?? () #95 0x80000000 in ?? () #96 0xb778d630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #97 0x00000000 in ?? () #98 0x00000000 in ?? () #99 0x00000000 in ?? () #100 0x08051400 in vtable for QCString () #101 0x08141428 in ?? () #102 0x08051400 in vtable for QCString () #103 0x08141438 in ?? () #104 0x08051400 in vtable for QCString () #105 0x08141740 in ?? () #106 0x08051400 in vtable for QCString () #107 0x08141740 in ?? () #108 0x08051400 in vtable for QCString () #109 0x08140ee0 in ?? () #110 0xb778d630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #111 0x08140ee0 in ?? () #112 0xb778d630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #113 0x08141438 in ?? () #114 0xb778d630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #115 0x08141428 in ?? () #116 0x0000000c in ?? () #117 0xb7effcd0 in ?? () from /usr/lib/libstdc++.so.6 #118 0x0000000c in ?? () #119 0x08140edb in ?? () #120 0xb778d630 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #121 0x08140ef0 in ?? () #122 0x0000000c in ?? () #123 0xb7770460 in ?? () from /usr/lib/libqt-mt.so.3 #124 0xbf977238 in ?? () #125 0xb75ecb26 in QGArray::duplicate () from /usr/lib/libqt-mt.so.3 #126 0x0804e605 in ?? () #127 0x00000000 in ?? () #128 0x00000001 in ?? () #129 0x08140eac in ?? () #130 0x00000000 in ?? () #131 0x00000000 in ?? () #132 0x00000000 in ?? () #133 0x08140eb0 in ?? () #134 0x00000000 in ?? () #135 0x00000001 in ?? () #136 0x00000001 in ?? () #137 0x00000002 in ?? () #138 0x00000008 in ?? () #139 0x08140e50 in ?? () #140 0x08140e54 in ?? () #141 0x08140e5c in ?? () #142 0x00000000 in ?? () #143 0x00000001 in ?? () #144 0x08140e9f in ?? () #145 0x00000000 in ?? () #146 0x00000000 in ?? () #147 0x08140eb0 in ?? () #148 0x08140edb in ?? () #149 0x08140e9f in ?? () #150 0x00000000 in ?? () #151 0x00000000 in ?? () #152 0x08051400 in vtable for QCString () #153 0x0805a478 in ?? () #154 0x08051400 in vtable for QCString () #155 0x0805a468 in ?? () #156 0x0077b858 in ?? () #157 0x80cd0000 in ?? () #158 0x0000000a in ?? () #159 0x0000008b in ?? () #160 0x00000000 in ?? () #161 0xbf97747c in ?? () #162 0x00000000 in ?? () #163 0x00002451 in ?? () #164 0x00002451 in ?? () #165 0xbf977588 in ?? () #166 0x0804ebec in ?? () #167 0x0000000a in ?? () #168 0xbf97747c in ?? () #169 0xbf9773fc in ?? () #170 0xbf97737c in ?? () #171 0x00000000 in ?? () #172 0xb7df3900 in __malloc_initialize_hook () from /lib/tls/i686/cmov/libc.so.6 #173 0x080c59c0 in ?? () #174 0xbf977388 in ?? () #175 0xb7d2b2ca in free () from /lib/tls/i686/cmov/libc.so.6 ---------------------------
Comment
#1
Miquel Torres 2006-02-18 19:28:34
Created an attachment (id=14759)
[details]
makes KSpread crash on exit (same document as in bug
https://bugs.kde.org/show_bug.cgi?id=122237
)
Comment
#2
Robert Knight 2006-02-18 23:26:41
Ouch. This is nasty. I have done a little research into the problem, I think what is happening is that when deleting cells which cells in other sheets depend upon a crash occurs if those dependant cells are on sheets which have already been deleted.
Comment
#3
Robert Knight 2006-02-18 23:30:25
Found another bug when looking into this one. 1. Open a new blank document 2. Enter "=Sheet2!A1" into cell Sheet1!A1 3. Switch to Sheet2 4. Enter any value into cell Sheet2!A1 5. Press Enter and the view switches back to Sheet1, with the newly entered value appearing in cell Sheet1!A2 (ie. just below the original formula) This appears to only happen if there are no formulae on Sheet2.
Comment
#4
Stefan Nikolaus 2006-02-19 12:37:21
SVN commit 511264 by nikolaus: unset the choice's sheet, if the cell choosing ends avoids unwanted sheet switching CCBUG: 122239 M +43 -43 kspread_canvas.cc
Comment
#5
Stefan Nikolaus 2006-02-19 12:43:51
I can't reproduce the original issue. I just have to open the doc and close it right?
Comment
#6
Miquel Torres 2006-02-19 12:52:43
>I can't reproduce the original issue. I just have to open the doc and close it right?
Yes, you understood correctly. Are you using the beta or SVN?
Comment
#7
Stefan Nikolaus 2006-02-19 12:57:23
SVN. But I think Robert also does.
Comment
#8
Miquel Torres 2006-02-19 13:52:56
Well, Robert did seem to be able to reproduce the crash, so a particular package configuration may matter (KDE 3.5.1? distro?)
Comment
#9
Robert Knight 2006-02-19 15:08:04
I am using SVN KSpread / KDE 3.5.1 / Kubuntu Breezy This bug happens more often than not for me but it is slightly sporadic. Ideally I want to fix this properly but if I cannot debug the cause properly we could add in a hack to prevent any cell dependency updates whilst the program is shutting down.
Comment
#10
Robert Knight 2006-02-20 15:56:28
Stefan, if you add "d=0;" to make the sheet's d-pointer null at the end of the Sheet destructor (which would have no effect if the program was behaving correctly), it should make the crash happen more reliably.
Comment
#11
Stefan Nikolaus 2006-02-20 22:16:00
I'm not able to reproduce it, even with setting the d-pointer to 0. KDE build from sources (SVN 507025) Qt 3.3.5 (qt-copy w/ applied patches) SuSE Linux 10.0 OSS kernel 2.6.15.1 (build from sources) gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
Comment
#12
Robert Knight 2006-02-27 01:34:05
Disabled automatic recalculation of dependancies when closing the sheet. This prevents situations where the emptying of a cell in one sheet would cause a crash if the program tried to remove dependancies from a cell in another sheet which had already been deleted.
P
latform
:
Ubuntu Packages
O
S
:
Linux
K
eywords
:
People
Reporter
:
Miquel Torres
Assigned To
:
Robert Knight
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
makes KSpread crash on exit (same document as in bug https://bugs.kde.org/show_bug.cgi?id=122237)
(17.61 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-02-18 19:28
,
Miquel Torres
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In