nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   nvidia-settings 290.x segfaults when running GUI (http://www.nvnews.net/vbulletin/showthread.php?t=168598)

dae 11-12-11 04:13 AM

nvidia-settings 290.x segfaults when running GUI
 
1 Attachment(s)
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.

dae 11-12-11 04:18 AM

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 11-12-11 08:24 AM

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 11-14-11 07:45 AM

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.

zbiggy 11-14-11 03:34 PM

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.


All times are GMT -5. The time now is 04:56 AM.

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