Author Topic: Using Coord(x, y) crashing WM  (Read 7628 times)

0 Members and 1 Guest are viewing this topic.

VorpalBlade

  • World Machine Guru
  • ****
  • Posts: 55
    • View Profile
Using Coord(x, y) crashing WM
« on: October 25, 2006, 01:20:21 AM »
Edit: I'm an idiot. Case of mistaking an i for a j.

Please disregard :p
« Last Edit: October 25, 2006, 01:27:28 AM by VorpalBlade »

Fil

  • Testing Team
  • World Machine Guru
  • *****
  • Posts: 550
    • View Profile
Re: Using Coord(x, y) crashing WM
« Reply #1 on: October 25, 2006, 02:06:40 AM »
hmm.. ...err..  :?  Ok :D
So far, all crashes I managed to cause in WM using the PDK were because the guy coding them was a dumb nuthead! :D So don't feel frustrated if you crash WM once in a while.. It's part of the job :)
Progress once step at a time, to keep changes and bugs under control, and also to easy up on debugging.
Fil.

VorpalBlade

  • World Machine Guru
  • ****
  • Posts: 55
    • View Profile
Re: Using Coord(x, y) crashing WM
« Reply #2 on: October 25, 2006, 05:28:29 AM »
LOL. I'm more frustrated that I posted before finding the stupid mistake.

I'm actually making good progress. I got past my first recursive function without any stack overflow errors :). But I've had a few access volations which I have been lucky enough to find the sources.


nikita

  • Testing Team
  • World Machine Guru
  • *****
  • Posts: 627
  • B.S. in Macro Science
    • View Profile
    • My WM Macros
Re: Using Coord(x, y) crashing WM
« Reply #3 on: October 25, 2006, 02:20:07 PM »
We can remove the topic if you want to ;)
"Every time you read or write beyond the end of an array, somewhere a fairy dies."
Richard Buckland

Fil

  • Testing Team
  • World Machine Guru
  • *****
  • Posts: 550
    • View Profile
Re: Using Coord(x, y) crashing WM
« Reply #4 on: October 25, 2006, 03:56:54 PM »
mu-hu-ha-hahh! the power of the moderators! :-D

Nah, I think it is a good thing to leave here! It transmits a message of "don't worry, we've all made mistakes like those" :) Besides, if anyone manages to crash WM in a plugin, it's good to have this place to discuss possible reasons for it, and to try (guessing) what is wrong in the plugin code. Very unlikely will be a bug in the PDK, though it there is, it should important to correct it.

But so far, all crashess I had were my fault :P
Typical bugs are to release an HF that is being passed as output, forget to initialize an input HF, going out of bounds accessing the HF... etc.. Sometimes invalid parameter values and divisions by zero can occur, with a joyfull (crash) fireworks display!
Infinite loops are also neat occupations for the CPU :)
Fil.

VorpalBlade

  • World Machine Guru
  • ****
  • Posts: 55
    • View Profile
Re: Using Coord(x, y) crashing WM
« Reply #5 on: October 25, 2006, 06:55:04 PM »
We can remove the topic if you want to ;)

Not nessisary but thanks for offering :)