summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-10-03 07:46:34 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-10-03 07:46:34 (GMT)
commit76390de83c5550ae7988f3ce9dabc267b449162f (patch)
treec5a3cc1029e3af7ac18fb00d49684ea2773a32de
parent7ecbc19e09a73ab426cbc2f48b11df753961b2e3 (diff)
downloadcpython-76390de83c5550ae7988f3ce9dabc267b449162f.zip
cpython-76390de83c5550ae7988f3ce9dabc267b449162f.tar.gz
cpython-76390de83c5550ae7988f3ce9dabc267b449162f.tar.bz2
suppress more errors on my box, most are gentoo specific. Py_ADDRESS_IN_RANGE is x86_64 specific and the readline memory leaks should be generally applicable
-rw-r--r--Misc/valgrind-python.supp118
1 files changed, 118 insertions, 0 deletions
diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp
index d9a7d83..e0babe7 100644
--- a/Misc/valgrind-python.supp
+++ b/Misc/valgrind-python.supp
@@ -29,6 +29,12 @@
}
{
+ ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64)
+ Memcheck:Value8
+ fun:Py_ADDRESS_IN_RANGE
+}
+
+{
ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
Memcheck:Cond
fun:Py_ADDRESS_IN_RANGE
@@ -84,6 +90,118 @@
}
+{
+ Avoid problem in libc on gentoo
+ Memcheck:Cond
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+}
+
+{
+ Avoid problem in glibc on gentoo
+ Memcheck:Addr8
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libc-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ fun:_dl_open
+ obj:/lib/libdl-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libdl-2.3.4.so
+ fun:dlopen
+}
+
+{
+ Avoid problem in glibc on gentoo
+ Memcheck:Addr8
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libc-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ fun:_dl_open
+ obj:/lib/libdl-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libdl-2.3.4.so
+ fun:dlopen
+}
+
+{
+ Avoid problem in glibc on gentoo
+ Memcheck:Cond
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libc-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ fun:_dl_open
+ obj:/lib/libdl-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libdl-2.3.4.so
+ fun:dlopen
+}
+
+{
+ Avoid problem in glibc on gentoo
+ Memcheck:Cond
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libc-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ fun:_dl_open
+ obj:/lib/libdl-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/libdl-2.3.4.so
+ fun:dlopen
+}
+
+{
+ Avoid problems w/readline doing a putenv and leaking on exit
+ Memcheck:Leak
+ fun:malloc
+ fun:xmalloc
+ fun:sh_set_lines_and_columns
+ fun:_rl_get_screen_size
+ fun:_rl_init_terminal_io
+ obj:/lib/libreadline.so.4.3
+ fun:rl_initialize
+ fun:setup_readline
+ fun:initreadline
+ fun:_PyImport_LoadDynamicModule
+ fun:load_module
+ fun:import_submodule
+ fun:load_next
+ fun:import_module_ex
+ fun:PyImport_ImportModuleEx
+}
+
+{
+ Mysterious leak that seems to deal w/pthreads
+ Memcheck:Leak
+ fun:calloc
+ obj:/lib/ld-2.3.4.so
+ obj:/lib/ld-2.3.4.so
+ fun:_dl_allocate_tls
+ fun:__pthread_initialize_minimal
+}
+
+{
+ Mysterious leak that seems to deal w/pthreads
+ Memcheck:Leak
+ fun:memalign
+ obj:/lib/ld-2.3.4.so
+ fun:_dl_allocate_tls
+ fun:__pthread_initialize_minimal
+}
+
###
### These occur from somewhere within the SSL, when running
### test_socket_sll. They are too general to leave on by default.