public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Xorg segfaults, but GDM welcome screen loads
@ 2011-02-04 22:26 Grant
  2011-02-04 22:38 ` Alan McKinnon
  2011-02-05 11:44 ` [gentoo-user] " Florian Philipp
  0 siblings, 2 replies; 13+ messages in thread
From: Grant @ 2011-02-04 22:26 UTC (permalink / raw
  To: Gentoo mailing list

Yesterday I caught up with portage and updated quite a few packages on
a remote workstation.  The system hadn't been updated for about a
month.  The updates included some xorg stuff and some xfce4 stuff.
Today when the workstation's user logged in via gdm, she clicked the
xfce4 "Migrate Config" option, something weird happened, and she ended
up back on the gdm welcome screen.  Now whenever she logs is via gdm,
the screen immediately goes black and she is routed back to the gdm
welcome screen again.  When I have grsecurity enabled I get this in
dmesg:

Segmentation fault occurred at 000068e453633fdc in
/usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
/usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002

She also tried skipping gdm and issuing startxfce4 manually but it
fails in a similar way and displays "disconnected from session
manager".  I get this in Xorg.0.log:

Backtrace:
[    74.799] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49eeb8]
[    74.799] 1: /usr/bin/X (0x400000+0x62849) [0x462849]
[    74.799] 2: /lib/libpthread.so.0 (0x64727eac2000+0xf3f0) [0x64727ead13f0]
[    74.800] 3: /usr/lib64/xorg/modules/drivers/nv_drv.so
(0x64727bed7000+0x112d0) [0x64727bee82d0]
[    74.800] 4: /usr/lib64/xorg/modules/libshadowfb.so
(0x64727a682000+0x3db2) [0x64727a685db2]
[    74.800] 5: /usr/bin/X (0x400000+0x2da29) [0x42da29]
[    74.800] 6: /usr/bin/X (0x400000+0x2eda9) [0x42eda9]
[    74.800] 7: /usr/bin/X (0x400000+0x2475a) [0x42475a]
[    74.800] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x64727dcb2ba6]
[    74.800] 9: /usr/bin/X (0x400000+0x242f9) [0x4242f9]
[    74.800] Segmentation fault at address 0x64727462bfdc
[    74.800]
Fatal server error:
[    74.800] Caught signal 11 (Segmentation fault). Server aborting

and when grsecurity is enabled I get this in dmesg:

Segmentation fault occurred at 000064727462bfdc in
/usr/bin/Xorg[X:4647] uid/euid:1003/0 gid/egid:1010/1010, parent
/usr/bin/xinit[xinit:4646] uid/euid:1003/1003 gid/egid:1010/1010

I have tried disabling all security options in the kernel but I get
the same results with the exception of the dmesg info.  I tried
re-emerging xorg-server, xf86-video-nv, xinit, and gdm.  Strangely,
after re-emerging xorg-server and xinit there were files to change in
etc-update.  I don't see how that's possible since I'm caught up with
emerge -DuN world.  revdep-rebuild comes up with nothing.  I'm running
an emerge -e world now.  It's weird that the gdm welcome screen will
load (which implies xorg) but nothing afterward.  Any ideas?

