Opened 12 years ago

Closed 12 years ago

#2111 closed defect (fixed)

maestro crash on linux (System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize)

Reported by: gabrimonfa Owned by: jng
Priority: low Milestone:
Component: Maestro Version:
Severity: trivial Keywords:
Cc: External ID:

Description

Maestro compiled from svn updated to first days of september 2012

Mono on ubuntu linux 2.10.8.1-5~dhx1~precise1 from badgerports

Crash on creating a new vector layer definition.

System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize

Probably a mono bug or not-implemented.

Stack trace attached

Attachments (1)

stack_trace (9.1 KB ) - added by gabrimonfa 12 years ago.
Stack trace of crash

Download all attachments as: .zip

Change History (6)

by gabrimonfa, 12 years ago

Attachment: stack_trace added

Stack trace of crash

comment:1 by jng, 12 years ago

Is Mono running it as though it were a .net 2.0/3.5 application?

SplitContainer implements ISupportInitialize as of .net 4.0

comment:2 by gabrimonfa, 12 years ago

It appears that this interface has not been implemented in 2.10 branch.

https://bugzilla.novell.com/show_bug.cgi?id=648403#c9

The unfortunate thing is that meastro is aborted. This prevents to create new vector layer definitions (however is always possible to duplicate and edit an existing one).

comment:3 by jng, 12 years ago

That is just stupid! Visual Studio will be inserting this piece of problematic code on any form/control I open that uses a SplitContainer, meaning I'll not only have to battle with Mono, but Visual Studio's form designer. Argh!

Any form/control with a SplitContainer will have this problem

comment:4 by gabrimonfa, 12 years ago

Tested on mono trunk - version 2.11.5 (master/1be50d0 mer 12 set 2012, 15.42.47, CEST)

The interface has indeed been implemented, thus maestro does not crash anymore creating a new feature source.

comment:5 by jng, 12 years ago

Resolution: fixed
Status: newclosed

All offending lines removed r7010

Note: See TracTickets for help on using tickets.