|
From: Leonard m. <spa...@ya...> - 2003-06-11 18:53:25
|
Been valgrinding an large app I have here and just hit a problem.
valgrind gave me a bunch of these down in the NVidia drivers:
==2305== Thread 2:
==2305== Use of uninitialised value of size 16
==2305== at 0x40D64260: __nvsym04804 (in
/usr/lib/libGLcore.so.1.0.3123)
Deciding to check my code later, I added:
{
nvidia_1.0_3123_008
Memcheck:Value16
fun:__nvsym04804
}
to my suppressions file. But valgrind refused to parse this.
Figuring I had the supression rule wrong, I reran with
--gen-suppressions=yes. However, when valgrind hit this event in
the code, it crashed and said:
==2336== Thread 2:
==2336== Use of uninitialised value of size 16
==2336== at 0x40D64260: __nvsym04804 (in
/usr/lib/libGLcore.so.1.0.3123)
==2336==
==2336== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ----
Memcheck: the `impossible' happened:
unexpected size for Value
Basic block ctr is approximately 104700000
sched status:
...
Any ideas?
Thanks,
Randall
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
|
|
From: Nicholas N. <nj...@ca...> - 2003-06-11 21:20:07
|
On Wed, 11 Jun 2003, Leonard mckinley wrote: > Figuring I had the supression rule wrong, I reran with > --gen-suppressions=yes. However, when valgrind hit this event in > the code, it crashed and said: > > ==2336== Thread 2: > ==2336== Use of uninitialised value of size 16 > ==2336== at 0x40D64260: __nvsym04804 (in > /usr/lib/libGLcore.so.1.0.3123) > ==2336== > ==2336== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- > Memcheck: the `impossible' happened: > unexpected size for Value > Basic block ctr is approximately 104700000 It's a bug/oversight -- Valgrind doesn't support suppressions for 16 byte value errors. I will investigate, hopefully get back to you soon. N |
|
From: Nicholas N. <nj...@ca...> - 2003-06-12 10:01:03
|
On Wed, 11 Jun 2003, Nicholas Nethercote wrote: > > Figuring I had the supression rule wrong, I reran with > > --gen-suppressions=yes. However, when valgrind hit this event in > > the code, it crashed and said: > > > > ==2336== Thread 2: > > ==2336== Use of uninitialised value of size 16 > > ==2336== at 0x40D64260: __nvsym04804 (in > > /usr/lib/libGLcore.so.1.0.3123) > > ==2336== > > ==2336== ---- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- > > Memcheck: the `impossible' happened: > > unexpected size for Value > > Basic block ctr is approximately 104700000 > > It's a bug/oversight -- Valgrind doesn't support suppressions for 16 byte > value errors. I will investigate, hopefully get back to you soon. I just added support for "Value16" and "Addr16" suppressions to CVS. I would appreciate it if you could test the changes. Note that three other value error sizes -- 10, 28, 108 -- are possible, but not suppressible. These strange sizes are for various floating point ops, and we'll add support for suppressing them when someone needs it. N |
|
From: Leonard m. <spa...@ya...> - 2003-06-12 14:13:21
|
> > > ==2336== Use of uninitialised value of size 16
> > > ==2336== at 0x40D64260: __nvsym04804 (in
> > > Memcheck: the `impossible' happened:
> >
> I just added support for "Value16" and "Addr16" suppressions to CVS.
> I would appreciate it if you could test the changes.
Works fine. With this suppression rule:
{
nvidia_1.0_3123_008
Memcheck:Value16
fun:__nvsym04804
}
valgrind's log now just reports:
--17277-- supp: 306 nvidia_1.0_3123_008
in the suppression summary.
Thanks for the quick patch.
Randall
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
|