valgrind reports memory access errors (Invalid read of size 4)

Bug #528909 reported by Sigra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Expired
Undecided
Unassigned

Bug Description

bzr 2.1.0b4 performs invalid memory access. See attached stderr file. Built from Gentoo package. One example:
Invalid read of size 4
   at 0x4EB8FF4: PyObject_Free (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4E89BCA: code_dealloc (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2AA54: load_source_module (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2B861: import_submodule (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2BAF0: load_next (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2C11B: import_module_level (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2C684: PyImport_ImportModuleLevel (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F0F34C: builtin___import__ (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4E71FE6: PyObject_Call (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F0F914: PyEval_CallObjectWithKeywords (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F129F8: PyEval_EvalFrameEx (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F168F0: PyEval_EvalCodeEx (in /usr/lib64/libpython2.6.so.1.0)
 Address 0x5f0a020 is 544 bytes inside a block of size 568 free'd
   at 0x4C259DF: free (vg_replace_malloc.c:323)
   by 0x5AF261F: __fopen_internal (in /lib64/libc-2.10.1.so)
   by 0x4F283B2: find_module (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2B9B2: import_submodule (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2BAF0: load_next (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2C11B: import_module_level (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F2C684: PyImport_ImportModuleLevel (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F0F34C: builtin___import__ (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4E71FE6: PyObject_Call (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F0F914: PyEval_CallObjectWithKeywords (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F129F8: PyEval_EvalFrameEx (in /usr/lib64/libpython2.6.so.1.0)
   by 0x4F168F0: PyEval_EvalCodeEx (in /usr/lib64/libpython2.6.so.1.0)

Revision history for this message
Sigra (sigra) wrote :
Revision history for this message
Sigra (sigra) wrote :
Revision history for this message
Martin Pool (mbp) wrote :

Hi,

Thanks for reporting this.

At least some of the errors you're reporting are coming from inside Python and it's not very likely they're caused by bzr bugs. Can you please make sure you're using the right python setup for valgrind, and report only the things that are actually caused by bzr?

summary: - memory access errors (Invalid read of size 4)
+ valgrind reports memory access errors (Invalid read of size 4)
Changed in bzr:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Bazaar because there has been no activity for 60 days.]

Changed in bzr:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.