[Bug 249672] New: emacs-21-3.1 : Invalid free() / delete / delete[]
https://bugzilla.novell.com/show_bug.cgi?id=249672 Summary: emacs-21-3.1 : Invalid free() / delete / delete[] Product: openSUSE 10.3 Version: Alpha 1 Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de I just tried to build package apel-10.6-100 with valgrind on Suse Linux 10.3 Alpha 1. I used command line valgrind -q --trace-children=yes rpmbuild -bc apel.spec The output contains + make 'CFLAGS=-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2' LDFLAGS=-s EMACS=emacs PREFIX=/usr emacs -batch -q -no-site-file -l APEL-MK -f what-where-apel \ /usr NONE NONE ==8538== Invalid free() / delete / delete[] ==8538== at 0x4C22D57: realloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) ==8538== by 0x4F2EED: (within /usr/bin/emacs) ==8538== by 0x4E63A0: re_compile_pattern (in /usr/bin/emacs) ==8538== by 0x4E1CA0: (within /usr/bin/emacs) ==8538== by 0x4E1EDB: (within /usr/bin/emacs) ==8538== by 0x4E2145: (within /usr/bin/emacs) ==8538== by 0x5075A6: (within /usr/bin/emacs) ==8538== by 0x535855: (within /usr/bin/emacs) ==8538== by 0x507010: (within /usr/bin/emacs) ==8538== by 0x507230: (within /usr/bin/emacs) ==8538== by 0x50604A: (within /usr/bin/emacs) ==8538== by 0x509ADE: (within /usr/bin/emacs) ==8538== Address 0x9CFCB0 is not stack'd, malloc'd or (recently) free'd ==8538== So it seems that there is a problem with memory allocation in emacs-21-3.1. Suggest code rework. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=249672 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |werner@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=249672 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Minor -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=249672 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |dcb314@hotmail.com ------- Comment #1 from werner@novell.com 2007-04-04 03:58 MST ------- Please explain why I see with valgrind Memory exhausted--use M-x save-some-buffers from emacs wereas without there is absolut no message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=249672 werner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|dcb314@hotmail.com | Resolution| |WORKSFORME ------- Comment #2 from werner@novell.com 2007-04-04 06:08 MST ------- I'll do nothing about this, it is rather complex in emacs. It appears for me that the address is allocated during dumping the emacs binary its self from temacs binary and the resulting image will be loaded during startup of emacs and therefore not allocated at startup but during dump. I've seen the allocated address during dump and it was not freed during a garbage collection. The same address is used also by normal emacs after this dump and yes clearly without allocating because already during dump. This is WORKSFORME or WONTFIX/INVALID. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com