In MapInfo 9.5, it crashes. MapInfo itself dies, without even an error
message about which line in the script it is up to.
I have modified the script, inserting print statements to a log file, which
has allowed me to track the progress through the script. The log file
survives MapInfo crashing.
Unfortunately for me, the crash happens at a different place every time.
There is no particular table or operation that stands out.
The script itself is straightforward, but long. Tables are opened; records
are searched for, deleted and added; tables are saved and closed. There
are two nested loops, and some simple queries that usually only return
a single record. There are no spatial operations at all, all searches are
based upon column values only.
So, while the script is tedious (that's why its a script) I don't consider
it
particularly taxing. Checking my computer's resources reveals that
the CPU and RAM are barely touched. I've cleared out my temp files,
so that isn't it. I've run it on a computer with no other applications
running
and it still crashes.
The most frustrating thing is that the script runs fine on MapInfo 9.0 and
all the other versions before that.
So I wanted to ask the list. Anyone know about any resource problems
with MapInfo 9.5? Too much opening and closing of tables leading
to a crash?
nick
***********************************************************************
WARNING: This e-mail (including any attachments) may contain legally
privileged, confidential or private information and may be protected by
copyright. You may only use it if you are the person(s) it was intended
to be sent to and if you use it in an authorised way. No one is
allowed to use, review, alter, transmit, disclose, distribute, print
or copy this e-mail without appropriate authority.
If this e-mail was not intended for you and was sent to you by mistake,
please telephone or e-mail me immediately, destroy any hardcopies of
this e-mail and delete it and any copies of it from your computer
system. Any right which the sender may have under copyright law, and
any legal privilege and confidentiality attached to this e-mail is not
waived or destroyed by that mistake.
It is your responsibility to ensure that this e-mail does not contain
and is not affected by computer viruses, defects or interference by
third parties or replication problems (including incompatibility with
your computer system).
Opinions contained in this e-mail do not necessarily reflect the
opinions of the Queensland Department of Main Roads, Queensland
Transport or Maritime Safety Queensland, or endorsed organisations
utilising the same infrastructure.
***********************************************************************
> What OS are you running on?
Windows XP
> Are all the crashes connected to certain operations, like select, insert,
> update ?
No. It crashes on deleting a record, or closing a table, etc. It crashes
at different points in the script each time I run it and I haven't been
able to isolate a specific statement.
All tables (and the mapbasic script) are held locally
on C: drive.
> - Try to clean up your Windows temp folder.
I did that. I even wiped the hard drive, re-installed
Windows XP, installed only MapInfo 9.5, and it still
crashes.
> - Make sure you use Select ... Into MYSELECTION *Noselect* to avoid
creating
> many temporary files.
I did as you suggested and ran the test again.
MapInfo crashed again.
> These are just a couple of generel suggestions.
> I don't have a good explanation of why your application is crashing
In my office, it is IT policy to have the virus checker McAfee (v8.5)
running on all desktops. I am wondering if the virus checker is
interfering with MapInfo.
Has anyone heard of any conflicts between MapInfo and virus checkers?
What virus checkers do other people tend to run?
> regarding the question "Has anyone heard of any conflicts between
> MapInfo and virus checkers?"
> Can you not try turning it off to
> let the script run and see if it makes a difference?
> Sarah
No. In my office running the virus checker is compulsory and
password-protected. Only one person in the IT staff has the
authority to turn it off and I haven't made contact with
them yet. I am not hopeful.
I ran the test and MapInfo still crashed. So, the virus checker
is not the problem.
IT staff also showed me how to access the error messages
in Windows XP's event log.
Start | Control Panel | Administrative Tools | Event Viewer | Applications
In the log I found a ".NET Runtime 2.0 Error"
the description being,
"Faulting application mapinfow.exe, version 9.5.0.62, stamp 48e67ba5,
faulting module micore.dll, version 9.5.0.62, stamp 48e67b91, debug? 0,
falt address 0x002c27e0."
Is .NET something new to MapInfo 9.5?
Regards
Uffe Kousgaard
----- Original Message -----
From: <nicholas....@mainroads.qld.gov.au>
To: <mapi...@googlegroups.com>
Sent: Friday, October 24, 2008 8:04 AM
Subject: [MI-L] Re: MapInfo 9.5 keeps crashing
>
| From: | nicholas....@mainroads.qld.gov.au on 10/23/2008 04:03 PM ZE10 |
| To: | mapi...@googlegroups.com |
| cc: |
| Subject: | [MI-L] Re: MapInfo 9.5 keeps crashing |