Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2024 18:22:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 279333] x11/xorg 100% - until truss probed
Message-ID:  <bug-279333-99@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 279333
           Summary: x11/xorg 100% - until truss probed
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: standards@FreeBSD.org
          Reporter: unspam@crystalforest.tf

Greetings, I've finally been able to reproduce this on 14.x as well as cons=
tant
happenings on 15.x

So, on FBSD-14, I have an issue where by if I try to use xfce-screenshot
plugin, XORG will launch it self into 100% causing the system to become
unresponsive.

Within FBSD-15 -XORG will freeze upon startup of xfce4 showing the same
symptoms.

Now, if I SSH in to my host, and use truss to inspect the PID -- Suddenly X=
org
comes back in to life as if nothing had ever happened and my machine becomes
responsive.

Version: FreeBSD 14.0-RELEASE
Graphics: NVidia 3060 RTX=20
(nvidia-modeset and tried all the different versions from 550 to 470)
Processor: Ryzen 9 5950X

FreeBSD 14, custom kernel but latest, but occurs the same on GENERIC and as
mentioned 15-Current.

It never used to do this on my previous setup of 15-Current prior to
accidentally breaking and requiring a reformat.


HTOP

    24224 root        24   0 13400  3068 S    0.0  0.0  0:00.00 =E2=94=9C=
=E2=94=80 login [pam]
    29169 rabbit         20   0 16456  4540 S    0.0  0.0  0:00.01 =E2=94=
=82  =E2=94=94=E2=94=80 -tcsh
    30393 rabbit         20   0 14712  3288 S    0.0  0.0  0:00.00 =E2=94=
=82     =E2=94=94=E2=94=80
xinit /usr/local/etc/xdg/xfce4/xinitrc
    30658 root       135   0 24.9G  863M R   99.2  0.7  3:09.63 =E2=94=82  =
      =E2=94=9C=E2=94=80
/usr/local/libexec/Xorg :0
    31222 rabbit         20   0 98132 36852 S    0.0  0.0  0:00.12 =E2=94=
=82        =E2=94=94=E2=94=80
xfce4-session

Truss output

    recvmsg(69,0x8210d3680,0)                        ERR#35 'Resource
temporarily unavailable'
    setitimer(ITIMER_REAL,{ 0.000000, 0.000000 },0x0) =3D 0 (0x0)
    poll({ 4/POLLIN 5/POLLIN 6/POLLIN 18/POLLIN 19/POLLIN 20/POLLIN 21/POLL=
IN
22/POLLIN 26/POLLIN 31/POLLIN 49/POLLIN 50/POLLIN 51/POLL
    setitimer(ITIMER_REAL,{ 0.005000, 0.005000 },0x0) =3D 0 (0x0)
    recvmsg(69,{NULL,0,[{"5
\^D\0\^O\n\M-@\^B\^C\0\M-@\^B:"...,16408}],1,{},0,0},0) =3D 16408 (0x4018)
=20=20=20
recvmsg(69,{NULL,0,[{"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,16164}],1,{},0,0=
},0)
=3D 16164 (0x3f24)
=20=20=20
recvmsg(69,{NULL,0,[{"\0Fs\0\0\M->X\^A\0\M-=3Dr\0\0007Z"...,15936}],1,{},0,=
0},0)
=3D 15936 (0x3e40)
=20=20=20
recvmsg(69,{NULL,0,[{"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,15984}],1,{},0,0=
},0)
=3D 15984 (0x3e70)
=20=20=20
recvmsg(69,{NULL,0,[{"\0^\a\0\0\M^G\M-9\^B\0\M^G\M-9"...,15592}],1,{},0,0},=
0) =3D
15592 (0x3ce8)
=20=20=20
recvmsg(69,{NULL,0,[{"\M^K\^E\^D\0\^P\n\M-@\^B@\0\0\0"...,16408}],1,{},0,0}=
,0)
=3D 16408 (0x4018)
=20=20=20
recvmsg(69,{NULL,0,[{"|\^D\M-t\^B&\n\M-@\^B\^B\0\0\0"...,16376}],1,{},0,0},=
0) =3D
8596 (0x2194)
    sched_yield()                                    =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    [continuation...]

    write(32,"\0",1)                                 =3D 1 (0x1)
    sched_yield()                                    =3D 0 (0x0)
    nanosleep({ 0.000000000 })                       =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    nanosleep({ 0.000000000 })                       =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    SIGNAL 14 (SIGALRM) code=3DSI_KERNEL
    sigprocmask(SIG_SETMASK,{ SIGALRM },0x0)         =3D 0 (0x0)
    sigreturn(0x8210d2740)                           EJUSTRETURN
    SIGNAL 14 (SIGALRM) code=3DSI_KERNEL
    sigprocmask(SIG_SETMASK,{ SIGALRM },0x0)         =3D 0 (0x0)
    sigreturn(0x8210d2740)                           EJUSTRETURN
    nanosleep({ 0.000000000 })                       =3D 0 (0x0)
    sched_yield()                                    =3D 0 (0x0)
    nanosleep({ 0.000000000 })                       =3D 0 (0x0)
    [continuation]
    writev(69,[{"kx\M-J\0kx\M-J\0kx\M-J\0kx\M-J\0"...,122880}],1) =3D 65536
(0x10000)
    writev(69,[{"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,57344}],1) =3D 57344
(0xe000)
    sched_yield()                                    =3D 0 (0x0)

sched_yield appears to be the issue, and the same issue I was getting on
15-Current. XORG will eventually resume after 2-3minutes of frozen activity=
 but
this is annoying.

I also don't understand why as to if I use truss the process suddenly resum=
es
normally. Happy to attach anything else.

Cheers.

--=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-279333-99>