- Grant



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-04 22:26 [gentoo-user] Xorg segfaults, but GDM welcome screen loads Grant
@ 2011-02-04 22:38 ` Alan McKinnon
  2011-02-05  0:54   ` Grant
  2011-02-05 11:44 ` [gentoo-user] " Florian Philipp
  1 sibling, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2011-02-04 22:38 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 00:26 on Saturday 05 February 2011, Grant did 
opine thusly:

> Yesterday I caught up with portage and updated quite a few packages on
> a remote workstation.  The system hadn't been updated for about a
> month.  The updates included some xorg stuff and some xfce4 stuff.
> Today when the workstation's user logged in via gdm, she clicked the
> xfce4 "Migrate Config" option, something weird happened, and she ended
> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
> the screen immediately goes black and she is routed back to the gdm
> welcome screen again.  When I have grsecurity enabled I get this in
> dmesg:
> 
> Segmentation fault occurred at 000068e453633fdc in
> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002


When you upgraded x.org, did you also rebuild it's drivers?

There should have been an elog about it, it's not something that protage can 
tarck easily as the driver's version numbers did not change.





> 
> She also tried skipping gdm and issuing startxfce4 manually but it
> fails in a similar way and displays "disconnected from session
> manager".  I get this in Xorg.0.log:
> 
> Backtrace:
> [    74.799] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49eeb8]
> [    74.799] 1: /usr/bin/X (0x400000+0x62849) [0x462849]
> [    74.799] 2: /lib/libpthread.so.0 (0x64727eac2000+0xf3f0)
> [0x64727ead13f0] [    74.800] 3: /usr/lib64/xorg/modules/drivers/nv_drv.so
> (0x64727bed7000+0x112d0) [0x64727bee82d0]
> [    74.800] 4: /usr/lib64/xorg/modules/libshadowfb.so
> (0x64727a682000+0x3db2) [0x64727a685db2]
> [    74.800] 5: /usr/bin/X (0x400000+0x2da29) [0x42da29]
> [    74.800] 6: /usr/bin/X (0x400000+0x2eda9) [0x42eda9]
> [    74.800] 7: /usr/bin/X (0x400000+0x2475a) [0x42475a]
> [    74.800] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x64727dcb2ba6]
> [    74.800] 9: /usr/bin/X (0x400000+0x242f9) [0x4242f9]
> [    74.800] Segmentation fault at address 0x64727462bfdc
> [    74.800]
> Fatal server error:
> [    74.800] Caught signal 11 (Segmentation fault). Server aborting
> 
> and when grsecurity is enabled I get this in dmesg:
> 
> Segmentation fault occurred at 000064727462bfdc in
> /usr/bin/Xorg[X:4647] uid/euid:1003/0 gid/egid:1010/1010, parent
> /usr/bin/xinit[xinit:4646] uid/euid:1003/1003 gid/egid:1010/1010
> 
> I have tried disabling all security options in the kernel but I get
> the same results with the exception of the dmesg info.  I tried
> re-emerging xorg-server, xf86-video-nv, xinit, and gdm.  Strangely,
> after re-emerging xorg-server and xinit there were files to change in
> etc-update.  I don't see how that's possible since I'm caught up with
> emerge -DuN world.  revdep-rebuild comes up with nothing.  I'm running
> an emerge -e world now.  It's weird that the gdm welcome screen will
> load (which implies xorg) but nothing afterward.  Any ideas?
> 
> - Grant

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-04 22:38 ` Alan McKinnon
@ 2011-02-05  0:54   ` Grant
  2011-02-05 20:10     ` Alan McKinnon
  2011-02-05 22:15     ` [gentoo-user] " walt
  0 siblings, 2 replies; 13+ messages in thread
From: Grant @ 2011-02-05  0:54 UTC (permalink / raw
  To: gentoo-user

>> Yesterday I caught up with portage and updated quite a few packages on
>> a remote workstation.  The system hadn't been updated for about a
>> month.  The updates included some xorg stuff and some xfce4 stuff.
>> Today when the workstation's user logged in via gdm, she clicked the
>> xfce4 "Migrate Config" option, something weird happened, and she ended
>> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
>> the screen immediately goes black and she is routed back to the gdm
>> welcome screen again.  When I have grsecurity enabled I get this in
>> dmesg:
>>
>> Segmentation fault occurred at 000068e453633fdc in
>> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
>> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
>
>
> When you upgraded x.org, did you also rebuild it's drivers?

I rebuilt nv but not evdev.  Could that be responsible for this?  I'm
not sure how since the gdm welcome screen comes up and the keyboard
works fine there for username/password input.

- Grant


> There should have been an elog about it, it's not something that protage can
> tarck easily as the driver's version numbers did not change.
>
>
>
>
>
>>
>> She also tried skipping gdm and issuing startxfce4 manually but it
>> fails in a similar way and displays "disconnected from session
>> manager".  I get this in Xorg.0.log:
>>
>> Backtrace:
>> [    74.799] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49eeb8]
>> [    74.799] 1: /usr/bin/X (0x400000+0x62849) [0x462849]
>> [    74.799] 2: /lib/libpthread.so.0 (0x64727eac2000+0xf3f0)
>> [0x64727ead13f0] [    74.800] 3: /usr/lib64/xorg/modules/drivers/nv_drv.so
>> (0x64727bed7000+0x112d0) [0x64727bee82d0]
>> [    74.800] 4: /usr/lib64/xorg/modules/libshadowfb.so
>> (0x64727a682000+0x3db2) [0x64727a685db2]
>> [    74.800] 5: /usr/bin/X (0x400000+0x2da29) [0x42da29]
>> [    74.800] 6: /usr/bin/X (0x400000+0x2eda9) [0x42eda9]
>> [    74.800] 7: /usr/bin/X (0x400000+0x2475a) [0x42475a]
>> [    74.800] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x64727dcb2ba6]
>> [    74.800] 9: /usr/bin/X (0x400000+0x242f9) [0x4242f9]
>> [    74.800] Segmentation fault at address 0x64727462bfdc
>> [    74.800]
>> Fatal server error:
>> [    74.800] Caught signal 11 (Segmentation fault). Server aborting
>>
>> and when grsecurity is enabled I get this in dmesg:
>>
>> Segmentation fault occurred at 000064727462bfdc in
>> /usr/bin/Xorg[X:4647] uid/euid:1003/0 gid/egid:1010/1010, parent
>> /usr/bin/xinit[xinit:4646] uid/euid:1003/1003 gid/egid:1010/1010
>>
>> I have tried disabling all security options in the kernel but I get
>> the same results with the exception of the dmesg info.  I tried
>> re-emerging xorg-server, xf86-video-nv, xinit, and gdm.  Strangely,
>> after re-emerging xorg-server and xinit there were files to change in
>> etc-update.  I don't see how that's possible since I'm caught up with
>> emerge -DuN world.  revdep-rebuild comes up with nothing.  I'm running
>> an emerge -e world now.  It's weird that the gdm welcome screen will
>> load (which implies xorg) but nothing afterward.  Any ideas?
>>
>> - Grant



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-04 22:26 [gentoo-user] Xorg segfaults, but GDM welcome screen loads Grant
  2011-02-04 22:38 ` Alan McKinnon
