close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 15 years ago

#871 closed defect (fixed)

Segfault in Excel API

Reported by: Jorge Owned by: Jorge
Priority: highest Milestone: Mantainance
Component: Excel API Version: 2.0.1
Severity: blocker Keywords: segfault, excel
Cc:

Description

The following code with the attached data file generate a segfault

Real id = Excel.Open( "data.xls" );

Real Excel.ActivateWS( id, 1 );

Real row = 1;
Text cell = "";
While(cell=="",
{
 Text cell := Excel.ReadText( id, row, 3 );
 Real row := row+1
});

Attachments (1)

data.xls (36.5 KB) - added by Jorge 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Jorge

Attachment: data.xls added

comment:1 Changed 15 years ago by Jorge

Status: newaccepted

comment:2 Changed 15 years ago by Jorge

(In [2026]) refs #871, now TOL does not segfault. The Excel API considers the index 0-based and this should be changed in order to be consistent with the indexing in TOL which is 1-based

comment:3 Changed 15 years ago by Jorge

Resolution: fixed
Status: acceptedclosed

(In [2478]) closes #871, cell indices are now 1-based

Note: See TracTickets for help on using tickets.