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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-18-11, 12:26 AM   #1
idigthought
Registered User
 
Join Date: Jun 2008
Posts: 14
Default hang with 275.28 in libnvidia-glcore.so.275.28

I have an odd hang in my program's draw loop. From the stack trace below, it looks like there is a signal handler setup that calls into libGL.so. It hangs because the signal was receive in the the middle of malloc and the calls from resulting from the signal handler call free.. I do set up a signal handler to catch SIGTERM and SIGINT, but my handler only sets a flag to tell the program to exit. Does nvidia setup a signal handler that calls into libGL?

Thread 3 (Thread 0x7fef7c40a700 (LWP 31084)):
#0 __lll_lock_wait_private ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1 0x00007fef839243dc in _L_lock_12449 () from /lib/libc.so.6
#2 0x00007fef83922e78 in *__GI___libc_free (mem=0x7fef83c23e40)
at malloc.c:3736
#3 0x00007fef8844a549 in ?? () from /usr/lib/libGL.so.1
#4 0x00007fef8844f38a in ?? () from /usr/lib/libGL.so.1
#5 <signal handler called>
#6 _int_malloc (av=0x7fef83c23e40, bytes=296) at malloc.c:4438
#7 0x00007fef8392158e in *__GI___libc_malloc (bytes=296) at malloc.c:3660
#8 0x00007fef8294b0d6 in ?? () from /usr/lib/libnvidia-glcore.so.275.28
#9 0x00007fef828c1596 in ?? () from /usr/lib/libnvidia-glcore.so.275.28
#10 0x00007fef828defa2 in ?? () from /usr/lib/libnvidia-glcore.so.275.28
#11 0x00007fef8291a00e in ?? () from /usr/lib/libnvidia-glcore.so.275.28
#12 0x00007fef8291ae48 in ?? () from /usr/lib/libnvidia-glcore.so.275.28
#13 0x00007fef82310261 in ?? () from /usr/lib/libnvidia-glcore.so.275.28
Attached Files
File Type: gz nvidia-bug-report.log.gz (64.1 KB, 32 views)
idigthought is offline   Reply With Quote
Old 11-18-11, 02:31 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

Does this problem still occur with a more recent driver?
AaronP is offline   Reply With Quote
Old 11-18-11, 04:56 PM   #3
idigthought
Registered User
 
Join Date: Jun 2008
Posts: 14
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

Quote:
Originally Posted by AaronP View Post
Does this problem still occur with a more recent driver?
I will try to reproduce it. 275.36 or 285.0509? Hm, I'll start with 275.36.
idigthought is offline   Reply With Quote
Old 11-18-11, 05:23 PM   #4
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

Please try 290.06.
AaronP is offline   Reply With Quote
Old 11-18-11, 07:29 PM   #5
idigthought
Registered User
 
Join Date: Jun 2008
Posts: 14
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

Quote:
Originally Posted by AaronP View Post
Please try 290.06.
Yes, it looks like it still occurs on 290.06. The call into GL at level 13 is glXMakeContextCurrent. Is there any more information I can provide you? I'm using a Quadro FX 5800 on Ubuntu 10.04 with Xorg X server 1.7.6 and kernel 2.6.32-33 (though I suspect much of this information is in the autogenerated bug report).


Thread 3 (Thread 0x7f8e8cce2700 (LWP 6370)):
#0 __lll_lock_wait_private ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1 0x00007f8e93f333dc in _L_lock_12449 () from /lib/libc.so.6
#2 0x00007f8e93f31e78 in *__GI___libc_free (mem=0x7f8e94232e40)
at malloc.c:3736
#3 0x00007f8e98b37a49 in ?? () from /usr/lib/libGL.so.1
#4 0x00007f8e98b3ec4a in ?? () from /usr/lib/libGL.so.1
#5 <signal handler called>
#6 _int_malloc (av=0x7f8e94232e40, bytes=16) at malloc.c:4343
#7 0x00007f8e93f3058e in *__GI___libc_malloc (bytes=16) at malloc.c:3660
#8 0x00007f8e98b40895 in ?? () from /usr/lib/libGL.so.1
#9 0x00007f8e93aadd41 in ?? () from /usr/lib/tls/libnvidia-tls.so.290.06
#10 0x00007f8e9859c88a in _XReply () from /usr/lib/libX11.so.6
#11 0x00007f8e98b170d3 in ?? () from /usr/lib/libGL.so.1
#12 0x00007f8e98b18c0b in ?? () from /usr/lib/libGL.so.1
#13 0x00007f8e993365e0 in GLXContext:oMakeCurrent (
this=0xa3f13b0) at GLXContext.C:57
idigthought is offline   Reply With Quote
Old 11-18-11, 07:37 PM   #6
idigthought
Registered User
 
Join Date: Jun 2008
Posts: 14
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

Quote:
Originally Posted by idigthought View Post
I'm using a Quadro FX 5800 on Ubuntu 10.04 with Xorg X server 1.7.6 and kernel 2.6.32-33 (though I suspect much of this information is in the autogenerated bug report).
Forgot to attach bug report.
Attached Files
File Type: gz nvidia-bug-report.log.gz (74.6 KB, 28 views)
idigthought is offline   Reply With Quote
Old 11-21-11, 07:18 PM   #7
idigthought
Registered User
 
Join Date: Jun 2008
Posts: 14
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

I've experienced a similar hang using 290.10.
Attached Files
File Type: gz nvidia-bug-report.log.gz (71.1 KB, 30 views)
idigthought is offline   Reply With Quote
Old 11-23-11, 02:53 PM   #8
danix
NVIDIA Corporation
 
danix's Avatar
 
Join Date: Feb 2010
Location: Santa Clara, CA
Posts: 237
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

Would you be able to provide your program (or a stripped down version that reproduces the hang)?
danix is offline   Reply With Quote

Old 11-30-11, 09:56 PM   #9
idigthought
Registered User
 
Join Date: Jun 2008
Posts: 14
Default Re: hang with 275.28 in libnvidia-glcore.so.275.28

Quote:
Originally Posted by danix View Post
Would you be able to provide your program (or a stripped down version that reproduces the hang)?
I am trying to reproduce the problem in a simple situation, but I'm having difficulty doing so. Thank you for your interest, and if I get a stripped down example, I'll post it here.
idigthought 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 09:40 AM.


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