Bug 54541

Summary: kspread crashes when accessing cell operations via dcop
Product: [Applications] calligrasheets Reporter: Lauri Ojantakanen <lauri.ojantakanen>
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED FIXED    
Severity: crash CC: holger-kde
Priority: NOR    
Version: 1.2.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Lauri Ojantakanen 2003-02-12 16:25:18 UTC
Version:           1.2.1 (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc version 2.95.3 20010315 (SuSE) 
OS:          Linux

Accessing kspread's cell's via kspread's dcop interface causes crash. For example kspread-30931->0x815bff4->align(). After debugging the code I noticed that
m_table pointer in KSpreadCellIface is not illegal pointer value (0x18, for example). I
guess this does not get initialized?
Comment 1 Lauri Ojantakanen 2003-02-12 17:28:00 UTC
Actually,  
 
I wanted to say that  
m_table pointer in KSpreadCellIface IS illegal value. 
Comment 2 Norbert Andres 2003-02-28 22:31:02 UTC
Subject: Re: kspread crashes when accessing cell operations via dcop

Yes there is a bug in the code. But your dcop code won't work even with the 
fix: you need to call "setCell( table, point )" first.

Comment 3 Ariya Hidayat 2003-05-09 12:41:09 UTC
*** Bug 57518 has been marked as a duplicate of this bug. ***
Comment 4 Ariya Hidayat 2003-05-10 20:41:49 UTC
Thank you for your bug report.
The bug has been fixed in the CVS version of KSpread.