LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW executable with .NET controls crash, if operating system's regional format is Turkish

Tested with Windows 7 and LabVIEW 2009 and 2010:

 

Crash is very easy to reproduce:

 

1. Go to Windows Control panel -> Region and Language -> In the first tab, set format: Turkish (Turkey) -> Apply change (doesn't need system restart)

2. Start LabVIEW (2009 or 2010) and create a blank VI.

3. From the .NET palette, drag the MonthCalendar to your front panel. In many cases it crashes at this point.

4. Save the VI and build an application exe about it.

5. Run the built application: it doesn't start, just crashes. From the Windows event viewer you can get some information:

 

Faulting application name: TurkishCrash.exe, version: 1.0.0.0, time stamp: 0x4b47dc79

Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86

Exception code: 0xe0434f4d

Fault offset: 0x0000c42d

Faulting process id: 0x%9

Faulting application start time: 0x%10

Faulting application path: %11

Faulting module path: %12

Report Id: %13

 

By searcing with KERNELBASE.dll and 0xe0434f4d you can get some information from web and it seems to be .NET related issue.

 

I'm wondering how the LabVIEW application developers survive in Turkey because of this problem..

 

Anyone noticed this, NI engineers?

 

BR,

Jani

 

0 Kudos
Message 1 of 8
(3,911 Views)

@Wirer2 wrote:

Tested with Windows 7 and LabVIEW 2009 and 2010:

 

Crash is very easy to reproduce:

 

1. Go to Windows Control panel -> Region and Language -> In the first tab, set format: Turkish (Turkey) -> Apply change (doesn't need system restart)

2. Start LabVIEW (2009 or 2010) and create a blank VI.

3. From the .NET palette, drag the MonthCalendar to your front panel. In many cases it crashes at this point.

4. Save the VI and build an application exe about it.

5. Run the built application: it doesn't start, just crashes. From the Windows event viewer you can get some information:

 

Faulting application name: TurkishCrash.exe, version: 1.0.0.0, time stamp: 0x4b47dc79

Faulting module name: KERNELBASE.dll, version: 6.1.7601.18409, time stamp: 0x53159a86

Exception code: 0xe0434f4d

Fault offset: 0x0000c42d

Faulting process id: 0x%9

Faulting application start time: 0x%10

Faulting application path: %11

Faulting module path: %12

Report Id: %13

 

By searcing with KERNELBASE.dll and 0xe0434f4d you can get some information from web and it seems to be .NET related issue.

 

I'm wondering how the LabVIEW application developers survive in Turkey because of this problem..

 

Anyone noticed this, NI engineers?

 

BR,

Jani

 


Have you tried to use the .NET control in a simple Windows Form application in VB.NET or C# ?

Does it behave the same way?

 

 

0 Kudos
Message 2 of 8
(3,878 Views)

Well, at least other c# applications build with VC seem to work when Turkish format enabled.

But LabVIEW-built applications with any .NET controls seem to cause crash, not only MonthCalender.

0 Kudos
Message 3 of 8
(3,874 Views)

Which version of .NET? and did you create the LabVIEW.exe.config file?


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 8
(3,869 Views)

With LabVIEW 2009 .NET 2.0

With LabVIEW 2010 .NET 4.0 (which I have enabled through LabVIEW.exe.config)

 

0 Kudos
Message 5 of 8
(3,863 Views)

You did create the TurkishCrash.exe.config and included it in the build too right?


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 8
(3,856 Views)
Yes I did. Crashes with and without it.
0 Kudos
Message 7 of 8
(3,849 Views)

Tested with LabVIEW 2014 and seems to work perfectly, no crash.

Maybe it's time start using the latest LabVIEW version..

 

Message 8 of 8
(3,812 Views)