MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Automatic restart

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33547] Automatic restart
  • From: Vladimir Bondarenko <vvb at mail.strace.net>
  • Date: Fri, 29 Mar 2002 06:14:00 -0500 (EST)
  • Reply-to: Vladimir Bondarenko <vvb at mail.strace.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I wrote a module, and start it from within a notebook
via <<MyModule.m

The module works, and shows what I ask it to show.
However, after every 4-5 hours, it computes
something like

Integrate[ArcSin[z - 1/2] ArcSin[z + 1/2], {z, -1, 1}]

after which a message is shown like the following:

      MathKernel: This program has performed an illegal
      operation and will be shut down

      MATHKERNEL caused an invalid page fault in
      module MATHDLL.DLL at 015f:64511425.
      Registers:
      EAX=00000001 CS=015f EIP=64511425 EFLGS=00010206
      EBX=017083c8 SS=0167 ESP=020ab95c EBP=017905dc
      ECX=016bc32c DS=0167 ESI=00000064 FS=3d07
      EDX=00000002 ES=0167 EDI=00000009 GS=0000
      Bytes at CS:EIP:
      8b 06 40 25 0f 00 00 80 79 05 48 83 c8 f0 40 89
      Stack dump:
      00157fb7 64008a91 00000064 0000003d 020ab9dc 00158004 017905dc 64008b72
      017083c8 00157fb7 020ab9dc 00000002 00158004 00000001 6400854b 020ab9dc


I can restart the module by entering again <<MyModule.m  but it is inconvenient
because I want that the module worked around the clock.

How can I restart the module AUTOMATICALLY after the event like the described?


Vladimir Bondarenko




  • Prev by Date: MonomialQ
  • Next by Date: Re: Running Math Kernel Alone in OS X
  • Previous by thread: Re: MonomialQ
  • Next by thread: Plotting multiple functions with different plot ranges?