Bug 235387 - emulators/virtualbox-ose: X crashes when video acceleration turned on in VM
Summary: emulators/virtualbox-ose: X crashes when video acceleration turned on in VM
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL: https://www.freshports.org/emulators/...
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2019-02-01 14:19 UTC by Marko Cupać
Modified: 2023-08-18 19:59 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2019-02-01 14:19:35 UTC
Hi,

X crashes when I log into Windows 10 VM when "Display -> Screen -> Acceleration: Enable 3D Acceleration & Enable 2D Video Acceleration" are turned on.

[   397.167] (EE) 
[   397.167] (EE) Backtrace:
[   397.169] (EE) 0: /usr/local/bin/X (?+0x0) [0x400a20]
[   397.171] (EE) 1: /lib/libthr.so.3 (pthread_sigmask+0x544) [0x800aec924]
[   397.173] (EE) 2: /lib/libthr.so.3 (pthread_getspecific+0xe12) [0x800aec6f2]
[   397.175] (EE) 3: ? (?+0xe12) [0x7fffffffffa5]
[   397.177] (EE) 4: /lib/libc.so.7 (memcpy+0x2b) [0x800cbb766]
[   397.179] (EE) 5: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80274da6b]
[   397.180] (EE) 6: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x802487a0b]
[   397.182] (EE) 7: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x802486cbb]
[   397.184] (EE) 8: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80248e05b]
[   397.185] (EE) 9: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x8021875ab]
[   397.187] (EE) 10: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80218799b]
[   397.188] (EE) 11: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80248f71b]
[   397.189] (EE) 12: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80248e9db]
[   397.191] (EE) 13: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x802179a7b]
[   397.192] (EE) 14: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x8021730fb]
[   397.193] (EE) 15: /usr/local/lib/dri/i965_dri.so (?+0x2b) [0x80217330b]
[   397.194] (EE) 16: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x2b) [0x801af687b]
[   397.196] (EE) 17: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x2b) [0x801ae62fb]
[   397.197] (EE) 18: /usr/local/bin/X (?+0x2b) [0x3dc5eb]
[   397.198] (EE) 19: /usr/local/bin/X (?+0x2b) [0x3dc9eb]
[   397.199] (EE) 20: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x2b) [0x801ae703b]
[   397.201] (EE) 21: /usr/local/bin/X (?+0x2b) [0x37a33b]
[   397.202] (EE) 22: /usr/local/bin/X (?+0x2b) [0x3300eb]
[   397.203] (EE) 23: /usr/local/bin/X (?+0x2b) [0x2858ab]
[   397.204] (EE) 24: /usr/local/bin/X (?+0x2b) [0x28f15b]
[   397.206] (EE) 25: /usr/local/bin/X (?+0x2b) [0x27902b]
[   397.207] (EE) 26: ? (?+0x2b) [0x80043f02b]
[   397.207] (EE) 
[   397.207] (EE) Segmentation fault at address 0x90004
[   397.207] (EE) 
Fatal server error:
[   397.207] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   397.207] (EE) 
[   397.207] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   397.207] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   397.207] (EE) 
[   397.207] (II) AIGLX: Suspending AIGLX clients for VT switch
[   397.207] (EE) Server terminated with error (1). Closing log file.

Thank you in advance for any help with the issue.
Comment 1 Philip Homburg 2019-02-03 20:33:59 UTC
I see a very similar crash just starting X on Thinkpad X201.

mesa-dri-18.3.2
xorg-7.7_3
xorg-server-1.18.4_11,1
Comment 2 Marko Cupać 2019-02-04 12:16:52 UTC
I just had another crash, not with virtualbox, but just trying to play .mp4 video in VLC. I guess this means it's not problem with applications but possibly with video driver (I'm not a developer). Should I open another bug report? I'm using graphics/drm-legacy-kmod, pciconf shows my card as "Haswell-ULT Integrated Graphics Controller".

Here's backtrace.

[ 11497.312] (EE) Backtrace:
[ 11497.314] (EE) 0: /usr/local/bin/X (?+0x0) [0x400a20]
[ 11497.316] (EE) 1: /lib/libthr.so.3 (pthread_sigmask+0x544) [0x800aec924]
[ 11497.318] (EE) 2: /lib/libthr.so.3 (pthread_getspecific+0xe12) [0x800aec6f2]
[ 11497.320] (EE) 3: ? (?+0xe12) [0x7ffffffffe15]
[ 11497.322] (EE) 4: /lib/libc.so.7 (memcpy+0x68) [0x800cbb7e0]
[ 11497.325] (EE) 5: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x80274daa8]
[ 11497.326] (EE) 6: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x802487a48]
[ 11497.328] (EE) 7: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x802486cf8]
[ 11497.330] (EE) 8: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x80248e098]
[ 11497.332] (EE) 9: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x8021875e8]
[ 11497.334] (EE) 10: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x8021879d8]
[ 11497.335] (EE) 11: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x80248f758]
[ 11497.337] (EE) 12: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x80248ea18]
[ 11497.338] (EE) 13: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x802179ab8]
[ 11497.340] (EE) 14: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x802173138]
[ 11497.342] (EE) 15: /usr/local/lib/dri/i965_dri.so (?+0x68) [0x802173348]
[ 11497.343] (EE) 16: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x68) [0x801af68b8]
[ 11497.345] (EE) 17: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x68) [0x801ae6338]
[ 11497.347] (EE) 18: /usr/local/bin/X (?+0x68) [0x3dc628]
[ 11497.348] (EE) 19: /usr/local/bin/X (?+0x68) [0x3dca28]
[ 11497.350] (EE) 20: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x68) [0x801ae7078]
[ 11497.352] (EE) 21: /usr/local/bin/X (?+0x68) [0x37a378]
[ 11497.353] (EE) 22: /usr/local/bin/X (?+0x68) [0x330128]
[ 11497.355] (EE) 23: /usr/local/bin/X (?+0x68) [0x2858e8]
[ 11497.357] (EE) 24: /usr/local/bin/X (?+0x68) [0x28f198]
[ 11497.358] (EE) 25: /usr/local/bin/X (?+0x68) [0x279068]
[ 11497.360] (EE) 26: ? (?+0x68) [0x80043f068]
[ 11497.360] (EE) 
[ 11497.360] (EE) Segmentation fault at address 0x10a028
[ 11497.360] (EE) 
Fatal server error:
[ 11497.360] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 11497.360] (EE) 
[ 11497.360] (EE)
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2023-08-18 19:59:52 UTC
Reproducible with 6.1.46_1 or greater on a currently supported version of FreeBSD?