OmniThreadLibrary forum
News: SMF - Just Installed!
 
*
Welcome, Guest. Please login or register. May 17, 2012, 06:08:09 PM


Login with username, password and session length


Pages: [1]   Go Down

Author Topic: AQTime Allocation Profiling and OmniThread Library  (Read 209 times)

ahwux

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
AQTime Allocation Profiling and OmniThread Library
« on: January 22, 2012, 10:58:36 AM »

I am using the latest OmniThread Library 3.0 with my application.  When I tried to profile that application using AQTime,  I got the following error

Event   Thread ID   Time
First chance exception 0x0EEDFADE Delphi exception occurred at 0x765DB9BC (class: EAssertionFailed, message: "TOmniBaseContainer: obcPublicRingBuffer is not 8-aligned (C:\CodeGear Components\OmniThreadLibrary-3.0\OtlContainers.pas, line 655)")   3636   23:55:36:082

The program itself is running well by itself.

Any hints? 
Logged

Primoz Gabrijelcic

  • Administrator
  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • Email
Re: AQTime Allocation Profiling and OmniThread Library
« Reply #1 on: January 22, 2012, 11:48:09 AM »

AQTime messes with the memory allocator and doesn't return 16-byte aligned memory. Please report this to SmartBear as a bug.
Logged

ahwux

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: AQTime Allocation Profiling and OmniThread Library
« Reply #2 on: January 22, 2012, 04:43:58 PM »

Thank you -  if I use FastMM 4.99 with OmniThreadLibrary as run time package,  do I need to enable Align16Bytes?
Logged

Primoz Gabrijelcic

  • Administrator
  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • Email
Re: AQTime Allocation Profiling and OmniThread Library
« Reply #3 on: January 22, 2012, 05:36:17 PM »

Yes, you should.
Logged
Pages: [1]   Go Up
 
 

Powered by MySQL Powered by PHP Powered by SMF 2.0.2 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM