GNU bug report logs - #12324
emacs crashes in gdb modus

Previous Next

Package: emacs;

Reported by: droidlove <droidlove <at> ya.ru>

Date: Sat, 1 Sep 2012 17:39:02 UTC

Severity: normal

Found in version 24.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12324 in the body.
You can then email your comments to 12324 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12324; Package emacs. (Sat, 01 Sep 2012 17:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to droidlove <droidlove <at> ya.ru>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 01 Sep 2012 17:39:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: droidlove <droidlove <at> ya.ru>
To: submit <at> debbugs.gnu.org
Subject: emacs crashes in gdb modus
Date: Sat, 1 Sep 2012 17:54:01 +0200
[Message part 1 (text/plain, inline)]
Package: emacs
Version: 24.2

When i compile an c/c++ program in emacs and invoke e.g. gdb -i=mi a.out.Tne i do run programs are getting executed the right way. But only for 3 times. At 4th run emacs crashes. It happens all the times i try to do so.

I'm using Archlinux: Linux 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012 x86_64 GNU/Linux


Here is backktrace from emacs:

*** buffer overflow detected ***: emacs terminated
======= Backtrace: =========
/usr/lib/libc.so.6(__fortify_fail+0x37)[0x7f39477d5ad7]
/usr/lib/libc.so.6(+0xf9bb0)[0x7f39477d3bb0]
/usr/lib/libc.so.6(+0xfba47)[0x7f39477d5a47]
emacs[0x5bcbdc]
emacs[0x578c7a]
emacs[0x579aeb]
emacs[0x578c7a]
emacs[0x5b112b]
emacs[0x578701]
emacs[0x578a5b]
emacs[0x579aeb]
emacs[0x578c7a]
emacs[0x5b112b]
emacs[0x578a5b]
emacs[0x5b112b]
emacs[0x578a5b]
emacs[0x5b112b]
emacs[0x578701]
emacs[0x578a5b]
emacs[0x579ab7]
emacs[0x578f70]
emacs[0x576f09]
emacs[0x5b2f38]
emacs[0x5b54a5]
emacs[0x5b843c]
emacs[0x421120]
emacs[0x50e462]
emacs[0x50f267]
emacs[0x51110c]
emacs[0x576dc1]
emacs[0x5044fe]
emacs[0x576cbb]
emacs[0x5055ef]
emacs[0x50591d]
emacs[0x416148]
/usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7f39476fb725]
emacs[0x416d29]
======= Memory map: ========
00400000-00639000 r-xp 00000000 08:16 563345                             /usr/bin/emacs
00838000-00839000 r--p 00238000 08:16 563345                             /usr/bin/emacs
00839000-0122f000 rw-p 00239000 08:16 563345                             /usr/bin/emacs
02ccc000-04de4000 rw-p 00000000 00:00 0                                  [heap]
3e21200000-3e21210000 r-xp 00000000 08:16 550504                         /usr/lib/libXpm.so.4.11.0
3e21210000-3e21410000 ---p 00010000 08:16 550504                         /usr/lib/libXpm.so.4.11.0
3e21410000-3e21411000 r--p 00010000 08:16 550504                         /usr/lib/libXpm.so.4.11.0
3e21411000-3e21412000 rw-p 00011000 08:16 550504                         /usr/lib/libXpm.so.4.11.0
3e23a00000-3e23a02000 r-xp 00000000 08:16 548161                         /usr/lib/libXau.so.6.0.0
3e23a02000-3e23c02000 ---p 00002000 08:16 548161                         /usr/lib/libXau.so.6.0.0
3e23c02000-3e23c03000 r--p 00002000 08:16 548161                         /usr/lib/libXau.so.6.0.0
3e23c03000-3e23c04000 rw-p 00003000 08:16 548161                         /usr/lib/libXau.so.6.0.0
3e24200000-3e2421d000 r-xp 00000000 08:16 548163                         /usr/lib/libxcb.so.1.1.0
3e2421d000-3e2441d000 ---p 0001d000 08:16 548163                         /usr/lib/libxcb.so.1.1.0
3e2441d000-3e2441e000 rw-p 0001d000 08:16 548163                         /usr/lib/libxcb.so.1.1.0
3e24600000-3e24605000 r-xp 00000000 08:16 548162                         /usr/lib/libXdmcp.so.6.0.0
3e24605000-3e24804000 ---p 00005000 08:16 548162                         /usr/lib/libXdmcp.so.6.0.0
3e24804000-3e24805000 r--p 00004000 08:16 548162                         /usr/lib/libXdmcp.so.6.0.0
3e24805000-3e24806000 rw-p 00005000 08:16 548162                         /usr/lib/libXdmcp.so.6.0.0
3e24e00000-3e24e10000 r-xp 00000000 08:16 533561                         /usr/lib/libtdb.so.1.2.9
3e24e10000-3e2500f000 ---p 00010000 08:16 533561                         /usr/lib/libtdb.so.1.2.9
3e2500f000-3e25010000 r--p 0000f000 08:16 533561                         /usr/lib/libtdb.so.1.2.9
3e25010000-3e25011000 rw-p 00010000 08:16 533561                         /usr/lib/libtdb.so.1.2.9
3e25a00000-3e25a34000 r-xp 00000000 08:16 548118                         /usr/lib/libfontconfig.so.1.4.4
3e25a34000-3e25c34000 ---p 00034000 08:16 548118                         /usr/lib/libfontconfig.so.1.4.4
3e25c34000-3e25c35000 r--p 00034000 08:16 548118                         /usr/lib/libfontconfig.so.1.4.4
3e25c35000-3e25c36000 rw-p 00035000 08:16 548118                         /usr/lib/libfontconfig.so.1.4.4
3e26200000-3e26212000 r-xp 00000000 08:16 548166                         /usr/lib/libXext.so.6.4.0
3e26212000-3e26411000 ---p 00012000 08:16 548166                         /usr/lib/libXext.so.6.4.0
3e26411000-3e26412000 r--p 00011000 08:16 548166                         /usr/lib/libXext.so.6.4.0
3e26412000-3e26413000 rw-p 00012000 08:16 548166                         /usr/lib/libXext.so.6.4.0
3e26600000-3e2660a000 r-xp 00000000 08:16 548165                         /usr/lib/libXrender.so.1.3.0
3e2660a000-3e26809000 ---p 0000a000 08:16 548165                         /usr/lib/libXrender.so.1.3.0
3e26809000-3e2680a000 r--p 00009000 08:16 548165                         /usr/lib/libXrender.so.1.3.0
3e2680a000-3e2680b000 rw-p 0000a000 08:16 548165                         /usr/lib/libXrender.so.1.3.0
3e26a00000-3e26a05000 r-xp 00000000 08:16 548246                         /usr/lib/libXfixes.so.3.1.0
3e26a05000-3e26c05000 ---p 00005000 08:16 548246                         /usr/lib/libXfixes.so.3.1.0
3e26c05000-3e26c06000 r--p 00005000 08:16 548246                         /usr/lib/libXfixes.so.3.1.0
3e26c06000-3e26c07000 rw-p 00006000 08:16 548246                         /usr/lib/libXfixes.so.3.1.0
3e27200000-3e27209000 r-xp 00000000 08:16 548247                         /usr/lib/libXcursor.so.1.0.2
3e27209000-3e27408000 ---p 00009000 08:16 548247                         /usr/lib/libXcursor.so.1.0.2
3e27408000-3e27409000 r--p 00008000 08:16 548247                         /usr/lib/libXcursor.so.1.0.2
3e27409000-3e2740a000 rw-p 00009000 08:16 548247                         /usr/lib/libXcursor.so.1.0.2
3e27e00000-3e27e09000 r-xp 00000000 08:16 540643                         /usr/lib/libgif.so.4.1.6
3e27e09000-3e28008000 ---p 00009000 08:16 540643                         /usr/lib/libgif.so.4.1.6
3e28008000-3e28009000 r--p 00008000 08:16 540643                         /usr/lib/libgif.so.4.1.6
3e28009000-3e2800a000 rw-p 00009000 08:16 540643                         /usr/lib/libgif.so.4.1.6
3e28600000-3e28617000 r-xp 00000000 08:16 548158                         /usr/lib/libICE.so.6.3.0
3e28617000-3e28816000 ---p 00017000 08:16 548158                         /usr/lib/libICE.so.6.3.0
3e28816000-3e28817000 r--p 00016000 08:16 548158                         /usr/lib/libICE.so.6.3.0
3e28817000-3e28818000 rw-p 00017000 08:16 548158                         /usr/lib/libICE.so.6.3.0
3e28818000-3e2881c000 rw-p 00000000 00:00 0 
3e28a00000-3e28a58000 r-xp 00000000 08:16 540158                         /usr/lib/libncursesw.so.5.9
3e28a58000-3e28c57000 ---p 00058000 08:16 540158                         /usr/lib/libncursesw.so.5.9
3e28c57000-3e28c5b000 r--p 00057000 08:16 540158                         /usr/lib/libncursesw.so.5.9
3e28c5b000-3e28c5c000 rw-p 0005b000 08:16 540158                         /usr/lib/libncursesw.so.5.9
3e28c5c000-3e28c5d000 rw-p 00000000 00:00 0 
3e28e00000-3e28e07000 r-xp 00000000 08:16 548160                         /usr/lib/libSM.so.6.0.1
3e28e07000-3e29006000 ---p 00007000 08:16 548160                         /usr/lib/libSM.so.6.0.1
3e29006000-3e29007000 r--p 00006000 08:16 548160                         /usr/lib/libSM.so.6.0.1
3e29007000-3e29008000 rw-p 00007000 08:16 548160                         /usr/lib/libSM.so.6.0.1
3e29a00000-3e29a02000 r-xp 00000000 08:16 549945                         /usr/lib/libXdamage.so.1.1.0
3e29a02000-3e29c01000 ---p 00002000 08:16 549945                         /usr/lib/libXdamage.so.1.1.0
3e29c01000-3e29c02000 r--p 00001000 08:16 549945                         /usr/lib/libXdamage.so.1.1.0
3e29c02000-3e29c03000 rw-p 00002000 08:16 549945                         /usr/lib/libXdamage.so.1.1.0
3e2b600000-3e2b6eb000 r-xp 00000000 08:16 537848                         /usr/lib/libasound.so.2.0.0
3e2b6eb000-3e2b8eb000 ---p 000eb000 08:16 537848                         /usr/lib/libasound.so.2.0.0
3e2b8eb000-3e2b8f1000 r--p 000eb000 08:16 537848                         /usr/lib/libasound.so.2.0.0
3e2b8f1000-3e2b8f3000 rw-p 000f1000 08:16 537848                         /usr/lib/libasound.so.2.0.0
3e2ca00000-3e2ca02000 r-xp 00000000 08:16 526158                         /usr/lib/libXinerama.so.1.0.0
3e2ca02000-3e2cc01000 ---p 00002000 08:16 526158                         /usr/lib/libXinerama.so.1.0.0
3e2cc01000-3e2cc02000 r--p 00001000 08:16 526158                         /usr/lib/libXinerama.so.1.0.0
3e2cc02000-3e2cc03000 rw-p 00002000 08:16 526158                         /usr/lib/libXinerama.so.1.0.0
3e2da00000-3e2da02000 r-xp 00000000 08:16 549970                         /usr/lib/libXcomposite.so.1.0.0
3e2da02000-3e2dc01000 ---p 00002000 08:16 549970                         /usr/lib/libXcomposite.so.1.0.0
3e2dc01000-3e2dc02000 r--p 00001000 08:16 549970                         /usr/lib/libXcomposite.so.1.0.0
3e2dc02000-3e2dc03000 rw-p 00002000 08:16 549970                         /usr/lib/libXcomposite.so.1.0.0
3e30400000-3e30406000 r-xp 00000000 08:16 548268                         /usr/lib/libogg.so.0.8.0
3e30406000-3e30605000 ---p 00006000 08:16 548268                         /usr/lib/libogg.so.0.8.0
3e30605000-3e30606000 rw-p 00005000 08:16 548268                         /usr/lib/libogg.so.0.8.0
3e30800000-3e3082c000 r-xp 00000000 08:16 548270                         /usr/lib/libvorbis.so.0.4.6
3e3082c000-3e30a2b000 ---p 0002c000 08:16 548270                         /usr/lib/libvorbis.so.0.4.6
3e30a2b000-3e30a2c000 r--p 0002b000 08:16 548270                         /usr/lib/libvorbis.so.0.4.6
3e30a2c000-3e30a2d000 rw-p 0002c000 08:16 548270                         /usr/lib/libvorbis.so.0.4.6
7f3908000000-7f3908022000 rw-p 00000000 00:00 0 
7f3908022000-7f390c000000 ---p 00000000 00:00 0 
7f3910000000-7f3910022000 rw-p 00000000 00:00 0 
7f3910022000-7f3914000000 ---p 00000000 00:00 0 
7f3918000000-7f3918022000 rw-p 00000000 00:00 0 
7f3918022000-7f391c000000 ---p 00000000 00:00 0 
7f391c000000-7f391c022000 rw-p 00000000 00:00 0 
7f391c022000-7f3920000000 ---p 00000000 00:00 0 
7f3920000000-7f3920025000 rw-p 00000000 00:00 0 
7f3920025000-7f3924000000 ---p 00000000 00:00 0 
7f3924000000-7f3924022000 rw-p 00000000 00:00 0 
7f3924022000-7f3928000000 ---p 00000000 00:00 0 
7f3928000000-7f3928022000 rw-p 00000000 00:00 0 
7f3928022000-7f392c000000 ---p 00000000 00:00 0 
7f392c000000-7f392c022000 rw-p 00000000 00:00 0 
7f392c022000-7f3930000000 ---p 00000000 00:00 0 
7f3930000000-7f3930022000 rw-p 00000000 00:00 0 
7f3930022000-7f3934000000 ---p 00000000 00:00 0 
7f3935ffc000-7f3935ffd000 ---p 00000000 00:00 0 
7f3935ffd000-7f39367fd000 rw-p 00000000 00:00 0 
7f39367fd000-7f39367fe000 ---p 00000000 00:00 0 
7f39367fe000-7f3936ffe000 rw-p 00000000 00:00 0 
7f39377ff000-7f3937800000 ---p 00000000 00:00 0 
7f3937800000-7f3938000000 rw-p 00000000 00:00 0 
7f3938000000-7f3938022000 rw-p 00000000 00:00 0 
7f3938022000-7f393c000000 ---p 00000000 00:00 0 
7f393c155000-7f393c16a000 r-xp 00000000 08:16 532423                     /usr/lib/libgcc_s.so.1
7f393c16a000-7f393c369000 ---p 00015000 08:16 532423                     /usr/lib/libgcc_s.so.1
7f393c369000-7f393c36a000 rw-p 00014000 08:16 532423                     /usr/lib/libgcc_s.so.1
7f393c36a000-7f393c370000 r-xp 00000000 08:16 1049037                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
7f393c370000-7f393c56f000 ---p 00006000 08:16 1049037                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
7f393c56f000-7f393c570000 r--p 00005000 08:16 1049037                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
7f393c570000-7f393c571000 rw-p 00006000 08:16 1049037                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
7f393c571000-7f393c572000 ---p 00000000 00:00 0 
7f393c572000-7f393cd72000 rw-p 00000000 00:00 0 
7f393cd72000-7f393cdbb000 rw-p 00000000 00:00 0 
7f393cdd0000-7f393cdf2000 rw-p 00000000 00:00 0 
7f393cdf2000-7f393ce11000 r--s 00000000 08:16 788625                     /usr/share/mime/mime.cache
7f393ce11000-7f393ce12000 r--s 00000000 08:14 10092598                   /home/xf0e/.local/share/mime/mime.cache
7f393ce12000-7f3941da3000 r--p 00000000 08:16 661031                     /usr/share/icons/hicolor/icon-theme.cache
7f3941da3000-7f3941dd2000 r--p 00000000 08:16 656452                     /usr/share/fonts/TTF/DroidSans.ttf
7f3941dd2000-7f3941e1f000 r--p 00000000 08:16 664601                     /usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf
7f3941e1f000-7f3941e23000 r-xp 00000000 08:16 671470                     /usr/lib/libcanberra-0.28/libcanberra-alsa.so
7f3941e23000-7f3942022000 ---p 00004000 08:16 671470                     /usr/lib/libcanberra-0.28/libcanberra-alsa.so
7f3942022000-7f3942023000 r--p 00003000 08:16 671470                     /usr/lib/libcanberra-0.28/libcanberra-alsa.so
7f3942023000-7f3942024000 rw-p 00004000 08:16 671470                     /usr/lib/libcanberra-0.28/libcanberra-alsa.so
7f3942024000-7f3942060000 r--p 00000000 08:16 664603                     /usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf
7f3942060000-7f3942071000 r--p 00000000 08:16 664939                     /usr/share/fonts/TTF/AnkaCoder-r.ttf
7f3942071000-7f3942073000 r-xp 00000000 08:16 1051195                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f3942073000-7f3942272000 ---p 00002000 08:16 1051195                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f3942272000-7f3942273000 r--p 00001000 08:16 1051195                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f3942273000-7f3942274000 rw-p 00002000 08:16 1051195                    /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f3942275000-7f39422c7000 r--p 00000000 08:16 663933                     /usr/share/fonts/TTF/DejaVuSansMono.ttf
7f39422c7000-7f39422ce000 r-xp 00000000 08:16 550888                     /usr/lib/libvorbisfile.so.3.3.5
7f39422ce000-7f39424ce000 ---p 00007000 08:16 550888                     /usr/lib/libvorbisfile.so.3.3.5
7f39424ce000-7f39424cf000 r--p 00007000 08:16 550888                     /usr/lib/libvorbisfile.so.3.3.5
7f39424cf000-7f39424d0000 rw-p 00008000 08:16 550888                     /usr/lib/libvorbisfile.so.3.3.5
7f39424d0000-7f39424e0000 r-xp 00000000 08:16 551287                     /usr/lib/libcanberra.so.0.2.5
7f39424e0000-7f39426df000 ---p 00010000 08:16 551287                     /usr/lib/libcanberra.so.0.2.5
7f39426df000-7f39426e0000 r--p 0000f000 08:16 551287                     /usr/lib/libcanberra.so.0.2.5
7f39426e0000-7f39426e1000 rw-p 00010000 08:16 551287                     /usr/lib/libcanberra.so.0.2.5
7f39426e1000-7f39426e5000 r-xp 00000000 08:16 551297                     /usr/lib/libcanberra-gtk3.so.0.1.8
7f39426e5000-7f39428e4000 ---p 00004000 08:16 551297                     /usr/lib/libcanberra-gtk3.so.0.1.8
7f39428e4000-7f39428e5000 r--p 00003000 08:16 551297                     /usr/lib/libcanberra-gtk3.so.0.1.8Aborted
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12324; Package emacs. (Fri, 16 Aug 2019 21:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 12324 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: droidlove <droidlove <at> ya.ru>
Cc: 12324 <at> debbugs.gnu.org
Subject: Re: bug#12324: emacs crashes in gdb modus
Date: Fri, 16 Aug 2019 14:05:31 -0700
droidlove <droidlove <at> ya.ru> writes:

> When i compile an c/c++ program in emacs and invoke e.g. gdb -i=mi
> a.out.Tne i do run programs are getting executed the right way. But
> only for 3 times. At 4th run emacs crashes. It happens all the times i
> try to do so.
>
> I'm using Archlinux: Linux 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26
> 09:14:51 CEST 2012 x86_64 GNU/Linux
>
> Here is backktrace from emacs:
>
> *** buffer overflow detected ***: emacs terminated
> ======= Backtrace: =========
> /usr/lib/libc.so.6(__fortify_fail+0x37)[0x7f39477d5ad7]
> /usr/lib/libc.so.6(+0xf9bb0)[0x7f39477d3bb0]
> /usr/lib/libc.so.6(+0xfba47)[0x7f39477d5a47]
> emacs[0x5bcbdc]
> emacs[0x578c7a]
> emacs[0x579aeb]

(I'm going through old bug reports that have unfortunately gotten no
responses yet.)

This crash wasn't handled at the time, and as this was reported more
than six years ago, I don't think there's much chance of making any
progress here, so I'm closing this bug report.  If you're still seeing
similar crashes in modern Emacs versions, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 12324 <at> debbugs.gnu.org and droidlove <droidlove <at> ya.ru> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Aug 2019 21:06:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 14 Sep 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.