Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262589 - ksmserver crashes with segfault when use nvidia-drivers 180.22 and above
Summary: ksmserver crashes with segfault when use nvidia-drivers 180.22 and above
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 277868
  Show dependency tree
 
Reported: 2009-03-15 19:10 UTC by 8mayday
Modified: 2009-08-03 04:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,7.25 KB, text/plain)
2009-03-19 16:58 UTC, 8mayday
Details
xorg.conf (xorg.conf,1.45 KB, text/plain)
2009-03-19 16:59 UTC, 8mayday
Details
Xorg.log with nvidia-drivers-177.82 - no problems (Xorg.log.good,10.61 KB, text/plain)
2009-03-20 17:26 UTC, 8mayday
Details
Xorg.log with nvidia-drivers-180.37 - kdm starting, but ksmserver crashes on login (Xorg.log.buggy,13.07 KB, text/plain)
2009-03-20 17:27 UTC, 8mayday
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 8mayday 2009-03-15 19:10:27 UTC
ksmserver crashes with segfault when use nvidia-drivers 180.22 and above. With nvidia-drivers-177.82 all works fine.

At the moment of logging in KDE:

Jan 27 00:29:57 braintrace [   40.308072] ksmserver[4946]: segfault at 22c0 ip 000022c0 sp bfd17bdc error 4 in ksmserver[8048000+1000]

And then I am again at login screen.

Reproducible: Always

Steps to Reproduce:
Comment 1 8mayday 2009-03-15 19:11:57 UTC
Version of ksmserver is kde-base/ksmserver-4.2.1
Comment 2 Robert Piasek (RETIRED) gentoo-dev 2009-03-19 13:39:33 UTC
(In reply to comment #1)
> Version of ksmserver is kde-base/ksmserver-4.2.1
> 

Please provide emerge --info and xorg.conf configuration.

Thanks
Rob
Comment 3 8mayday 2009-03-19 16:58:33 UTC
Created attachment 185540 [details]
emerge --info

emerge --info
Comment 4 8mayday 2009-03-19 16:59:09 UTC
Created attachment 185542 [details]
xorg.conf

xorg.conf
Comment 5 Robert Piasek (RETIRED) gentoo-dev 2009-03-20 10:29:30 UTC
What version of xorg-server are you using? Could you also provide me with /var/log/Xorg.0.log please?

Few side notes (they shouldn't have anything to do with your problem though)
With such new machine, I'm surprised you're using x86 and not amd64 profile.

With gcc-4.3+ you should swap -march=prescott with -march=core2

You're got hal enabled as a global flag, so if you're using new enough xorg-server - you can remove "InputDevices" section as hal will handle everything.

Well Xorg.0.log should tell us more (could you please provide two? One with working drivers and one with segfault?).

Thanks,
Rob
Comment 6 8mayday 2009-03-20 17:26:41 UTC
Created attachment 185640 [details]
Xorg.log with nvidia-drivers-177.82 - no problems
Comment 7 8mayday 2009-03-20 17:27:41 UTC
Created attachment 185641 [details]
Xorg.log with nvidia-drivers-180.37 - kdm starting, but ksmserver crashes on login
Comment 8 8mayday 2009-03-20 17:36:54 UTC
Thanks for advice! I use xorg-server-1.5.3-r5, mesa-7.3-r1. I think there are some problems with libGL, because if I try to launch nvidia-settings from console I get something like this: "Could not load libGL.so", while with older 177.82 I simply get message about no running X found.

And I tried to disable glx extension in xorg.conf, but nothing came out of it - i can't login in kde as before.
.
Comment 9 Robert Piasek (RETIRED) gentoo-dev 2009-03-20 23:23:23 UTC
Hmm... this is disturbing:
dlopen: /usr/lib/xorg/modules/extensions//libglx.so: undefined symbol: _nv000006gl

Can you try the following:

revdep-rebuild
emerge -C nvidia-drivers
(stop X if it's running)
rmmod nvidia
emerge nvidia-drivers
sudo eselect opengl set nvidia
/etc/init.d/xdm start

if that won't help could you please post:
ldd /usr/lib/xorg/modules/extensions//libglx.so
Comment 10 8mayday 2009-03-21 11:48:05 UTC
No, it does not help me.

$ ldd /usr/lib/xorg/modules/extensions/libglx.so
        linux-gate.so.1 =>  (0xb7f8e000)
        libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0xb6f30000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6f2e000)
        libc.so.6 => /lib/libc.so.6 (0xb6dee000)
        /lib/ld-linux.so.2 (0xb7f8f000)

$ nvidia-settings
nvidia-settings: symbol lookup error: //usr//lib/opengl/nvidia/lib/libGL.so.1: undefined symbol: _nv000006gl

Comment 11 8mayday 2009-03-21 11:56:31 UTC
Almost the same: http://bugs.archlinux.org/task/12771
Comment 12 8mayday 2009-03-21 12:12:01 UTC
On my development box at office I have almost the same configuration (bu nv 9500 instead og nv 9800GT here) and all works fine with the same version of kernel, nvidia-drivers, xorg-server, mesa, kde.
Comment 13 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-03-22 23:29:33 UTC
This is not a critical bug and seems to be related to the nvidia-drivers.
Comment 14 8mayday 2009-03-23 06:01:57 UTC
It seems to be a linking issue... and 180.29 unmasked now...
Comment 15 Ricardo Mendoza (RETIRED) gentoo-dev 2009-03-23 14:36:18 UTC
Please try 180.41 which should now be in the tree and report back.
Comment 16 Doug Goldstein (RETIRED) gentoo-dev 2009-08-03 04:15:13 UTC
please test with some of the newer versions