Skip to contentSkip to conversation

New: [crash] Xorg is crashing on startup with enabled xinerama

Bug 109230 [email protected] 1 participant 10 messages Jan 6, 2019 – Jan 7, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=109230

Bug ID: 109230
Summary: [crash] Xorg is crashing on startup with enabled
xinerama
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: All
Status: NEW
Severity: major
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Dual gpu configuration: radeon + nouveau.
When xinerama is enabled xorg is crashing with the following backtrace:

[1208755.149] (EE) Backtrace:
[1208755.159] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x55b646b6afc9]
[1208755.160] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50)
[0x7f7d21b486ff]
[1208755.162] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x10b)
[0x7f7d219aa85b]
[1208755.163] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (abort+0x121)
[0x7f7d21995535]
[1208755.164] (EE) unw_get_proc_name failed: no unwind info found [-10]
[1208755.164] (EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f7d21995400]
[1208755.165] (EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (__assert_fail+0x42)
[0x7f7d219a30a2]
[1208755.166] (EE) 6: /usr/lib/xorg/modules/drivers/nouveau_drv.so
(_init+0x433b3) [0x7f7d1ff2e743]
[1208755.167] (EE) 7: /usr/lib/xorg/modules/drivers/nouveau_drv.so
(_init+0x4430a) [0x7f7d1ff304ea]
[1208755.168] (EE) 8: /usr/lib/xorg/modules/drivers/nouveau_drv.so
(_init+0x48b20) [0x7f7d1ff39480]
[1208755.169] (EE) 9: /usr/lib/xorg/modules/drivers/nouveau_drv.so
(_init+0x3b581) [0x7f7d1ff1ea81]
[1208755.175] (EE) 10: /usr/lib/xorg/Xorg (InitExtensions+0x63e)
[0x55b646a7affe]
[1208755.176] (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x279) [0x55b646a10839]
[1208755.178] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xeb)
[0x7f7d2199709b]
[1208755.178] (EE) 13: /usr/lib/xorg/Xorg (_start+0x2a) [0x55b6469fa68a]

Related with?
https://bugs.freedesktop.org/show_bug.cgi?id=108495

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #1 from Mariusz Białończyk <[email protected]> --- Created attachment 142983
--> https://bugs.freedesktop.org/attachment.cgi?id=142983&action=edit
full Xorg.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #2 from Mariusz Białończyk <[email protected]> --- Created attachment 142984
--> https://bugs.freedesktop.org/attachment.cgi?id=142984&action=edit
xorg.conf

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Looks like an assertion is failing in nouveau somewhere. I doubt it's related to the intel SNA bug.

Do you have a debug symbols package you could install? Or perhaps build xf86-video-nouveau yourself?

Also, to eliminate some potential complications -- try commenting out the RADEON bit and ensure that it keeps failing. (Not that that shouldn't work, but good to know for debugging purposes.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #4 from Mariusz Białończyk <[email protected]> --- Hi Ilia,

Quoted 2 lines

Do you have a debug symbols package you could install? Or perhaps build xf86-video-nouveau yourself?

yes - I installed it, but the line:
"unw_get_proc_name failed: no unwind info found"
was still there, so I compiled nouveau myself and installed with debug symbols but it doesn't help to full unwind, so finally I compiled whole xorg+debug symbols and complete unwind still doesn't happen.
Isn't it that this unwind is for some libc calls which is irrelevant? I am attaching new backtrace from console output.

Quoted 3 lines

Also, to eliminate some potential complications -- try commenting out the RADEON bit and ensure that it keeps failing. (Not that that shouldn't work, but good to know for debugging purposes.)

No, it is not failing with nouveau alone (and commented radeon driver).

I was also trying to disable xinerama (with radeon+nouveau) - then it is also not failing. It seems this is triggering only with enabled xinerama and both radeon and nouveau drivers loaded.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #5 from Mariusz Białończyk <[email protected]> --- Created attachment 142995
--> https://bugs.freedesktop.org/attachment.cgi?id=142995&action=edit
startx - backtrace on console output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- OK, that's helpful:

Xorg: /usr/include/xorg/privates.h:121: dixGetPrivateAddr: Assertion `key->initialized' failed.

Can you stick a "return false" at the top of nouveau_sync_init and see if that helps?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #7 from Mariusz Białończyk <[email protected]> --- Added this and it doesn't help. Can I somehow disable all RandR calls?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- You could make drmmode_display.c:has_randr unconditionally return "false".

Getting a proper backtrace would be really nice though. Perhaps you can get it in gdb? (Although it would be easiest to do that from a different machine over ssh.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 109230] [crash] Xorg is crashing on startup with enabled xinerama

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=109230

Mariusz Białończyk <[email protected]> changed:

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

          Component|Driver/nouveau              |Driver/Radeon
           Assignee|[email protected] |[email protected]
                   |rg                          |

--- Comment #9 from Mariusz Białończyk <[email protected]> --- I was able to collect proper backtrace with symbols. And it seems the problem is the radeon.
I am attaching full backtrace.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau