Skip to content

xorgxrdp Causes Xorg Crash in FreeBSD 13 Jail #199

@TheRealDev0

Description

@TheRealDev0

I've tried installing both the package version in ports as well as compiling from source, both with the same result. When attempting to make a connection using xrdp on FreeBSD 13 (regardless of the configuration settings in sesman.ini or xrdp.ini), xorgxrdp crashes Xorg. Let me know what additional information I can provide.

root@browser1:/usr/local/etc/xrdp # Xorg :10 -config /etc/X11/xrdp/xorg.conf

X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 13.0-RELEASE-p5 amd64
Current Operating System: FreeBSD browser1 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021     [email protected]:/usr/obj/usr/src/amd64.amd6
4/sys/GENERIC amd64
Build Date: 06 November 2021  09:48:47AM

Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.10.log", Time: Fri Nov 12 13:03:13 2021
(++) Using config file: "/etc/X11/xrdp/xorg.conf"
(==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpPreInit:
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x801b960c0
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000206c2 bx 0x14200800 cx 0x009ee3fd dx 0xbfebfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpXvInit: depth 24
rdpScreenInit: out
MIT-SHM extension disabled due to lack of kernel support
rdpCreateScreenResources:
rdpmousePreInit: drv 0x801217340 info 0x80a20e9c0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x801b8cfb0
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x8012173c0 info 0x80a20eb00, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x801b92b00
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRGetInfo:
  screen resized to 1024x768
  RRScreenSizeSet ok 1
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 5
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x801b96540
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1920 height 955 bpp 16
rdpClientConProcessScreenSizeMsg: shmemid -1 shmemptr 0xffffffffffffffff
rdpRRScreenSetSize: width 1920 height 955 mmWidth 508 mmHeight 253
rdpRRGetInfo:
  screen resized to 1920x955
rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 955
rdpClientConProcessMsgClientInput: invalidate x 785 y 262 cx 350 cy 430
rdpClientConProcessMsgClientInfo:
  got client info bytes 7072
  jpeg support 0
  offscreen support 0
  offscreen size 0
  offscreen entries 0
  client supports glyph cache but server disabled
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1920 height 955
rdpLoadLayout: keylayout 0x00000409 variant  display 10
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
(EE)
(EE) Backtrace:
(EE) 0: /usr/local/bin/Xorg (?+0x0) [0x41e27a]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 1: /lib/libthr.so.3 (?+0x0) [0x80092ce0e]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 2: /lib/libthr.so.3 (?+0x0) [0x80092c3cf]
(EE) 3: ? (?+0x0) [0x7ffffffff003]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 4: /usr/local/lib/xorg/modules/libxorgxrdp.so (?+0x0) [0x801b5b4d5]
(EE) unw_get_proc_name failed: no unwind info found [-10]
(EE) 5: /usr/local/lib/xorg/modules/libxorgxrdp.so (?+0x0) [0x801b5b375]
(EE) 6: /usr/local/bin/Xorg (?+0x0) [0x416d24]
(EE) 7: /usr/local/bin/Xorg (?+0x0) [0x4168f2]
(EE) 8: /usr/local/bin/Xorg (?+0x0) [0x29733c]
(EE) 9: /usr/local/bin/Xorg (?+0x0) [0x2a1cac]
(EE) 10: /usr/local/bin/Xorg (?+0x0) [0x28a5d0]
(EE) 11: ? (?+0x0) [0x800458008]
(EE)
(EE) Segmentation fault at address 0xffffffffffffffff
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.10.log" for additional information.
(EE)
rdpmouseControl: what 4
rdpkeybControl: what 4
rdpLeaveVT:
(EE) Server terminated with error (1). Closing log file.
Abort (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions