Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2021 09:59:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260335] Panic connecting via TCP to service in a jail
Message-ID:  <bug-260335-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260335

            Bug ID: 260335
           Summary: Panic connecting via TCP to service in a jail
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: mmatalka@gmail.com

System crashing when trying to connect over TCP to a postgresql running in a
jail (I had to take a photo of the stack trace and then use Google Photo's
image -> text, so some of the letters might be incorrect below due to that).

I am on=20

FreeBSD bsdell 14.0-CURRENT FreeBSD 14.0-CURRENT #52 main-n251556-fa5af3219=
fab:
Fri Dec 10 13:55:27 CET 2021=20=20=20=20
root@bsdell:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

panic: malloc(M_WAITOK) with sleeping prohibited
cpuid =3D 7
time=3D1639215588
KDB: stack backtrace: db_trace_self_wrapper() at
db_trace_self_wrapper+8x2b/frame Bxfffffe88c6c885b8
vpanic() at vpanic+8x17f/frame Bxfffffe80c6c88688 panic() at panic+8x43/fra=
me
0xfffffe80c6c88668 malloc_dbg() at malloc_dbg+8xd4/frame Bxfffffe88c6c88688
malloc() at malloc+8x2d/frame Bxfffffe88c6c886c8 intel_atomic_state_alloc()=
 at
intel_atomic_state_alloc+8x28/frame Bxfffffe88c6c886e8
drm_client_modeset_commit_atomic() at
drm_client_modeset_commit_atomic+8x31/frame 8xfffffe88c6c88758
drm_client_modeset_commit_force() at drm_client_modeset_commit_force+8x6f/f=
rame
0xfffffe80c6c88798 drm_fb_helper_restore_fbdev_mode_unlocked() at
drm_fb_helper_restore_fbdev_mode_unlocked+8x82/frame Bxfffffe88c6c88
vt_kms_postsuitch() at vt_kms_postsuitch+8x163/frame Bxfffffe88c6c887f8
vt_uindou_suitch() at vt_window_switch+8x261/frame Bxfffffe80c6c88830
vtterm_cngrab() at vtterm_cngrab+8x4f/frame 0xfffffe88c6c88858
engrab() at cngrab+8x26/frame 0xfffffe00c6c88878 vpanic() at vpanic+8xee/fr=
ame
8xfffffe80c6c888c8
panic() at panic+8x43/frame Bxfffffe80c6c88928 uitness_checkorder() at
uitness_checkorder+8xd1c/frame 0xfffffe08c6c88ae8 __mtx_lock_flags() at
ntx_lock_flags+8x94/frame 0xfffffe80c6c88b38
prison_check_ip4() at prison_check_ip4+8x51/frame 0xfffffe08c6c88b68 in
pcblookup_hash_locked() at in pcblookup_hash_locked+8x2b6/frame
0xfffffe80c6c88bc8 in pcb lookup_mbuf() at in pcb lookup_mbuf+8x84/frame
0xfffffe88c6c88c88 tcp_input_with_port() at tcp_input_with_port+0x635/frame
0xfffffe88c6c88d58
tcp_input() at tcp_input 8xb/frame Bxfffffe88c6c88d68 ip_input() at ip_input
8x25e/frame Bxfffffe80c6c88de0 sui net() at sui_net 8xla1/frame
Bxfffffe88c6c88e68
ithread_loop() at ithread_loop+8x279/frame Bxfffffe80c6c88ef0
fork_exit() at fork_exit 8x88/frame Bxfffffe88c6c88f38 fork trampoline() at
fork trampoline+Bxe/frame Bxfffffe88c6c88f38 trap 8x12888289, rip =3D
Bxa88ff8a03871208, rsp=3D 8x2e384949582e4259,
KDB: enter; panic
[ thread pid 12 tid 188866 J
Stopped at kdb_enter+8x37; movg $8,8x128c29e (%rip)
db>
rbp=3D 8x289120888933152
DE

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260335-227>