4 Dec 10:50
freeze when deleting storage (2.4.9.7 win32 debug)
From: Florent Lejeune <flejeune <at> articque.com>
Subject: freeze when deleting storage (2.4.9.7 win32 debug)
Newsgroups: gmane.comp.db.metakit
Date: 2007-12-04 09:53:52 GMT
Subject: freeze when deleting storage (2.4.9.7 win32 debug)
Newsgroups: gmane.comp.db.metakit
Date: 2007-12-04 09:53:52 GMT
Hello,
I have a simple program that freezes at delete :
c4_Storage *storage=NULL;
const char*path="C:\\zdrop\\SAV\\ActiveX55\\sample_vb2005\\sample_vb\\bin\\Debug\\cd\\data.winpi";
storage=new c4_Storage(path,false);
if (storage!=NULL)
{
delete storage;
storage=NULL;
}
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.
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.
In release there is no problem (except when launching release program from visual studio with F5)
Because of this behaviour, I cannot close my application correctly in debug.
Is there any workaround ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---
I have a simple program that freezes at delete :
c4_Storage *storage=NULL;
const char*path="C:\\zdrop\\SAV\\ActiveX55\\sample_vb2005\\sample_vb\\bin\\Debug\\cd\\data.winpi";
storage=new c4_Storage(path,false);
if (storage!=NULL)
{
delete storage;
storage=NULL;
}
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.
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.
In release there is no problem (except when launching release program from visual studio with F5)
Because of this behaviour, I cannot close my application correctly in debug.
Is there any workaround ?
--
Très cordialement,
Florent Lejeune
Développeur
-------------------------
Articque
www.articque.com
Moulin des Roches
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49
Très cordialement,
Florent Lejeune
Développeur
-------------------------
Articque
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 metakit <at> googlegroups.com
To unsubscribe from this group, send email to metakit-unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
-~----------~----~----~----~------~----~------~--~---
RSS Feed