Skip to contentSkip to conversation

New: [Randr12] Server crash when detecting DVI output change

Bug 16233 [email protected] 1 participant 10 messages Jun 4, 2008 – Jun 29, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=16233

Summary: [Randr12] Server crash when detecting DVI output change
Product: xorg
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Keywords: regression
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Created an attachment (id=16916)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16916)
Xorg log containing crash after running 'xrandr'

I have two DVI devices: a LCD panel with single channel DVI interface and a TV connected over a dual-channel DVI->HDMI. Nouveau kills X when swapping between them in the following way:
1) Connect LCD panel to DVI port.
2) xrandr --auto to bring it up.
3) xrandr --output DVI-D-0 --off to bring it down
4) Disconnect LCD, plug DVI->HDMI cable into same DVI port
5) Run xrandr <-- Crash here.

This is symmetric, in that TV->LCD crashes in the same way that LCD->TV does.

I've run a git-bisect, and the offending commit is:
cdae2e26cc432ba572f92522f1b3454264d38f43 is first bad commit commit cdae2e26cc432ba572f92522f1b3454264d38f43

Author: Maarten Maathuis <[email protected]>
Date:   Fri Jan 25 00:10:08 2008 +0100

randr12: Rework native modes for TMDS.

- Choose a preferred ddc mode when available, otherwise the one with the
highest refresh.
- Fall back on cvt modes, only when needed.

:040000 040000 497af7e1199ee5079d38ab8dd668c1612230dfb7
78929b01e4e079417a26e25b64788c5c75cf3878 M src

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-16233-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

http://bugs.freedesktop.org/show_bug.cgi?id=16233

--- Comment #1 from Christopher James Halse Rogers <[email protected]> 2008-06-04 14:51:50 PST --- Created an attachment (id=16917)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16917)
dmesg log, before crash with 'xrandr'

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

Christopher James Halse Rogers <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #16917|application/octet-stream    |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

--- Comment #2 from Christopher James Halse Rogers <[email protected]> 2008-06-04 14:53:40 PST --- Created an attachment (id=16918)
--> (http://bugs.freedesktop.org/attachment.cgi?id=16918)
dmesg log, after crashing with 'xrandr' and X restarting.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

Christopher James Halse Rogers <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #16916|text/x-apport               |text/plain
          mime type|                            |
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

--- Comment #3 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-06-25 11:53:20 PST --- Using current DDX code, can you attach gdb to the Xorg process (using an
xserver with debug symbols, as described in
http://www.x.org/wiki/Development/Documentation/ServerDebugging) before
triggering this bug, to give a better idea of what member gets dereferenced and
causing problems in xf86DuplicateMode?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

--- Comment #4 from Christopher James Halse Rogers <[email protected]> 2008-06-26 05:10:50 PST --- Created an attachment (id=17392)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17392)
GDB session of X server crash upon running "xrandr"

GDB backtrace, taken by starting X attached to TV, plugging in the LCD, attaching gdb and running "xrandr"

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

--- Comment #5 from Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> 2008-06-26 06:48:06 PST --- Created an attachment (id=17393)
--> (http://bugs.freedesktop.org/attachment.cgi?id=17393)
allow screen dimensions to change

Try this

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

--- Comment #6 from Christopher James Halse Rogers <[email protected]> 2008-06-28 19:03:47 PST --- That works, thanks.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 16233] [Randr12] Server crash when detecting DVI output change

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=16233

Stuart Bennett <sb476-KWPb1pKIrIJaa/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.