GNU bug report logs - #5847
ETAGS: Segmentation fault, because of incorrect scope presumption

Previous Next

Package: emacs;

Reported by: Hubert Gosselmeyer <gosselmeyer <at> googlemail.com>

Date: Tue, 6 Apr 2010 13:46:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex <agrambot <at> gmail.com>
To: 5847 <at> debbugs.gnu.org
Subject: bug#5847: [Hubert Gosselmeyer] Re: bug#5847: ETAGS: Segmentation fault, because of incorrect scope presumption
Date: Fri, 19 Aug 2016 21:32:25 -0600
[Message part 1 (message/rfc822, inline)]
From: Hubert Gosselmeyer <gosselmeyer <at> googlemail.com>
To: Alex <agrambot <at> gmail.com>
Subject: Re: bug#5847: ETAGS: Segmentation fault, because of incorrect scope presumption
Date: Thu, 18 Aug 2016 14:15:46 +0200
[Message part 2 (text/plain, inline)]
Hi Alex,

I rechecked the issue with my new hardware (got a new laptop meanwhile).
The issue does not occur for the files attached on the bug report anymore.

As I suspect that it has something to do with large memory allocation, I
produced some larger files
with an python script. I tested it on my machine still with etags (GNU
Emacs 23.1) and gave the files
to a collegue, who tested it with etags (GNU Emacs 24.3). On both etags
crashed for test_seg.c.






On Sun, Aug 14, 2016 at 11:38 PM, Alex <agrambot <at> gmail.com> wrote:

> Hubert Gosselmeyer <gosselmeyer <at> googlemail.com> writes:
>
> > Hi,
> >
> > the GNU Emacs TAGS tool 'etags' seems to have problems if source code is
> not
> > probably indented and new scopes are created within procedures. I found
> this
> > out by using etags on generated code where a lot of structures where
> created
> > on the heap, initialized and assigned to an array of pointers.
>
> Hi, do you still encounter this issue? I tried to reproduce with Emacs
> 24.5 but both files did not segfault for me.
>
[Message part 3 (text/html, inline)]
[test_noseg.c.gz (application/x-gzip, attachment)]
[test_seg.c.gz (application/x-gzip, attachment)]
[segf.py (text/x-python, attachment)]

This bug report was last modified 8 years and 318 days ago.

Previous Next


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