You are not logged in.

#1 2011-11-21 02:53:45

zuargo
Member
From: Concepción, Chile
Registered: 2009-08-20
Posts: 116

How to get debugging symbols for libGL.so.1 library? (nvidia-utils)

Hello all

Will see, I am getting many crashes of applications in KDE. In the majority of these accidents I get a backtrace from KBugbuster (or whatever that application is called) that includes the library libGL.so.1. Here a small example:

#0  0xb7888424 in __kernel_vsyscall ()
#1  0xb54d198b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb57740ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb2926af3 in vlc_cond_wait () from /usr/lib/libvlccore.so.4
#4  0xb28a412e in ?? () from /usr/lib/libvlccore.so.4
#5  0xafac170c in ?? () from /usr/lib/libGL.so.1
#6  0x00000000 in ?? ()

I know libGL.so.1 is a library included into nvidia-utils package becouse:

$ pacman -Ql | grep /usr/lib/libGL.so.1
nvidia-utils /usr/lib/libGL.so.1

I downloaded the PKGBUILD for nvidia-utils through abs and I changed it a bit by adding the !strip flag at the option field:

options=('!strip')

But it did not work. Today, still, I don't have debugging symbols for libGL.so.1. I have corroborated this using nm command:

$ nm -a /usr/lib/libGL.so.1
nm: /usr/lib/libGL.so.1: no symbols

Watching the PKGBUILD for nvidia-utils I see this is not a build, apparently it only download the files and put them in the appropriate places. I think this is why the flag !strip does not work in this case.

So I have looked for information at the official nvidia site for compiling libGL.so.1 by myself but only appears complex information for developers not for a end user like me.

Can anyone guide me or something with this? please.

Thanks so much.

Last edited by zuargo (2011-11-21 03:03:16)

Offline

Board footer

Powered by FluxBB