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 19 years ago

Closed 17 years ago

#391 closed defect (fixed)

An access to a function result (with SQL Server connection) produces a TOL crash

Reported by: Alfredo Torre Owned by: Jorge
Priority: highest Milestone:
Component: DataBase Version: head
Severity: blocker Keywords:
Cc:

Description

1- Open an SQL Server connection

2- Execute:

Set SqlFuncERROR(Real unUsed)
{

Text qry2 =
"
select 'Hola', convert(datetime, '2006-04-01 00:00:00', 120), 1
UNION ALL
select 'Hola', convert(datetime, '2006-04-02 00:00:00', 120), 2
UNION ALL
select 'Hola', convert(datetime, '2006-04-03 00:00:00', 120), 3
";

Set out = DBSeriesColumn(qry2, Eval("Diario"), 0);

Set outConc = EvalSet(out, Serie (Serie ser)
{ SubSer(CalInd(W, Eval("Diario")), y2005, Today) << ser });

outConc

};

Set resultado = SqlFuncERROR(Copy(FALSE));

3- Inspect the serie inside "resultado" either a graph or table: this will make
tol crash.

Thanks

Change History (4)

comment:1 Changed 19 years ago by Jorge

Owner: changed from danirus to Jorge

comment:2 Changed 19 years ago by Jorge

Status: newassigned

working on it

comment:3 Changed 19 years ago by Jorge

We have verified both on windows and linux. On linux a segfault was detected due
to a mismatch between toltcl and tol. After recompiling toltcl the bug
disappear. We are confirming that this is really the cause of the bug reported.

comment:4 Changed 17 years ago by Víctor de Buen Remiro

op_sys: All
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.