ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Old ImageEn 7.5.0 question

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
whisper1980 Posted - Jun 30 2021 : 16:26:31
Longshot but...

We use a fairly old version of ImageEn (7.5.0) in our old Delphi 2007 project that I have been hesitant to update since we now have a newer version of our app that uses the latest ImageEn in Delphi 10.4.2.

A handful of customers are getting an access violation in mfplat.dll using that old app which seems to have only started within the last year (not too many are using the newer version of our app as it is still in beta). They can be just sitting there with the camera tool running (used to take snapshots) doing nothing but displaying the live video feed, then out of the blue they get an access violation in mfplat.dll. I believe they are using the camera tool that uses the media foundation API (we also have a DirectShow version).

I'm leaning towards it being a display driver problem, but just thought I would ask if you know of any past issues your MF API had with mfplat.dll that might be causing these access violations, in which case I would take the time to update that old app to use the latest ImageEn. The EurekaLog bug reports don't help at all... the call stack simply only has mfplat.dll in it and the screenshot is also worthless (using an old EurekaLog tool in that app as well).



Eric
3   L A T E S T    R E P L I E S    (Newest First)
whisper1980 Posted - Jul 05 2021 : 19:55:12
Yes, searched far and wide. The best I could find is that it might be a display driver or codec issue.
https://steamcommunity.com/app/431960/discussions/1/1629663905416695249/

The bug reports tend to only come from a small number of customers (like a total of five out of hundreds). All use an Intel display driver, and most, but not all, use the Intel(R) UHD Graphics 615 (driver 27.20.100.8681).

Frustrating for those five users and frustrating for me not to have a good answer for them. Oh well.


Eric
xequte Posted - Jul 02 2021 : 00:36:11
Hi Eric

Sorry, I have not had any reports of this issue before, so don't have any solutions for you. I assume you've searched the web to see if other users have encountered this error with MMF?

Nigel
Xequte Software
www.imageen.com
whisper1980 Posted - Jun 30 2021 : 16:48:01
This is pretty much the only useful info in the bug report which I assume reflects code in mfplat.dll. Maybe it means something to you. Not all are the same read address and sometimes it is an error writing to an address. This is just one example:

Access violation at address 73269836 in module 'Mfplat.dll'. Read of address 0B990000

Assembler Information:
-------------------------------------------------------------------------------
; Base Address: $73269000, Allocation Base: $731C0000, Region Size: 712704
; Allocation Protect: PAGE_EXECUTE_WRITECOPY, Protect: PAGE_EXECUTE_READ
; State: MEM_COMMIT, Type: MEM_IMAGE
; 
7326980E  880431          MOV         [ECX+ESI], AL
73269811  46              INC         ESI
73269812  83EA01          SUB         EDX, 1
73269815  75F5            JNZ         -$0B                      ; ($7326980C)
73269817  8B4DF4          MOV         ECX, [EBP-$0C]
7326981A  8B55E8          MOV         EDX, [EBP-$18]
7326981D  8B75FC          MOV         ESI, [EBP-4]
73269820  8B45F8          MOV         EAX, [EBP-8]
73269823  03F1            ADD         ESI, ECX
73269825  03C1            ADD         EAX, ECX
73269827  837DEC00        CMP         DWORD PTR [EBP-$14], 0
7326982B  763A            JBE         +$3A                      ; ($73269867)
7326982D  8B4DEC          MOV         ECX, [EBP-$14]
73269830  894DE4          MOV         [EBP-$1C], ECX
73269833  8B4DF4          MOV         ECX, [EBP-$0C]
73269836  0F1006          MOVUPS      XMM0, [ESI]               ; <-- EXCEPTION
73269839  0F188600030000  PREFETCHNTA BYTE PTR [ESI+$00000300]
73269840  0F105E10        MOVUPS      XMM3, [ESI+$10]
73269844  0F105620        MOVUPS      XMM2, [ESI+$20]
73269848  0F104E30        MOVUPS      XMM1, [ESI+$30]
7326984C  83C640          ADD         ESI, $40
7326984F  0F1100          MOVUPS      [EAX], XMM0
73269852  0F115810        MOVUPS      [EAX+$10], XMM3
73269856  0F115020        MOVUPS      [EAX+$20], XMM2
7326985A  0F114830        MOVUPS      [EAX+$30], XMM1
7326985E  83C040          ADD         EAX, $40
73269861  836DE401        SUB         DWORD PTR [EBP-$1C], 1
73269865  75CF            JNZ         -$31                      ; ($73269836)
73269867  85FF            TEST        EDI, EDI
73269869  7415            JZ          +$15                      ; ($73269880)
7326986B  897DE4          MOV         [EBP-$1C], EDI
7326986E  0F1006          MOVUPS      XMM0, [ESI]

Registers:
-----------------------------
EAX: 0C8D0048   EDI: 00000000
EBX: 0B0FFA88   ESI: 0B990000
ECX: 00000000   EBP: 0B0FFA80
EDX: 00000000   ESP: 0B0FFA48
EIP: 73269836   FLG: 00010206
EXP: 73269836   STK: 0B0FFA48


Eric