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

Bug #1340716 reported by George Shuklin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
x11-xserver-utils (Ubuntu)
Confirmed
Undecided
Unassigned

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)

Revision history for this message
George Shuklin (george-shuklin) wrote :
Revision history for this message
George Shuklin (george-shuklin) wrote :

Script:

xrandr --output DP1 --auto
xrandr --output LVDS1 --off
xrandr --output VGA1 --auto
xrandr --output DP1 --left-of VGA1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in x11-xserver-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Weaver (matthew-weaver) wrote :
Download full text (4.0 KiB)

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.902...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.