Mailinglist Archive: opensuse-bugs (8118 mails)

< Previous Next >
[Bug 249672] New: emacs-21-3.1 : Invalid free() / delete / delete[]
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 28 Feb 2007 02:23:11 -0700 (MST)
  • Message-id: <bug-249672-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>

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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx

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 \
==8538== Invalid free() / delete / delete[]
==8538== at 0x4C22D57: realloc (in
==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

So it seems that there is a problem with memory allocation
in emacs-21-3.1.

Suggest code rework.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
This Thread
  • No further messages