EurekaLog newsgroups
Go Back   EurekaLog newsgroups > Support > General
Reply
 
Thread Tools Display Modes
  #1  
Old 13-Dec-2011, 07:05 AM
Thomas Steinmaurer
Guest
 
Posts: n/a
Default Application exception happening only inside VMWare - no useful ELinformation

Hello,

EurekaLog doesn't give me useful information for a case, where the application generates an exception only if running in a VMWare session.

EurekaLog gives me something like:

   2.5 Type          : EAccessViolation
   2.6 Message       : Access violation at address 00000000. Read of  address 00000000.
   2.7 ID            : 3B2F
   2.8 Count         : 1
   2.9 Status        : New
With a call stack information pointing to the product file:

   Call Stack Information:
   -----------------------------------------------------------------
   |Address |Module      |Unit    |Class|Procedure/Method   |Line  |
   -----------------------------------------------------------------
   |Running Thread: ID=3972; Priority=0; Class=; [Main]            |
   |---------------------------------------------------------------| 
   |00C390D8|xxx2.exe    |xxx2.dpr|     |                   |90[15]|
   |766A1172|kernel32.dll|        |     |BaseThreadInitThunk|      |
   -----------------------------------------------------------------
   
   Registers: 
   -----------------------------
   EAX: 00000000   EDI: 0012EDC8
   EBX: 00000000   ESI: 0000001C
   ECX: 072E000F   ESP: 0012B288
   EDX: 0012B28C   EIP: 00000000
   
   Stack:
   -----------------------------
   
   Memory Dump:
   ---------------------------------------------------------------   
Any ideas on what's happening here?


Thanks a lot!



Regards,
Thomas

Last edited by Alex; 15-Dec-2011 at 07:34 AM.
Reply With Quote
  #2  
Old 15-Dec-2011, 07:38 AM
Alex Alex is offline
Support Team
 
Join Date: Jan 2009
Location: Russia
Posts: 1,378
Send a message via ICQ to Alex
Default

Hi,

The error message and CPU state says that you called function via nil pointer.

For example:

// function doesn't exists, GetProcAddress returns nil
P := GetProcAddress(Lib, 'SomeFunction'); 
// you didn't test for assigned and call function immediately
P(1, 'test');
This is not the only case of code, of course. There can be other cases, but the idea is the same.
__________________
Best regards...

Alexander - EurekaLog Developer Team
Reply With Quote
  #3  
Old 15-Dec-2011, 05:02 PM
Thomas Steinmaurer
Guest
 
Posts: n/a
Default Re: Application exception happening only inside VMWare - no usefulELinformation

Hi Alex,

Quote:
The error message and CPU state says that you called function via nil pointer.

For example:


Code:
---------
// function doesn't exists, GetProcAddress returns nil
P := GetProcAddress(Lib, 'SomeFunction');
// you didn't test for assigned and call function immediately
P(1, 'test');
---------
This is not the only case of code, of course. There can be other cases, but the idea is the same.
Thanks! The thing is, without getting a meaningful stack trace, I don't know how to track this issue down.


Regards,
Thomas
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:18 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © EurekaLab s.a.s. - VAT ID: IT05554520824