Giter VIP home page Giter VIP logo

Comments (2)

garlick avatar garlick commented on August 26, 2024
(gdb) bt -full
#0  outbuf_mark_free (buf=0x6e75202d202d2039, count=count@entry=0) at outbuf.c:70
No locals.
#1  0x0000007f847787c4 in flush_output_line (ch=0x7f69010820) at channel.c:103
        rc = <optimized out>
        len = 0
        eof = true
        len = <optimized out>
        eof = <optimized out>
        rc = <optimized out>
#2  channel_output_cb (r=<optimized out>, w=0x7f6880f810, revents=<optimized out>, arg=0x7f69010820) at channel.c:162
        ch = 0x7f69010820
        n = <optimized out>
#3  0x0000007f88858074 in ev_invoke_pending (loop=0x7f68002520) at ev.c:3770
        p = <optimized out>
#4  0x0000007f8885b880 in ev_run (flags=0, loop=0x7f68002520) at ev.c:4190
        __PRETTY_FUNCTION__ = "ev_run"
        waittime = <optimized out>
        sleeptime = <optimized out>
        prev_mn_now = <optimized out>
        to = <optimized out>
        to = <optimized out>
#5  ev_run (loop=0x7f68002520, flags=0) at ev.c:4021
        __PRETTY_FUNCTION__ = "ev_run"
        waittime = <optimized out>
        sleeptime = <optimized out>
        prev_mn_now = <optimized out>
        to = <optimized out>
        to = <optimized out>
#6  0x0000007f8882ba40 in flux_reactor_run (r=0x7f68002500, flags=flags@entry=0) at reactor.c:124
        ev_flags = 0
        count = <optimized out>
#7  0x0000007f84776cb8 in mod_main (h=0x7f68000be0, argc=<optimized out>, argv=<optimized out>) at sdexec/sdexec.c:1096
        ctx = 0x7f68003df0
        error = {
          text = "@\336\177w\177\000\000\000\200\346\177w\177\000\000\000\000@^\210\177\000\000\000\005\000\000\000\177\000\000\000\230*^\210\177\000\000\000\001\000\000\000\000\000\000\000\304R\203\210\061\000\000\000`\324\177w\177\000\000\000\070\310N\210\177\000\000\000\b\000\000\000\000\000\000\000\260\346\177w\177\000\000\000 \000\000h\177", '\000' <repeats 11 times>, "\060\300\001\000\000\000\000\000\320O\000h\177\000\000\000@\336\177w\177\000\000\000\000\220\200\210\177\000\000\000@r\262\207\177\000\000\000@\336\177w\177\000\000\000?hh\371\177\000\000"}
        rc = -1
        error = <optimized out>
#8  0x00000055920e2224 in module_thread (arg=0x55bd146090) at module.c:221
        p = 0x55bd146090
        signal_set = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}}
        errnum = 0
        uri = '\000' <repeats 104 times>, " \326\177w\177\000\000\000P\005~\210\177\000\000\000\\\342\177w\177\000\000"
        av = 0x7f68003430
        ac = 0
        mod_main_errno = 0
        msg = <optimized out>
        f = <optimized out>
#9  0x0000007f887e0648 in start_thread (arg=0x7f777fd740) at pthread_create.c:477
        ret = <optimized out>
        pd = 0x7f777fd740
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {547465716316, 549645215808, 549645215806, 368244449664, 549645215807, 547465713472, 0, 
                547750973440, 547737465408, 547465715264, 547465713184, 17482153286193270178, 0, 17482153289800457938, 4472406533629990549, 
                4617323949938593359, 4633604897076311753, 4801453603149578240, 4681180987004614462, 0, 4744990921127256746, 
                4744990921127256746}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0}}}
        not_first_call = <optimized out>
#10 0x0000007f8854501c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78
No locals.
(gdb) 

from flux-core.

garlick avatar garlick commented on August 26, 2024

This can be reproduced by running a job consisting of the following shell script

#!/bin/sh

trap 'echo got HUP' HUP
trap 'echo got INT' INT
trap 'echo got TERM' TERM
trap 'echo got ALRM' ALRM

while true; do : ; done
  1. flux submit foo.sh
  2. manually stop the job's systemd unit - which will hang for 90s
  3. after the command returns, kill -9 flux-shell

The kill seems to trigger the segfault.

from flux-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.