@ 2011-02-05 11:44 ` Florian Philipp
  2011-02-05 16:57   ` Grant
  2011-02-05 16:59   ` Grant
  1 sibling, 2 replies; 13+ messages in thread
From: Florian Philipp @ 2011-02-05 11:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2825 bytes --]

Am 04.02.2011 23:26, schrieb Grant:
> Yesterday I caught up with portage and updated quite a few packages on
> a remote workstation.  The system hadn't been updated for about a
> month.  The updates included some xorg stuff and some xfce4 stuff.
> Today when the workstation's user logged in via gdm, she clicked the
> xfce4 "Migrate Config" option, something weird happened, and she ended
> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
> the screen immediately goes black and she is routed back to the gdm
> welcome screen again.  When I have grsecurity enabled I get this in
> dmesg:
> 
> Segmentation fault occurred at 000068e453633fdc in
> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
> 
> She also tried skipping gdm and issuing startxfce4 manually but it
> fails in a similar way and displays "disconnected from session
> manager".  I get this in Xorg.0.log:
> 
> Backtrace:
> [    74.799] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49eeb8]
> [    74.799] 1: /usr/bin/X (0x400000+0x62849) [0x462849]
> [    74.799] 2: /lib/libpthread.so.0 (0x64727eac2000+0xf3f0) [0x64727ead13f0]
> [    74.800] 3: /usr/lib64/xorg/modules/drivers/nv_drv.so
> (0x64727bed7000+0x112d0) [0x64727bee82d0]
> [    74.800] 4: /usr/lib64/xorg/modules/libshadowfb.so
> (0x64727a682000+0x3db2) [0x64727a685db2]
> [    74.800] 5: /usr/bin/X (0x400000+0x2da29) [0x42da29]
> [    74.800] 6: /usr/bin/X (0x400000+0x2eda9) [0x42eda9]
> [    74.800] 7: /usr/bin/X (0x400000+0x2475a) [0x42475a]
> [    74.800] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x64727dcb2ba6]
> [    74.800] 9: /usr/bin/X (0x400000+0x242f9) [0x4242f9]
> [    74.800] Segmentation fault at address 0x64727462bfdc
> [    74.800]
> Fatal server error:
> [    74.800] Caught signal 11 (Segmentation fault). Server aborting
> 
> and when grsecurity is enabled I get this in dmesg:
> 
> Segmentation fault occurred at 000064727462bfdc in
> /usr/bin/Xorg[X:4647] uid/euid:1003/0 gid/egid:1010/1010, parent
> /usr/bin/xinit[xinit:4646] uid/euid:1003/1003 gid/egid:1010/1010
> 
> I have tried disabling all security options in the kernel but I get
> the same results with the exception of the dmesg info.  I tried
> re-emerging xorg-server, xf86-video-nv, xinit, and gdm.  Strangely,
> after re-emerging xorg-server and xinit there were files to change in
> etc-update.  I don't see how that's possible since I'm caught up with
> emerge -DuN world.  revdep-rebuild comes up with nothing.  I'm running
> an emerge -e world now.  It's weird that the gdm welcome screen will
> load (which implies xorg) but nothing afterward.  Any ideas?
> 
> - Grant
> 

Please try to run
`strace startx`
and post the output as a file attachment.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-05 11:44 ` [gentoo-user] " Florian Philipp
@ 2011-02-05 16:57   ` Grant
  2011-02-05 16:59   ` Grant
  1 sibling, 0 replies; 13+ messages in thread
