2013-09-10 22:37:09 +00:00
|
|
|
# Suppress warnings produced by Valgrind.
|
2013-09-10 22:47:47 +00:00
|
|
|
# http://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto
|
2013-09-10 22:37:09 +00:00
|
|
|
{
|
|
|
|
# This warning is due to a memory-leak bug in the g++ compiler.
|
|
|
|
# Soonho reported the problem. Gcc team said this a known problem, and will be fixed
|
|
|
|
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142
|
2013-09-15 02:33:47 +00:00
|
|
|
Suppress_GCC-4.8_Memory_Leak_Bug_in_Thread1
|
2013-09-10 22:37:09 +00:00
|
|
|
Memcheck:Leak
|
|
|
|
fun:*nothrow_t
|
|
|
|
fun:*_thread_atexit
|
|
|
|
fun:*
|
|
|
|
fun:*
|
2013-09-11 00:37:22 +00:00
|
|
|
fun:*_Bind_simple*_invoke*_Index_tuple*
|
2013-09-10 22:37:09 +00:00
|
|
|
fun:*_Bind_simple*
|
|
|
|
fun:*_Bind_simple*
|
|
|
|
obj:*/libstdc++.so*
|
|
|
|
fun:start_thread
|
|
|
|
fun:clone
|
|
|
|
}
|
2013-09-11 02:44:24 +00:00
|
|
|
|
2013-09-15 02:33:47 +00:00
|
|
|
{
|
|
|
|
# This warning is due to a memory-leak bug in the g++ compiler.
|
|
|
|
# Soonho reported the problem. Gcc team said this a known problem, and will be fixed
|
|
|
|
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142
|
|
|
|
Suppress_GCC-4.8_Memory_Leak_Bug_in_Thread2
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:*nothrow_t
|
|
|
|
fun:*_thread_atexit
|
|
|
|
fun:*
|
|
|
|
obj:*/libstdc++.so*
|
|
|
|
fun:start_thread
|
|
|
|
fun:clone
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
# This warning is due to a memory-leak bug in the g++ compiler.
|
|
|
|
# Soonho reported the problem. Gcc team said this a known problem, and will be fixed
|
|
|
|
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142
|
|
|
|
Suppress_GCC-4.8_Memory_Leak_Bug_in_Thread3
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:*nothrow_t
|
|
|
|
fun:*_thread_atexit
|
|
|
|
fun:*
|
|
|
|
fun:*_Bind_simple*
|
2013-09-19 18:46:47 +00:00
|
|
|
obj:*/libstdc++.so*
|
2013-09-15 02:33:47 +00:00
|
|
|
fun:start_thread
|
|
|
|
fun:clone
|
|
|
|
}
|
|
|
|
|
2013-09-19 18:46:47 +00:00
|
|
|
{
|
|
|
|
# This warning is due to a memory-leak bug in the g++ compiler.
|
|
|
|
# Soonho reported the problem. Gcc team said this a known problem, and will be fixed
|
|
|
|
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142
|
|
|
|
Suppress_GCC-4.8_Memory_Leak_Bug_in_Thread_32Bit_Ubuntu
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:*nothrow_t
|
|
|
|
fun:*_thread_atexit
|
|
|
|
fun:*
|
|
|
|
fun:*_Bind_simple*
|
|
|
|
fun:*_Bind_simple*
|
|
|
|
fun:*_Bind_simple*
|
|
|
|
obj:*/libstdc++.so*
|
|
|
|
fun:clone
|
|
|
|
}
|
|
|
|
|
2013-09-11 02:44:24 +00:00
|
|
|
{
|
|
|
|
Suppress_Bash_Memory_Leak_on_Fedora19
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:malloc
|
|
|
|
fun:xmalloc
|
|
|
|
fun:make_if_command
|
|
|
|
fun:yyparse
|
|
|
|
fun:parse_command
|
|
|
|
fun:read_command
|
|
|
|
fun:reader_loop
|
|
|
|
fun:main
|
|
|
|
}
|
2013-09-24 02:57:16 +00:00
|
|
|
|
|
|
|
{
|
2013-09-24 07:58:13 +00:00
|
|
|
# This entry suppresses the warning caused by a bug in tcmalloc
|
2013-09-26 07:49:43 +00:00
|
|
|
TCMalloc_Bug1
|
2013-09-24 02:57:16 +00:00
|
|
|
Memcheck:Param
|
|
|
|
msync(start)
|
|
|
|
fun:__msync_nocancel
|
2013-09-24 07:58:13 +00:00
|
|
|
obj:*/libunwind.so.*
|
|
|
|
...
|
2013-09-24 02:57:16 +00:00
|
|
|
fun:_UL*_step
|
|
|
|
fun:*GetStackTrace*
|
|
|
|
fun:*PageHeap*GrowHeap*
|
|
|
|
fun:*PageHeap*New*
|
|
|
|
fun:*CentralFreeList*Populate*
|
|
|
|
fun:*CentralFreeList*FetchFromSpansSafe*
|
2013-09-24 07:58:13 +00:00
|
|
|
fun:*CentralFreeList*RemoveRange*
|
2013-09-24 02:57:16 +00:00
|
|
|
fun:*ThreadCache*FetchFromCentralCache*
|
|
|
|
fun:malloc
|
2013-09-24 07:58:13 +00:00
|
|
|
...
|
2013-09-24 02:57:16 +00:00
|
|
|
}
|
2013-09-26 07:49:43 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
# This entry suppresses the warning caused by a bug in tcmalloc
|
|
|
|
TCMalloc_Bug2
|
|
|
|
Memcheck:Param
|
|
|
|
msync(start)
|
2013-09-28 02:16:02 +00:00
|
|
|
obj:*/libpthread-2.*.*
|
2013-09-26 07:49:43 +00:00
|
|
|
obj:*/libunwind.so.*
|
|
|
|
...
|
|
|
|
fun:_UL*_step
|
|
|
|
fun:*GetStackTrace*
|
|
|
|
fun:*PageHeap*GrowHeap*
|
|
|
|
fun:*PageHeap*New*
|
|
|
|
fun:*CentralFreeList*Populate*
|
|
|
|
fun:*CentralFreeList*FetchFromSpansSafe*
|
|
|
|
fun:*CentralFreeList*RemoveRange*
|
|
|
|
fun:*ThreadCache*FetchFromCentralCache*
|
|
|
|
fun:malloc
|
|
|
|
...
|
|
|
|
}
|
|
|
|
|
2013-11-15 19:33:34 +00:00
|
|
|
{
|
|
|
|
# This entry suppresses the warning caused by a bug in tcmalloc
|
|
|
|
# It is the equivalent of TCMalloc_Bug2 for realloc
|
|
|
|
TCMalloc_Bug3
|
|
|
|
Memcheck:Param
|
|
|
|
msync(start)
|
|
|
|
obj:*/libpthread-2.*.*
|
|
|
|
obj:*/libunwind.so.*
|
|
|
|
...
|
|
|
|
fun:_UL*_step
|
|
|
|
fun:*GetStackTrace*
|
|
|
|
fun:*PageHeap*GrowHeap*
|
|
|
|
fun:*PageHeap*New*
|
|
|
|
fun:*CentralFreeList*Populate*
|
|
|
|
fun:*CentralFreeList*FetchFromSpansSafe*
|
|
|
|
fun:*CentralFreeList*RemoveRange*
|
|
|
|
fun:*ThreadCache*FetchFromCentralCache*
|
|
|
|
fun:realloc
|
|
|
|
...
|
|
|
|
}
|
|
|
|
|
2013-11-13 02:52:03 +00:00
|
|
|
{
|
|
|
|
# This entry suppresses the warning caused by a bug in luajit 2.0
|
|
|
|
LuaJIT_Bug1
|
|
|
|
Memcheck:Cond
|
2013-11-15 19:34:50 +00:00
|
|
|
obj:*luajit-5.1*
|
2013-11-13 02:52:03 +00:00
|
|
|
...
|
|
|
|
fun:lua_pcall
|
|
|
|
...
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
# This entry suppresses the warning caused by a bug in luajit 2.0
|
|
|
|
LuaJIT_Bug2
|
|
|
|
Memcheck:Cond
|
2013-11-15 19:34:50 +00:00
|
|
|
obj:*luajit-5.1*
|
2013-11-13 02:52:03 +00:00
|
|
|
...
|
|
|
|
fun:luaL_checklstring
|
|
|
|
...
|
|
|
|
}
|
2013-11-19 07:50:41 +00:00
|
|
|
|
2013-11-25 18:07:40 +00:00
|
|
|
{
|
2013-12-04 16:32:44 +00:00
|
|
|
# This entry suppresses a false positive in luajit 2.0
|
2013-11-25 18:07:40 +00:00
|
|
|
LuaJIT_Bug3
|
|
|
|
Memcheck:Addr4
|
|
|
|
obj:*luajit-5.1*
|
2013-12-04 16:32:44 +00:00
|
|
|
...
|
|
|
|
}
|
|
|
|
|
2013-11-19 07:50:41 +00:00
|
|
|
{
|
|
|
|
# This entry Suppresses memory leaks at awk. We use awk at doc/lua/test.sh and doc/lua/test_single.sh
|
|
|
|
AWK_Bug1
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:malloc
|
|
|
|
obj:*/bin/mawk
|
|
|
|
...
|
2013-12-25 21:56:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
# This entry Suppresses memory leaks at awk. We use awk at doc/lua/test.sh and doc/lua/test_single.sh
|
|
|
|
AWK_Bug2
|
|
|
|
Memcheck:Leak
|
|
|
|
fun:realloc
|
|
|
|
obj:*/bin/mawk
|
|
|
|
...
|
2013-11-19 07:50:41 +00:00
|
|
|
}
|
2013-12-24 01:26:56 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
readline_suppress_1
|
|
|
|
Memcheck:Param
|
|
|
|
sendmsg(msg.msg_name)
|
|
|
|
fun:__sendmsg_nocancel
|
|
|
|
fun:readline
|
|
|
|
...
|
|
|
|
}
|