Re: do_execve() finding vmspace_destroyed set under load

From: Vladimir Grebenschikov (vova_at_fbsd.ru)
Date: 01/31/05

  • Next message: Poul-Henning Kamp: "network performance, a low-level measurement"
    To: Kris Kennaway <kris@obsecurity.org>
    Date: Mon, 31 Jan 2005 13:12:12 +0300
    
    

    ÷ ÓÂ, 29/01/2005 × 18:52 -0800, Kris Kennaway ÐÉÛÅÔ:
    > I'm seeing the following code in do_execve() frequently being
    > triggered when scripts are executed on my SMP machine under load:

    Probably related, I have 100% panic on exec of single linux static
    binary, it happens in do_execve

    sorry, no console here, just retype:

    Fatal trap 12: page fault in kernel mode
    current process = 1638 (tcsh)

    db> trace
    exec_map_first_page(...) at exec_map_first_page+0x32
    do_execve(...) at do_execve+0x2df
    kern_execve(...) at kern_execve+0x124
    execve(...)
    ...

    (tcsh is parent process)
    No problems with other linux or native binaries.

    > if (imgp->vmspace_destroyed) {
    > /* sorry, no more process anymore. exit gracefully */
    > #ifdef MAC
    > mac_execve_exit(imgp);
    > if (interplabel != NULL)
    > mac_vnode_label_free(interplabel);
    > #endif
    > exit1(td, W_EXITCODE(0, SIGABRT));
    > /* NOT REACHED */
    > error = 0;
    > }
    >
    > Needless to say, the scripts get pretty unhappy when they're summarily
    > aborted. What is the cause of this?
    >
    > Kris

    -- 
    Vladimir B. Grebenchikov
    vova@fbsd.ru
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Poul-Henning Kamp: "network performance, a low-level measurement"

    Relevant Pages

    • Re: PHP Dynamic Form Generator
      ... I'm currently reviewing a load of scripts to dynamically generate a form ... I have designed a registration form, and once registered and logged in ... I just wanted to ask everyone for any advice on this and which scripts you ... PHP Classes - Free ready to use OOP components written in PHP ...
      (php.general)
    • Re: OT: The Straight Dope
      ... Right, tcsh wasn't bad as an interactive shell; ... It's nice to be able to write off-the-cuff scripts on the command line ... why zsh and bash are so great -- all the interactive features of tcsh ...
      (comp.lang.python)
    • Re: do_execve() finding vmspace_destroyed set under load
      ... > #ifdef MAC ... the scripts get pretty unhappy when they're summarily ... so there is no process executable image to return ... you're only seeing the problem under load, ...
      (freebsd-current)
    • Re: inserting random photo with caption
      ... > carolyn wrote: ... >> I am looking for a script that can load a random photo or other graphic ... The trick is that I would also like it to load a related ... >> I have found lots of scripts that will load random photos, ...
      (alt.html)
    • Re: Deploying Common Lisp applications
      ... bit upsetting to see the same program in lisp run much faster in say perl, but because of the time it takes to load the fasl files compared to perl modules the overall loading and running takes several hundred times longer. ... It's a bit of a waste to have many small scripts each represented by their own 22M core. ...
      (comp.lang.lisp)