Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LSLEditor won't run under it's own name

Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
12-30-2007 11:15
This is really odd, if I try to run LSLEditor.exe it will crash with a Net 2.0 error and attempt to send a crash report to MS. However, if I rename the file to anything else, e.g. LSLEditor1.exe it runs with no problem. I tried turning my firewall and virus scanner both off with no effect. Neither logged any problems in any case, there was a Windows .NET 2.0 application event for the crash report, but nothing else.

This is on XP Sp2 with the latest updates and .NET 2.0 also with latest updates.

Anyone have any thoughts on this? I sure don't.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-30-2007 12:17
It sounds like you need to flush lsleditor from the .net assembly cache. You see .net is based on a bytecode which is compiled to machine code at runtime or ahead of time and cached. If the cached version gets corrupted... you get the picture.

Where the cache is, i don't remember. How you flush or force a recompile I don't remember.

Run filemon (then lsleditor) to find out where the bad cache entry is hiding.

Filemon: http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
12-30-2007 12:33
In the mean time, open your C:\Windows\Prefetch folder and delete the entry for lsleditor.exe
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
12-30-2007 13:00
Hmmm, I'll give it a shot, I thought recompile happened every time it was run unless you ran ngen on it. Worth a try. Thanks.
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
Remains bizarre
12-31-2007 10:11
Still no joy and still not working unless I change the name :confused:. OTOH I've learned a bunch of stuff :).

The prefetch files just keep track of what resources such as DLL's the apps use, clearing it had no effect.

The only applications whose assemblies are cached are the ones in the Globabl Assembly Cache and LSLEditor isn't one of them. Everything else is compiled whenever it is used.

This problem doesn't occur on a different machine if the file is locally run. LSLEditor will run under it's own name or any other.

No version of LSLEditor no matter what the name will run over our local network on a different machine.

Running with firewall and virus checker (Kaspersky) off (not started at all) makes no difference.

Running with or without the plugin directory or LSLEditorHelp.chm file makes no difference.

I can't find any references to this kind of problem on the net and remain completely bamboozled.

Suggestions are very welcome. :D
Wyatt Burton
Registered User
Join date: 11 Jan 2007
Posts: 49
12-31-2007 11:03
Have you thought about posting to his forum?

http://www.lsleditor.org/forum/

Also are you running it from a network drive? There is a problem with that.
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
12-31-2007 12:36
I assume you've reinstalled a few times at this point :(

In the interests of localizing the problem, have you tried it with the network unplugged? Usually this works fine, just skips the check for a new version. Perhaps that check is crashing for some reason ...

Also, rather than posting to his blog or forum, I would first try the lsleditor thread here:
/54/16/182108/1.html
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
12-31-2007 13:09
It won't run over the network from any computer, but it will run on other computers if local no matter what the name. It's just on one computer where I have to rename it.

Network on or off makes no difference.

Clearly something on one computer doesn't like the specific name LSLEditor.exe, however I searched the registry and there is no instance of that string either.
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
12-31-2007 13:13
grrr.

any differences in international character set/localization setup between that computer and the others?
Eazel Allen
EA-design™
Join date: 11 Feb 2007
Posts: 123
01-01-2008 02:46
From: Ralph Doctorow
This is really odd, if I try to run LSLEditor.exe it will crash with a Net 2.0 error and attempt to send a crash report to MS. However, if I rename the file to anything else, e.g. LSLEditor1.exe it runs with no problem. I tried turning my firewall and virus scanner both off with no effect. Neither logged any problems in any case, there was a Windows .NET 2.0 application event for the crash report, but nothing else.

This is on XP Sp2 with the latest updates and .NET 2.0 also with latest updates.

Anyone have any thoughts on this? I sure don't.


It works fine on my pc with .net 2.0 but .net 3.0 is out now try updating to that maybe that will clear any bugs you have.
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
01-01-2008 07:22
Are you Running any kind of anti spyware program?
I see references on the web to a malitious file called lsleditor.exe, not related as far as I can tell, but your spayware system may be blocking it by name rather than signature.

here is the referance:
http://www.prevx.com/filenames/X1311889761958856534-0/LSLEDITOR.EXE.html
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
01-01-2008 08:35
That Prvx.com reference is very interesting, although I think they may have a mistake there, that sounds like the real LSLEditor.

Anyway, I use Kaspersky which I've tried running without by shutting off autostart and rebooting, so none of it's processes are running. I've also put an explicit exclusion in and in any event, their virus list doesn't include LSLEditor. I also don't think it's a security problem because I don't get a log from either Kaspersky or the firewall of any problem with LSLEditor.

I suspect Strife was onto something, but I sure can't see how it gets corrupted.
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
01-01-2008 09:22
I tried running this under Visual Studio 5 debugger here's what I got. It looks like everything is getting loaded, but when it starts and is named LSLEditor.exe something in the initial configuration setup fails. I can only guess that maybe when the manifest is read it blows up, but that's a complete WAG.

This is running LSLEditor.exe which fails:

'LSLEditor.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor.exe' (Managed): Loaded 'C:\Downloads\LSLEditor\LSLEditor.exe', No symbols loaded.
'LSLEditor.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
An unhandled exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll

Additional information: Root element is missing.

The program '[3428] LSLEditor.exe: Managed' has exited with code -532459699 (0xe0434f4d).

This is running the same file, but renamed to LSLEditor1.exe which works correctly:

'LSLEditor1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor1.exe' (Managed): Loaded 'C:\Downloads\LSLEditor\LSLEditor1.exe', No symbols loaded.
'LSLEditor1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'LSLEditor1.exe' (Managed): Loaded 'iyn3idm9', No symbols loaded.
The program '[2264] LSLEditor1.exe: Managed' has exited with code 0 (0x0).
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
01-01-2008 09:39
Hmm. I asked about character sets because I believe this has been seen when an XML file has been saved in unicode format and the parser, for whatever reason, is not expecting that. Small changes in strings then turn out to make an unexpected parsing mismatch.
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
Fixed
01-01-2008 10:11
I'm not sure what exactly was wrong, however the issue seems to have been with the user configuration file for LSLEditor.exe. I deleted the directory:

C:\Documents and Settings\...\Local Settings\Application Data\Van_der_Heijden_Holding_B

which is where the user.config files for all the instances of his stuff is kept. Apparently there was something wrong with the LSLEditor one and deleting it fixed it.