From: Grant @ 2011-02-05 16:57 UTC (permalink / raw
  To: gentoo-user

>> Yesterday I caught up with portage and updated quite a few packages on
>> a remote workstation.  The system hadn't been updated for about a
>> month.  The updates included some xorg stuff and some xfce4 stuff.
>> Today when the workstation's user logged in via gdm, she clicked the
>> xfce4 "Migrate Config" option, something weird happened, and she ended
>> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
>> the screen immediately goes black and she is routed back to the gdm
>> welcome screen again.  When I have grsecurity enabled I get this in
>> dmesg:
>>
>> Segmentation fault occurred at 000068e453633fdc in
>> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
>> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
>>
>> She also tried skipping gdm and issuing startxfce4 manually but it
>> fails in a similar way and displays "disconnected from session
>> manager".  I get this in Xorg.0.log:
>>
>> Backtrace:
>> [    74.799] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49eeb8]
>> [    74.799] 1: /usr/bin/X (0x400000+0x62849) [0x462849]
>> [    74.799] 2: /lib/libpthread.so.0 (0x64727eac2000+0xf3f0) [0x64727ead13f0]
>> [    74.800] 3: /usr/lib64/xorg/modules/drivers/nv_drv.so
>> (0x64727bed7000+0x112d0) [0x64727bee82d0]
>> [    74.800] 4: /usr/lib64/xorg/modules/libshadowfb.so
>> (0x64727a682000+0x3db2) [0x64727a685db2]
>> [    74.800] 5: /usr/bin/X (0x400000+0x2da29) [0x42da29]
>> [    74.800] 6: /usr/bin/X (0x400000+0x2eda9) [0x42eda9]
>> [    74.800] 7: /usr/bin/X (0x400000+0x2475a) [0x42475a]
>> [    74.800] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x64727dcb2ba6]
>> [    74.800] 9: /usr/bin/X (0x400000+0x242f9) [0x4242f9]
>> [    74.800] Segmentation fault at address 0x64727462bfdc
>> [    74.800]
>> Fatal server error:
>> [    74.800] Caught signal 11 (Segmentation fault). Server aborting
>>
>> and when grsecurity is enabled I get this in dmesg:
>>
>> Segmentation fault occurred at 000064727462bfdc in
>> /usr/bin/Xorg[X:4647] uid/euid:1003/0 gid/egid:1010/1010, parent
>> /usr/bin/xinit[xinit:4646] uid/euid:1003/1003 gid/egid:1010/1010
>>
>> I have tried disabling all security options in the kernel but I get
>> the same results with the exception of the dmesg info.  I tried
>> re-emerging xorg-server, xf86-video-nv, xinit, and gdm.  Strangely,
>> after re-emerging xorg-server and xinit there were files to change in
>> etc-update.  I don't see how that's possible since I'm caught up with
>> emerge -DuN world.  revdep-rebuild comes up with nothing.  I'm running
>> an emerge -e world now.  It's weird that the gdm welcome screen will
>> load (which implies xorg) but nothing afterward.  Any ideas?
>>
>> - Grant
>>
>
> Please try to run
> `strace startx`
> and post the output as a file attachment.

