Unity3d crashed cause of MaxstAR.dll - 0xC000001D: Illegal Instruction,after first USB camera frames
Please provide your development details as below;
1. SDK Version: ? arsdk_version.txt file in streaming assets have zero size (unity package installed about month ago)
2. Development Environment: Unity-Android, Unity-iOS. Crashed in Unity-Windows-Editor.
3. Tracker/Scanner:
4. License Type: Pro-One Time:
5. Target Device(Optional):
Good day, support.
unity3d crash persists 100% just after first frames seen in unity taken by camera.
Windows7 x64 SP1, 32GB ram, geforce 1080, AMD phenom x6 1090T @3.2.
Unity3D 2019.4.1f1
camera A4 tech PK-910H
Unable to debug application in editor. have stable unity editor crash, when camera plugged in.
Any solution?
MaxstAR.dll MaxstAR.dll Assets\Plugins\x86_64\MaxstAR.dll N/A N/A Cannot find or open the PDB file. 151 15.05.2020 4:50 000007FEC87C0000-000007FEC8E43000 [13692] Unity.exe
> MaxstAR.dll!000007fec8858cab()
MaxstAR.dll!000007fec885bd31()
MaxstAR.dll!000007fec88f9844()
MaxstAR.dll!000007fec8910a37
MaxstAR.dll!000007fec89109a8
MaxstAR.dll!000007fec8884492
MaxstAR.dll!000007fec8878509
MaxstAR.dll!000007fec881a7d7
MaxstAR.dll!000007fec87fea86
MaxstAR.dll!000007fec87fdd69
ucrtbase.dll!000007fee51982dd
kernel32.dll!BaseThreadInitThunk
ntdll.dll!RtlUserThreadStart
000007FEC8858C53 mov r14,qword ptr [rsp+80h]
000007FEC8858C5B lea esi,[rbp+10h]
000007FEC8858C5E mov r10,qword ptr [rsp+38h]
000007FEC8858C63 mov r15,qword ptr [rsp+90h]
000007FEC8858C6B mov rax,qword ptr [rsp+78h]
000007FEC8858C70 mov rcx,r15
000007FEC8858C73 mov rdx,qword ptr [r14+28h]
000007FEC8858C77 mov r8,qword ptr [r14+30h]
000007FEC8858C7B add rdx,r10
000007FEC8858C7E mov r9,qword ptr [r14+38h]
000007FEC8858C82 add r8,r10
000007FEC8858C85 mov r11,qword ptr [rsp+70h]
000007FEC8858C8A add r9,r10
000007FEC8858C8D add r10,qword ptr [r14+40h]
000007FEC8858C91 mov rbx,qword ptr [rsp+68h]
000007FEC8858C96 mov rdi,qword ptr [rsp+60h]
000007FEC8858C9B mov rbp,qword ptr [rsp+0A8h]
000007FEC8858CA3 movdqu xmm1,xmmword ptr [rdx]
000007FEC8858CA7 lea rcx,[rcx+40h]
000007FEC8858CAB pmulld xmm1,xmmword ptr [rax] // crash hire. 0xC000001D: Illegal Instruction.
000007FEC8858CB0 movdqu xmm0,xmmword ptr [r8]
000007FEC8858CB5 lea rdx,[rdx+40h]
000007FEC8858CB9 pmulld xmm0,xmmword ptr [r11]
000007FEC8858CBF paddd xmm1,xmm3
000007FEC8858CC3 lea r8,[r8+40h]
000007FEC8858CC7 paddd xmm1,xmm0
000007FEC8858CCB movdqu xmm0,xmmword ptr [r9]
000007FEC8858CD0 lea r9,[r9+40h]
000007FEC8858CD4 pmulld xmm0,xmmword ptr [rbx]
000007FEC8858CD9 paddd xmm1,xmm0
i suggest, that native library using sse4.1 withut check cpu abilityes?
phenom x6 1090T support only sse 4.0a?
so any solution ?
(this system upgrade not suggested. have other systems which also better, but mostly work on this system)
Thanks for your interest to our MAXST AR SDK.
Would you check minimum requirements and supports available for MAXST AR SDK?
Unfortunatly, We don't support OS Window7.
Please check the minimim requirement.
- Unity : Unity 5.6.2, 2017 upper
- Android : Android OS 4.3 upper
- iOS : iOS 9.0 upper
-Windows : Windows 10 upper and Visual Studio 2017 upper
- macOS macOS 10.10 upper
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team
good day.
As i can suggest - problem not in OS version. Of cource i can work on different machine, but only if no way to solve this problem.
i can't see CPU requerements in SDK. Your native code using SSE and not checking is CPU supports this instruction or not. Am i correct?
So if your SDK requeres CPU support SSE 4.2 - please specify it. If possible please give library, that compiled withoud SSE 4.2. I understand that specified CPU too old but in most cases it enought for work and I suggest - you won't do this, but i hope that you will. If sse code not manually generated - i suggest not hard to change settings in compiler and made version for old cpus or even made SSE version detection and choose branch of basic slow code or fast SSE version.
And of cource trying to use unsupported cpu operations and crash host application - not best behavior.
sorry for weak English.
Did you connect USB Camera?
If a camera is connected, select the web camera from the Webcam Type.
Please reference to bottom picture.
Currently, MAXST is using the native library using sse2 from emmintrin.h.
But, We are review what you requested.
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team
Good day. i gived line that causes crash. Of cource camera was connected, selected, resolution was selected (actually crashes in both cases - fullhd and 720p).
i was able to see at least one frame from camera in UnityEditor, but just after that - crash occurs 100% if ANY camera connected, not only USB version, but even with droid cam.
instruction in your native library (as i can suggest) MaxstAR.dll:
pmulld xmm1,xmmword ptr [rax] // crash hire. 0xC000001D: Illegal Instruction.
based wikipedia - pmulld is SSE 4.1 - it not SSE 2.
https://en.wikipedia.org/wiki/SSE4
And as i can see AMD Phenom x6 1090T support only SSE 4.0a
So i suggest - it crash reason.
Am i wrong?
Sorry for the trouble.
And Thanks for your suggest and giving me valuable information.
We will hold an internal review on these SSE matters.
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team
If you are looking for excellent fintech solutions, then this company fintech app specialists for hire is what you need! After all, based on their ten years of experience in this field, consultants will advise you on the best solution specifically for your situation and needs. Finding the best fintech developers has never been so easy!
Hello! Optimize your international expansion efforts with our BOT Scheme: Step-by-Step Process | BOT Ukraine. We provide a complex solution that covers market research, infrastructure setup, and skilled experts hiring, ensuring a strong foundation for your business.
With the assistance of a cloud automation services engineer, a company can expedite the time-to-market for its products or services. By implementing automation at different stages of the development and deployment process, businesses can accelerate their delivery cycles, allowing them to maintain a competitive advantage over their rivals. This increased speed and agility not only give companies an edge in the market but also enhance customer satisfaction. Use this link to hire an automation team!
On the off chance that you are searching for fantastic fintech arrangements, this FinTech App Development Company for recruit is what you really want! All things considered, in light of their decade of involvement with this field, experts will exhort you on the best arrangement explicitly for your circumstance and necessities. Finding the best fintech developers has never been so natural!
Are you looking for a fintech software development company? There are many reputable companies in the market that specialize in software development for the finance industry. It's essential to choose a company that has experience in developing customized fintech solutions, including mobile and web applications, payment processing systems, and security solutions. You may want to research and compare different companies to find the one that best fits your specific needs and budget.