U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Heap errors behavior is dependent on target machine. (Heap errors occur on one machine but not on a another.)
Re: Heap errors behavior is dependent on target machine. [message #45554 is a reply to message #45553] Mon, 30 November 2015 10:05 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
P.S.:

You might also try this, after the first check:

MemDiagCls::~MemDiagCls()
{
	if(--sMemDiagInitCount == 0) {
                printf("Now checking for leaks");
	//	UPP::MemoryDumpLeaks();
        }
}


(That will turn off leaks checking, but will be helpful to check that what the shared library does after checking for leaks).

Another thing to try, nearby:

static const MemDiagCls sMemDiagHelper __attribute__ ((init_priority (101)));


change to

static const MemDiagCls sMemDiagHelper __attribute__ ((init_priority (0)));


- compiler will warn there, but it is worth try
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenGL test
Next Topic: Eigen updated and new FFT demo included
Goto Forum:
  


Current Time: Tue Jun 23 05:41:15 GMT+2 2026

Total time taken to generate the page: 0.00621 seconds