Opened 18 years ago

Closed 15 years ago

#1339 closed defect (invalid)

Lazy initialization of System.Console causes crash with MONO C#

Reported by: szekerest@… Owned by: tamas
Priority: normal Milestone:
Component: CSharpBindings Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by warmerdam)

Using the createdata and the ogrinfo csharp sample applications early initialization of System.Console should be used. Otherwise the application may crash at the following line:

Console.WriteLine("Using driver " + drv.name);

To workaround this issue Console.WriteLine(""); inserted before calling the SWIG wrapper functions.

Change History (4)

comment:1 by szekerest, 17 years ago

Component: defaultCSharpBindings
Version: 1.3.31.4.0

comment:2 by warmerdam, 17 years ago

Description: modified (diff)
Owner: changed from szekerest to tamas
Priority: highestnormal

Fix assignee.

comment:3 by tamas, 16 years ago

Version: 1.4.0unspecified

comment:4 by tamas, 15 years ago

Resolution: invalid
Status: newclosed

Marking as invalid, the recent mono version doesn't produce this

Note: See TracTickets for help on using tickets.