Gladly.  Is there anything else I should try?  The workstation is
remote and its user only has access infrequently.  Is there anything
else I should have her try while she's there?

- Grant



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-05 11:44 ` [gentoo-user] " Florian Philipp
  2011-02-05 16:57   ` Grant
@ 2011-02-05 16:59   ` Grant
  2011-02-05 17:39     ` Florian Philipp
  1 sibling, 1 reply; 13+ messages in thread
From: Grant @ 2011-02-05 16:59 UTC (permalink / raw
  To: gentoo-user

>> Yesterday I caught up with portage and updated quite a few packages on
>> a remote workstation.  The system hadn't been updated for about a
>> month.  The updates included some xorg stuff and some xfce4 stuff.
>> Today when the workstation's user logged in via gdm, she clicked the
>> xfce4 "Migrate Config" option, something weird happened, and she ended
>> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
>> the screen immediately goes black and she is routed back to the gdm
>> welcome screen again.  When I have grsecurity enabled I get this in
>> dmesg:
>>
>> Segmentation fault occurred at 000068e453633fdc in
>> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
>> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
>>
>> She also tried skipping gdm and issuing startxfce4 manually but it
>> fails in a similar way and displays "disconnected from session
>> manager".  I get this in Xorg.0.log:
>>
>> Backtrace:
>> [    74.799] 0: /usr/bin/X (xorg_backtrace+0x28) [0x49eeb8]
>> [    74.799] 1: /usr/bin/X (0x400000+0x62849) [0x462849]
>> [    74.799] 2: /lib/libpthread.so.0 (0x64727eac2000+0xf3f0) [0x64727ead13f0]
>> [    74.800] 3: /usr/lib64/xorg/modules/drivers/nv_drv.so
>> (0x64727bed7000+0x112d0) [0x64727bee82d0]
>> [    74.800] 4: /usr/lib64/xorg/modules/libshadowfb.so
>> (0x64727a682000+0x3db2) [0x64727a685db2]
>> [    74.800] 5: /usr/bin/X (0x400000+0x2da29) [0x42da29]
>> [    74.800] 6: /usr/bin/X (0x400000+0x2eda9) [0x42eda9]
>> [    74.800] 7: /usr/bin/X (0x400000+0x2475a) [0x42475a]
>> [    74.800] 8: /lib/libc.so.6 (__libc_start_main+0xe6) [0x64727dcb2ba6]
>> [    74.800] 9: /usr/bin/X (0x400000+0x242f9) [0x4242f9]
>> [    74.800] Segmentation fault at address 0x64727462bfdc
>> [    74.800]
>> Fatal server error:
>> [    74.800] Caught signal 11 (Segmentation fault). Server aborting
>>
>> and when grsecurity is enabled I get this in dmesg:
>>
>> Segmentation fault occurred at 000064727462bfdc in
>> /usr/bin/Xorg[X:4647] uid/euid:1003/0 gid/egid:1010/1010, parent
>> /usr/bin/xinit[xinit:4646] uid/euid:1003/1003 gid/egid:1010/1010
>>
>> I have tried disabling all security options in the kernel but I get
>> the same results with the exception of the dmesg info.  I tried
>> re-emerging xorg-server, xf86-video-nv, xinit, and gdm.  Strangely,
>> after re-emerging xorg-server and xinit there were files to change in
>> etc-update.  I don't see how that's possible since I'm caught up with
>> emerge -DuN world.  revdep-rebuild comes up with nothing.  I'm running
>> an emerge -e world now.  It's weird that the gdm welcome screen will
>> load (which implies xorg) but nothing afterward.  Any ideas?
>>
>> - Grant
>>
>
> Please try to run
> `strace startx`
> and post the output as a file attachment.

Another question, is there anything I need to prepare to make sure the
strace works?

- Grant



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-05 16:59   ` Grant
@ 2011-02-05 17:39     ` Florian Philipp
  0 siblings, 0 replies; 13+ messages in thread
From: Florian Philipp @ 2011-02-05 17:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2598 bytes --]

