Date: Fri, 17 Oct 2025 21:12:40 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 290330] /bin/sh crash in freejob Message-ID: <bug-290330-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290330 Bug ID: 290330 Summary: /bin/sh crash in freejob Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bdrewery@FreeBSD.org No repro for this. I had a core but lost it. At least saved a backtrace: around commit bb0955ee4db8 #0 atomic_load_u (a=0x8, mo=atomic_memory_order_relaxed) at /usr/src/contrib/jemalloc/include/jemalloc/internal/atomic.h:91 #1 rtree_leaf_elm_read (elm=0x0, dependent=true, tsdn=<optimized out>, rtree=<optimized out>) at /usr/src/contrib/jemalloc/include/jemalloc/internal/rtree.h:247 #2 rtree_metadata_read (tsdn=tsdn@entry=0x3902972120a0, rtree=<optimized out>, rtree_ctx=rtree_ctx@entry=0x390297212250, key=key@entry=62680752717848) at /usr/src/contrib/jemalloc/include/jemalloc/internal/rtree.h:446 #3 0x00000fff04ce256d in emap_alloc_ctx_lookup (tsdn=0x3902972120a0, ptr=0x390200000018, emap=<optimized out>, alloc_ctx=<optimized out>) at /usr/src/contrib/jemalloc/include/jemalloc/internal/emap.h:238 #4 ifree (tsd=0x3902972120a0, ptr=0x390200000018, tcache=0x3902972123f8, slow_path=false) at jemalloc_jemalloc.c:2881 #5 __je_free_default (ptr=0x390200000018) at jemalloc_jemalloc.c:3018 #6 0x00000fff04ce2a74 in __free (ptr=0x3902972120a0) at jemalloc_jemalloc.c:3166 #7 0x00000ff6e1af01e1 in ckfree (p=0x3902972120a0) at /usr/src/bin/sh/memalloc.c:88 #8 0x00000ff6e1aed53a in freejob (jp=jp@entry=0x39029767a000) at /usr/src/bin/sh/jobs.c:518 #9 0x00000ff6e1aecb96 in waitforjob (jp=jp@entry=0x39029767a000, signaled=signaled@entry=0x0) at /usr/src/bin/sh/jobs.c:1110 #10 0x00000ff6e1ae3002 in evalpipe (n=<optimized out>) at /usr/src/bin/sh/eval.c:610 #11 evaltree (n=<optimized out>, flags=flags@entry=2) at /usr/src/bin/sh/eval.c:277 #12 0x00000ff6e1ae2ed9 in evaltree (n=0x3902976166e0, flags=flags@entry=0) at /usr/src/bin/sh/eval.c:233 #13 0x00000ff6e1ae2c87 in evaltree (n=0x3902976162c8, flags=flags@entry=0) at /usr/src/bin/sh/eval.c:204 #14 0x00000ff6e1ae3220 in evalredir (n=n@entry=0x390297616250, flags=flags@entry=0) at /usr/src/bin/sh/eval.c:472 #15 0x00000ff6e1ae2c57 in evaltree (n=0x390297616250, flags=flags@entry=0) at /usr/src/bin/sh/eval.c:223 #16 0x00000ff6e1ae2c87 in evaltree (n=0x3902976160f8, flags=flags@entry=0) at /usr/src/bin/sh/eval.c:204 #17 0x00000ff6e1ae42d4 in evalcommand (cmd=cmd@entry=0x390297651030, flags=<optimized out>, flags@entry=0, backcmd=backcmd@entry=0x0) at /usr/src/bin/sh/eval.c:1045 #18 0x00000ff6e1ae2983 in evaltree (n=0x390297651030, flags=flags@entry=0) at /usr/src/bin/sh/eval.c:281 #19 0x00000ff6e1aefe97 in cmdloop (top=top@entry=1) at /usr/src/bin/sh/main.c:221 #20 0x00000ff6e1aefc68 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/bin/sh/main.c:168 -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290330-227>
