Jump to content

c5 crash when add/remove network map/share


Recommended Posts

I have a small exe that crashes after I add a network share (net use e: \\server\share) or remove one (net use f: /d)

I have tried both the release & beta version compiles... both yeild a C5 error.

When running it as a script (not compiled) I get:

AppName: autoit3.exe AppVer: 3.2.12.1 ModName: autoit3.exe

ModVer: 3.2.12.1 Offset: 0000c89c

Edited by JoshAssing
Link to comment
Share on other sites

Hi there JoshAssing,

Explain it better.

That exe is your script compiled? If yes post the code.

How it crash? Error code?

Cheers

Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Link to comment
Share on other sites

Hi there JoshAssing,

Explain it better.

That exe is your script compiled? If yes post the code.

How it crash? Error code?

Cheers

(I seem to hit enter and it wants to publish my edits....)

The "small" is relative; there's a lot of code; but not one looks for or uses a drive.. the only references are relative ".\config\aiweather.ini" or to the temp folder.

The crash happens fairly quickly once I add or delete a mapped drive.

Edited by JoshAssing
Link to comment
Share on other sites

Hi again,

Some code would be usefull for help.

It´s hard to help with nothing to see :)

Until now, everything that you said is very relative.

Cheers

Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Link to comment
Share on other sites

Hi again,

Some code would be usefull for help.

It´s hard to help with nothing to see :)

Until now, everything that you said is very relative.

Cheers

As posted above your post

While True
    Sleep(250)
WEnd

With that the only code, now run it -- and mouse over the tray icon... All is good.

Now add or delete a network drive (net use or net use /d)

mosue over again...

Link to comment
Share on other sites

Hi again,

I really dont get it...

You are mapping drives in DOS?

The error is when you try to compile the script?

Witch part of the code is this in?

While True
    Sleep(250)
WEnd

What do you intend do do with the script?

You need to be more specific

Cheers

Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Link to comment
Share on other sites

The script was to illustrate is nothing fancy that I"m doing.

Yes; use "NET USE" or "NET USE /D" in a command prompt.

the original script was actualy doing things with an sql database; however, since that was file I/O I wanted to rule that out as the reason for the crash.

When I got it down to 3 lines of code, compiled to an exe; it crashes.

So; steps

use the code above

run the script (either compiled to exe or in the editor)

mouse over it to show that it's not the mouse over that causes it.

now drop to a command prompt; add or remove a network share/drive letter

mouse over the autoit icon (system tray) a few times; a crash happens.

I have replicated this on 3 diferent machines (my laptop (1.6ghz,2gigram,winxp), my main dev box (twin dual core xeon procs, 8 gigs ram, win2003), and a vmware virtual machine of win2008.

crash.txt

post-39928-1227954687_thumb.png

post-39928-1227954696_thumb.png

post-39928-1227954707_thumb.png

Link to comment
Share on other sites

  • Developers

I cannot replicate this problem on my PC.

I am running your posted "simple" loop.

hovered the tray icon

Net use K: \\server\share

hovered the tray icon

Net use K: /d

hovered the tray icon

No crashes with v3.2.12.1

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I cannot replicate this problem on my PC.

I am running your posted "simple" loop.

hovered the tray icon

Net use K: \\server\share

hovered the tray icon

Net use K: /d

hovered the tray icon

No crashes with v3.2.12.1

Jos

that's the version I have -- happens on two machines here.. bummer you cannot replicate it...thanks for trying.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...