![]() |
【转帖】hang on unload pattern manager
hang on unload pattern manager
hang on unload pattern manager my version is 2.05.02 i now that during unload the library when there are unfreed dd objects the application hang. i suppose to have such situation. 1. i'm loading dwg file, adding pattern using: code: m_pdb->appservices()->patternmanager()->appendpattern( oddbhatch::kcustomdefined, vodpatstr, m_hatchpattern);2. then adding dd objects. 3. save new dwg file. 4. during uninitialize (oduninitialize) system crash(hang) in procedure: code: odhatchpatternmanagerimpl::~odhatchpatternmanagerimpl() + 0x53 bytes c++and keep doing loop in code: __old_sbh_decommit_pagesi can reproduce it also by adding: code: exhostappservices::~exhostappservices(void) { m_patternmanager.release(); // <-- hang m_patternmanager = null; }i'm almost sure that all objects are freed because i'm counting all of them. it is not repetable for all of dwg files i read in 1st step. is it possible that the dwg files is a bit wrong and cause this. tia michal last edited by michał krzesiak; 17th march 2009 at 05:39 amfff">. |
所有的时间均为北京时间。 现在的时间是 01:21 AM. |