Bizarre SvTYPE after fork on W2K Server

Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default Bizarre SvTYPE after fork on W2K Server

    Running ActivePerl 5.8.0 build 806 on Winows2K Server SP4.

    A particular program I run tries once per day to fork off a process. It's
    always worked before but has now recently stopped.

    The syntax of the perl code is:
    exec($CMD_vb) unless fork;

    The child process never starts and the parent immediately terminates.

    The error I get is Bizarre SvTYPE [53] at script.pl line ###.

    Any idea what could possibly have suddenly caused this to occur?


    --
    To e-mail me directly, please change "nospam" in my e-mail address to
    "yahoo".

    Thanks,
    Ganchrow


    Ganchrow Harris Peck Guest

  2. Similar Questions and Discussions

    1. Fonts are there, then they're not. Bizarre.
      I am using InDesign CS on a pc. I use a limited number of fonts to layout our monthly newsletter. I installed the fonts I needed and they were...
    2. fork problems with Net::Server
      michaelbell <member43197@dbforums.com> wrote: One off initialisation? Consider mod_perl and start-time initialisation, then, which will go some...
    3. [PHP] Bizarre SQl, if issue....
      Did you try to print the content of the variable? What does it contain? On Tue, 29 Jul 2003 13:29:10 -0400 "Mike At Spy"...
    4. Bizarre SQl, if issue....
      Hey, I've got a weird issue. I have some code, an MySQL statement, that returns an empty set, like this: $person = mysql_query("Some Statement...
    5. Bizarre IE6 CSS error
      Hi all, I have the weirdest thing going on... it's hard even to describe, but bascically, IE6 seems to interpret differently the margins/padding...
  3. #2

    Default Re: Bizarre SvTYPE after fork on W2K Server

    "Ganchrow Harris Peck" <ganchrow@nospam.com> wrote in message
    news:er07b.19607$x_5.9268@twister.nyc.rr.com...
    > Running ActivePerl 5.8.0 build 806 on Winows2K Server SP4.
    >
    > A particular program I run tries once per day to fork off a process. It's
    > always worked before but has now recently stopped.
    >
    > The syntax of the perl code is:
    > exec($CMD_vb) unless fork;
    >
    > The child process never starts and the parent immediately terminates.
    >
    > The error I get is Bizarre SvTYPE [53] at script.pl line ###.
    >
    > Any idea what could possibly have suddenly caused this to occur?
    >
    Interestingly enough (well interesting to me anyway) this Bizarre SvTYPE
    error does not occur with the command:

    system(1, $CMD);

    which I thought did exactly the same thing as

    exec($CMD) unless fork;


    --
    To e-mail me directly, please change "nospam" in my e-mail address to
    "yahoo".

    Thanks,
    Ganchrow


    Ganchrow Harris Peck Guest

  4. #3

    Default Re: Bizarre SvTYPE after fork on W2K Server

    "Ganchrow Harris Peck" <ganchrow@nospam.com> wrote in message
    news:4H07b.89212$ev.18680665@twister.nyc.rr.com...
    > "Ganchrow Harris Peck" <ganchrow@nospam.com> wrote in message
    > news:er07b.19607$x_5.9268@twister.nyc.rr.com...
    > > Running ActivePerl 5.8.0 build 806 on Winows2K Server SP4.
    > >
    > > A particular program I run tries once per day to fork off a process.
    It's
    > > always worked before but has now recently stopped.
    > >
    > > The syntax of the perl code is:
    > > exec($CMD_vb) unless fork;
    > >
    > > The child process never starts and the parent immediately terminates.
    > >
    > > The error I get is Bizarre SvTYPE [53] at script.pl line ###.
    > >
    > > Any idea what could possibly have suddenly caused this to occur?
    > >
    >
    > Interestingly enough (well interesting to me anyway) this Bizarre SvTYPE
    > error does not occur with the command:
    >
    > system(1, $CMD);
    >
    > which I thought did exactly the same thing as
    >
    > exec($CMD) unless fork;
    >
    >

    OK, how about this:

    sub myfork { fork; }

    When the myfork sub is called as
    &myfork;

    I get a windows error.

    When it's called as:
    &myfork();

    No error.

    Hmm ...


    --
    To e-mail me directly, please change "nospam" in my e-mail address to
    "yahoo".

    Thanks,
    Ganchrow


    Ganchrow Harris Peck Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139