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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-14-08, 02:29 AM   #1
vovizmus
Registered User
 
Join Date: May 2006
Location: Austin, TX
Posts: 2
Default dlopen () crash in Fedora 10 with 177.82

I have recently upgraded from FC9 to FC10. Some of my programs, that use GtkGlExt library, started to crash after that. I managed to boil down the problem to a one single call to dlopen () function deep inside GtkGlExt. Here is a small program that reproduces the crash:
#include<stdio.h>
#include<dlfcn.h>

int main (int argc, char *argv[]) {
void *handle = dlopen ("/usr/lib/libGL.so.1", RTLD_LAZY);
printf ("Handle: %x\n", handle);
return 0;
}

I compile it by running gcc -g dlgl.c -ldl. If I run ./a.out on my system, I see a "Segmentation fault" message. gdb shows, that the stack goes somewhere inside libGL and then libGLcore. I tried it on several other systems with older versions of FC and NVIDIA driver - it ran without any crashes.

nvidia-bug-report.log is attached to this message.
Attached Files
File Type: gz nv-bug-rep.tar.gz (35.6 KB, 91 views)
vovizmus is offline   Reply With Quote
Old 12-14-08, 03:00 AM   #2
gbil
Registered User
 
Join Date: Mar 2006
Posts: 272
Default Re: dlopen () crash in Fedora 10 with 177.82

Quote:
Originally Posted by vovizmus View Post
I have recently upgraded from FC9 to FC10. Some of my programs, that use GtkGlExt library, started to crash after that. I managed to boil down the problem to a one single call to dlopen () function deep inside GtkGlExt. Here is a small program that reproduces the crash:
#include<stdio.h>
#include<dlfcn.h>

int main (int argc, char *argv[]) {
void *handle = dlopen ("/usr/lib/libGL.so.1", RTLD_LAZY);
printf ("Handle: %x\n", handle);
return 0;
}

I compile it by running gcc -g dlgl.c -ldl. If I run ./a.out on my system, I see a "Segmentation fault" message. gdb shows, that the stack goes somewhere inside libGL and then libGLcore. I tried it on several other systems with older versions of FC and NVIDIA driver - it ran without any crashes.

nvidia-bug-report.log is attached to this message.

I tested it on my F10 and it's working, no crash here. Also my system is an upgrade from 9.

Maybe during the upgrade there were some old files from 9 left ?
gbil is offline   Reply With Quote
Old 12-14-08, 03:11 AM   #3
vovizmus
Registered User
 
Join Date: May 2006
Location: Austin, TX
Posts: 2
Default Re: dlopen () crash in Fedora 10 with 177.82

Quote:
Originally Posted by gbil View Post
I tested it on my F10 and it's working, no crash here. Also my system is an upgrade from 9.

Maybe during the upgrade there were some old files from 9 left ?
That's a possibility. How did you install the driver? Did you use RPM Fusion repository? Do you have the latest 2.6.27.7-134 kernel?
vovizmus is offline   Reply With Quote
Old 12-14-08, 05:08 AM   #4
gbil
Registered User
 
Join Date: Mar 2006
Posts: 272
Default Re: dlopen () crash in Fedora 10 with 177.82

Quote:
Originally Posted by vovizmus View Post
That's a possibility. How did you install the driver? Did you use RPM Fusion repository? Do you have the latest 2.6.27.7-134 kernel?

I always use the driver from NVidia directly - ver 180.16 now - and compile my own kernel currently latest 2.6.27.8 .

Try to install directly the driver from NVidia, I don't think the kernel has anything to do.
gbil 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
gf 6150se crash! oddhornedant NVIDIA Linux 2 05-05-12 06:30 AM
xvideo crash elanthis NVIDIA Linux 5 10-29-02 08:12 PM
libGLcore dlopen() error bwkaz NVIDIA Linux 5 09-09-02 07:49 AM

All times are GMT -5. The time now is 08:49 PM.


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