Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-12-11, 05:13 AM   #1
dae
Registered User
 
Join Date: Jul 2004
Location: Sweden
Posts: 40
Default nvidia-settings 290.x segfaults when running GUI

Hi,

some time ago, maybe starting with 290.x, nvidia-settings segfault when run without any command line options. Running command line queries (e.g. -q all) works however.

The backtrace (from self-compiled nvidia-settings 290.06):

#0 0x00007ffff7de50e9 in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
#1 0x00007ffff7de5983 in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2
#2 0x00007ffff5aa008c in do_sym () from /lib64/libc.so.6
#3 0x00007ffff5f3d064 in dlsym_doit () from /lib64/libdl.so.2
#4 0x00007ffff7de9ef5 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#5 0x00007ffff5f3d550 in _dlerror_run () from /lib64/libdl.so.2
#6 0x00007ffff5f3d0ba in dlsym () from /lib64/libdl.so.2
#7 0x00007fffeab9b8d4 in ?? () from /usr/lib64/libGL.so.1
#8 0x00007fffeab7ae15 in ?? () from /usr/lib64/libGL.so.1
#9 0x00007ffff7dea06d in call_init () from /lib64/ld-linux-x86-64.so.2
#10 0x00007ffff7dea1d3 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#11 0x00007ffff7dee3f2 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#12 0x00007ffff7de9ef5 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#13 0x00007ffff7dedd3a in _dl_open () from /lib64/ld-linux-x86-64.so.2
#14 0x00007ffff5f3cefa in dlopen_doit () from /lib64/libdl.so.2
#15 0x00007ffff7de9ef5 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#16 0x00007ffff5f3d550 in _dlerror_run () from /lib64/libdl.so.2
#17 0x00007ffff5f3cfe1 in dlopen@@GLIBC_2.2.5 () from /lib64/libdl.so.2
#18 0x0000000000419033 in open_libgl () at src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c:154
#19 0x00000000004194eb in NvCtrlInitGlxAttributes (h=0x82c280) at src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c:289
#20 0x0000000000415561 in NvCtrlAttributeInit (dpy=0x81f6f0, target_type=0, target_id=0, subsystems=31) at src/libXNVCtrlAttributes/NvCtrlAttributes.c:104
#21 0x0000000000410070 in nv_alloc_ctrl_handles (display=0x7f06e0 ":0") at src/query-assign.c:257
#22 0x000000000040d480 in main (argc=1, argv=0x7fffffffdf98) at src/nvidia-settings.c:138

In case it matters, glibc version is 2.14 git-2011-09-29.

Let me know if there's any other information I can provide. Thanks.
Attached Files
File Type: gz nvidia-bug-report.log.gz (76.6 KB, 37 views)
dae is offline   Reply With Quote
Old 11-12-11, 05:18 AM   #2
dae
Registered User
 
Join Date: Jul 2004
Location: Sweden
Posts: 40
Default Re: nvidia-settings 290.x segfaults when running GUI

The forum doesn't allow me to attach a core dump (1.8M bzipped). Let me know how/where to upload it, if you need it.
dae is offline   Reply With Quote
Old 11-12-11, 09:24 AM   #3
dae
Registered User
 
Join Date: Jul 2004
Location: Sweden
Posts: 40
Default Re: nvidia-settings 290.x segfaults when running GUI

One more data point: if running it under valgrind, it doesn't segfault (but obviously runs very slow).
dae is offline   Reply With Quote
Old 11-14-11, 08:45 AM   #4
dae
Registered User
 
Join Date: Jul 2004
Location: Sweden
Posts: 40
Default Re: nvidia-settings 290.x segfaults when running GUI

I re-compiled glibc with this patch http://www.linuxfromscratch.org/patc...-fixes-1.patch, and nvidia-settings is no longer crashing.

After googling a lot, it appears this is a known issue, and nvidia-settings isn't the only affected application. However, no fixes has appeared upstream yet (at least not in the 2.14 branch). So, I'm not sure if this is considered a bug or a "feature" (i.e. an application bug) from the glibc devs' perspective.
dae is offline   Reply With Quote
Old 11-14-11, 04:34 PM   #5
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: nvidia-settings 290.x segfaults when running GUI

@dae thanks for finding this patch - works great. It fixed segfault in my nvidia-settings 290.06 on Lunar-Linux with glibc 2.14.1.
zbiggy is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:06 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.