Author |
Topic: crash in OEC client constructor (16 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
We're seeing a crash that appears to originate inside the OECClient constructor. See this screenshot: http://i51.tinypic.com/2d7t3k9.png
(Apologies for the poor quality; it's what the customer gave us.) Given that the constructor takes no arguments, I'm not sure how it could be caused by some action of our application. The machine that triggered this is 64-bit. Has this library been well-tested on 64-bit machines? Thanks for any help you can provide. -Grant Edited by THarnett81 on Sep 19, 2011 at 17:56:13 Edited by THarnett81 on Sep 19, 2011 at 17:56:48 |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
According this call stack the issue is inside .NET platform. We will research what combination of factors could lead to it.
OEC Trader on 64-bit machine is running in 64-bit mode. Victor Vins Lead Software Developer |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
is OECAPI constructor calling from partially trusted code? Victor Vins Lead Software Developer |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
Not entirely sure what you mean by "partially trusted".
It's code that I wrote, and is fully part of the application. The machine is 64-bit, but our application is running in 32-bit mode. We haven't done a full 64-bit mode build yet. |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
Any luck?
|
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Nope. Is it possible to share with me the list of modules that are loaded in your application? Looks like some of them is not recognized correctly by .NET
Victor Vins Lead Software Developer |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
From the References folder in this project:
OpenECry/CommLib.dll OpenECry/ProtoSharp.Core.dll System System.configuration System.Core System.Windows.Forms System.Xml.Linq System.Data.DataSetExtensions System.Data System.Xml WindowsBase Plus 2 other libraries that are stuff we wrote; they don't much interact with the Windows innards. |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Could you please try to execute System.Diagnostics.Process.GetCurrentProcess().Modules.Length? It looks like .NET platform is malfunctioning on this machine.
Victor Vins Lead Software Developer |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
Unfortunately, it is a customer's machine and not mine.
Would it be adequate to write a small program that runs this command, and ask the user to run it? Or is it required that I add this call to my application to properly test this hypothesis? It could be done, though it is not appealing. |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
OECAPI is relying on success call of Process.Modules. If .NET platform on this machine is failing on this call, OECAPI constructor will not suppress it.
Victor Vins Lead Software Developer |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
[deleted by poster]
Edited by THarnett81 on Sep 27, 2011 at 09:59:28 |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
That didn't exactly answer my question.
If I wrote a simple app that called that function, would that be sufficient to test the user's installation? Or would I need to alter my application? |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
It could be something wrong with one of your modules in the application.
Victor Vins Lead Software Developer |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
Victor, in my last two posts of this thread, I've asked basically the same two yes-or-no questions. Each of your replies has studiously avoided giving me any answer to those questions.
|
||||
VictorV Posts: 746 Joined: May 08, 2007 |
I think this should be your decision how to check it.
Victor Vins Lead Software Developer |
||||
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
I put it that call (I assume you meant "Count" rather than "Length") in my app, and it executed without problem.
However, I tried it on my dev machine, and not on the customer's machine. The customer has not responded since the initial report; until (unless) he gets back in touch, we cannot further attempt to reproduce this crash. It's likely that this crash has caused the customer to abort evaluation of our product, unfortunately. |
||||