Am 05.02.2011 17:59, schrieb Grant:
>>> Yesterday I caught up with portage and updated quite a few packages on
>>> a remote workstation.  The system hadn't been updated for about a
>>> month.  The updates included some xorg stuff and some xfce4 stuff.
>>> Today when the workstation's user logged in via gdm, she clicked the
>>> xfce4 "Migrate Config" option, something weird happened, and she ended
>>> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
>>> the screen immediately goes black and she is routed back to the gdm
>>> welcome screen again.  When I have grsecurity enabled I get this in
>>> dmesg:
>>>
>>> Segmentation fault occurred at 000068e453633fdc in
>>> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
>>> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
>>>
>>> She also tried skipping gdm and issuing startxfce4 manually but it
>>> fails in a similar way and displays "disconnected from session
>>> manager".  I get this in Xorg.0.log:
>>>
[...]

>>>
>>> Segmentation fault occurred at 000064727462bfdc in
>>> /usr/bin/Xorg[X:4647] uid/euid:1003/0 gid/egid:1010/1010, parent
>>> /usr/bin/xinit[xinit:4646] uid/euid:1003/1003 gid/egid:1010/1010
>>>
>>> I have tried disabling all security options in the kernel but I get
>>> the same results with the exception of the dmesg info.  I tried
>>> re-emerging xorg-server, xf86-video-nv, xinit, and gdm.  Strangely,
>>> after re-emerging xorg-server and xinit there were files to change in
>>> etc-update.  I don't see how that's possible since I'm caught up with
>>> emerge -DuN world.  revdep-rebuild comes up with nothing.  I'm running
>>> an emerge -e world now.  It's weird that the gdm welcome screen will
>>> load (which implies xorg) but nothing afterward.  Any ideas?
>>>
>>> - Grant
>>>
>>
>> Please try to run
>> `strace startx`
>> and post the output as a file attachment.
> 
> Another question, is there anything I need to prepare to make sure the
> strace works?
> 
> - Grant
> 

Um, emerge it?

By the way: I recently had a similar freak problem with X11 on a KDE
machine. It turned out the system tried to start the default session
with twm and xterm (default when no window environment is installed) and
crashed because xterm was no longer present.

I don't think this is your problem but maybe it gets you closer to a
solution if you try to get such a light-weight solution running instead
of the full-blown xfce.

Did you also try to remove your xorg.conf, if you have any?

Hope this helps,
Florian Philipp


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-05  0:54   ` Grant
@ 2011-02-05 20:10     ` Alan McKinnon
  2011-02-07 23:05       ` Mick
  2011-02-05 22:15     ` [gentoo-user] " walt
  1 sibling, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2011-02-05 20:10 UTC (permalink / raw
  To: gentoo-user; +Cc: Grant

Apparently, though unproven, at 02:54 on Saturday 05 February 2011, Grant did 
opine thusly:

> >> Yesterday I caught up with portage and updated quite a few packages on
> >> a remote workstation.  The system hadn't been updated for about a
> >> month.  The updates included some xorg stuff and some xfce4 stuff.
> >> Today when the workstation's user logged in via gdm, she clicked the
> >> xfce4 "Migrate Config" option, something weird happened, and she ended
> >> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
> >> the screen immediately goes black and she is routed back to the gdm
> >> welcome screen again.  When I have grsecurity enabled I get this in
> >> dmesg:
> >> 
> >> Segmentation fault occurred at 000068e453633fdc in
> >> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
> >> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
> > 
> > When you upgraded x.org, did you also rebuild it's drivers?
> 
> I rebuilt nv but not evdev.  Could that be responsible for this?  I'm
> not sure how since the gdm welcome screen comes up and the keyboard
> works fine there for username/password input.

I only mention it because in my experience I always have weird shit happening 
when I upgrade xorg-server over a big version number change.

And rebuilding everything that underpins xorg always fixes it. Including 
drivers and mesa.

In the old days when xorg was monolithic this never happened, as all the 
drivers always got rebuilt anyway. Nowadays with xorg sources being modular, 
we have to be a little more alert.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-user] Re: Xorg segfaults, but GDM welcome screen loads
  2011-02-05  0:54   ` Grant
  2011-02-05 20:10     ` Alan McKinnon
