* bug#1670: XMALLOC_OVERRUN_CHECK causes abort
@ 2008-12-22 7:49 ` Dan Nicolaescu
2008-12-22 9:51 ` Andreas Schwab
2008-12-22 17:00 ` bug#1670: marked as done (XMALLOC_OVERRUN_CHECK causes abort) Emacs bug Tracking System
0 siblings, 2 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2008-12-22 7:49 UTC (permalink / raw
To: bug-gnu-emacs
Enabling:
#define XMALLOC_OVERRUN_CHECK 1
in lisp.h
causes an abort on a Fedora 10 machine:
`/bin/pwd`/temacs --batch --load loadup bootstrap
*** glibc detected *** /tmp/Emacs-CVS/objs/src/tem
acs: double free or corruption (out): 0x083aa5f8 ***
======= Backtrace: =========
/lib/libc.so.6[0x6b4394]
/lib/libc.so.6(cfree+0x96)[0x6b6346]
/tmp/Emacs-CVS/objs/src/temacs[0x813ac7b]
/tmp/Emacs-CVS/objs/src/temacs[0x81165bb]
/lib/libc.so.6(__libc_start_main+0xe5)[0x65b6d5]
/tmp/Emacs-CVS/objs/src/temacs[0x8050ad1]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
00111000-00171000 r-xp 00000000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00171000-00178000 rw-p 0005f000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00178000-001a1000 r-xp 00000000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2
203.0
001a1000-001a2000 rw-p 00029000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2
203.0
001a2000-001ac000 r-xp 00000000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0
.2203.0
001ac000-001ad000 rw-p 00009000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0
.2203.0
001ad000-001f1000 r-xp 00000000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203
.0
001f1000-001f3000 rw-p 00044000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203
.0
002cc000-00322000 r-xp 00000000 08:02 741010 /usr/lib/libXt.so.6.0.0
00322000-00326000 rw-p 00056000 08:02 741010 /usr/lib/libXt.so.6.0.0
00466000-00548000 r-xp 00000000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
00548000-00549000 rw-p 000e2000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
0054b000-0058b000 r-xp 00000000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058b000-0058c000 rw-p 00040000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058e000-00591000 r-xp 00000000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
00591000-00592000 rw-p 00002000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
0059b000-005da000 r-xp 00000000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005da000-005db000 r--p 0003e000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005db000-005dc000 rw-p 0003f000 08:02 5098360 /lib/libdbus-1.so.3.4.0
00617000-0061a000 r-xp 00000000 08:02 5097025 /lib/libuuid.so.1.2
0061a000-0061b000 rw-p 00003000 08:02 5097025 /lib/libuuid.so.1.2
00620000-00640000 r-xp 00000000 08:02 5096948 /lib/ld-2.9.so
00641000-00642000 r--p 00020000 08:02 5096948 /lib/ld-2.9.so
00642000-00643000 rw-p 00021000 08:02 5096948 /lib/ld-2.9.so
00645000-007b3000 r-xp 00000000 08:02 5096949 /lib/libc-2.9.so
007b3000-007b5000 r--p 0016e000 08:02 5096949 /lib/libc-2.9.so
007b5000-007b6000 rw-p 00170000 08:02 5096949 /lib/libc-2.9.so
007b6000-007b9000 rw-p 007b6000 00:00 0
007bb000-007e2000 r-xp 00000000 08:02 5097002 /lib/libm-2.9.so
007e2000-007e3000 r--p 00026000 08:02 5097002 /lib/libm-2.9.so
007e3000-007e4000 rw-p 00027000 08:02 5097002 /lib/libm-2.9.so
007e6000-007e9000 r-xp 00000000 08:02 5096964 /lib/libdl-2.9.so
007e9000-007ea000 r--p 00002000 08:02 5096964 /lib/libdl-2.9.so
007ea000-007eb000 rw-p 00003000 08:02 5096964 /lib/libdl-2.9.so
00809000-0081c000 r-xp 00000000 08:02 5096976 /lib/libz.so.1.2.3
0081c000-0081d000 rw-p 00012000 08:02 5096976 /lib/libz.so.1.2.3
0081f000-00839000 r-xp 00000000 08:02 5096967 /lib/libselinux.so.1
00839000-0083a000 r--p 00019000 08:02 5096967 /lib/libselinux.so.1
0083a000-0083b000 rw-p 0001a000 08:02 5096967 /lib/libselinux.so.1
0083d000-008ae000 r-xp 00000000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008ae000-008b0000 rw-p 00071000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008fa000-00916000 r-xp 00000000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0
.1400.4
00916000-00917000 rw-p 0001b000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0
.1400.4
0094e000-00961000 r-xp 00000000 08:02 739775 /usr/lib/libXft.so.2.1.13
00961000-00962000 rw-p 00012000 08:02 739775 /usr/lib/libXft.so.2.1.13
00971000-00972000 r-xp 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00972000-00973000 rw-p 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00975000-00990000 r-xp 00000000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00990000-00991000 rw-p 0001b000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00993000-00a90000 r-xp 00000000 08:02 721573 /usr/lib/libX11.so.6.2.0
00a90000-00a94000 rw-p 000fc000 08:02 721573 /usr/lib/libX11.so.6.2.0
00a96000-00a98000 r-xp 00000000 08:02 737942 /usr/lib/libXau.so.6.0.0
00a98000-00a99000 rw-p 00001000 08:02 737942 /usr/lib/libXau.so.6.0.0
00a9b000-00aa0000 r-xp 00000000 08:02 737943 /usr/lib/libXdmcp.so.6.0.0
00aa0000-00aa1000 rw-p 00004000 08:02 737943 /usr/lib/libXdmcp.so.6.0.0
00aa9000-00ace000 r-xp 00000000 08:02 5097005 /lib/libexpat.so.1.5.2
00ace000-00ad0000 rw-p 00024000 08:02 5097005 /lib/libexpat.so.1.5.2
00aeb000-00b7a000 r-xp 00000000 08:02 725580 /usr/lib/libfreetype.so.6.3.18
00b7a000-00b7e000 rw-p 0008e000 08:02 725580 /usr/lib/libfreetype.so.6.3.18
00bf5000-00c1c000 r-xp 00000000 08:02 720293 /usr/lib/libpng12.so.0.33.0
00c1c000-00c1d000 rw-p 00026000 08:02 720293 /usr/lib/libpng12.so.0.33.0
00c1f000-00c4d000 r-xp 00000000 08:02 730638 /usr/lib/libfontconfig.so.1.3.0
00c4d000-00c4e000 rw-p 0002e000 08:02 730638 /usr/lib/libfontconfig.so.1.3.0
00c5b000-00ca0000 r-xp 00000000 08:02 725481 /usr/lib/libpixman-1.so.0.12.0
00ca0000-00ca2000 rw-p 00045000 08:02 725481 /usr/lib/libpixman-1.so.0.12.0
00ca4000-00d1a000 r-xp 00000000 08:02 742060 /usr/lib/libcairo.so.2.10800.0
00d1a000-00d1c000 rw-p 00075000 08:02 742060 /usr/lib/libcairo.so.2.10800.0
00d47000-00d4f000 r-xp 00000000 08:02 721063 /usr/lib/libXrender.so.1.3.0
00d4f000-00d50000 rw-p 00007000 08:02 721063 /usr/lib/libXrender.so.1.3.0
00d52000-00d62000 r-xp 00000000 08:02 721047 /usr/lib/libXpm.so.4.11.0
00d62000-00d63000 rw-p 0000f000 08:02 721047 /usr/lib/libXpm.so.4.11.0
00d65000-00d7c000 r-xp 00000000 08:02 746429 /usr/lib/libXmu.so.6.2.0
00d7c000-00d7d000 rw-p 00016000 08:02 746429 /usr/lib/libXmu.so.6.2.0
00d7d000-00d7e000 rw-p 00d7d000 00:00 0
00dde000-00ded000 r-xp 00000000 08:02 748825 /usr/lib/libXext.so.6.4.0
00ded000-00dee000 rw-p 0000e000 08:02 748825 /usr/lib/libXext.so.6.4.0
00df4000-00df8000 r-xp 00000000 08:02 5096954 /lib/libcap.so.2.10
00df8000-00df9000 rw-p 00003000 08:02 5096954 /lib/libcap.so.2.10
040ed000-04121000 r-xp 00000000 08:02 722304 /usr/lib/librsvg-2.so.2.22.3
04121000-04122000 rw-p 00034000 08:02 722304 /usr/lib/librsvg-2.so.2.22.3
0443a000-0444a000 r-xp 00000000 08:02 5097179 /lib/libbz2.so.1.0.4
0444a000-0444b000 rw-p 00010000 08:02 5097179 /lib/libbz2.so.1.0.4
0444d000-04463000 r-xp 00000000 08:02 5098466 /lib/libtinfo.so.5.6
04463000-04466000 rw-p 00015000 08:02 5098466 /lib/libtinfo.so.5.6
04468000-04489000 r-xp 00000000 08:02 5098467 /lib/libncurses.so.5.6
04489000-0448a000 rw-p 00021000 08:02 5098467 /lib/libncurses.so.5.6
0459c000-045f3000 r-xp 00000000 08:02 746461 /usr/lib/libtiff.so.3.8.2
045f3000-045f5000 rw-p 00057000 08:02 746461 /usr/lib/libtiff.so.3.8.2
04e0e000-04f59000 r-xp 00000000 08:02 746353 /usr/lib/libxml2.so.2.7.2
04f59000-04f5e000 rw-p 0014a000 08:02 746353 /usr/lib/libxml2.so.2.7.2
04f5e000-04f5f000 rw-p 04f5e000 00:00 0
04f61000-04f68000 r-xp 00000000 08:02 746452 /usr/lib/libSM.so.6.0.0
04f68000-04f69000 rw-p 00006000 08:02 746452 /usr/lib/libSM.so.6.0.0
04f6b000-04f82000 r-xp 00000000 08:02 725214 /usr/lib/libICE.so.6.3.0
04f82000-04f83000 rw-p 00016000 08:02 725214 /usr/lib/libICE.so.6.3.0
04f83000-04f85000 rw-p 04f83000 00:00 0
04f87000-04f94000 r-xp 00000000 08:02 5097214 /lib/libgcc_s-4.3.2-20081105.so
.1
04f94000-04f95000 rw-p 0000c000 08:02 5097214 /lib/libgcc_s-4.3.2-20081105.so
.1
05526000-0555d000 r-xp 00000000 08:02 746768 /usr/lib/libcroco-0.6.so.3.0.1
0555d000-05560000 rw-p 00036000 08:02 746768 /usr/lib/libcroco-0.6.so.3.0.1
05599000-055d1000 r-xp 00000000 08:02 740778 /usr/lib/libgsf-1.so.114.0.10
055d1000-055d4000 rw-p 00037000 08:02 740778 /usr/lib/libgsf-1.so.114.0.10
055d4000-055d5000 rw-p 055d4000 00:00 0
05675000-05697000 r-xp 00000000 08:02 740093 /usr/lib/libjpeg.so.62.0.0
05697000-05698000 rw-p 00021000 08:02 740093 /usr/lib/libjpeg.so.62.0.0
08048000-081fe000 r-xp 00000000 08:02 3889749 /tmp/Emacs-CVS/objs/src/temacs
081fe000-0833e000 rw-p 001b6000 08:02 3889749 /tmp/Emacs-CVS/objs/src/temacs
0833e000-083c5000 rw-p 0833e000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7fdd000-b7fe8000 rw-p b7fdd000 00:00 0
bffeb000-c0000000 rw-p bffeb000 00:00 0 [stack]
make[1]: *** [bootstrap-emacs] Aborted
make[1]: Leaving directory `/tmp/Emacs-CVS/objs/sr
c'
make: *** [src] Error 2
Exit 2
gdb ./temacs
GNU gdb Fedora (6.8-29.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http:/gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x81321a9: file /tmp/Emacs-CVS/emacs/src/sysdep.c, line 1146.
(gdb) r --batch --load loadup bootstrap
Starting program: /tmp/Emacs-CVS/objs/src/temacs --batch --load loadup bootstrap
Executing new program: /tmp/Emacs-CVS/objs/src/temacs
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-3.fc10.i386 cairo-1.8.0-1.fc10.i386 dbus-libs-1.2.8-1.fc10.i386 e2fsprogs-libs-1.41.3-2.fc10.i386 expat-2.0.1-5.i386 fontconfig-2.6.0-3.fc10.i386 freetype-2.3.7-1.fc10.i386 glib2-2.18.3-2.fc10.i386 glibc-2.9-2.i686 gtk2-2.14.4-3.fc10.i386 libICE-1.0.4-4.fc10.i386 libSM-1.1.0-2.fc10.i386 libX11-1.1.4-6.fc10.i386 libXau-1.0.4-1.fc10.i386 libXaw-1.0.4-3.fc10.i386 libXdmcp-1.0.2-6.fc10.i386 libXext-1.0.4-1.fc9.i386 libXft-2.1.13-1.fc10.i386 libXmu-1.0.4-1.fc9.i386 libXpm-3.5.7-4.fc9.i386 libXrender-0.9.4-3.fc9.i386 libXt-1.0.5-1.fc10.i386 libcap-2.10-2.fc10.i386 libcroco-0.6.1-5.fc9.i386 libgsf-1.14.10-1.fc10.i386 libjpeg-6b-43.fc10.i386 libpng-1.2.33-1.fc10.i386 librsvg2-2.22.3-1.fc10.i386 libselinux-2.0.73-1.fc10.i386 libtiff-3.8.2-11.fc10.i386 libxcb-1.1.91-5.fc10.i386 libxml2-2.7.2-2.fc10.i386 ncurses-libs-5.6-20.20080927.fc10.i386 pango-1.22.3-1.fc10.i386 pixman-0.12.0-2.fc10.i386 zlib-1.2.3-18.fc9.i386
*** glibc detected *** /tmp/Emacs-CVS/objs/src/temacs: double free or corruption (out): 0x083aa5f8 ***
======= Backtrace: =========
/lib/libc.so.6[0x6b4394]
/lib/libc.so.6(cfree+0x96)[0x6b6346]
/tmp/Emacs-CVS/objs/src/temacs[0x813ac7b]
/tmp/Emacs-CVS/objs/src/temacs[0x81165bb]
/lib/libc.so.6(__libc_start_main+0xe5)[0x65b6d5]
/tmp/Emacs-CVS/objs/src/temacs[0x8050ad1]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
00111000-00171000 r-xp 00000000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00171000-00178000 rw-p 0005f000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00178000-001a1000 r-xp 00000000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2203.0
001a1000-001a2000 rw-p 00029000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2203.0
001a2000-001ac000 r-xp 00000000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0.2203.0
001ac000-001ad000 rw-p 00009000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0.2203.0
001ad000-001f1000 r-xp 00000000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203.0
001f1000-001f3000 rw-p 00044000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203.0
002cc000-00322000 r-xp 00000000 08:02 741010 /usr/lib/libXt.so.6.0.0
00322000-00326000 rw-p 00056000 08:02 741010 /usr/lib/libXt.so.6.0.0
00466000-00548000 r-xp 00000000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
00548000-00549000 rw-p 000e2000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
0054b000-0058b000 r-xp 00000000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058b000-0058c000 rw-p 00040000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058e000-00591000 r-xp 00000000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
00591000-00592000 rw-p 00002000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
0059b000-005da000 r-xp 00000000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005da000-005db000 r--p 0003e000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005db000-005dc000 rw-p 0003f000 08:02 5098360 /lib/libdbus-1.so.3.4.0
00617000-0061a000 r-xp 00000000 08:02 5097025 /lib/libuuid.so.1.2
0061a000-0061b000 rw-p 00003000 08:02 5097025 /lib/libuuid.so.1.2
00620000-00640000 r-xp 00000000 08:02 5096948 /lib/ld-2.9.so
00641000-00642000 r--p 00020000 08:02 5096948 /lib/ld-2.9.so
00642000-00643000 rw-p 00021000 08:02 5096948 /lib/ld-2.9.so
00645000-007b3000 r-xp 00000000 08:02 5096949 /lib/libc-2.9.so
007b3000-007b5000 r--p 0016e000 08:02 5096949 /lib/libc-2.9.so
007b5000-007b6000 rw-p 00170000 08:02 5096949 /lib/libc-2.9.so
007b6000-007b9000 rw-p 007b6000 00:00 0
007bb000-007e2000 r-xp 00000000 08:02 5097002 /lib/libm-2.9.so
007e2000-007e3000 r--p 00026000 08:02 5097002 /lib/libm-2.9.so
007e3000-007e4000 rw-p 00027000 08:02 5097002 /lib/libm-2.9.so
007e6000-007e9000 r-xp 00000000 08:02 5096964 /lib/libdl-2.9.so
007e9000-007ea000 r--p 00002000 08:02 5096964 /lib/libdl-2.9.so
007ea000-007eb000 rw-p 00003000 08:02 5096964 /lib/libdl-2.9.so
00809000-0081c000 r-xp 00000000 08:02 5096976 /lib/libz.so.1.2.3
0081c000-0081d000 rw-p 00012000 08:02 5096976 /lib/libz.so.1.2.3
0081f000-00839000 r-xp 00000000 08:02 5096967 /lib/libselinux.so.1
00839000-0083a000 r--p 00019000 08:02 5096967 /lib/libselinux.so.1
0083a000-0083b000 rw-p 0001a000 08:02 5096967 /lib/libselinux.so.1
0083d000-008ae000 r-xp 00000000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008ae000-008b0000 rw-p 00071000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008fa000-00916000 r-xp 00000000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.4
00916000-00917000 rw-p 0001b000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.4
0094e000-00961000 r-xp 00000000 08:02 739775 /usr/lib/libXft.so.2.1.13
00961000-00962000 rw-p 00012000 08:02 739775 /usr/lib/libXft.so.2.1.13
00971000-00972000 r-xp 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00972000-00973000 rw-p 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00975000-00990000 r-xp 00000000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00990000-00991000 rw-p 0001b000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00993000-00a90000 r-xp 00000000 08:02 72157
Program received signal SIGABRT, Aborted.
0x00110416 in ?? ()
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-3.fc10.i386 cairo-1.8.0-1.fc10.i386 dbus-libs-1.2.8-1.fc10.i386 e2fsprogs-libs-1.41.3-2.fc10.i386 expat-2.0.1-5.i386 fontconfig-2.6.0-3.fc10.i386 freetype-2.3.7-1.fc10.i386 glib2-2.18.3-2.fc10.i386 glibc-2.9-2.i686 gtk2-2.14.4-3.fc10.i386 libICE-1.0.4-4.fc10.i386 libSM-1.1.0-2.fc10.i386 libX11-1.1.4-6.fc10.i386 libXau-1.0.4-1.fc10.i386 libXaw-1.0.4-3.fc10.i386 libXdmcp-1.0.2-6.fc10.i386 libXext-1.0.4-1.fc9.i386 libXft-2.1.13-1.fc10.i386 libXmu-1.0.4-1.fc9.i386 libXpm-3.5.7-4.fc9.i386 libXrender-0.9.4-3.fc9.i386 libXt-1.0.5-1.fc10.i386 libcap-2.10-2.fc10.i386 libcroco-0.6.1-5.fc9.i386 libgcc-4.3.2-7.i386 libgsf-1.14.10-1.fc10.i386 libjpeg-6b-43.fc10.i386 libpng-1.2.33-1.fc10.i386 librsvg2-2.22.3-1.fc10.i386 libselinux-2.0.73-1.fc10.i386 libtiff-3.8.2-11.fc10.i386 libxcb-1.1.91-5.fc10.i386 libxml2-2.7.2-2.fc10.i386 ncurses-libs-5.6-20.20080927.fc10.i386 pango-1.22.3-1.fc10.i386 pixman-0.12.0-2.fc10.i386 zlib-1.2.3-18.fc9.i386
(gdb) bt
#0 0x00110416 in ?? ()
#1 0x00670450 in raise () from /lib/libc.so.6
#2 0x00671e18 in abort () from /lib/libc.so.6
#3 0x006adfdd in __libc_message () from /lib/libc.so.6
#4 0x006b4394 in malloc_printerr () from /lib/libc.so.6
#5 0x006b6346 in free () from /lib/libc.so.6
#6 0x0813ac7b in init_buffer () at /tmp/Emacs-CVS/emacs/src/buffer.c:5374
#7 0x081165bb in main (argc=5, argv=0xbffff2a4) at /tmp/Emacs-CVS/emacs/src/emacs.c:1543
(gdb) up 6
#6 0x0813ac7b in init_buffer () at /tmp/Emacs-CVS/emacs/src/buffer.c:5374
5374 free (pwd);
(gdb) up
#7 0x081165bb in main (argc=5, argv=0xbffff2a4) at /tmp/Emacs-CVS/emacs/src/emacs.c:1543
1543 init_buffer (); /* Init default directory of main buffer. */
(gdb)
EMACS_22_BASE is fine with XMALLOC_OVERRUN_CHECK
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#1670: XMALLOC_OVERRUN_CHECK causes abort
2008-12-22 7:49 ` bug#1670: XMALLOC_OVERRUN_CHECK causes abort Dan Nicolaescu
@ 2008-12-22 9:51 ` Andreas Schwab
2008-12-22 17:00 ` bug#1670: marked as done (XMALLOC_OVERRUN_CHECK causes abort) Emacs bug Tracking System
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2008-12-22 9:51 UTC (permalink / raw
To: Dan Nicolaescu; +Cc: bug-gnu-emacs, 1670
Dan Nicolaescu <dann@ics.uci.edu> writes:
> Enabling:
> #define XMALLOC_OVERRUN_CHECK 1
>
> in lisp.h
> causes an abort on a Fedora 10 machine:
>
> `/bin/pwd`/temacs --batch --load loadup bootstrap
> *** glibc detected *** /tmp/Emacs-CVS/objs/src/tem
> acs: double free or corruption (out): 0x083aa5f8 ***
Fixed.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#1670: marked as done (XMALLOC_OVERRUN_CHECK causes abort)
2008-12-22 7:49 ` bug#1670: XMALLOC_OVERRUN_CHECK causes abort Dan Nicolaescu
2008-12-22 9:51 ` Andreas Schwab
@ 2008-12-22 17:00 ` Emacs bug Tracking System
1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2008-12-22 17:00 UTC (permalink / raw
To: Dan Nicolaescu
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
Your message dated Mon, 22 Dec 2008 08:55:26 -0800 (PST)
with message-id <200812221655.mBMGtQWW000318@mothra.ics.uci.edu>
and subject line Re: bug#1670: XMALLOC_OVERRUN_CHECK causes abort
has caused the Emacs bug report #1670,
regarding XMALLOC_OVERRUN_CHECK causes abort
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)
--
1670: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1670
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 19900 bytes --]
From: Dan Nicolaescu <dann@ics.uci.edu>
To: bug-gnu-emacs <bug-gnu-emacs@gnu.org>
Subject: XMALLOC_OVERRUN_CHECK causes abort
Date: Sun, 21 Dec 2008 23:49:01 -0800 (PST)
Message-ID: <200812220749.mBM7n1j9029424@mothra.ics.uci.edu>
Enabling:
#define XMALLOC_OVERRUN_CHECK 1
in lisp.h
causes an abort on a Fedora 10 machine:
`/bin/pwd`/temacs --batch --load loadup bootstrap
*** glibc detected *** /tmp/Emacs-CVS/objs/src/tem
acs: double free or corruption (out): 0x083aa5f8 ***
======= Backtrace: =========
/lib/libc.so.6[0x6b4394]
/lib/libc.so.6(cfree+0x96)[0x6b6346]
/tmp/Emacs-CVS/objs/src/temacs[0x813ac7b]
/tmp/Emacs-CVS/objs/src/temacs[0x81165bb]
/lib/libc.so.6(__libc_start_main+0xe5)[0x65b6d5]
/tmp/Emacs-CVS/objs/src/temacs[0x8050ad1]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
00111000-00171000 r-xp 00000000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00171000-00178000 rw-p 0005f000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00178000-001a1000 r-xp 00000000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2
203.0
001a1000-001a2000 rw-p 00029000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2
203.0
001a2000-001ac000 r-xp 00000000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0
.2203.0
001ac000-001ad000 rw-p 00009000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0
.2203.0
001ad000-001f1000 r-xp 00000000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203
.0
001f1000-001f3000 rw-p 00044000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203
.0
002cc000-00322000 r-xp 00000000 08:02 741010 /usr/lib/libXt.so.6.0.0
00322000-00326000 rw-p 00056000 08:02 741010 /usr/lib/libXt.so.6.0.0
00466000-00548000 r-xp 00000000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
00548000-00549000 rw-p 000e2000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
0054b000-0058b000 r-xp 00000000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058b000-0058c000 rw-p 00040000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058e000-00591000 r-xp 00000000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
00591000-00592000 rw-p 00002000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
0059b000-005da000 r-xp 00000000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005da000-005db000 r--p 0003e000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005db000-005dc000 rw-p 0003f000 08:02 5098360 /lib/libdbus-1.so.3.4.0
00617000-0061a000 r-xp 00000000 08:02 5097025 /lib/libuuid.so.1.2
0061a000-0061b000 rw-p 00003000 08:02 5097025 /lib/libuuid.so.1.2
00620000-00640000 r-xp 00000000 08:02 5096948 /lib/ld-2.9.so
00641000-00642000 r--p 00020000 08:02 5096948 /lib/ld-2.9.so
00642000-00643000 rw-p 00021000 08:02 5096948 /lib/ld-2.9.so
00645000-007b3000 r-xp 00000000 08:02 5096949 /lib/libc-2.9.so
007b3000-007b5000 r--p 0016e000 08:02 5096949 /lib/libc-2.9.so
007b5000-007b6000 rw-p 00170000 08:02 5096949 /lib/libc-2.9.so
007b6000-007b9000 rw-p 007b6000 00:00 0
007bb000-007e2000 r-xp 00000000 08:02 5097002 /lib/libm-2.9.so
007e2000-007e3000 r--p 00026000 08:02 5097002 /lib/libm-2.9.so
007e3000-007e4000 rw-p 00027000 08:02 5097002 /lib/libm-2.9.so
007e6000-007e9000 r-xp 00000000 08:02 5096964 /lib/libdl-2.9.so
007e9000-007ea000 r--p 00002000 08:02 5096964 /lib/libdl-2.9.so
007ea000-007eb000 rw-p 00003000 08:02 5096964 /lib/libdl-2.9.so
00809000-0081c000 r-xp 00000000 08:02 5096976 /lib/libz.so.1.2.3
0081c000-0081d000 rw-p 00012000 08:02 5096976 /lib/libz.so.1.2.3
0081f000-00839000 r-xp 00000000 08:02 5096967 /lib/libselinux.so.1
00839000-0083a000 r--p 00019000 08:02 5096967 /lib/libselinux.so.1
0083a000-0083b000 rw-p 0001a000 08:02 5096967 /lib/libselinux.so.1
0083d000-008ae000 r-xp 00000000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008ae000-008b0000 rw-p 00071000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008fa000-00916000 r-xp 00000000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0
.1400.4
00916000-00917000 rw-p 0001b000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0
.1400.4
0094e000-00961000 r-xp 00000000 08:02 739775 /usr/lib/libXft.so.2.1.13
00961000-00962000 rw-p 00012000 08:02 739775 /usr/lib/libXft.so.2.1.13
00971000-00972000 r-xp 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00972000-00973000 rw-p 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00975000-00990000 r-xp 00000000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00990000-00991000 rw-p 0001b000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00993000-00a90000 r-xp 00000000 08:02 721573 /usr/lib/libX11.so.6.2.0
00a90000-00a94000 rw-p 000fc000 08:02 721573 /usr/lib/libX11.so.6.2.0
00a96000-00a98000 r-xp 00000000 08:02 737942 /usr/lib/libXau.so.6.0.0
00a98000-00a99000 rw-p 00001000 08:02 737942 /usr/lib/libXau.so.6.0.0
00a9b000-00aa0000 r-xp 00000000 08:02 737943 /usr/lib/libXdmcp.so.6.0.0
00aa0000-00aa1000 rw-p 00004000 08:02 737943 /usr/lib/libXdmcp.so.6.0.0
00aa9000-00ace000 r-xp 00000000 08:02 5097005 /lib/libexpat.so.1.5.2
00ace000-00ad0000 rw-p 00024000 08:02 5097005 /lib/libexpat.so.1.5.2
00aeb000-00b7a000 r-xp 00000000 08:02 725580 /usr/lib/libfreetype.so.6.3.18
00b7a000-00b7e000 rw-p 0008e000 08:02 725580 /usr/lib/libfreetype.so.6.3.18
00bf5000-00c1c000 r-xp 00000000 08:02 720293 /usr/lib/libpng12.so.0.33.0
00c1c000-00c1d000 rw-p 00026000 08:02 720293 /usr/lib/libpng12.so.0.33.0
00c1f000-00c4d000 r-xp 00000000 08:02 730638 /usr/lib/libfontconfig.so.1.3.0
00c4d000-00c4e000 rw-p 0002e000 08:02 730638 /usr/lib/libfontconfig.so.1.3.0
00c5b000-00ca0000 r-xp 00000000 08:02 725481 /usr/lib/libpixman-1.so.0.12.0
00ca0000-00ca2000 rw-p 00045000 08:02 725481 /usr/lib/libpixman-1.so.0.12.0
00ca4000-00d1a000 r-xp 00000000 08:02 742060 /usr/lib/libcairo.so.2.10800.0
00d1a000-00d1c000 rw-p 00075000 08:02 742060 /usr/lib/libcairo.so.2.10800.0
00d47000-00d4f000 r-xp 00000000 08:02 721063 /usr/lib/libXrender.so.1.3.0
00d4f000-00d50000 rw-p 00007000 08:02 721063 /usr/lib/libXrender.so.1.3.0
00d52000-00d62000 r-xp 00000000 08:02 721047 /usr/lib/libXpm.so.4.11.0
00d62000-00d63000 rw-p 0000f000 08:02 721047 /usr/lib/libXpm.so.4.11.0
00d65000-00d7c000 r-xp 00000000 08:02 746429 /usr/lib/libXmu.so.6.2.0
00d7c000-00d7d000 rw-p 00016000 08:02 746429 /usr/lib/libXmu.so.6.2.0
00d7d000-00d7e000 rw-p 00d7d000 00:00 0
00dde000-00ded000 r-xp 00000000 08:02 748825 /usr/lib/libXext.so.6.4.0
00ded000-00dee000 rw-p 0000e000 08:02 748825 /usr/lib/libXext.so.6.4.0
00df4000-00df8000 r-xp 00000000 08:02 5096954 /lib/libcap.so.2.10
00df8000-00df9000 rw-p 00003000 08:02 5096954 /lib/libcap.so.2.10
040ed000-04121000 r-xp 00000000 08:02 722304 /usr/lib/librsvg-2.so.2.22.3
04121000-04122000 rw-p 00034000 08:02 722304 /usr/lib/librsvg-2.so.2.22.3
0443a000-0444a000 r-xp 00000000 08:02 5097179 /lib/libbz2.so.1.0.4
0444a000-0444b000 rw-p 00010000 08:02 5097179 /lib/libbz2.so.1.0.4
0444d000-04463000 r-xp 00000000 08:02 5098466 /lib/libtinfo.so.5.6
04463000-04466000 rw-p 00015000 08:02 5098466 /lib/libtinfo.so.5.6
04468000-04489000 r-xp 00000000 08:02 5098467 /lib/libncurses.so.5.6
04489000-0448a000 rw-p 00021000 08:02 5098467 /lib/libncurses.so.5.6
0459c000-045f3000 r-xp 00000000 08:02 746461 /usr/lib/libtiff.so.3.8.2
045f3000-045f5000 rw-p 00057000 08:02 746461 /usr/lib/libtiff.so.3.8.2
04e0e000-04f59000 r-xp 00000000 08:02 746353 /usr/lib/libxml2.so.2.7.2
04f59000-04f5e000 rw-p 0014a000 08:02 746353 /usr/lib/libxml2.so.2.7.2
04f5e000-04f5f000 rw-p 04f5e000 00:00 0
04f61000-04f68000 r-xp 00000000 08:02 746452 /usr/lib/libSM.so.6.0.0
04f68000-04f69000 rw-p 00006000 08:02 746452 /usr/lib/libSM.so.6.0.0
04f6b000-04f82000 r-xp 00000000 08:02 725214 /usr/lib/libICE.so.6.3.0
04f82000-04f83000 rw-p 00016000 08:02 725214 /usr/lib/libICE.so.6.3.0
04f83000-04f85000 rw-p 04f83000 00:00 0
04f87000-04f94000 r-xp 00000000 08:02 5097214 /lib/libgcc_s-4.3.2-20081105.so
.1
04f94000-04f95000 rw-p 0000c000 08:02 5097214 /lib/libgcc_s-4.3.2-20081105.so
.1
05526000-0555d000 r-xp 00000000 08:02 746768 /usr/lib/libcroco-0.6.so.3.0.1
0555d000-05560000 rw-p 00036000 08:02 746768 /usr/lib/libcroco-0.6.so.3.0.1
05599000-055d1000 r-xp 00000000 08:02 740778 /usr/lib/libgsf-1.so.114.0.10
055d1000-055d4000 rw-p 00037000 08:02 740778 /usr/lib/libgsf-1.so.114.0.10
055d4000-055d5000 rw-p 055d4000 00:00 0
05675000-05697000 r-xp 00000000 08:02 740093 /usr/lib/libjpeg.so.62.0.0
05697000-05698000 rw-p 00021000 08:02 740093 /usr/lib/libjpeg.so.62.0.0
08048000-081fe000 r-xp 00000000 08:02 3889749 /tmp/Emacs-CVS/objs/src/temacs
081fe000-0833e000 rw-p 001b6000 08:02 3889749 /tmp/Emacs-CVS/objs/src/temacs
0833e000-083c5000 rw-p 0833e000 00:00 0 [heap]
b7e00000-b7e21000 rw-p b7e00000 00:00 0
b7e21000-b7f00000 ---p b7e21000 00:00 0
b7fdd000-b7fe8000 rw-p b7fdd000 00:00 0
bffeb000-c0000000 rw-p bffeb000 00:00 0 [stack]
make[1]: *** [bootstrap-emacs] Aborted
make[1]: Leaving directory `/tmp/Emacs-CVS/objs/sr
c'
make: *** [src] Error 2
Exit 2
gdb ./temacs
GNU gdb Fedora (6.8-29.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http:/gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0.0
TERM = xterm
Breakpoint 1 at 0x81321a9: file /tmp/Emacs-CVS/emacs/src/sysdep.c, line 1146.
(gdb) r --batch --load loadup bootstrap
Starting program: /tmp/Emacs-CVS/objs/src/temacs --batch --load loadup bootstrap
Executing new program: /tmp/Emacs-CVS/objs/src/temacs
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-3.fc10.i386 cairo-1.8.0-1.fc10.i386 dbus-libs-1.2.8-1.fc10.i386 e2fsprogs-libs-1.41.3-2.fc10.i386 expat-2.0.1-5.i386 fontconfig-2.6.0-3.fc10.i386 freetype-2.3.7-1.fc10.i386 glib2-2.18.3-2.fc10.i386 glibc-2.9-2.i686 gtk2-2.14.4-3.fc10.i386 libICE-1.0.4-4.fc10.i386 libSM-1.1.0-2.fc10.i386 libX11-1.1.4-6.fc10.i386 libXau-1.0.4-1.fc10.i386 libXaw-1.0.4-3.fc10.i386 libXdmcp-1.0.2-6.fc10.i386 libXext-1.0.4-1.fc9.i386 libXft-2.1.13-1.fc10.i386 libXmu-1.0.4-1.fc9.i386 libXpm-3.5.7-4.fc9.i386 libXrender-0.9.4-3.fc9.i386 libXt-1.0.5-1.fc10.i386 libcap-2.10-2.fc10.i386 libcroco-0.6.1-5.fc9.i386 libgsf-1.14.10-1.fc10.i386 libjpeg-6b-43.fc10.i386 libpng-1.2.33-1.fc10.i386 librsvg2-2.22.3-1.fc10.i386 libselinux-2.0.73-1.fc10.i386 libtiff-3.8.2-11.fc10.i386 libxcb-1.1.91-5.fc10.i386 libxml2-2.7.2-2.fc10.i386 ncurses-libs-5.6-20.20080927.fc10.i386 pango-1.22.3-1.fc10.i386 pixman-0.12.0-2.fc10.i386 zlib-1.2.3-18.fc9.i386
*** glibc detected *** /tmp/Emacs-CVS/objs/src/temacs: double free or corruption (out): 0x083aa5f8 ***
======= Backtrace: =========
/lib/libc.so.6[0x6b4394]
/lib/libc.so.6(cfree+0x96)[0x6b6346]
/tmp/Emacs-CVS/objs/src/temacs[0x813ac7b]
/tmp/Emacs-CVS/objs/src/temacs[0x81165bb]
/lib/libc.so.6(__libc_start_main+0xe5)[0x65b6d5]
/tmp/Emacs-CVS/objs/src/temacs[0x8050ad1]
======= Memory map: ========
00110000-00111000 r-xp 00110000 00:00 0 [vdso]
00111000-00171000 r-xp 00000000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00171000-00178000 rw-p 0005f000 08:02 739955 /usr/lib/libXaw7.so.7.0.0
00178000-001a1000 r-xp 00000000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2203.0
001a1000-001a2000 rw-p 00029000 08:02 722357 /usr/lib/libpangoft2-1.0.so.0.2203.0
001a2000-001ac000 r-xp 00000000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0.2203.0
001ac000-001ad000 rw-p 00009000 08:02 748824 /usr/lib/libpangocairo-1.0.so.0.2203.0
001ad000-001f1000 r-xp 00000000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203.0
001f1000-001f3000 rw-p 00044000 08:02 721796 /usr/lib/libpango-1.0.so.0.2203.0
002cc000-00322000 r-xp 00000000 08:02 741010 /usr/lib/libXt.so.6.0.0
00322000-00326000 rw-p 00056000 08:02 741010 /usr/lib/libXt.so.6.0.0
00466000-00548000 r-xp 00000000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
00548000-00549000 rw-p 000e2000 08:02 5097011 /lib/libglib-2.0.so.0.1800.3
0054b000-0058b000 r-xp 00000000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058b000-0058c000 rw-p 00040000 08:02 5096924 /lib/libgobject-2.0.so.0.1800.3
0058e000-00591000 r-xp 00000000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
00591000-00592000 rw-p 00002000 08:02 5096943 /lib/libgmodule-2.0.so.0.1800.3
0059b000-005da000 r-xp 00000000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005da000-005db000 r--p 0003e000 08:02 5098360 /lib/libdbus-1.so.3.4.0
005db000-005dc000 rw-p 0003f000 08:02 5098360 /lib/libdbus-1.so.3.4.0
00617000-0061a000 r-xp 00000000 08:02 5097025 /lib/libuuid.so.1.2
0061a000-0061b000 rw-p 00003000 08:02 5097025 /lib/libuuid.so.1.2
00620000-00640000 r-xp 00000000 08:02 5096948 /lib/ld-2.9.so
00641000-00642000 r--p 00020000 08:02 5096948 /lib/ld-2.9.so
00642000-00643000 rw-p 00021000 08:02 5096948 /lib/ld-2.9.so
00645000-007b3000 r-xp 00000000 08:02 5096949 /lib/libc-2.9.so
007b3000-007b5000 r--p 0016e000 08:02 5096949 /lib/libc-2.9.so
007b5000-007b6000 rw-p 00170000 08:02 5096949 /lib/libc-2.9.so
007b6000-007b9000 rw-p 007b6000 00:00 0
007bb000-007e2000 r-xp 00000000 08:02 5097002 /lib/libm-2.9.so
007e2000-007e3000 r--p 00026000 08:02 5097002 /lib/libm-2.9.so
007e3000-007e4000 rw-p 00027000 08:02 5097002 /lib/libm-2.9.so
007e6000-007e9000 r-xp 00000000 08:02 5096964 /lib/libdl-2.9.so
007e9000-007ea000 r--p 00002000 08:02 5096964 /lib/libdl-2.9.so
007ea000-007eb000 rw-p 00003000 08:02 5096964 /lib/libdl-2.9.so
00809000-0081c000 r-xp 00000000 08:02 5096976 /lib/libz.so.1.2.3
0081c000-0081d000 rw-p 00012000 08:02 5096976 /lib/libz.so.1.2.3
0081f000-00839000 r-xp 00000000 08:02 5096967 /lib/libselinux.so.1
00839000-0083a000 r--p 00019000 08:02 5096967 /lib/libselinux.so.1
0083a000-0083b000 rw-p 0001a000 08:02 5096967 /lib/libselinux.so.1
0083d000-008ae000 r-xp 00000000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008ae000-008b0000 rw-p 00071000 08:02 5096930 /lib/libgio-2.0.so.0.1800.3
008fa000-00916000 r-xp 00000000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.4
00916000-00917000 rw-p 0001b000 08:02 723125 /usr/lib/libgdk_pixbuf-2.0.so.0.1400.4
0094e000-00961000 r-xp 00000000 08:02 739775 /usr/lib/libXft.so.2.1.13
00961000-00962000 rw-p 00012000 08:02 739775 /usr/lib/libXft.so.2.1.13
00971000-00972000 r-xp 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00972000-00973000 rw-p 00000000 08:02 741692 /usr/lib/libxcb-xlib.so.0.0.0
00975000-00990000 r-xp 00000000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00990000-00991000 rw-p 0001b000 08:02 740060 /usr/lib/libxcb.so.1.0.0
00993000-00a90000 r-xp 00000000 08:02 72157
Program received signal SIGABRT, Aborted.
0x00110416 in ?? ()
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-3.fc10.i386 cairo-1.8.0-1.fc10.i386 dbus-libs-1.2.8-1.fc10.i386 e2fsprogs-libs-1.41.3-2.fc10.i386 expat-2.0.1-5.i386 fontconfig-2.6.0-3.fc10.i386 freetype-2.3.7-1.fc10.i386 glib2-2.18.3-2.fc10.i386 glibc-2.9-2.i686 gtk2-2.14.4-3.fc10.i386 libICE-1.0.4-4.fc10.i386 libSM-1.1.0-2.fc10.i386 libX11-1.1.4-6.fc10.i386 libXau-1.0.4-1.fc10.i386 libXaw-1.0.4-3.fc10.i386 libXdmcp-1.0.2-6.fc10.i386 libXext-1.0.4-1.fc9.i386 libXft-2.1.13-1.fc10.i386 libXmu-1.0.4-1.fc9.i386 libXpm-3.5.7-4.fc9.i386 libXrender-0.9.4-3.fc9.i386 libXt-1.0.5-1.fc10.i386 libcap-2.10-2.fc10.i386 libcroco-0.6.1-5.fc9.i386 libgcc-4.3.2-7.i386 libgsf-1.14.10-1.fc10.i386 libjpeg-6b-43.fc10.i386 libpng-1.2.33-1.fc10.i386 librsvg2-2.22.3-1.fc10.i386 libselinux-2.0.73-1.fc10.i386 libtiff-3.8.2-11.fc10.i386 libxcb-1.1.91-5.fc10.i386 libxml2-2.7.2-2.fc10.i386 ncurses-libs-5.6-20.20080927.fc10.i386 pango-1.22.3-1.fc10.i386 pixman-0.12.0-2.fc10.i386 zlib-1.2.3-18.fc9.i386
(gdb) bt
#0 0x00110416 in ?? ()
#1 0x00670450 in raise () from /lib/libc.so.6
#2 0x00671e18 in abort () from /lib/libc.so.6
#3 0x006adfdd in __libc_message () from /lib/libc.so.6
#4 0x006b4394 in malloc_printerr () from /lib/libc.so.6
#5 0x006b6346 in free () from /lib/libc.so.6
#6 0x0813ac7b in init_buffer () at /tmp/Emacs-CVS/emacs/src/buffer.c:5374
#7 0x081165bb in main (argc=5, argv=0xbffff2a4) at /tmp/Emacs-CVS/emacs/src/emacs.c:1543
(gdb) up 6
#6 0x0813ac7b in init_buffer () at /tmp/Emacs-CVS/emacs/src/buffer.c:5374
5374 free (pwd);
(gdb) up
#7 0x081165bb in main (argc=5, argv=0xbffff2a4) at /tmp/Emacs-CVS/emacs/src/emacs.c:1543
1543 init_buffer (); /* Init default directory of main buffer. */
(gdb)
EMACS_22_BASE is fine with XMALLOC_OVERRUN_CHECK
[-- Attachment #3: Type: message/rfc822, Size: 2322 bytes --]
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Andreas Schwab <schwab@suse.de>
Cc: 1670-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1670: XMALLOC_OVERRUN_CHECK causes abort
Date: Mon, 22 Dec 2008 08:55:26 -0800 (PST)
Message-ID: <200812221655.mBMGtQWW000318@mothra.ics.uci.edu>
Andreas Schwab <schwab@suse.de> writes:
> Dan Nicolaescu <dann@ics.uci.edu> writes:
>
> > Enabling:
> > #define XMALLOC_OVERRUN_CHECK 1
> >
> > in lisp.h
> > causes an abort on a Fedora 10 machine:
> >
> > `/bin/pwd`/temacs --batch --load loadup bootstrap
> > *** glibc detected *** /tmp/Emacs-CVS/objs/src/tem
> > acs: double free or corruption (out): 0x083aa5f8 ***
>
> Fixed.
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-12-22 17:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200812221655.mBMGtQWW000318@mothra.ics.uci.edu>
2008-12-22 7:49 ` bug#1670: XMALLOC_OVERRUN_CHECK causes abort Dan Nicolaescu
2008-12-22 9:51 ` Andreas Schwab
2008-12-22 17:00 ` bug#1670: marked as done (XMALLOC_OVERRUN_CHECK causes abort) Emacs bug Tracking System
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.