← Back to team overview

desktop-packages team mailing list archive

[Bug 1340716] Re: segfault at 8 ip 08051738 sp bf97f4e0 error 4 in xrandr[8048000+c000]

 

Repro (intermittent):  
$ xrandr -q
zsh: segmentation fault (core dumped)  xrandr -q

When xrandr does not crash, it variously returns one of  two results
(note the difference for second screen, DisplayPort-0):

$ xrandr -q                           
Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 16384 x 16384
LVDS connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080      60.2*+   40.1  
   1680x1050      60.0  
   1400x1050      60.0  
   1280x1024      59.9  
   1440x900       59.9  
   1280x960       59.9  
   1280x854       59.9  
   1280x800       59.8  
   1280x720       59.9  
   1152x768       59.8  
   1024x768       59.9  
   800x600        59.9  
   848x480        59.7  
   720x480        59.7  
   640x480        59.4  
DisplayPort-0 connected 2560x1440+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
  2560x1440 (0x2e2)  241.5MHz
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock   88.8KHz
        v: height 1440 start 1443 end 1448 total 1481           clock   60.0Hz

$ xrandr -q  
Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 16384 x 16384
LVDS connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080      60.2*+   40.1  
   1680x1050      60.0  
   1400x1050      60.0  
   1280x1024      59.9  
   1440x900       59.9  
   1280x960       59.9  
   1280x854       59.9  
   1280x800       59.8  
   1280x720       59.9  
   1152x768       59.8  
   1024x768       59.9  
   800x600        59.9  
   848x480        59.7  
   720x480        59.7  
   640x480        59.4  
DisplayPort-0 connected 2560x1440+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440      60.0*+
   1920x1200      59.9  
   1920x1080      60.0     60.0     50.0     59.9     24.0     24.0  
   1920x1080i     60.1     50.0     60.0  
   1600x1200      60.0  
   1680x1050      60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1152x864       75.0  
   1280x720       60.0     50.0     59.9  
   1440x576i      50.1  
   1024x768       75.1     60.0  
   1440x480i      60.1     60.1  
   800x600        75.0     60.3  
   720x576        50.0  
   720x480        60.0     59.9  
   640x480        75.0     60.0     59.9  
   720x400        70.1  
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)

$ uname -a
Linux Ubu14Msw4-M4800 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04.1 LTS

$ dmesg | tail
[  226.671770] xrandr[2361]: segfault at 38 ip 00000000004027ae sp 00007fff63eb7e60 error 4 in xrandr[400000+d000]
[ 1566.312068] [drm:si_dpm_set_power_state] *ERROR* si_set_sw_state failed
[ 1978.902140] xrandr[4990]: segfault at 38 ip 0000000000402829 sp 00007fff51114720 error 4 in xrandr[400000+d000]
[ 2206.271566] xrandr[5890]: segfault at 38 ip 0000000000402829 sp 00007fff2af7c580 error 4 in xrandr[400000+d000]
[ 2568.830335] xrandr[6049]: segfault at 38 ip 0000000000402829 sp 00007fffd3919610 error 4 in xrandr[400000+d000]
[ 2572.286594] xrandr[6054]: segfault at 38 ip 0000000000402829 sp 00007fffae5b4460 error 4 in xrandr[400000+d000]
[ 2580.897760] xrandr[6067]: segfault at 10 ip 0000000000402ee6 sp 00007fff96869490 error 4 in xrandr[400000+d000]
[ 2587.574203] xrandr[6094]: segfault at 38 ip 0000000000402829 sp 00007fff29572620 error 4 in xrandr[400000+d000]
[ 3001.398366] xrandr[6462]: segfault at 38 ip 0000000000402829 sp 00007fff5dc471f0 error 4 in xrandr[400000+d000]
[ 3109.594677] xrandr[6565]: segfault at 38 ip 0000000000402829 sp 00007fff534df710 error 4 in xrandr[400000+d000]

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to x11-xserver-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1340716

Title:
  segfault at 8 ip 08051738 sp bf97f4e0 error 4 in xrandr[8048000+c000]

Status in “x11-xserver-utils” package in Ubuntu:
  Confirmed

Bug description:
  Laptop's lid was closed during script to initialize external monitor
  and disable LVDS1.

  segfault at 8 ip 08051738 sp bf97f4e0 error 4 in xrandr[8048000+c000]

  Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 8192 x 8192
  LVDS1 connected (normal left inverted right x axis y axis)
     1366x768       60.0 +
     1360x768       59.8     60.0  
     1024x768       60.0  
     800x600        60.3     56.2  
     640x480        59.9  
  VGA1 connected 1920x1200+2560+0 (normal left inverted right x axis y axis) 518mm x 324mm
     1920x1200      60.0*+
     1920x1080      60.0  
     1600x1200      60.0  
     1680x1050      60.0  
     1280x1024      60.0  
     1280x960       60.0  
     1024x768       60.0  
     800x600        60.3  
     640x480        60.0  
     720x400        70.1  
  HDMI1 disconnected (normal left inverted right x axis y axis)
  DP1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
     2560x1440      60.0*+
     1920x1200      59.9  
     1920x1080      60.0     60.0     50.0     59.9     24.0     24.0  
     1920x1080i     60.1     50.0     60.0  
     1600x1200      60.0  
     1680x1050      60.0  
     1280x1024      75.0     60.0  
     1280x800       59.8  
     1152x864       75.0  
     1280x720       60.0     50.0     59.9  
     1024x768       75.1     60.0  
     800x600        75.0     60.3  
     720x576        50.0  
     720x480        60.0     59.9  
     640x480        75.0     60.0     59.9  
     720x400        70.1  
  HDMI2 disconnected (normal left inverted right x axis y axis)
  HDMI3 disconnected (normal left inverted right x axis y axis)
  DP2 disconnected (normal left inverted right x axis y axis)
  DP3 disconnected (normal left inverted right x axis y axis)

  Intel (sandy bridge)'s graphics.

  dmesg during crash:

  [34112.801828] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34114.339578] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34114.351444] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34115.904452] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34115.910932] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34115.919048] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34117.555736] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34118.061252] xrandr[14813]: segfault at 8 ip 08051738 sp bf97f4e0 error 4 in xrandr[8048000+c000]
  [34118.488651] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34120.353155] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34120.365152] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34121.921496] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34121.933163] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34123.486506] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34123.493197] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34123.501321] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34125.054863] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34125.061363] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34125.069532] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34126.620808] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34126.627544] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34126.637193] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34128.194951] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34128.212203] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34131.392352] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34131.398781] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34131.409436] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34132.964217] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34134.515388] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34136.068077] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34137.618574] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34139.354699] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up
  [34139.368775] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34140.922575] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP, aborting
  [34142.475539] [drm:intel_dp_start_link_train] *ERROR* too many full retries, give up

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: x11-xserver-utils 7.7+2ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-31.55-generic 3.13.11.4
  Uname: Linux 3.13.0-31-generic i686
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: i386
  CurrentDesktop: XFCE
  Date: Fri Jul 11 15:23:43 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2013-07-19 (356 days ago)
  InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release i386 (20130423.1)
  SourcePackage: x11-xserver-utils
  UpgradeStatus: Upgraded to trusty on 2013-11-30 (222 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/1340716/+subscriptions