[enigma] orbiter crash when OMP module is activated

orbiter28

New member
Joined
Oct 6, 2009
Messages
4
Reaction score
0
Points
0
Hi all,


Sorry for my english, it's not my native language.

I have make a new install of orbiter with omp with this tutorial :
http://omp.ddns.net/fr/install.php
and a clean install oforbiter with orbiter 2010 P1 and just omp.

But i have always the same problem.
When i enable omp module, orbiter crash.

Here a log of orbiter :
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 3.31069e-007 sec
Found 0 joystick(s)
Devices enumerated: 9
Devices accepted: 7
==> RGB Emulation
==> Direct3D HAL
==> Direct3D T&L HAL
==> Direct3D HAL (NVIDIA GeForce GTX 680)
==> Direct3D T&L HAL (NVIDIA GeForce GTX 680)
==> Direct3D HAL (NVIDIA GeForce GTX 680) #2
==> Direct3D T&L HAL (NVIDIA GeForce GTX 680) #2
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module OrbiterSound.dll ...... [Build 121120, API 100830]
Module OMPClient.dll ......... [Build 141009, API 100830]


Here the log message of omp.log :
Located Orbiter window handle: 10B5E
Unable to locate Orbiter's start button (Error 58D)!

Maybe a bad install ?

Not really, because :
I build a virtual computer with windows seven inside.
When i copy paste the orbiter folder (with omp) from my real computer to the virtual computer, omp work well on the virtual computer.

So, on the virtual computer, i can't use a 3D hardware acceleration, then it's not realy playable (8 FPS), but it's stable (i have run multiple and long session yesterday).

Then, i have unistall framework and all my microsoft Visual C++, and i have now just Framework 4 and microsoft visual C++ 2005, but same problem.

I just don't see any solutions for that enigma...

Who has an idea ?

I try to use debugger, and all loaded dll are present on my system...
 

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,390
Reaction score
577
Points
153
Location
Vienna
When i enable omp module, orbiter crash.
<snip>
Here the log message of omp.log :
Located Orbiter window handle: 10B5E
Unable to locate Orbiter's start button (Error 58D)!

This looks like the orbiter.exe you are running is not the 2010 P1 version, but some patched one.

OMP uses some reflection to locate Orbiter's start button in order to place its own "Connect" button into its place. On your main installation, this fails because it can't locate the specific - usual always fixed - resource ID of the button.

My guess is that something has manipulated your Orbiter executable's resources. Did you install some patches or customizations in this main version? Perhaps some kind of virus/trojan?
 

orbiter28

New member
Joined
Oct 6, 2009
Messages
4
Reaction score
0
Points
0
I use a copy of this version on my virtual computer, and this copy work.
When i start, i can see orbiter 2010 P1, version 100830 in about orbiter.

The 2 executables have the same "weight" : 2 248 704 octet.

And i have try a fresh install of orbiter on my real computer, with the msi at : http://orbit.medphys.ucl.ac.uk/download.html

I don't install patch or customization, because i know it can cause error :)

If you want, i can share my computer with team viewer :)

But i can play well on a virtual computer, so it's not a important bug ; use this report if you think investigation can be informative ;)
 
Last edited:

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,390
Reaction score
577
Points
153
Location
Vienna
I use a copy of this version on my virtual computer, and this copy work.
When i start, i can see orbiter 2010 P1, version 100830 in about orbiter.

The 2 executables have the same "weight" : 2 248 704 octet.
I guess you mean size instead of weight. Just because 2 exes have the same size doesn't mean they have the same content. For that to check, you can either use a differ like e.g. WinMerge, or generate a checksum with some MD5 tool to see if the same checksum is yielded.

I don't install patch or customization, because i know it can cause error :)

If you want, i can share my computer with team viewer :)
It could also be some anti-virus system or a general OS styler that hijacks your application as soon as it got started and manipulates the resources.
Or it could be a simple permission problem that makes the system-call fail with that error message.

Whatever it is, a remote debug session would certainly take a long time that I do not have, unfortunately.

But i can play well on a virtual computer, so it's not a important bug ; use this report if you think investigation can be informative ;)
OMP is using a lot of tricks to achieve what it does, so it is no wonder that various configurations break it in creative ways. I can't really follow all of these paths, so all I can do at the moment is to make the ID customizable. You could then use a tool like Spy++ to find the runtime control ID of the start button (and other necessary controls). Those IDs you could then enter in whatever config file I'd implement.

However, if it is a permission issue, you could try to run Orbiter in admin mode, perhaps it changes the behavior.

regards,
Face
 

orbiter28

New member
Joined
Oct 6, 2009
Messages
4
Reaction score
0
Points
0
Fixed !

I probably confused betwen the patch and normal versions.

I don't know why a original folder work and not his copy.

Unfortunately, i don't have a history of what I 've done.

Face, I was able to discover the spacecraft to a friend , many thank you for this!
 
Top