freeze when deleting storage (2.4.9.7 win32 debug)
Florent Lejeune <[email protected]> Tue, 04 Dec 2007 10:53:52 +0100
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Organization | Articque |
| Message-ID | <[email protected]> |
--------------040709000603050606080301
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,
I have a simple program that freezes at delete :
c4_Storage *storage=3DNULL;
const=20
char*path=3D"C:\\zdrop\\SAV\\ActiveX55\\sample_vb2005\\sample_vb\\bin\\Debug=
\\cd\\data.winpi";
storage=3Dnew c4_Storage(path,false);
if (storage!=3DNULL)
{
delete storage;
storage=3DNULL;
}
The file data.winpi has some views with about 100 000 records, but=20
nothing really huge. It has been created with a version 2.4.9.2 probably.
Debugging into metakit I found that in c4_FormatV::c4_FormatV, the loop=20
is really big (_subSeqs.GetSize()=3D109860), this seems strange since I=20
did not try to access the view at all.
In release there is no problem (except when launching release program=20
from visual studio with F5)
Because of this behaviour, I cannot close my application correctly in debug.
Is there any workaround ?
--=20
Tr=E8s cordialement,
Florent Lejeune
D=E9veloppeur
-------------------------
*Articque*
www.articque.com <http://www.articque.com>
Moulin des Roches
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.=
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to metakit-unsubscribe@googlegrou=
ps.com
For more options, visit this group at http://groups.google.com/group/metakit=
?hl=3Den
-~----------~----~----~----~------~----~------~--~---
--------------040709000603050606080301
Content-Type: text/html; charset=ISO-8859-1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Arial">Hello,<br>
<br>
I have a simple program that freezes at delete :<br>
<br>
c4_Storage *storage=NULL;<br>
const
char*path="C:\\zdrop\\SAV\\ActiveX55\\sample_vb2005\\sample_vb\\bin\\Debug\\cd\\data.winpi";<br>
storage=new c4_Storage(path,false);<br>
if (storage!=NULL)<br>
{<br>
delete storage;<br>
storage=NULL;<br>
}<br>
<br>
The file data.winpi has some views with about 100 000 records, but
nothing really huge. It has been created with a version 2.4.9.2
probably.<br>
<br>
Debugging into metakit I found that in c4_FormatV::c4_FormatV, the loop
is really big (_subSeqs.GetSize()=109860), this seems strange since I
did not try to access the view at all.<br>
<br>
In release there is no problem (except when launching release program
from visual studio with F5)<br>
Because of this behaviour, I cannot close my application correctly in
debug.<br>
Is there any workaround ?<br>
<br>
</font></font>
<div class="moz-signature">-- <br>
<font face="Arial" size="2">Très cordialement,</font><br>
<br>
<font color="#c51426" face="Arial" size="3">Florent Lejeune</font><br>
<font face="Arial" size="2">Développeur</font><br>
-------------------------<br>
<b><font face="Arial" size="3">Articque</font></b><br>
<font face="Arial" size="2"><a href="http://www.articque.com">www.articque.com</a><br>
Moulin des Roches<br>
37230 Fondettes - France<br>
tel : 02-47-49-90-49<br>
fax : 02-47-49-91-49<br>
</font></div>
<br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the "metakit" group.
<br> To post to this group, send email to [email protected]
<br> To unsubscribe from this group, send email to [email protected]
<br> For more options, visit this group at http://groups.google.com/group/metakit?hl=en <br> -~----------~----~----~----~------~----~------~--~---<br>
</body>
</html>
<br>
--------------040709000603050606080301--