@ 2011-02-05 22:15     ` walt
  2011-02-06  0:14       ` Grant
  1 sibling, 1 reply; 13+ messages in thread
From: walt @ 2011-02-05 22:15 UTC (permalink / raw
  To: gentoo-user

On 02/04/2011 04:54 PM, Grant wrote:
>>> Yesterday I caught up with portage and updated quite a few packages on
>>> a remote workstation.  The system hadn't been updated for about a
>>> month.  The updates included some xorg stuff and some xfce4 stuff.
>>> Today when the workstation's user logged in via gdm, she clicked the
>>> xfce4 "Migrate Config" option, something weird happened, and she ended
>>> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
>>> the screen immediately goes black and she is routed back to the gdm
>>> welcome screen again.  When I have grsecurity enabled I get this in
>>> dmesg:
>>>
>>> Segmentation fault occurred at 000068e453633fdc in
>>> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
>>> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
>>
>>
>> When you upgraded x.org, did you also rebuild it's drivers?
>
> I rebuilt nv but not evdev.  Could that be responsible for this?

I can't answer that specifically, but you should definitely re-emerge
it anyway.

What happens when you run /usr/bin/Xorg directly instead of with startx?
If Xorg still segfaults it may give you better error messages.







^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Re: Xorg segfaults, but GDM welcome screen loads
  2011-02-05 22:15     ` [gentoo-user] " walt
@ 2011-02-06  0:14       ` Grant
  0 siblings, 0 replies; 13+ messages in thread
From: Grant @ 2011-02-06  0:14 UTC (permalink / raw
  To: gentoo-user

>>>> Yesterday I caught up with portage and updated quite a few packages on
>>>> a remote workstation.  The system hadn't been updated for about a
>>>> month.  The updates included some xorg stuff and some xfce4 stuff.
>>>> Today when the workstation's user logged in via gdm, she clicked the
>>>> xfce4 "Migrate Config" option, something weird happened, and she ended
>>>> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
>>>> the screen immediately goes black and she is routed back to the gdm
>>>> welcome screen again.  When I have grsecurity enabled I get this in
>>>> dmesg:
>>>>
>>>> Segmentation fault occurred at 000068e453633fdc in
>>>> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
>>>> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
>>>
>>>
>>> When you upgraded x.org, did you also rebuild it's drivers?
>>
>> I rebuilt nv but not evdev.  Could that be responsible for this?
>
> I can't answer that specifically, but you should definitely re-emerge
> it anyway.
>
> What happens when you run /usr/bin/Xorg directly instead of with startx?
> If Xorg still segfaults it may give you better error messages.

Thank you everyone.  This was due to my using the nv driver on that
system.  I tried switching to nouveau but it wouldn't work with my
onboard GeForce 6150SE nForce 430.  I switched to the nvidia driver
and all is working.

- Grant



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-05 20:10     ` Alan McKinnon
@ 2011-02-07 23:05       ` Mick
  2011-02-08 16:38         ` Grant
  0 siblings, 1 reply; 13+ messages in thread
From: Mick @ 2011-02-07 23:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1892 bytes --]

On Saturday 05 February 2011 20:10:31 Alan McKinnon wrote:
> Apparently, though unproven, at 02:54 on Saturday 05 February 2011, Grant
> did
> 
> opine thusly:
> > >> Yesterday I caught up with portage and updated quite a few packages on
> > >> a remote workstation.  The system hadn't been updated for about a
> > >> month.  The updates included some xorg stuff and some xfce4 stuff.
> > >> Today when the workstation's user logged in via gdm, she clicked the
> > >> xfce4 "Migrate Config" option, something weird happened, and she ended
> > >> up back on the gdm welcome screen.  Now whenever she logs is via gdm,
> > >> the screen immediately goes black and she is routed back to the gdm
> > >> welcome screen again.  When I have grsecurity enabled I get this in
> > >> dmesg:
> > >> 
> > >> Segmentation fault occurred at 000068e453633fdc in
> > >> /usr/bin/Xorg[X:4777] uid/euid:0/0 gid/egid:0/0, parent
> > >> /usr/sbin/gdm-binary[gdm:4775] uid/euid:0/0 gid/egid:1010/1002
> > > 
> > > When you upgraded x.org, did you also rebuild it's drivers?
> > 
> > I rebuilt nv but not evdev.  Could that be responsible for this?  I'm
> > not sure how since the gdm welcome screen comes up and the keyboard
> > works fine there for username/password input.
> 
> I only mention it because in my experience I always have weird shit
> happening when I upgrade xorg-server over a big version number change.
> 
> And rebuilding everything that underpins xorg always fixes it. Including
> drivers and mesa.
> 
> In the old days when xorg was monolithic this never happened, as all the
> drivers always got rebuilt anyway. Nowadays with xorg sources being
> modular, we have to be a little more alert.

... and if you have just upgraded to xorg-server-1.9 you'll (probably) need an 
xorg.conf file.  The old .fdi files are no longer being used.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-07 23:05       ` Mick
@ 2011-02-08 16:38         ` Grant
  2011-02-08 22:02           ` Mick
  0 siblings, 1 reply; 13+ messages in thread
From: Grant @ 2011-02-08 16:38 UTC (permalink / raw
  To: gentoo-user

>> I only mention it because in my experience I always have weird shit
>> happening when I upgrade xorg-server over a big version number change.
>>
>> And rebuilding everything that underpins xorg always fixes it. Including
>> drivers and mesa.
>>
>> In the old days when xorg was monolithic this never happened, as all the
>> drivers always got rebuilt anyway. Nowadays with xorg sources being
>> modular, we have to be a little more alert.
>
> ... and if you have just upgraded to xorg-server-1.9 you'll (probably) need an
> xorg.conf file.  The old .fdi files are no longer being used.
> --
> Regards,
> Mick

My laptop is on xorg-server-1.9.2 and it doesn't use an xorg.conf.  In
what type of situation is it needed?

- Grant



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-user] Xorg segfaults, but GDM welcome screen loads
  2011-02-08 16:38         ` Grant
@ 2011-02-08 22:02           ` Mick
  0 siblings, 0 replies; 13+ messages in thread
From: Mick @ 2011-02-08 22:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 988 bytes --]

On Tuesday 08 February 2011 16:38:34 Grant wrote:
> >> I only mention it because in my experience I always have weird shit
> >> happening when I upgrade xorg-server over a big version number change.
> >> 
> >> And rebuilding everything that underpins xorg always fixes it. Including
> >> drivers and mesa.
> >> 
> >> In the old days when xorg was monolithic this never happened, as all the
> >> drivers always got rebuilt anyway. Nowadays with xorg sources being
> >> modular, we have to be a little more alert.
> > 
> > ... and if you have just upgraded to xorg-server-1.9 you'll (probably)
> > need an xorg.conf file.  The old .fdi files are no longer being used.
> > --
> > Regards,
> > Mick
> 
> My laptop is on xorg-server-1.9.2 and it doesn't use an xorg.conf.  In
> what type of situation is it needed?

When you want to configure different languages on the keyboard, synaptics, 
etc, and when evdev doesn't work nicely with your set up.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-02-08 22:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 22:26 [gentoo-user] Xorg segfaults, but GDM welcome screen loads Grant
2011-02-04 22:38 ` Alan McKinnon
2011-02-05  0:54   ` Grant
2011-02-05 20:10     ` Alan McKinnon
2011-02-07 23:05       ` Mick
2011-02-08 16:38         ` Grant
2011-02-08 22:02           ` Mick
2011-02-05 22:15     ` [gentoo-user] " walt
2011-02-06  0:14       ` Grant
2011-02-05 11:44 ` [gentoo-user] " Florian Philipp
2011-02-05 16:57   ` Grant
2011-02-05 16:59   ` Grant
2011-02-05 17:39     ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox