19-05-2015 03:24 PM
We are importing large amounts of data into MEGA. After some time errors of the following form turn up repeatedly and often:
* -- MEGA Session (MEGA 2009 Service Pack 5 patch 11 0725.3903) -- * Date: 2015/05/19 15:05:52
System : Windows 7 Service Pack 1 (Build 7601). IE: 9.11.9600.17728.
Site : arag it (c:\program files (x86)\mega\mega 2009 sp5\system) de PID(00001ca8)
Location : C:\Users\****\AppData\Local\Mega
Erroneous Alias Link between Link "Ordner von Elementen.Unterordner" and Sub(Restricting) Link"Ordner Anwendungen.Unterordner". The attribute "Assoziatives Objekt" on the Sub Link doesn't exist for the Alias Link .
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:07:04
Access already freed : 65b36d10
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:07:33
Access already freed : 8fb44a8
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:07:57
Access already freed : 90c3208
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:07:57
Access already freed : 90c7a38
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:07:57
Access already freed : 90c06b8
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:07:57
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:07:57
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:07:57
native exception attempting a COM Release()
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:08:18
Access already freed : 65a329d0
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:08:30
Access already freed : 8e4a110
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:08:35
Access already freed : 8f4fe50
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:09:17
Access already freed : 905b398
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:09:22
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:09:58
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:09:58
native exception attempting a COM Release()
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:10:10
Access already freed : 65b203b0
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:10:22
Access already freed : 65b374a0
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:10:22
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:11:12
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:11:12
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:11:27
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:11:37
native exception attempting a COM Release()
Thread(0380);rpgbmses.cpp(634) : error Private: 0x0000FFFF 15:11:39
exception 0xc0000005: EXCEPTION_ACCESS_VIOLATION try to read at 0x07654a68 at
address 0x7654a68 : GenericProviderCreate+0xa1e
>>> See Dump File : C:\Users\****\AppData\Local\Mega\MDMgad.dmp
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:11:49
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:12:11
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:12:35
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:12:35
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:12:53
native exception attempting a COM Release()
Thread(0380);accapi.cpp(848) : error Application: 0x01008012 15:12:53
Access already freed : 5250f448
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:12:53
native exception attempting a COM Release()
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:13:08
Access already freed : 8fb50b0
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:13:08
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:13:12
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:13:37
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:13:41
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:13:43
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:14:07
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:14:37
native exception attempting a COM Release()
Thread(19b4);accapi.cpp(848) : error Application: 0x01008012 15:14:43
Access already freed : 8fb1fe0
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:14:54
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:15:59
native exception attempting a COM Release()
Thread(19b4);javautil.cpp(1336) : error Private: 0x00008012 15:16:15
native exception attempting a COM Release()
Thread(0380);rpgbmses.cpp(481) : error Private: 0x0000FFFF 15:16:15
exception 0xc0000005: EXCEPTION_ACCESS_VIOLATION try to read at 0x0764b8cf at
address 0x764b8cf : RpTextFmtSave+0x3390
>>> See Dump File : C:\Users\****\AppData\Local\Mega\MDMgae.dmp
Thread(0380);rpgbmses.cpp(634) : error Private: 0x0000FFFF 15:16:19
exception 0xc0000005: EXCEPTION_ACCESS_VIOLATION try to read at 0x0764b914 at
address 0x764b914 : RpTextFmtSave+0x33d5
>>> See Dump File : C:\Users\****\AppData\Local\Mega\MDMgaf.dmp
Thread(0380);rpgbmses.cpp(481) : error Private: 0x0000FFFF 15:16:22
exception 0xc0000005: EXCEPTION_ACCESS_VIOLATION try to read at 0x0764b8cf at
address 0x764b8cf : RpTextFmtSave+0x3390
>>> See Dump File : C:\Users\****\AppData\Local\Mega\MDMgb0.dmp
Thread(0380);rpgbmses.cpp(634) : error Private: 0x0000FFFF 15:16:25
exception 0xc0000005: EXCEPTION_ACCESS_VIOLATION try to read at 0x0764b87d at
address 0x764b87d : RpTextFmtSave+0x333e
>>> See Dump File : C:\Users\****\AppData\Local\Mega\MDMgb1.dmp
Thread(0380);rpgbmses.cpp(634) : error Private: 0x0000FFFF 15:16:27
exception 0xc0000005: EXCEPTION_ACCESS_VIOLATION try to read at 0x0764b87d at
address 0x764b87d : RpTextFmtSave+0x333e
(
Why do these errors occur? "Access already freed" suggests that MEGA unilaterally discards some objects we still want to use.
How can we cleanly do such a batch import process? It involves creating large amounts of Objects of different MetaClasses, setting their properties and linking them. Currently we obtain a MegaCurrentSession, invoke its getRoot() to get a MegaRoot from wich we add objects via
root.getCollection("MetaClassName").add("ObjectName")
and then work with the MegaObjects via
obj.setProp("PropertyName", "PropertyValue");
MegaCollection coll = obj.getCollection("MetaAssociationName").filter("MetaClassName").add(linkedObj);