I'm back with some additional information:
I'm trying to run another application now, and it crashes at the same point as the old one:
mov rdx,qword ptr [rax+rdx*8] ds:00000000`00000000=????????????????
rax is a pointer to the thread local storage:
mov rax, qword ptr gs:[58h]
and the it is zero. Below is the output of the !teb command:
TEB at 000000e7b2ea6000
ExceptionList: 0000000000000000
StackBase: 000000e7b2dc0000
StackLimit: 000000e7b2dba000
SubSystemTib: 0000000000000000
FiberData: 0000000000001e00
ArbitraryUserPointer: 0000000000000000
Self: 000000e7b2ea6000
EnvironmentPointer: 0000000000000000
ClientId: 0000000000005f10 . 0000000000005fa8
RpcHandle: 0000000000000000
Tls Storage: 0000000000000000
PEB Address: 000000e7b2ea5000
LastErrorValue: 0
LastStatusValue: c00700bb
Count Owned Locks: 0
HardErrorMode: 0
If I run the application standlone, it has the TLS initialized.
Any suggestion why this would happens?
thank you