New: Caught signal 11 (Segmentation fault). Server aborting
https://bugs.freedesktop.org/show_bug.cgi?id=40866
Summary: Caught signal 11 (Segmentation fault). Server aborting
Product: xorg
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created an attachment (id=51186)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51186)
xorg.conf
ubuntu 10.04
nVidia Corporation NV25 [GeForce4 Ti 4400] rev 163 3.0.4-030004-generic #201108301138 SMP Tue Aug 30 13:13:07 UTC 2011 i686 GNU/Linux
kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/
add repository
http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu
http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu
Backtrace: [ 19.598] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80ad18b] [ 19.598] 1: /usr/bin/X (0x8048000+0x60685) [0x80a8685] [ 19.598] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb77b740c] [ 19.598] 3: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb732a000+0xc7b3) [0xb73367b3] [ 19.598] 4: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xb732a000+0xd168) [0xb7337168] [ 19.598] 5: /usr/bin/X (AddScreen+0x198) [0x808d2b8] [ 19.598] 6: /usr/bin/X (InitOutput+0x228) [0x80b17f8] [ 19.598] 7: /usr/bin/X (0x8048000+0x1eb4b) [0x8066b4b] [ 19.598] 8: /lib/tls/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0xb74d3bd6] [ 19.598] 9: /usr/bin/X (0x8048000+0x1e8f1) [0x80668f1] [ 19.598] Segmentation fault at address 0x6000 [ 19.598] Fatal server error: [ 19.598] Caught signal 11 (Segmentation fault). Server aborting
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] Caught signal 11 (Segmentation fault). Server aborting
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #1 from JohnDoe_71Rus <[email protected]> 2011-09-14 03:08:06 PDT --- Created an attachment (id=51187)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51187)kernel_log
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] Caught signal 11 (Segmentation fault). Server aborting
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #2 from JohnDoe_71Rus <[email protected]> 2011-09-14 03:09:24 PDT --- Created an attachment (id=51188)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51188)
dmesg
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] Caught signal 11 (Segmentation fault). Server aborting
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #3 from JohnDoe_71Rus <[email protected]> 2011-09-14 03:10:28 PDT --- Created an attachment (id=51189)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51189)
xorg.conf plain text
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] Caught signal 11 (Segmentation fault). Server aborting
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #4 from JohnDoe_71Rus <[email protected]> 2011-09-22 02:00:28 PDT --- Created an attachment (id=51506)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51506)
xorg.0.log
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] Caught signal 11 (Segmentation fault). Server aborting
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #5 from JohnDoe_71Rus <[email protected]> 2011-10-14 13:03:24 PDT --- Try 3.0.6-030006-generic #201110050043 SMP Wed Oct 5 02:07:23 UTC 2011 i686 and
drm xf86-video-nouveau from git. The same situation.
http://pastebin.com/VL0PAmsh dmesg
http://pastebin.com/FhP3qty0 xorg.0.log
gdb /usr/lib/xorg/modules/drivers/nouveau_drv.so
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/lib/xorg/modules/drivers/nouveau_drv.so...done. (gdb) l *0xc5c30xc5c3 is in NVInitDma (nv_dma.c:56).
51 NVPtr pNv = NVPTR(pScrn);
52 int ret;
53
54 ret = nouveau_channel_alloc(pNv->dev, NvDmaFB, NvDmaTT, 24*1024,
55 &pNv->chan);
56 if (ret) {
57 xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
58 "Error creating GPU channel: %d\n", ret);
59 return FALSE;
60 }
(gdb)
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Caught signal 11 |GeForce4 Ti 4400 (NV25) X
|(Segmentation fault). |Segfaults in
|Server aborting |nouveau_channel_allocSignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #6 from [email protected] 2011-10-14 13:10:33 PDT --- We debugged that a bit today, and found that X segfaults when it tries to open
a GPU channel.
Both DDX module and libdrm are now compiled from their git branches. kernel log is quiet in regard to errors.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unspecified |git
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
Francisco Jerez <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTABUG--- Comment #7 from Francisco Jerez <[email protected]> 2011-10-15 04:26:41 PDT --- This looks like an ABI issue, most likely you're running a version of libdrm
different to the one your DDX module was compiled with.
Try "ldd /usr/lib/xorg/modules/drivers/nouveau_drv.so |grep libdrm" to find out which libraries are being used, and, in case they aren't what you'd expect, remove them, and make sure you're installing libdrm and the DDX to the right prefix.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|NOTABUG |--- Comment #8 from [email protected] 2011-10-15 06:17:44 PDT --- We did compile both libdrm and DDX. And installed both to /usr. I don't think
its ABI issue (although I also suspected that first)
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEW
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #9 from [email protected] 2011-10-15 06:20:10 PDT --- Although, knowing that ubuntu plays games with libdrm and installs it to /lib
or something crazy like that, it could be.
Also, before we compiled it, I more or less verified that stock ubbuntu packages or X and libdrm were used.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
--- Comment #10 from [email protected] 2011-10-15 09:26:33 PDT --- It was indeed ABI problem. libdrm was pulled from /lib. Now it works
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40866] GeForce4 Ti 4400 (NV25) X Segfaults in nouveau_channel_alloc
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40866
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTABUGSignature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.