Bug 54541 - kspread crashes when accessing cell operations via dcop
Summary: kspread crashes when accessing cell operations via dcop
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 1.2.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
: 57518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-12 16:25 UTC by Lauri Ojantakanen
Modified: 2003-05-10 20:41 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 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.