Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Required simple MT lesson
Re: Required simple MT lesson [message #40822 is a reply to message #40821] Sat, 21 September 2013 18:01 Go to previous messageGo to previous message
mubeta is currently offline  mubeta
Messages: 77
Registered: October 2006
Member
So, maybe I have some news more.

The crash is caused bye an object used for load an external dll library
else
{
  RLOG("3");
  commLoop = 0;
  RLOG("3.1");
  RLOGHEXDUMP((const void *)&vBusHandle, sizeof(vBusHandle));
  if(vBusHandle != 0) if(Bus().IsPortOpen(vBusHandle)) Bus().ClosePort(&vBusHandle);	  
  RLOG("3.2");
}


The Object Bus() is used only in one hide thread, of the multithread applications. But it is "declared"? "build"? using dli utility of U++.
For now, I modify the code for don't call the IsPortOpen function if the handle is 0, (and the application don't crash). But I belive that the problem is not solved.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: TcpSocket: send data from server to client
Next Topic: INTERLOCK and Mutex object
Goto Forum:
  


Current Time: Thu May 09 07:10:43 CEST 2024

Total time taken to generate the page: 0.02628 seconds