Hi Matthias, we do not have a MedSave/MicroBird tracker at our institution, so I cannot debug into it. Does it happen in the destructor or in the CloseConnection() method? Maybe you can debug into the code and see what is wrong with m_TransmitterConfig. It should be initialized in OpenConnection and deleted in CloseConnection().
Regards, Jochen > -----Ursprüngliche Nachricht----- > Von: Matthias Noll [mailto:[email protected]] > Gesendet: Donnerstag, 4. Juni 2009 16:02 > An: Mitk Mailingliste > Betreff: [mitk-users] Problem with the destruction of a functionality > which makes use of the MedSAFE tracking device > > Hi, > > I have a problem with a functionality, which makes use of the MedSAFE > tracking device. As soon as I close the MainApp and having previously > selected/clicked my functionality, I get a debug assertion failure > thrown from within the dbgdel.cpp: > > Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse) > > The problem seems to be caused by one of the following calls. I have > tried various combinations with them, in my functionality code: > > m_Source->StopTracking(); > m_Source->Disconnect(); > m_Source = NULL; > m_Tracker = NULL; > > I tried to go through the calls as well and the problem seems to > originate from: > > delete [] m_TransmitterConfig; > > I dont't know how I can prevent this form happening. > > Regards, > Matthias > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
