[Mono-list] Segmentation Faults when trying to run OBD 2007.exe

Abe Gillespie abe.gillespie at gmail.com
Sun Aug 8 22:27:57 EDT 2010

First, the ability to install (or not) the Microsoft .Net Framework on
Linux has absolutely nothing to do with Mono.  Mono is a replacement
for the .Net Framework and is *mostly* used on Linux and Mac.  A few
people run Mono on Windows but there are very few use cases for that
scenario since you might as well just use Microsoft's .Net Framework.

With that said, problems running .Net applications on Mono are usually
two issues.  One, the app uses "Windowsisms" like interchanging upper
and lower casing for file paths; Linux paths are case sensitive. Two,
the app "P/Invokes" into a native Windows library.  Issue one may be
fixed by using the IO_MAP flag: http://www.mono-project.com/IOMap
Issue two unfortunately cannot be magically fixed but it can be
checked by running it through MoMA.

Good luck.

On Sun, Aug 8, 2010 at 9:36 PM, LEGOManiac <BZFlagLEGOManiac at yahoo.com> wrote:
> Greetings. Mono needs a forum for us total newbies to post questions about
> applications to.
> I'm so wet behind the ears that I can't tell if I'm just using mono
> incorrectly, or the application isn't purely .NET (and how does one tell,
> anyway?) or if the application just won't work in Mono.
> For what it's worth, I've tried using Wine/winetricks to install dotnet20
> with my Ubuntu linux machine pretending to be Windows2000, and .Net2.0
> doesn't install properly, so I'm not sure if there's something more
> fundamentally wrong.
> My expectation is that Mono does not share dependencies with .Net2.0. That
> is, I doubt that whatever is stopping .Net2.0 from installing under Wine is
> not going to affect Mono, but I simply don't know enough about Mono to be
> sure of that.
> All that having been said, the application I'm trying use is a vehicle
> diagnostics software package called OBD 2007 and is located at:
> http://www.glmsoftware.com/Downloads1.aspx
> If any kind soul would be kind enough to download it and take a look at it
> and tell me if I'm completely barking up the wrong tree, I'd appreciate it.
> I'm after the PC version. I already own it (I bought it) for use on a Vista
> laptop, but the laptop died prematurely and it's replacement runs Ubuntu
> 10.04 / Wine2.0 / Mono 2.4.4
> Mono Version:
> Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4)
> Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
>        TLS:           __thread
>        GC:            Included Boehm (with typed GC)
>        SIGSEGV:       altstack
>        Notifications: epoll
>        Architecture:  x86
>        Disabled:      none
> Output when I try to run ~/.wine/drive_c/Program Files/GLM Software/OBD
> 2007$ mono ./OBD\ 2007.exe
> **
> ERROR:domain.c:1442:mono_init_internal: assertion failed:
> (mono_defaults.monotype_class != 0)
> ** (./OBD 2007.exe:6423): WARNING **: Thread (nil) may have been prematurely
> finalized
> Stacktrace:
> ** (./OBD 2007.exe:6423): WARNING **: Thread (nil) may have been prematurely
> finalized
> ** (./OBD 2007.exe:6423): WARNING **: Thread (nil) may have been prematurely
> finalized
> ** (./OBD 2007.exe:6423): WARNING **: Thread (nil) may have been prematurely
> finalized
> Segmentation fault
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Segmentation-Faults-when-trying-to-run-OBD-2007-exe-tp2318084p2318084.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list